![]() |
|
|||||||
| General Programming General NinjaScript programming questions. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Senior Member
|
I have a parameter that's boolean. Here is the declaration and the get/set code.
Code:
private bool lines;
[...]
[Description("Plot as lines [true] or as rays [false]")]
[Category("Plots")]
public bool Lines
{
get { return lines; }
set { lines = value; }
}
Price-Dynamics.com
A NinjaTrader Official Partner Visit http://www.price-dynamics.com to learn more about the Rhythm Relay trading system. Yes, you can discretionary or auto-trade with 75%+ accuracy! Use our Contact Us page to request free access to our daily Trader's Lounge where you can see the system in action in a live account! |
|
|
|
|
|
#2 |
|
Administrator
Join Date: Mar 2005
Location: Bamberg, Germany
Posts: 9,994
Thanks: 0
Thanked 6 times in 6 posts
|
a) all parameters needed to have the category "Parameters". Please use the wizard to see how it works
b) if case that's an indicator: there already is an "internal" property "Lines". Please use a different name.
Dierk
NinjaTrader Customer Service |
|
|
|
|
|
#3 | |
|
Senior Member
|
Quote:
Bryan
Price-Dynamics.com
A NinjaTrader Official Partner Visit http://www.price-dynamics.com to learn more about the Rhythm Relay trading system. Yes, you can discretionary or auto-trade with 75%+ accuracy! Use our Contact Us page to request free access to our daily Trader's Lounge where you can see the system in action in a live account! |
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Parameter Persistence | CashCache | Strategy Development | 5 | 07-23-2010 07:56 AM |
| BarColor Parameter | Mike Winfrey | Indicator Development | 4 | 09-17-2008 08:43 AM |
| Parameter Value Formatting | whitmark | General Programming | 1 | 08-01-2008 09:13 AM |
| Can I have different parameter for different instruments? | cassb | Strategy Development | 4 | 06-05-2008 03:55 PM |
| Boolean log with integers | jeremymgp | Indicator Development | 5 | 01-04-2008 07:36 AM |