If you encounter the “Remove GRAPH instruction” error when launching a ProOrder strategy for live trading, it is because GRAPH commands are not allowed in live trading. These instructions are meant for backtesting visualization only and must be removed before deploying a strategy in ProOrder.
Solution
1. Understand the Issue
- The
GRAPHandGRAPHONPRICEinstructions are used to display variables or values on the backtest chart. - These graphical instructions are not supported in live trading, as they do not affect order execution.
2. Locate and Remove the GRAPH Instructions
- Open your strategy code in the ProBuilder editor.
- Search for any lines containing:
GRAPH myVariable GRAPHONPRICE myIndicator - Delete these lines or disable them using REM (commenting):
REM GRAPH myVariable REM GRAPHONPRICE myIndicator
3. Save and Relaunch the Strategy
- After removing the
GRAPHinstructions, save your script and restart ProOrder. - The error should no longer appear, and your strategy will now run in live trading.
By ensuring that no GRAPH instructions are present, you can successfully transition your backtested strategy into a fully functional live ProOrder strategy.