Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Is there a strategy that uses the HULL MA, and does a simple Buy/Sell when the bar CLOSES above/below the Hull MA?
If the position is long, and the price bar closes below the Hull MA, then it will REVERSE the position and go short - and vice versa. I have been testing this in TOS with the included "MovAvgStrat" strategy.
I am new to Multicharts.net , and have no coding experience. However, this seems like it is possibly one of the easiest strategies to code?
I have managed to import a HULL MA indicator which shows up identical to TOS. It looks like Multicharts may have a strategy similar included, but i believe it uses a simple MA.
Any help in getting this coded? -- or will I need to either learn coding or pay someone?
Thanks!
Can you help answer these questions from other members on NexusFi?
I am not aware of any built-in strategies using the Hull MA, but you could use the built-in MovAvg_Cross_LE and MovAvg_Cross_SE strategies as starting point and exchange the simple moving average with a Hull average in each of them. You might want to save the original version under a different name and do your modifications within the newly created versions. Otherwise each installation/update of MC would overwrite your changes.
Your version of the Hull indicator might even come with a function and you can take a look at how it calls that function and follow the same logic within the strategy modification.
Thanks for your reply!
The indicator that i downloaded is from https://www.multicharts.com/discussion/viewtopic.php?t=50895
It looks like it created a function called "HMA_"
When looking at the indicator, it has the ability to do Alerts (On Bar Close), which sounds an audible alert.
If I understand you correctly, I could possibly replace the called function in MovAvg_Cross_LE/SE to "HMA_" ?
If so, what is the function that is called in the original code called?
Thanks! I changed the function in the code and it seems to be working.
Now I have another issue that you may be able to help me with? When I plot the Hull MA indicator on the chart (a 5 renko), with a Hull MA setting of 50, it doesn't plot the MA until bar 108. (no previous day's data. starting fresh each day at 09:30 est). What can be causing this? Is there some setting I have wrong? Why doesn't it start plotting the Hull MA on bar 50?
great. In the spirit of the futures.io community you might want to consider posting the code to help others, too.
What you experience sounds like it's caused by the "maximum number of bars back" that a study requires to be correctly computed. You can read more about that in the Wiki and the best approach usually is to load more bars to allow for enough history on the chart.