Hi Guys,
Could I please ask your advice on the downsides of PRT backtesting with PTrailing ?
I have found you can get completely different results depending on the order of –
“Set Stop pLoss x” before and after “Set Stop pTrailing y”
Your thoughts and experience? Thanks.
>> Please update your country flag in your profile. Thank you 🙂 <<
Because code is read from top to bottom 😉 It will always be the last read instruction that will act on your order and in your code you are using 2 keywords that deal with stoploss all together.
Thank you for your reply. So first and higher command ignored.
Live trades can have concurrent Stop seperate to Trail-stop, this is a PRT limitation ?
I have further found, that an Entry at the open of E.g. hourly candles…price action inside the candle can reach the Stop price before Profit target, but PRT result will show a profit if the candle is large enough for the Profit target. Your thoughts?
Even if you don’t believe in flag, please update your nationality into your profile. Thanks.
This is right as long as you don’t check the tick by tick backtest option. This is what we call here the “0 bar” or zero bar phenomena.
So it seems this does not apply just to PTrailing.
PRT seems to assume the profit if there is space in the candle, if there is no space only then does it assume the Stop is hit.
Yes it’s the case in every situation, even if you don’t use “ptrailing” instruction. But only if you make backtests without the tick mode, and you shouldn’t!!
Hi Nicolas, could you please point me to some hourly strategies that will prove position with ProBacktest tick by tick mode?
Obrigado.
If pLoss hit first in mode Tick by Tick a new position will re-enter not inside same candle. Only way I can think to do this is to open Buy and Short positions same time.
You know that the ‘0 bar / zero bar / inside bar issue’ does not happen in Live trading?
If your stop is hit in tick by tick Live trading then you are out of the trade at that price point.
Just saying in case you not know this?