Bug in PRT when using GRAPH?

Forums ProRealTime English forum ProOrder support Bug in PRT when using GRAPH?

Viewing 8 posts - 1 through 8 (of 8 total)
  • #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…

    #32562

    I now noticed that this post and the post before should be in the “ProOrder” forum and not here. Maybe Nicolas can move them?

    Sorry for this.

    #32566

    Topic moved. Didn’t spot that problem before. Do you have screenshots to understand where the trouble is? Thanks.

    Totally agree about debugging, a “print” function with a debug console would be sooooo useful 🙂

    #32570

    Thanks for moving the posts and i will post screenshots little later to show the bug.

    #32662

    Just a thought- are you placing the Graph line as the last line in the code?- it should be there.

    cheers Kasper

    #33198

    I 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.

    #33285

    I 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. 🙂

    #33374

    i 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 ?

     

     

     

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

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