Supertrend Trailing Stop

Hi @Enivid , when used with previous candle settings, this EA places stoploss at the close of previous candle which is very close to the open price of current candle.
 
Hi @Enivid , when used with previous candle settings, this EA places stoploss at the close of previous candle which is very close to the open price of current candle.
Not sure what you mean. It uses the previous candle's value of the Supertrend indicator, not previous candle's close.
 
Not sure what you mean. It uses the previous candle's value of the Supertrend indicator, not previous candle's close.

I am facing this issue while using Previous candle parameter of EA, For instance, while Supertrend is in uptrend and we open sell position and the time supertrend switches to downtrend, we want to trail after 1000 points profit, the issue is if trend changes after 1000 points of profit, this EA places stoploss at previous candle close which is close to current price, EA should place stoploss at the Red line of supertrend. Thoughts? if used with current candle parameter the EA work perfectly fine, attached screenshot for clarity
 

Attached File(s)

  • Screenshot 2026-06-25 212206.png
    Screenshot 2026-06-25 212206.png
    5 KB · Views: 2
I am facing this issue while using Previous candle parameter of EA, For instance, while Supertrend is in uptrend and we open sell position and the time supertrend switches to downtrend, we want to trail after 1000 points profit, the issue is if trend changes after 1000 points of profit, this EA places stoploss at previous candle close which is close to current price, EA should place stoploss at the Red line of supertrend. Thoughts? if used with current candle parameter the EA work perfectly fine, attached screenshot for clarity
That red line is the 'current' candle when the switch occurs. You are using this EA as it is not intended to be used - trail a position that was opened contrary to the Supertrend indicator. You can either use the 'Current candle' setting or turn the trailing on only when the indicator switches sides.