NexusFi: Find Your Edge


Home Menu

 



Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now, It is 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)


Hull indicator


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one Tom Joad with 2 posts (0 thanks)
    2. looks_two pbeguin with 1 posts (3 thanks)
    3. looks_3 pablobar with 1 posts (0 thanks)
    4. looks_4 kronie with 1 posts (0 thanks)
    1. trending_up 4,492 views
    2. thumb_up 3 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

Hull indicator

(login for full post details)
  #1 (permalink)
Tom Joad
Milano
 
Posts: 13 since May 2011
Thanks Given: 29
Thanks Received: 0

Hello .... I apologize for my English. I am an Italian trader and I ended up in this forum by chance, never seen anything like it. Sharing professionalism ... 'etc etc ... thanks! I want to put the indicator to be associated with Hull .... what gives the signal on the candles to turn around the moving average. I fastbrokers that uses OEC ... someone has the code please?? Many thanks to all

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Resources to help learn about diversification of algo po …
NinjaTrader
RangeDisparityMeter Indicator for NT8
Platforms and Indicators
EARNMAX Scam
Trading Reviews and Vendors
NT8 PnF Crowd Funding
NinjaTrader
a random post probably in the wrong spot
Feedback and Announcements
 

(login for full post details)
  #2 (permalink)
 pbeguin 
West Hills, CA
 
Experience: Beginner
Platform: OEC Trader, MC/DT
Broker: OEC
Trading: TF
Posts: 12 since Oct 2009
Thanks Given: 7
Thanks Received: 22

Here's the Hull MA Easylanguage that will work in OEC Trader. I'm not sure about the signal you're asking about. You could put together an Easylanguage strategy and run it on your chart, but without any more specifics on what signals you'd expect, this is probably a good starting point.

 
Code
{jtHMA - Hull Moving Average Indicator}
{Author: Atavachron}
{May 2005}

{
Inputs:
-------
price: the time series being smoothed, usually Close, High, etc,
but could be RSI(Close, 25) for example.
length: the length of the MA, pretty meaningless in the normal sense
of moving averages, as this quantity is heavily modified
in the code. You need to experiment, do not just use a setting
of 20 because that is what works for you with Simple Moving Averages.
zeroLine: if you are using this in an indicator pane, you might
want to display a centre line of some sort, ths allows
one to set its value
zeroVisible: boolean variable, determines whether the centre line
(zeroLine) is plotted.
upColour: If you wish to differentiate upward movements by colour coding.
downColour: If you wish to differentiate downward movements by colour coding.
colourDeltaBar: Set this to 1 if you wish the colour change to be effective on
the actual bar where the direction change occurred.
Set this to 0 for default behaviour. All other values
are pretty meaningless.
}

Inputs: price(Close), length(21),
zeroLine(0.0), zeroVisible(false),
upColour(Blue), downColour(Red);

Value1 = jtHMA(price, length);

Plot1(Value1, "jtHMA");

If ZeroVisible = true then
Plot2(zeroLine, "Zero");

{ Color criteria }
if (Value1 > Value1[1]) then
SetPlotColor(1, upColour)
else if (Value1 < Value1[1]) then
SetPlotColor(1, downColour);

#function jtHMA
{jtHMA - Hull Moving Average Function}
{Author: Atavachron}
{May 2005}

Inputs: price(NumericSeries), length(NumericSimple);
Vars: halvedLength(0), sqrRootLength(0);

