Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
HMA Indicator Rising or Falling
Collapse
X
-
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?Tags: None
-
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".
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Yesterday, 05:17 AM
|
0 responses
55 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
132 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
73 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
45 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
49 views
0 likes
|
Last Post
|

Comment