NinjaTrader Support Forum
>
NinjaScript Development Support
>
Indicator Development
> Name Of Instrument
PDA
View Full Version :
Name Of Instrument
guym
11-27-2006, 10:08 AM
Does anyone know how I can reference the name of the current instrument/symbol (using ninjascript) that the indicator is plotting?
NinjaTrader_Ray
11-27-2006, 10:13 AM
if (Bars != null)
Print(Bars.Instrument.MasterInstrument.Name);
Ray
guym
11-27-2006, 10:21 AM
Excellent! Thanks.