Hello @binary-ex-machina,
Now, i've downloaded all your bots-block, and i've try all your bots.
Thank you for your created this bots.
I'd post my issues in binary-com/binary-bot#436, and
Fruitfella/ROBOT-binary#113 for help me build HMA indicator, but I did not get the good-solution.
This is formula of HMA in web:
This is formula in author (Alan Hull) website: https://alanhull.com/hull-moving-average :
(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);
(3) And, this is formula in script of tradingview:
HMA = WMA(2*WMA(n/2) โ WMA(n)),sqrt(n))
with:
HMA = Hull Moving Average
WMA = Weighted Moving Average
N = Period
SQRT = Square Root
(4) And explain from fidelity.com (https://www.fidelity.com/learning-center/trading-investing/technical-analysis/technical-indicator-guide/hull-moving-average):
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))
(5) Note:
On tradingview.binary.com also Hull MA indicator
And, I think you can write this bot completely.
Note: I use this HMA indicators in the trade TOUCH (only TOUCH)
Thank you very much.