ATR + S/L hiccup.
-
I made a simple S/L based on the ATR on the H1 timeframe with a trailing stop to adjust when price increases. Problem is the S/L on the trade terminal keeps changing all the time, sometimes the S/L will be a different number (back and forth) ie: SL on a short position would be 1.0891,
1.0893,1.0889. I thought the initial problem was on the "on Tick" section, but the problem is the same with "on Trade" section.Link: https://fxdreema.com/shared/dWv0XWuCc
Desired solution: Manual trade is entered. S/L and T/P is modified only once. Trailing stop adjust the S/L when pips is in profit. loss in pips should not reverse the S/L.
-
You need to create two separate structures. One of them should move SL and TP once. Then the second one should be the trailing stop.