Bug in PRT when using GRAPH?
Forums › ProRealTime English forum › ProOrder support › Bug in PRT when using GRAPH?
- This topic has 7 replies, 4 voices, and was last updated 7 years ago by Paris.
-
-
04/19/2017 at 10:31 AM #32560
I experience i really strange bug when programming on a strategy. The outcome of the strategy (% winning trades cut in half) changes when i simply insert a line like “graph i as “counter”” to show a variable i am using. It happened me now several times.
Has anybody experienced this before?
Also a thought. Working with PRT would be so much smoother if it had a debugging function where one can execute the code line by line and se how all variables change. Just wishfull thinking…
04/19/2017 at 10:38 AM #3256204/19/2017 at 10:43 AM #3256604/19/2017 at 10:52 AM #3257004/19/2017 at 9:20 PM #32662Just a thought- are you placing the Graph line as the last line in the code?- it should be there.
cheers Kasper
04/24/2017 at 4:09 PM #33198I now checked many times and the bug appears when i try to graph more than 5 variables. 5 works fine but if i add a sixth the whole backtestresult is screwed up.
@Elsborgtrading: No i wasnt aware of this. I will put it at the end and try again.04/25/2017 at 9:13 AM #33285I now read in the manual (stupid me) that 5 variables is the maximum to display and that further variables would be ignored. The later i found untrue. The whole backtest is distorted if you enter more than 5 variables but well…one shall not use more than 5. 🙂
04/25/2017 at 6:18 PM #33374i have asked but have no responses so i ask here again ,
in the code i have :
SET STOP %LOSS stopLoss
SET TARGET %PROFIT takeProfit
i would like to add to code system a line with “graph ” that will use to see the take profit and stop loss . i ve tried different ideas but nothing works really .
does anybody have an idea ?
-
AuthorPosts
Find exclusive trading pro-tools on