This is simple strategy of trading using Moving average Add an exponential moving average to the chart, set its period to 9, apply to Close, set color to red (optional) #this is your fast moving average (FMA). Add another exponential moving average to the chart, set its period to 14, apply to Close, set color to blue (optional) #this is your slow moving average (SMA) Use the same condition of buy to sell but in the oposit.