stoploss keeps changing per candle

Forums ProRealTime English forum ProOrder support stoploss keeps changing per candle

Viewing 3 posts - 1 through 3 (of 3 total)
  • #163333

    hi,

    i am trying to set stoploss from the tradeprice (close) to the previous candle low but it keeps changing. how do i fix it?

    thank you

    #163337

    Move line 5 to in between line 2 and 3, just after BUY.

    You should use PipSize, not 10000, to make your code portable. You can remove that multiplication if you also remove the leading “p” from PLOSS and PPROFIT.

    #163407

    Each time your code is read, your lines 5 and 6 are recalculated, just place them where they are only read just one time when you launch your order.

Viewing 3 posts - 1 through 3 (of 3 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login