AFL code required for EMA based strategy

Discussion in 'Trading Software' started by Giri Dhar, May 26, 2016.

  1. Giri Dhar

    Giri Dhar

    1. Can anyone please 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
      2. When 1st Buy/Sell signal generated, 2nd signal should come only after either SL or TGT hit.
      3. If SL hit, reverse the trade – Target: 25 points, SL: 20 Points
      4. 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