thank you
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
HMA on the CCI Histogram
Collapse
X
-
HMA on the CCI Histogram
Hello, I am trying to access from within my ninjatrader code the HMA value that is applied to the CCI-Histogram indicator (not price). I don't know how to do this ... if you can help me or direct me to a resource that can, that would be greatly appreciated.
thank youTags: None
-
Hello pman777,
Thanks for your note.
If you license is enabled to edit NinjaScripts you may view the programming for this indicator and see the name of the variable you wish to access.
To do this:- Click Tools > Edit NinjaScript > Indicator > select CCI_Histogram > click OK
I have imported this indicator and am not seeing a HMA value.
Please let me know which value you are looking for.Chelsea B.NinjaTrader Customer Service
-
thanks ... let me clarify ... on my chart I can apply an HMA to the CCI_Histogram by making the HMA "input series" parameter point to the CCI_Histogram. Once I do that, it displays the HMA as on overlay on the CCI_Histogram on my chart. I now want to access the HMA's values from within my script but need to know how to syntactically do that.
Comment
-
Hello pman777,
If you have a custom script you are using and would like to call the HMA using the CCI_Histogram as its input series using the following:
Code:double myVariable = HMA(CCI_Histogram(14), 20)[0];
In the example, 14 is the period used for the CCI_Histogram and 20 is the period used for the HMA. You would change these to your liking.
This will get the the HMA value of the last bar using CCI_Histogram as its input series and save that to a double variable named myVariable.
Below is a link to the help guide on calling the HMA Indicator.
http://www.ninjatrader.com/support/h...__hull_hma.htm
Please let me know if I can be of any further assistance.Chelsea B.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Hwop38, 05-04-2026, 07:02 PM
|
0 responses
161 views
0 likes
|
Last Post
by Hwop38
05-04-2026, 07:02 PM
|
||
|
Started by CaptainJack, 04-24-2026, 11:07 PM
|
0 responses
309 views
0 likes
|
Last Post
by CaptainJack
04-24-2026, 11:07 PM
|
||
|
Started by Mindset, 04-21-2026, 06:46 AM
|
0 responses
245 views
0 likes
|
Last Post
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
349 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
179 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|

Comment