You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Double Impact
Double Heiken Ashi
Double Heiken Ashi
bro server, can u attach some a good easy use ind?
thanks..bro
...
Be carefull when using the "heiken ashi smoothed" indicators.
There is a coding error in them. This part :
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);
[/php]should be like this :
[php] 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);_______________________
Compared are the MODE_ parameters (that are used in that code instead of PRICE_ parameters) and the PRICE_ parameters for moving average (the only one that is the same is high):
MODE_OPEN 0 Open price.
MODE_LOW 1 Low price.MODE_HIGH 2 High price.MODE_CLOSE 3 Close price.
PRICE_CLOSE 0 Close price.PRICE_OPEN 1 Open price.
PRICE_HIGH 2 High price.PRICE_LOW 3 Low price.
_______________________
From the code, it is obvious that those are not the values that are intended to be calculated, and only the min and max are saving indicator from making a huge error. Attached are the corrected ones
Thank you very much mladen for correction.
Be carefull when using the "heiken ashi smoothed" indicators.
There is a coding error in them. This part :
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);
[/php]should be like this :
[php] 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);_______________________
Compared are the MODE_ parameters (that are used in that code instead of PRICE_ parameters) and the PRICE_ parameters for moving average (the only one that is the same is high):
MODE_OPEN 0 Open price.
MODE_LOW 1 Low price.MODE_HIGH 2 High price.MODE_CLOSE 3 Close price.
PRICE_CLOSE 0 Close price.PRICE_OPEN 1 Open price.
PRICE_HIGH 2 High price.PRICE_LOW 3 Low price.
_______________________
From the code, it is obvious that those are not the values that are intended to be calculated, and only the min and max are saving indicator from making a huge error. Attached are the corrected onesthanks man..
Hi fairose, I'm entry Buy from M5. Maybe too early but I'm in profit now.
Be carefull when using the "heiken ashi smoothed" indicators.
There is a coding error in them. This part :
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);
[/php]should be like this :
[php] 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);_______________________
Compared are the MODE_ parameters (that are used in that code instead of PRICE_ parameters) and the PRICE_ parameters for moving average (the only one that is the same is high):
MODE_OPEN 0 Open price.
MODE_LOW 1 Low price.MODE_HIGH 2 High price.MODE_CLOSE 3 Close price.
PRICE_CLOSE 0 Close price.PRICE_OPEN 1 Open price.
PRICE_HIGH 2 High price.PRICE_LOW 3 Low price.
_______________________
From the code, it is obvious that those are not the values that are intended to be calculated, and only the min and max are saving indicator from making a huge error. Attached are the corrected onesHi mladen..
Thank You for your explanation.. This information was very important..
I corrected other Heiken ashi indicators .. which I have .. I hope that, what I did, is well..
what do You think?..
Hi fairose, I'm entry Buy from M5. Maybe too early but I'm in profit now.
bro server what ind you use?
your ind looks good bro.. please advice
1 question.. whats the name ind you use in the top right corner chart?
...
As far as I see, you made everything OK
regards
mladen
Hi mladen..
Thank You for your explanation.. This information was very important..
I corrected other Heiken ashi indicators .. which I have .. I hope that, what I did, is well..
what do You think?..Hi fairose, I'm entry Buy from M5. Maybe too early but I'm in profit now.
Hi there ServerUang,
Can you post the indicator on your chart, the white line with the dotted line.
Many thanks
Xard777