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.
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”)
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.