thank you
Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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 pkefal, 04-11-2024, 07:39 AM
|
11 responses
36 views
0 likes
|
Last Post
by jeronymite
Today, 09:37 PM
|
||
Started by bill2023, Yesterday, 08:51 AM
|
8 responses
44 views
0 likes
|
Last Post
by bill2023
Today, 09:27 PM
|
||
Started by yertle, Today, 08:38 AM
|
6 responses
25 views
0 likes
|
Last Post
by ryjoga
Today, 09:17 PM
|
||
Started by algospoke, Yesterday, 06:40 PM
|
2 responses
24 views
0 likes
|
Last Post
by algospoke
Today, 07:04 PM
|
||
Started by ghoul, Today, 06:02 PM
|
3 responses
16 views
0 likes
|
Last Post Today, 06:43 PM |
Comment