![]() |
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 |
|
Member
Join Date: May 2008
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
Is it possible to configure the settings in the code instead of user interaction?
So all you have to do is add the indicator to the chart. cheers Cirion |
|
|
|
|
|
#2 |
|
NinjaTrader Product Manager
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 106 times in 70 posts
|
Yes. You will need to custom code the indicator and just change the default parameter values. The section of code which these variables are set is in the "Variables" section.
Josh
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: May 2008
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
thanks josh will try this.
|
|
|
|
|
|
#4 |
|
Member
Join Date: May 2008
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
found those settings, is there anyway to hide the options for the indicator when the user adds it?
so they do nothing (and not see settings) but add the indicator. cheers |
|
|
|
|
|
#5 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
Sure, just remove the public property sections like
Code:
[Description("Numbers of bars used for calculations")]
[Category("Parameters")]
public int Period
{
...
}
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#6 |
|
Member
Join Date: May 2008
Posts: 68
Thanks: 0
Thanked 0 times in 0 posts
|
thanks heaps got it to work
peace |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dinapoli Stochastic | delta88 | NinjaScript File Sharing Discussion | 34 | 04-11-2013 07:29 AM |
| Stochastic Momentum Index | geoarb | Indicator Development | 21 | 03-14-2012 02:32 AM |
| Stochastic | Razor_Trader | Indicator Development | 4 | 01-12-2011 10:26 AM |
| Is it possible to put Stochastic/MACD on the actual chart? | vast524 | Indicator Development | 3 | 05-03-2008 01:36 AM |
| Stochastic Indicator | PorkChop | Indicator Development | 4 | 11-07-2007 06:59 PM |