AFL Code required for EMA based strategy

#1
Can anyone plz help me with AFL code for below strategy.

1. Buy/Sell: Close on 1 min chart crosses Dialy 13 EMA price. Target: 50 Points, SL: 20 Points
3. When 1st Buy/Sell signal generated, 2nd signal should come only either SL or TGT hit.
4. If SL hit, reverse the trade - Target: 25 points, SL: 20 Points
5. Once either side (1st signal or SL reverse) target achieved, next signal should come when Close on 1 min chart crosses Dialy 13 EMA price
 

Similar threads