Graphical functions not being recognized
- This topic has 6 replies, 3 voices, and was last updated 1 year ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
Similar topics:
Forums › ProRealTime English forum › ProOrder support › Graphical functions not being recognized
Hi everybody,
I am trying to print arrows and variable values in my charts but the functions DRAWARROW and PRINT are not recognized in my code. Anybody knows the solution? the only error message I get in the editor is “code not valid” and the function names appear underlined.
Thanks!
Hi, graphical commands like DRAWARROW are only for indicators (probuilder code), not proorder and not proscreener. Maybe you are editing a probacktest/proorder code (would match having posted in proorder forum), or even if forum wasn’t chosen in purpose maybe editing a proscreener code?
noobywan, you are right! I am trying to use those functions in a proorder piece of code.
Is there any way to draw something in proorder ?
For backtest of a proorder code, in terms of drawings you can use graph and graphonprice commands, to display values taken by variables of your choice. Graph output goes in a separate window pane, graphonprice output goes in the price window. It will appear as lines, you can work on their names and colors. Mainly useful for debugging purposes. But beyond that, you can’t do all the drawarrow, drawtext, or any of the drawXXX commands available for indicators only.
Thanks,
the function is recognized in the code but I get an error message “GRAPH may not be recognized in the code” and it wouldn´t let me run it
For backtest of a proorder code, […]
Yes, only for backtest, and mostly useful for debugging purpose… but not for launching it as an automatic strategy. When actually running the strategy there’s no custom drawing by code.
Find exclusive trading pro-tools on