• 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 traderpards, 12-12-2018, 01:15 PM
    5 responses
    152 views
    0 likes
    Last Post BrianL
    by BrianL
     
    Started by Cyanez, Today, 08:41 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by TonyParisi, Today, 07:38 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Kate  
    Started by tgn55, 09-24-2019, 06:34 AM
    13 responses
    49 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by jasphere, Today, 07:37 AM
    4 responses
    20 views
    0 likes
    Last Post jasphere  
    Working...
    X