Forums ProRealTime English forum ProRealTime platform support request & warning graph(onprice) Reply To: request & warning graph(onprice)

#94403

@Nicolas IG and real account.

If it’s time-exit or an indicator exit or a hard stoploss, they all get skipped in backtesting in the code above.

 

I found this problem, as I used a trailing stop/breakeven/stoploss/profittarget, all embedded with one or more graphonprice commands.

So that will be on the bottom from now on.

 

Always like to see the performance gain, that number 5 is the total of graph and graphonprice together. So that leaves only 4 to use for graphonprice which is a bit limited.

@Vonasi Thanks for the tip! I did test it but lines didn’t go to zero when there was no market position.