Heikin Ashi Code
This is no strategy but given to give you the code Heikin Ashi:
Click here for the original article.
Amibroker code:
HAC = (O + H + L + C)/4;
HAO = AMA( Ref( HAC, -1 ), 0.5 );
HAH = Max( H, Max( HAC, HAO ) );
HAL = Min( L, Min( HAC, HAO ) );
barcolor = IIf( HAC >= HAO, colorBlue, colorRed);
PlotOHLC( HAO, HAH, HAL, HAC, “”, barcolor, styleCandle );
The strategy might look like this:
Buy = HAC>HAO;
BuyPrice=Close;
Sell = HAC<HAO;
SellPrice = Close;
Tradestation code:
Heikin Ashi Code for Tradestation can be found in the TradingApp Store. It is free to install in Tradestation.
Disclosure: We are not financial advisors. Please do your own due diligence and investment research or consult a financial professional. All articles are our opinions – they are not suggestions to buy or sell any securities.
