HA Indicator - Open E Cry | futures io social day trading
futures io futures trading

HA Indicator
Updated: Views / Replies:3,134 / 3
Created: by arbitrage Attachments:0

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 90,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

HA Indicator

  #1 (permalink)
Trading Apprentice
Futures Experience: Intermediate
Platform: TradeStation
Favorite Futures: EC
Posts: 3 since Jan 2011
Thanks: 0 given, 1 received

HA Indicator

I was wondering if someone could help me with a heikin ashi bar for Openecry. I have looked all over this forum and other forums and haven't found the exact answer. I had tradestation and switched to Openecry and was able to make a HA through an easylanguage transfer from TS but it does not look exact. I know there will be differences but could someone take a look at the code and suggest any improvements or a new code completely.

inputs: UpColor(green),DnColor(red);

vars: haClose(0),haOpen(0),haHigh(0),haLow(0),

if BarNumber = 1 then
haOpen = open;
haClose = (O+H+L+C)/4;
haHigh = MaxList( high, haOpen, haClose);
haLow = MinList( low, haOpen,haClose);

if BarNumber > 1 then
haClose = (O+H+L+C)/4;
haOpen = (haOpen [1] + haClose [1])/2 ;
haHigh = MaxList(High, haOpen, haClose) ;
haLow = MinList(Low, haOpen, haClose) ;

if haClose > haOpen then
color = UpColor
color = DnColor;


Reply With Quote
  #2 (permalink)
Elite Member
Canton, OH
Futures Experience: Advanced
Platform: ThinkOrSwim
Favorite Futures: Index Options Credit Spreads
HowardCohodas's Avatar
Posts: 100 since Mar 2011
Thanks: 40 given, 107 received

It is always a good idea when asking someone to look at your code for you to have comments embedded.

If it is to be, it is up to me.
All I Know About Trading Options I Learned in Flight School
Reply With Quote
  #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,336 since Jun 2009
Thanks: 29,452 given, 83,949 received

You might ask @cory, I think he is a long term OEC user. I've got a HA EL indicator around here somewhere but no clue if it works, I've attached it.



Original Code posted by SOLIDUS

Heikin-Ashi Method of Candles by deMicron (Suri Duddella)


inputs:     UPcolor(green), DNcolor(red), WICKcolor(black), WICKwidth(1), BODYwidth(3);

BodySize(iff(bodywidth=21iff(bodywidth>44bodywidth) )),
Outline(iff(bodysize=02iff(bodysize=13iff(bodysize=345)))  ),     
colorW(WICKcolor)    ;

varshaClose(0),haOpen(0),haHigh(0),haLow(0), CandleColor(0), CompBars(3);
DateC(0), TimeC(0),

Outlined Candles by Solidus

pixel sizes of plot widths


{  -------------------------       
Revision 1 Aug 15 07  ------------------------------
Simplified coloring code for efficiency
Removed Once command to permit use with pre-8.2 Tradestation.
Added efficiency fix so RGB color values as inputs need only calculate once on startup.

// Heikin-Ashi Candles by Suri Duddella (deMicron)

if BarNumber 1 then
haClose = (O+H+L+C)/4;
haHigh MaxListhighhaOpenhaClose);
haLow MinListlowhaOpen,haClose);

BarNumber 1 then
= (O+H+L+C)/4
//    haClose = (H+L+C)/3; 
haOpen = (haOpen [1] + haClose [1])/;
haHigh MaxList(HighhaOpenhaClose) ;
haLow MinList(LowhaOpenhaClose) ;
haClose haOpen then
Candlecolor ColorD;

value1 1 to CompBars
if haOpen <= MaxList(haOpen[value1],haClose[value1]) and
haOpen >= MinList(haOpen[value1],haClose[value1]) and
haClose <= MaxList(haOpen[value1],haClose[value1]) and
haClose >= MinList(haOpen[value1],haClose[value1]) then

bOpen haOpen;
bClose haClose;
bHigh haHigh;
bLow haLow;

bClose>bOpen then color=colorU else color=colorD;

plot1(bClose,"c outline a",colorW,0,outline);
plot2(bClose,"c outline b");
plot3(bOpen,"o outline a",colorW,0,outline);
plot4(bOpen,"o outline b");


Plot7(bClose,"C outline",colorW,0,outline); 
Plot8(bOpen,"O outline"); 


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
  #4 (permalink)
Trading Apprentice
Futures Experience: Intermediate
Platform: TradeStation
Favorite Futures: EC
Posts: 3 since Jan 2011
Thanks: 0 given, 1 received


Thanks BigMike I will take a look at the code and contact Cory.
Have a good one,

Reply With Quote


futures io > > > > HA Indicator

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Wyckoff Hunting for Great Risk/Reward Ratio w/Gary Fullett

Elite only

Digging into the Details of iSystems w/Stage 5 & iSystems

Jun 5

Similar Threads
Thread Thread Starter Forum Replies Last Post
LB or HA internet connection LordAlfa Tech Support 5 February 8th, 2011 08:36 PM
HA smoothed Zoethecus NinjaTrader 8 October 12th, 2010 08:39 AM

All times are GMT -4. The time now is 01:54 PM.

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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-05-26 in 0.08 seconds with 19 queries on phoenix via your IP