Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Wizard Question

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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 you

    #2
    Hi you could use Slope or the Momentum with your SMA as the input, the result should then be Rising when you see a long entry if I follow you correctly.

    Comment


      #3
      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


        #4
        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.
        Attached Files

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        66 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        149 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        99 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        286 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X