I have a custom made indicator, which draws 'dots' on it when it finds certain patterns. That works pretty awesome. Because i'm drawing dots on the indicator, near the start of my code i use the function DrawOnPricePanel = false;
I'm wondering if it's possible to ALSO have this indicator draw things on the price panel. Ie, i want to do both. Basically, i want it to make dots on the indicator when it identifies the pattern i'm looking for, and then print the entry price on the price chart. Is that possible?
I tried it with the DrawArrowLine (just as a test) to draw an arrow at the previous swing low, once my indicator sees a potential new short. I tried this, but it is drawing the arrows on the indicator, not the price chart.
DrawOnPricePanel = true;
DrawArrowLine("NewShort", false, LowestBar(Low, lowBarsAgo)+4, Low[lowBarsAgo], LowestBar(Low, lowBarsAgo), Low[lowBarsAgo],Color.Blue, DashStyle.Solid, 2);
DrawOnPricePanel = false;
So, the logic of my DrawArrowLine seems to work fine, but like i said, i want it to draw the arrows on the price chart (but keep the dots i draw earlier on the indicator panel).
Anyone know how i might accomplish this?
Thanks!!
Mr. Orange
Comment