By
Steve on
February 15, 2019
Views: 8,151
Today: 1
Change Indicator Plot Color Programmatically in NinjaTrader 8
This five minute video demonstrates how to programmatically change the plot color of an indicator.
Plot lines in NinjaTrader indicators don't have to be all one color.
You can, for example, programmatically change the line color based on the level of the indicator value.
The secret is the PlotBrushes property which can be updated in the OnBarUpdate method.
Watch the video to see exactly how it's done.