I have an issue with the DrawText Command - I can get the DrawArrowLine, and DrawDot to plot on the indicator panel. I cannot figure out why the DrawText will not plot on the indicator Panel. I can plot the text on the Panel 1.
To draw the arrow I use:
DrawArrowLine(" " + CurrentBar, false, 0, (PPO(12, 48, 9).Smoothed[0] + .10), 0, (PPO(12, 48, 9).Smoothed[0] + .02), Color.Red, DashStyle.Solid, 4);
To draw the text I am trying to use:
DrawText("tag2" + CurrentBar, "2", 0, (PPO(12, 48, 9).Smoothed[0] + .10), Color.Red);
The following correctly draws the text on panel 1:
DrawText("tag2" + CurrentBar, "2", 0, High[0] + 35 * TickSize, Color.Red);
Thank you for your help
Comment