PDA

View Full Version : Add Indicator w/in Strategy


TAJTrades
02-19-2008, 04:13 PM
How do I control the plot color when adding an indicator from within a strategy. I am using NT 6.0 for live trading

protected override void Initialize()
{
if (grp1Active == true)
{
Add (SMA(20) ); //Syntax for controlling plot color?
}
}

Thanks.

NinjaTrader_Ray
02-19-2008, 04:19 PM
The following Tip should provide the answer you seek.

http://www.ninjatrader-support.com/vb/showthread.php?t=3228