Thank you
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Strategy Wizard Question
Collapse
X
-
Strategy Wizard Question
Using the Strategy Wizard, is there a way to enter a position long only when a Moving Average's slope in increasing in a positive direction and increasing in strength(not starting to rollover). Some times a Moving Average will be going up but starting to slow down(rollover). I don't want to enter when this happens. I have been lookiing in the Strategy Wizard's Misc options. There is a Raising and a Slope option. Will either of these work?
Thank youTags: None
-
Slope Rising/Falling syntax errors - HELP
I'm kind of having similar issues with Slope().
In layman's terms, here is what I am trying to say:
"Slope of the 50SMA starting 15 bars ago is RISING"
I keep getting Error code CS0019: "Operator '==' cannot be applied to operands of type 'double' and 'bool'."
Here is the code I have that gets the error:
Slope(SMA(50), 15, 0) == Rising(DefaultInput)
If someone could please help me out with this, I have spent way too much time trying to figure out what if anything I am doing wrong.. seems like it should be pretty straight forward but apparently it is NOT. I did this is the strategy wizard.
Comment
-
Brian, unfortunately not directly doable in the wizard as Slope would not return a DataSeries. You could check for example if the SMA is rising, I attach a screenshot of how this would need to be setup, the boolean true / false value can be found under Misc to compare them to the Rising output in your condition.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
64 views
0 likes
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
149 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
162 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|
||
|
Started by CarlTrading, 05-10-2026, 08:12 PM
|
0 responses
99 views
0 likes
|
Last Post
by CarlTrading
05-10-2026, 08:12 PM
|
||
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
286 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|

Comment