MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal

Source code library - Expert Advisors, Indicators and Scripts

Read Financial Magazines in MetaTrader 4 and MetaTrader 5!
To post a new code, please log in or register

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2008.03.03 09:27
Heiken Ashi Smoothed

Heiken Ashi Smoothed - indicator for MetaTrader 4

| English Spanish Portuguese Russian Chinese

Views:
36666
Rating:
votes: 2
Files:
Author: Raff

Heiken Ashi Smoothed indicator.



Last comments | Go to discussion (7)
MQL4 Comments
mql4_comments | 28 Aug 2009 at 15:31

Hi all

Please does any one know the formula for smoothing the heikin ashi indicator?

Cheers

MQL4 Comments
mql4_comments | 19 Aug 2011 at 19:12

does it work with mt5 trader

MQL4 Comments
mql4_comments | 20 Oct 2011 at 03:38

Do you have a "bar" version of Heiken Ashi Smoothed that appears in a subgraph? This indicator is excellent but it sometimes obscures the price action when it's in the main page. Also hopefully I can make the bar wide by dragging the top margin of the subgraph up, so that it is easily seen whether green (long) or red (short).

I have a subgraph version but it prints three colors (blue/red/yellow) and there is sometimes consecutive yellows which can be confusing. I only want two colors so there is no doubt whether long or short. Also, with this version, it has a set width no matter how wide you make the subgraph... Thanks

Heinrich Munz
Hanky27 | 25 Oct 2011 at 06:24

There is a bug in this code.

maOpen=iMA(NULL,0,MaPeriod,0,MaMetod,MODE_OPEN,pos);

maClose=iMA(NULL,0,MaPeriod,0,MaMetod,MODE_CLOSE,pos);

maLow=iMA(NULL,0,MaPeriod,0,MaMetod,MODE_LOW,pos);

maHigh=iMA(NULL,0,MaPeriod,0,MaMetod,MODE_HIGH,pos);

is wrong! Correct:

maOpen=iMA(NULL,0,MaPeriod,0,MaMetod,PRICE_OPEN,pos);

maClose=iMA(NULL,0,MaPeriod,0,MaMetod,PRICE_CLOSE,pos);

maLow=iMA(NULL,0,MaPeriod,0,MaMetod,PRICE_LOW,pos);

maHigh=iMA(NULL,0,MaPeriod,0,MaMetod,PRICE_HIGH,pos);

PRICE_... and MODE_... have different values!!!

ivan2007007
ivan2007007 | 23 Dec 2012 at 08:48
А возможно сделать так чтобы heiken ashi отображался в отдельном графике, как ренко например. кидаем советник ставим период и открываем офлайн график???