The text is not printed.
I have added an indicator on a second panel below the price panel and used DrawText() from within this indicator.
-> with DrawOnPricePanel = true, the text is printed on the price panel
-> with DrawOnPricePanel = false, nothing is printed on the indicator panel
Draw.TextFixed() works on the indicator panel.
Now it gets more interesting...
When I use both Draw.Text() and Draw.TextFixed() within the same indicator on the price panel, the first script command will be executed. The second will be ignored.
First case:
Draw.Text(); Draw.TextFixed();
Second case:
Draw.TextFixed(); Draw.Text();
Selecting price panel or indicator panel via overload:
Some of the the other Draw() methods allow for selecting the panel via overload. It would be good to have this option for Draw.Text as well. Currently, it is necessary to switch between price panel and indicator panel by setting DrawOnPricePanel to "true" or to "false".
Comment