Bug in PRT when using GRAPH?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #32560 quote
    Despair
    Blocked
    Master

    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 quote
    Despair
    Blocked
    Master

    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 quote
    Nicolas
    Keymaster
    Master

    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 quote
    Despair
    Blocked
    Master

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

    #32662 quote
    Elsborgtrading
    Participant
    Veteran

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

    cheers Kasper

    #33198 quote
    Despair
    Blocked
    Master

    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 quote
    Despair
    Blocked
    Master

    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 quote
    Paris
    Participant
    Veteran

    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)
  • You must be logged in to reply to this topic.

Bug in PRT when using GRAPH?


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
Despair @despair Blocked
Summary

This topic contains 7 replies,
has 4 voices, and was last updated by Paris
8 years, 10 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 04/19/2017
Status: Active
Attachments: No files
Logo Logo
Loading...