![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Jan 2012
Posts: 3
Thanks: 0
Thanked 0 times in 0 posts
|
I have a unique problem.
I have an Input Parameter named Length for my Indicator AshMA. In the #region Properties of this indicator I have: [GridCategory("Parameters")] [Description("NumBars")] [NinjaTrader.Gui.Design.DisplayName("NumBars")] public int Length { get { return length; } set { length = Math.Max(1, value); } So even though the parameter is called Length, I want it to show up as NumBars in the GUI. The above code works perfectly for Indicator selection window. I can see Numbars as the name of the Input field. However, when I bring up Strategy Builder, the name of the Input is length. Is there anyway to force Strategy Builder to use the DisplayName ? Also I have another Input variable called: mAType. The Strategy Builder always displays it as: "M a Type". Is there any way to force the Gui Name ? |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Dec 2009
Location: Denver, CO, USA
Posts: 6,498
Thanks: 109
Thanked 291 times in 280 posts
|
Hello,
Thanks for the note. Unfortunately there is not a GUI option for the strategy wizard. -Brett
Brett
NinjaTrader Customer Service |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DataSeries as an input parameter to an Indicator | mpugh | Indicator Development | 10 | 05-28-2011 03:27 AM |
| Plots under Parameter in Condition Builder | dwt1020 | General Programming | 4 | 04-10-2009 08:01 AM |
| Input Parameter help for ADXVMA | fy260498 | Strategy Development | 3 | 09-12-2008 12:40 AM |
| Color Input Parameter | aslane | Indicator Development | 2 | 12-24-2007 01:49 PM |
| custom Dataseries as indicator input, or input to indi through underlying strategy | Nathamus | General Programming | 3 | 08-30-2007 12:04 PM |