Hull candles

Here you can post and download custom indicators. PLEASE: Do not start topics unless you are posting your own indicator, they will be moved to appropriate section even if you do.

Moderator: admin

Hull candles

Postby Alexander.Gettinger » Tue Aug 13, 2013 8:28 am

This indicator is a ported MQL5 indicator from http://www.mql5.com/en/code/1784.

Formulas:
High[i] = Max(X_H, Open[i-1], Close[i-1]),
Low[i] = Min(X_L, Open[i-1], Close[i-1]),
Open[i] = (Open[i-1]+Close[i-1])/2,
Close[i] = (X_O+X_H+X_L+X_C)/4, where
X_O = 2*MA(Open, Period/2)-MA(Open, Period),
X_H = 2*MA(High, Period/2)-MA(High, Period),
X_L = 2*MA(Low, Period/2)-MA(Low, Period),
X_C = 2*MA(Close, Period/2)-MA(Close, Period).

Hull_Candles.PNG


Download:
Hull_Candles.lua
(4.44 KiB) Downloaded 1057 times

Hull_Candles with Alert.lua
(14.83 KiB) Downloaded 605 times

For this indicator must be installed Averages indicator (viewtopic.php?f=17&t=2430).
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Re: Hull candles

Postby Apprentice » Sun Jun 04, 2017 5:43 am

The indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Hull candles

Postby Recursive Trendline » Wed Aug 16, 2017 10:19 am

Hi Apprentice,

Need a hull candle alert similar to Heikin Ashi Alert here:
viewtopic.php?f=17&t=18230&hilit=heikin+ashi+alert

Up and Down arrows on live/end of turn.

Regards,
Recursive
Recursive Trendline
 
Posts: 21
Joined: Wed Jun 14, 2017 9:41 am

Re: Hull candles

Postby Apprentice » Thu Aug 17, 2017 5:33 am

Hull_Candles with Alert.lua added.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Hull candles

Postby Recursive Trendline » Thu Aug 17, 2017 9:23 am

Thanks a lot Apprentice :)
Recursive Trendline
 
Posts: 21
Joined: Wed Jun 14, 2017 9:41 am

Re: Hull candles

Postby Apprentice » Wed Sep 12, 2018 6:06 am

The indicator was revised and updated.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia


Return to Custom Indicators

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 46 guests