I don't what is wrong, can someone help please?
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Can't seem to select variables
Collapse
X
-
Can't seem to select variables
Not sure what is going wrong with a Slope indicator I developed. When I compile it I get no errors but when I plot it for some reason I do not see the option to select different MA types that I have included in the indicator.
I don't what is wrong, can someone help please?Tags: None
-
pandayav,
You did not set up the variable as a user defined input for the strategy. Unfortunately, using object types as user defined input isn't supported. You could possibly use an integer to identify which type of moving average you want, i.e. assign 1 to EMA, 2 to SMA, etc. This would be supported.
Please let me know if I may assist further.Adam P.NinjaTrader Customer Service
-
You need to set up the MAType as a public variable, before you can access it publicly.Originally posted by pandyav View PostNot sure what is going wrong with a Slope indicator I developed. When I compile it I get no errors but when I plot it for some reason I do not see the option to select different MA types that I have included in the indicator.
I don't what is wrong, can someone help please?
Code:[Description("")] [GridCategory("Parameters")] public MAType MovingAverageType { get { return MAType1; } set { MAType1 = value; } }
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
577 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
334 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
553 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment