Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How create Hull Moving Average (MA) on Bot Binary? #113

Open
Sun29 opened this issue Nov 1, 2017 · 7 comments
Open

How create Hull Moving Average (MA) on Bot Binary? #113

Sun29 opened this issue Nov 1, 2017 · 7 comments

Comments

@Sun29
Copy link

Sun29 commented Nov 1, 2017

Hi Fruitfella,
Can You help me write bot-block Hull Moving Average same as Weighted Moving Average (FWMAv1.0)
Thank you.

@Fruitfella
Copy link
Owner

i don't know Hull Moving Average.
tell me how it works (the formula), i'll try it later.

@Sun29
Copy link
Author

Sun29 commented Nov 12, 2017

Hi Fruitfella,
Thank for your reply.

All information about Hull Moving Average has in author website: https://alanhull.com/hull-moving-average

This is formula in author (Alan Hull):
(1) Hull Moving Average (HMA) formula
Integer(SquareRoot(Period)) WMA [2 x Integer(Period/2) WMA(Price) - Period WMA(Price)]
(2) MetaStock formula
period:=Input("period",1,200,20);
sqrtperiod:=Sqrt(period);
Mov(2*Mov(C,period/2,W) - Mov(C,period,W),LastValue(sqrtperiod),W);

And, this is formula in script of tradingview:
(1) HMA = WMA(2*WMA(n/2) − WMA(n)),sqrt(n))
with:
HMA = Hull Moving Average
WMA = Weighted Moving Average
N = Period
SQRT = Square Root

And explain from fidelity.com (https://www.fidelity.com/learning-center/trading-investing/technical-analysis/technical-indicator-guide/hull-moving-average):
(1) Calculation
Calculate a Weighted Moving Average with period n / 2 and multiply it by 2
Calculate a Weighted Moving Average for period n and subtract if from step 1
Calculate a Weighted Moving Average with period sqrt(n) using the data from step 2
HMA= WMA(2*WMA(n/2) − WMA(n)),sqrt(n))

Note:
On tradingview.binary.com also Hull MA indicator

I've attemp write from your formula about WMA (FWMAv1.0), but always wrong!
Please, help me.
Thank you again.

@Fruitfella
Copy link
Owner

Hi Sun29, after i read the formula, i find it a bit complex. need to make some WMAs arrays before calculating the HMA, etc.
it would take few hours (for me) to build it, which is i don't have that much of spare time for this ( i also have a life, irl :P ). there are also some paid requests/projects that i need to do.
so, i'm sorry i won't make this indicator anytime soon. i'll try it but dunno when, so don't wait for it.

my suggestion is either you try other indicator as a substitute of HMA for your strategy or ask the official developer of bot.binary(dot)com aminmarashi to make it.

@Sun29
Copy link
Author

Sun29 commented Nov 26, 2017

Hi Fruitfella,
Thank for your reply.
I'll try another indicator.
Thanks again & best regard.

@theboyof8x
Copy link

@Fruitfella
My friend
How do you do! Still Have Health?
I Have Been In This Group Of You!
Ah I Forgot To Send You The Indicator Kit That I Purchase And Promise To Share For You! :)
Wait For My Facebook Message Nhe..I'll Send It To You To Use It Trader Binary

@Fruitfella
Copy link
Owner

@Sun29 you're lucky i'm so generous today this is my FRUITFELLA's HULLMA

@theboyof8x hello friend, i'm alive and kickin' here xD
just noticed your message today xP
thank you btw.

@Sun29
Copy link
Author

Sun29 commented Mar 3, 2018

@Fruitfella,
Thank for your indicator, "FRUITFELLA's HULLMA"
Thanks again & best regard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants