• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Condition to see if a moving average is sloping up or down?

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

    Condition to see if a moving average is sloping up or down?

    Hello,

    In the strategy builder, is it possible to look if a moving average is pointing up or down? I want to enter if a hull moving average is pointing up, for example.

    Is it possible?

    #2
    Hello franco12364,

    Thanks for your post.

    Yes, there are a couple of ways in the strategy builder.

    In the conditions builder, you can select Misc>Rising or Misc>Falling and select the HMA as the "Series 1". in the center you would select "Equals" and on the right side you would select Misc>true to test for a true condition. The rising and falling methods will only check the current value to the previous value so it is quick reacting.

    You can also use the Slope method in the strategy builder and this would allow you to specify the number of bars to check the slope of so you can make it as reactive to change as you wish. In the conditions builder, on the right side you would select Misc>Slope, by default it will be 10 bars to check the slope of, for "Series 1" you would select set then Indicatorss>HMA (and set the period needed), in the center you would select either Greater or Less, on the right side you would select Misc>Numeric value and leave the value as zero. A positive value indicates the slope is increasing, a negative would be decreasing.


    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by itrader46, Today, 03:24 PM
    2 responses
    5 views
    0 likes
    Last Post itrader46  
    Started by MercuryRed, Today, 03:24 PM
    0 responses
    10 views
    0 likes
    Last Post MercuryRed  
    Started by beobast, Today, 01:56 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by daigo1, Today, 02:21 PM
    2 responses
    6 views
    0 likes
    Last Post daigo1
    by daigo1
     
    Started by Zapzap, Today, 02:24 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X