![]() |
|
|||||||
| Strategy Development Support for the development of custom automated trading strategies using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
Join Date: Dec 2008
Location: Castle Pines, Co
Posts: 621
Thanks: 1
Thanked 2 times in 2 posts
|
Is Plot0 a protected word? I have used similar syntax as below and worked ok.
myStrategy: DiffIndex = DiffIndex(3,14,3,10).Plot0.Get(CurrentBar); here is whats in indicator: [Browsable(false)] // this line prevents the data series from being displayed in the indicator properties dialog, do not remove [XmlIgnore()] // this line ensures that the indicator can be saved/recovered as part of a chart template, do not remove public DataSeries Plot0 { get { return Values[2]; } |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2009
Location: Denver, CO
Posts: 8,117
Thanks: 249
Thanked 418 times in 415 posts
|
Hello gg80108,
Plot0 isn't reserved, but is the default name for the first plot when creating indicators through the wizard.
Ryan M
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Plot0 Value on FirstTickOfBar | palinuro | Version 7 Beta General Questions & Bug Reports | 3 | 10-31-2009 06:01 AM |
| Plot0.Set(Close[0]); vs Plot0.Set(Close[1]); | amedhussaini | General Programming | 7 | 07-26-2009 10:02 AM |
| Plot0 | velocity | General Programming | 5 | 07-23-2009 07:42 AM |
| Any word on keyboard support? | Kovacs | Miscellaneous Support | 1 | 01-27-2009 01:42 PM |
| When using NT, is your IP protected? | tradefaz | Miscellaneous Support | 4 | 08-25-2008 02:53 PM |