stop loss and trailing confusion

Forums ProRealTime English forum ProOrder support stop loss and trailing confusion

Viewing 4 posts - 1 through 4 (of 4 total)
  • #162926

    hi,

    can someone tell me what set stop ploss 40 trailing 1 mean because i am getting 95% win rate with crazy profit long term.

    thank u

    #162927

    ptrailing sorry

    #162928

    pTrailing or Trailing are much similar, the leading letter just identifies what kind of TARGET or LOSS you want to deal with. p stands for PIPS, $ stands for currency, % stands for percentage and nothing stands for Price.

    set stop ploss X trailing Y can only be used in ProBackTest, not in autotrading. It’s two different kind of stops in the same line and are not allowed.

    Writing them separately on different lines doesn’t help, since the code is read sequentially, so only the last STOP is recorded as it overrides any one previously set.

    You should use on SET STOP ?LOSS, then use this snippet code as Trailing Stop (lines 17-56 are ready to be appended to your exiting code, just changing the two values, start and step) https://www.prorealcode.com/blog/trading/complete-trailing-stop-code-function/.

     

    #162943

    and use tick by tick backtests, otherwise you are fooled by amazing results because orders are not checked at precise price intra bar, especially with “set stop trailing” instruction!

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

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