MQL4 - automated forex trading   /  

Code Base

Read Financial Magazines in MetaTrader 4 and MetaTrader 5!

Code Base  Indicators  Heiken Ashi Smoothed To post a new code, please log in or register

Download MetaTrader 5 and visit MQL5.community Code Base
and Trade on the Go!
and Trade on the Go!
Couldn't find the right code? Order it in the Jobs section

This library is for
MetaTrader 4
Download MT 4 - 455 Kb

and Trade on the Go!

and Trade on the Go!

Name:
Heiken Ashi Smoothed [ ru | cn ]
Author: Scriptor (2008.03.03 10:27)
Rating: 10
Downloaded: 33461
Download:
 Heiken_Ashi_Smoothed.mq4 (4.1 Kb) View
Author: Raff

Heiken Ashi Smoothed indicator.



7 comments  To post a new comment, please log in or register
А возможно сделать так чтобы heiken ashi отображался в отдельном графике, как ренко например. кидаем советник ставим период и открываем офлайн график???
23.12.2012 09:48 ivan2007007

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!!!

25.10.2011 08:24 Hanky

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

20.10.2011 05:38 jtimpson

does it work with mt5 trader

19.08.2011 21:12 20n7n3

Hi all

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

Cheers


28.08.2009 17:31 colin77

pls whats the best currenct pair and time frame for this indicator.

18.12.2008 15:30 27-3-1984

A very nice and helpfull indicator !!

I don't use anything else anymore...

Gilbert Despeghel, Belgium.

27.04.2008 11:59 Desander