• 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

HMA Indicator Rising or Falling

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

    HMA Indicator Rising or Falling

    OK In Strat builder the logical condition would be Indicator....HMA equals Rising......but all you get is TYPE OF LEFT EXPRESSION AND RIGHT EXPRESSION DO NOT MATCH, PLEASE SELECT SIMILAR EXPRESSION??? what am i missing here?

    #2
    Hello Birdseye,

    Thanks for your reply.

    The error message is happening because the Rising returns as a true or false value and the HMA will return a numerical price value of the HMA. So the true/false value does not match the price double value.

    When using Rising (or Falling), you would need to logically compare to Misc>True (or False).

    When using Rising (or Falling), note that the parameter for "series 1" is "Default input". Default input is the chart bars that the Rising (or Falling) is applied to. If you want to know if the HMA is Rising then you would need to change the "Series 1" from "default Input" to your HMA (with the specific period of the HMA you wish). You can left click on default input and an "input series" window will open where you can select either an added data series or can select an indicator. In the indicator folder select the HMA and specify the period of interest and then click OK. This will identify Rising(HMA(Close, 14) (or whatever period you used for the HMA).

    In the center you would select Equals

    On the right side you would select Misc>true

    This would result in the condition builder showing: IsRising(HMA(Close, 14)) = true which will be a correct expression because rising will return true or false and the comparison is to "true".



    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mykro, Today, 11:01 AM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by bauerjj10, Today, 12:24 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Newtrader101, Today, 06:01 PM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_EricB  
    Started by Steve L, Today, 03:50 PM
    1 response
    4 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by kherzfeldt6953, Today, 06:11 PM
    0 responses
    1 view
    0 likes
    Last Post kherzfeldt6953  
    Working...
    X