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 argusthome, Yesterday, 10:06 AM
        0 responses
        22 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        19 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        14 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        10 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        41 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X