![]() |
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 |
|
Join Date: Mar 2005
Location: , ,
Posts: 7
Thanks: 0
Thanked 0 times in 0 posts
|
NT,
How to modify the General Settings of the indicator, onec you are in NinjaScript Editor. Ex. You needed 3 Input Parameters and only enter 2 at setup, how to go back and add another Input Parameter. Thank you. |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Add this line to the "Variable" sections:
private int param3 = 1; Add these lines to the "Properties" sections: [Description("Enter parameter description here")] [Category("Parameters")] public int Param3 { get { return param3; } set { param3 = Math.Max(1, value); } } This creates a new parameter of type integer and defaults it to 1.
Dierk
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|