I created an indicator and there is a signal, an upper line at .85 - Red; a zero line at 0 - White; and a Lower line at -.85 - Lime. Here is a code snippet:
AddLine(Brushes.Red, .85, "Upper"); AddLine(Brushes.White, 0, NinjaTrader.Custom.Resource.NinjaScriptIndicatorZeroLine); AddLine(Brushes.Lime, -.85, "Lower"); AddPlot(Brushes.Cyan, "EBSW");
When the indicator actually plots, instead of the Red line being drawn at .85, it is drawn at the zeroline "0" place. The white zeroline is drawn at ".85". This is shown in the attached picture. Why are the Red and White lines reversed from what the code is intending? Thanks
Comment