molanis.com/forum - Tools for MetaTrader : The place to ask about the best expert advisor builder, expert advisor downloads, and expert advisor programming

AFTER YOU REGISTER SEND US AN EMAIL TO ACTIVATE YOUR ACCOUNT - Before posting:-1- Please read the user guide -2- Try the examples -3- Search in the forum
It is currently Fri May 17, 2024 8:09 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Plotting Hull Moving Average
PostPosted: Wed Apr 20, 2011 1:08 pm 
Offline

Joined: Sun Jan 16, 2011 12:06 pm
Posts: 58
I want to make my first indicator and do not know how to start. I have read the manual from your web site. I an posting the formula and I will be greatful if you guide me how to get it done
Thanks a lot :?:

Formula:
HMA(n) = WMA(2*WMA(n/2) – WMA(n)),sqrt(n))

where HMA=Hull moving average that I want to calculate
n= period
WMA = Weighted moving average

It seems to be that we first need to calculate WMA and then somehow incorporate that in the above formula.


Top
 Profile  
 
 Post subject: Re: Plotting Hull Moving Average
PostPosted: Wed Apr 20, 2011 4:47 pm 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
Just this week, 2 people posted that indicator.
Search for hull here viewtopic.php?f=3&t=162

If you want to do it your self, you need to find the WMA in internet (mt4 does not come with the WMA), then import it and use it in the indicator builder.


Top
 Profile  
 
 Post subject: Re: Plotting Hull Moving Average
PostPosted: Sat May 21, 2011 10:05 am 
Offline

Joined: Sun Jan 16, 2011 12:06 pm
Posts: 58
Can WMA be coded using indicator builder??

Thanx


Top
 Profile  
 
 Post subject: Re: Plotting Hull Moving Average
PostPosted: Sun May 22, 2011 9:49 am 
Offline

Joined: Tue Dec 22, 2009 12:22 am
Posts: 1761
The indicator builder has an advanced option to create SMA. If you need WMA is best to get it from an external indicator since building is quite complex.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by Molanis © 2009