i'm trying to draw a "signal dot" on a volume indicator in a sub-panel and i'm not having any luck - is there some line of code i need in initialize or onbarupdate to make sure the dot draws over a histogram bar in a sub-panel ?
at the moment there is no dot being drawn - i gave the instruction as:
{DrawDot ("GTABV"+CurrentBar, false, 1, upVolume[1] + SignalOffset, Color.LimeGreen);}
upVolume[1] would be a histogram bar assigned a positive number in the upVolume DataSeries since the close is greater than the open of that bar
if (Close[0] > Open[0])
{
upVolume.Set (Volume[0]);
downVolume.Set (0);
}
forgot to mention - i do check to see if upVolume is != 0
if (upVolume != 0 && upVolume >= Average[1])
{DrawDot............ }
thanks,
w
Comment