{
Original equation is:
---------------------
waverage(2*waverage(close,period/2)-waverage(close,period), SquareRoot(Period)
Implementation below is more efficient with lengthy Weighted Moving Averages.
In addition, the length needs to be converted to an integer value after it is halved and
its square root is obtained in order for this to work with Weighted Moving Averaging
}

if ((ceiling(length / 2) - (length / 2)) <= 0.5) then
halvedLength = ceiling(length / 2)
else
halvedLength = floor(length / 2);

if ((ceiling(SquareRoot(length)) - SquareRoot(length)) <= 0.5) then
sqrRootLength = ceiling(SquareRoot(length))
else
sqrRootLength = floor(SquareRoot(length));

Value1 = 2 * WAverage(price, halvedLength);
Value2 = WAverage(price, length);
Value3 = WAverage((Value1 - Value2), sqrRootLength);

jtHMA = Value3;

Reply With Quote
The following 3 users say Thank You to pbeguin for this post:
(login for full post details)
  #3 (permalink)
Tom Joad
Milano
 
Posts: 13 since May 2011
Thanks Given: 29
Thanks Received: 0



pbeguin View Post
Here's the Hull MA Easylanguage that will work in OEC Trader. I'm not sure about the signal you're asking about. You could put together an Easylanguage strategy and run it on your chart, but without any more specifics on what signals you'd expect, this is probably a good starting point.

 
Code
{jtHMA - Hull Moving Average Indicator}
{Author: Atavachron}
{May 2005}

{
Inputs:
-------
price: the time series being smoothed, usually Close, High, etc,
but could be RSI(Close, 25) for example.
length: the length of the MA, pretty meaningless in the normal sense
of moving averages, as this quantity is heavily modified
in the code. You need to experiment, do not just use a setting
of 20 because that is what works for you with Simple Moving Averages.
zeroLine: if you are using this in an indicator pane, you might
want to display a centre line of some sort, ths allows
one to set its value
zeroVisible: boolean variable, determines whether the centre line
(zeroLine) is plotted.
upColour: If you wish to differentiate upward movements by colour coding.
downColour: If you wish to differentiate downward movements by colour coding.
colourDeltaBar: Set this to 1 if you wish the colour change to be effective on
the actual bar where the direction change occurred.
Set this to 0 for default behaviour. All other values
are pretty meaningless.
}

Inputs: price(Close), length(21),
zeroLine(0.0), zeroVisible(false),
upColour(Blue), downColour(Red);

Value1 = jtHMA(price, length);

Plot1(Value1, "jtHMA");

If ZeroVisible = true then
Plot2(zeroLine, "Zero");

{ Color criteria }
if (Value1 > Value1[1]) then
SetPlotColor(1, upColour)
else if (Value1 < Value1[1]) then
SetPlotColor(1, downColour);

#function jtHMA
{jtHMA - Hull Moving Average Function}
{Author: Atavachron}
{May 2005}

Inputs: price(NumericSeries), length(NumericSimple);
Vars: halvedLength(0), sqrRootLength(0);

{
Original equation is:
---------------------
waverage(2*waverage(close,period/2)-waverage(close,period), SquareRoot(Period)
Implementation below is more efficient with lengthy Weighted Moving Averages.
In addition, the length needs to be converted to an integer value after it is halved and
its square root is obtained in order for this to work with Weighted Moving Averaging
}

if ((ceiling(length / 2) - (length / 2)) <= 0.5) then
halvedLength = ceiling(length / 2)
else
halvedLength = floor(length / 2);

if ((ceiling(SquareRoot(length)) - SquareRoot(length)) <= 0.5) then
sqrRootLength = ceiling(SquareRoot(length))
else
sqrRootLength = floor(SquareRoot(length));

Value1 = 2 * WAverage(price, halvedLength);
Value2 = WAverage(price, length);
Value3 = WAverage((Value1 - Value2), sqrRootLength);

jtHMA = Value3;

I am speechless .... I can not help but thank you very warmly. I hope I can be useful to someone in my time in the future. Yours sincerely Ivan

Reply With Quote
(login for full post details)
  #4 (permalink)
 
kronie's Avatar
 kronie 
NYC + NY / USA
 
Experience: Advanced
Platform: "I trade, therefore, I AM!"; Theme Song: "Atomic Dog!"
Trading: EMD, 6J, ZB
Posts: 796 since Oct 2009

it would be most useful to post pictures demonstrating this Hull Indicator,

and show how it differentiates itself from other indicators already in existance, as well as how we might incorporate it into our trading spectrum

Reply With Quote
(login for full post details)
  #5 (permalink)
pablobar
BUENOS AIRES
 
Posts: 2 since May 2017
Thanks Given: 1
Thanks Received: 0


Tom Joad View Post
Hello .... I apologize for my English. I am an Italian trader and I ended up in this forum by chance, never seen anything like it. Sharing professionalism ... 'etc etc ... thanks! I want to put the indicator to be associated with Hull .... what gives the signal on the candles to turn around the moving average. I fastbrokers that uses OEC ... someone has the code please?? Many thanks to all

Hello. Did you get working the Hull indicator on the OEC Platform?

Reply With Quote





Last Updated on April 29, 2019


© 2023 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts