Comment on Code your Technical Analysis strategy
Anamika,
You can’t apply different time frames to the same strategy. You can either use 5 min or 15min, but you can’t combine both.
If it is just on one time frame then :
Buy: EMA(close,9) > SMA(Close,20)
Sell: EMA(close,9)< SMA(Close,20)
Buy exit: 0
Sell exit: 0
Cheers,