Automatic Trading Error: instruction ” Graph” may not be used

Forums ProRealTime English forum ProOrder support Automatic Trading Error: instruction ” Graph” may not be used

Viewing 3 posts - 1 through 3 (of 3 total)
  • #215529

    Hi,

    I have recently wrote a code.

    When I go to run the system in Automatic Trading I get the following error ” The instruction ” Graph” may not be used in automatic trading mode”.

    The only lines of code that mention Graph are the following;

    graphonprice hh coloured(“green”)
    graphonprice ll coloured(“red”)

    What do I need to do in order to run the system in Automatic Trading?

    Thanks.

    #215532

    Hi,

    topic moved to proorder forum,

    you can either delete these 2 lines,

    or comment them out with // at the beginning of the lines if you want to keep a trace of them and/or bring them back for backtests:

    //graphonprice hh coloured(“green”)
    //graphonprice ll coloured(“red”)

    #215538

    GRAPH and GRAPHONPRICE instructions can only be used in ProBacktests, they have to be deleted or commented out in order to launch the strategy in ProOrder.

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

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