EarnForex / PositionSizer

Calculate your position size based on the risk and account size and execute your trades with this free MetaTrader expert advisor.

Home Page:https://www.earnforex.com/metatrader-expert-advisors/Position-Sizer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add option to refresh Stop loss automatically

Kumzy opened this issue · comments

Hello,

It would be great if we can add an option to automatically refresh the stop loss value (following the stop loss in points entered in the settings)

the issue is that I have to click on the stop loss to refresh the value because entering a trade.
I would prefer the stop loss to refresh automatically.

When setting stop loss in the settings to 100 points for example. I would like it to move like the entry.

Example with SL = 100 points (Long position)

  • Entry price is: 1.9048
  • SL: 1.9038

Price is moving down to 1.9045 on the next tick

  • Entry price is now: 1.9045
  • I would like SL to be automatically: 1.9035

Suggestion:
Add an option to refresh automatically the stop loss on each tick

Did you try setting the SLDistanceInPoints input parameter to true?

That's the input that I filled for the SL
image

Working with SLDistanceInPoints, Stop-loss price is replaced with the distance in point. Working fine there. Thank you