Sorry if this is the wrong forum... couldnt figure out which forum is best.
I have an indicator that is a histogram. Currently, both the positive and negative numbers are above the zero line. I'd like to have the negative numbers to show below the zero line. Attached is the snippet.
ANy help would be greatly appreciated.
def isPointNegative = Sign(lowVs21DayMovingAverage) == -1;
plot histogram = if !isPointNegative then AbsValue(lowVs21DayMovingAverage) else double.nan;
histogram.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
histogram.setDefaultColor(Color.CYAN);
I have an indicator that is a histogram. Currently, both the positive and negative numbers are above the zero line. I'd like to have the negative numbers to show below the zero line. Attached is the snippet.
ANy help would be greatly appreciated.
def isPointNegative = Sign(lowVs21DayMovingAverage) == -1;
plot histogram = if !isPointNegative then AbsValue(lowVs21DayMovingAverage) else double.nan;
histogram.SetPaintingStrategy(PaintingStrategy.HISTOGRAM);
histogram.setDefaultColor(Color.CYAN);