![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jun 2008
Posts: 28
Thanks: 0
Thanked 0 times in 0 posts
|
Hello,
How do I specify which value is used in Input[0]? I am trying to use either the Open or Close of the current bar in a custom indicator. Thanks, Tiara |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
|
Hi Tiara,
When you run the indicator there is a parameter selection available if you have PriceTypeSupported set to true in the Initialize() method. You can choose which series the Input[] will take.
Josh
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do you remove an Input? | Mindset | Indicator Development | 2 | 12-30-2008 10:54 AM |
| Variable input? | ju1234 | Strategy Development | 3 | 11-24-2008 09:15 AM |
| Modification of input variables | Sailor | General Programming | 1 | 11-21-2008 07:06 AM |
| Keyboard input | BradB | General Programming | 1 | 10-29-2008 03:31 PM |
| custom Dataseries as indicator input, or input to indi through underlying strategy | Nathamus | General Programming | 3 | 08-30-2007 12:04 PM |