Trailing stop with supertrend

Forums ProRealTime English forum ProOrder support Trailing stop with supertrend

Viewing 2 posts - 1 through 2 (of 2 total)
  • #19319

    What is the problem? it is to good to be truth, it works with forex pairs in daily timeframe, the attach contemplates a spread of 3 pips and a order fee of $2. the initial capital is $10000. Here is the simple code:

     

    #19342

    Juan, I have moved your question to forum instead of the library! 🙂

    You have been trapped into the 0 bar phenomena of ProBacktest. This is something already discussed a lot in different topics. Because the backtest engine don’t look inside bar, but only once, the takeprofit are always tested before the stoploss, so if these 2 levels are met within the same bar, you always win.

    This Probacktest behaviour has been modified (understand “fixed”) into the new PRT version 10.3 with the tick/tick option. I made a video about it: Tick by tick backtest

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

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