PDA

View Full Version : LinesConfigurable


whitmark
10-05-2009, 12:48 PM
// Initialize method of a custom indicator
protected override void Initialize()
{
Add(new Plot(Color.Orange, "SMA"));
LinesConfigurable = false; // Indicator lines are not configurable
}

The example in the help for LinesConfigurable suggests that it operates on plots vs lines. If its the former, should it not be PlotsConfigurable as not to be confused with the Lines class? Please clarify.

Whitmark

NinjaTrader_Josh
10-05-2009, 01:12 PM
Sorry if the documentation may be misleading there. There is a LinesConfigurable and a PlotsConfigurable property. Each one corresponding to their respective lines/plots counterparts.