Hull-DNA (Easylanguage) - EasyLanguage Programming | futures io social day trading
futures io futures trading


Hull-DNA (Easylanguage)
Updated: Views / Replies:5,109 / 2
Created: by JVentura Attachments:2

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Thread Tools Search this Thread

Hull-DNA (Easylanguage)

  #1 (permalink)
Elite Member
Ventura, California, United St
Futures Experience: Intermediate
Platform: Multicharts
Broker/Data: Open E Cry (OEC)
Favorite Futures: RLM, 6E
JVentura's Avatar
Posts: 20 since Oct 2010
Thanks: 38 given, 16 received

Hull-DNA (Easylanguage)

Hi, I have been working on various systems trying to teach myself Easylanguage and reading a bunch of all your posts which is helping a ton; Thanks!
I am a trend follower and don't need to pick tops and bottoms but I want that chunk out of the middle of trend in the safest and most efficient method I can come up with.
So with all that in mind I keep coming back to moving averages of one type or another to clean and smooth but as you know they can lag pretty bad at times.
So I came up with a three moving average system as follows:
Using the Hull Moving averages (for speed) and a simple moving averages as a zero line for overall trend:

Center-line (Zero):
So the Simple MA(Zero Line) is color coded to indicate the location of the closing price via color I have also added an Average True Range cushion around it so when the price gets close to the line you can clearly see it.
A blue dot indicates the closing price is above the slower simple MA and red indicates it's below, if the center line is gray the MA is within the ATR(Middle MA value).

Moving Average (Oscillations/MACD)
The other two moving averages are the Hull Moving averages, In order to have it oscillate I just subtract the hullslowMA from the hullfastMA (MACD).
The coloring of the lines however is as follows if the lines are in contango (i.e. in a rising market fast is on the top, slow is on the bottom and the baseline value is below them) it goes all blue indicating a buy.

I'm still working on a more sound exit strategy I don't believe this system protects enough for the exit side. I am looking at some sort of trailing stop wanting the market to exit the trade

Help: Is it possible in easylanguange to plot a paintbar into window#1, I would like to do it when the MACD crosses over the zeroline.

Like I said I am new to this so if there are best practices to coding what I have done here I would appreciate any feedback...thanks.

---My code---
// Using the Hull Moving average as the fast and slow, went to a standard moving average for the long term (zero line)
Price (close),

SlowHull=_HMA(Price, HullSlow);
FastHull=_HMA(Price, HullFast);

//Center Line Calculation and Coloring
CenterMA= AverageFC(Price, HullCenter);
If close < (CenterMA - var1) then Centercolor = CenterdnColor;
If close > (CenterMA + var1) then Centercolor = CenterUpColor;

If Close = CenterMA then Centercolor = Yellow;
// Calculate Fast and Slow around Centerline
HullMACD= FastHull-SlowHull;

//Contango Using this to define and mark trend when all MA's are H->L in order

If Slowhull<FastHull and Slowhull>CenterMA then Contango=blue;
If Slowhull>Fasthull and slowhull<CenterMA then Contango=Red;

//If Condition1 then PlotPB( High, Low, Open, Close, "Contango", Yellow ) ;
//Would really like to figure out how to plot a Paintbar into Window #1 when HullMACD crosses Centerline

Plot1 (HullMACD,"HullCross", Contango);
Plot2 (HullMACD, "", Contango) ;
Plot3(0,"HullCenter", CenterColor);

Attached Thumbnails
Hull-DNA (Easylanguage)-ja-hull-dna.png  
Attached Files
Register to download File Type: pla JA-Hull-DNA.pla (7.0 KB, 88 views)
Reply With Quote
The following 2 users say Thank You to JVentura for this post:
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

  #3 (permalink)
Site Administrator
Manta, Ecuador
Futures Experience: Advanced
Platform: My own custom solution
Favorite Futures: E-mini ES S&P 500
Big Mike's Avatar
Posts: 46,794 since Jun 2009
Thanks: 29,839 given, 86,206 received

Here is an example of painting paintbars. Re-work for your use.

var1 MyFunction(ampnearsmoothingfarsmoothingangle);


var1 and H then PlotPaintBar(HLCO"bar"GetPlotColor(5));
var1 and L then PlotPaintBar(HLCO"bar"GetPlotColor(8));
var1 and L then PlotPaintBar(HLOC"bar"GetPlotColor(6));
var1 and H then PlotPaintBar(HLOC"bar"GetPlotColor(9));

var1 and var1 var1[1then PlotPaintBar(HLOC"bar"GetPlotColor(7));
var1 and var1 var1[1then PlotPaintBar(HLOC"bar"GetPlotColor(7));



Due to time constraints, please do not PM me if your question can be resolved or answered on the forum.

Need help?
1) Stop changing things. No new indicators, charts, or methods. Be consistent with what is in front of you first.
2) Start a journal and post to it daily with the trades you made to show your strengths and weaknesses.
3) Set goals for yourself to reach daily. Make them about how you trade, not how much money you make.
4) Accept responsibility for your actions. Stop looking elsewhere to explain away poor performance.
5) Where to start as a trader? Watch this webinar and read this thread for hundreds of questions and answers.
Help using the forum? Watch this video to learn general tips on using the site.

If you want
to support our community, become an Elite Member.

Reply With Quote


futures io > > > > > Hull-DNA (Easylanguage)

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Upcoming Webinars and Events (4:30PM ET unless noted)

Fundraiser: Feeding Families in Need (ends Dec 17)


Battlestations! Show us your trading desks w/GFF Brokers ($750 in Prizes)


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hull indicator Tom Joad Open E Cry 3 October 11th, 2011 09:48 AM
Easylanguage subroutines skan EasyLanguage Programming 7 August 18th, 2011 08:34 PM
EasyLanguage vs NinjaScript Traderji Platforms and Indicators 2 October 22nd, 2010 02:00 AM
Easylanguage vs. C++ Cogito ergo sum EasyLanguage Programming 10 August 2nd, 2010 03:12 PM

atr, average true range, dow, easylanguage, exit strategy, feedback, how to, hull, indicators, information, long term, macd, multicharts, neoticker, paintbars, strategy, tradestation, trailing stop, trend, type

All times are GMT -4. The time now is 10:38 PM. (this page content is cached, log in for real-time version)

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432 WhatsApp Business,
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.
no new posts
Page generated 2018-12-14 in 0.10 seconds with 15 queries on phoenix