![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
Hi All,
I am a newbi so please be patient,
I have been trying to get the colour of a Heiken Ashi candle and have it working up to a point. The trouble is that I dont get enough candles of the correct colour. What I did was to write the indicator values for a set of candles out to a file and I find that one is missing, yet on the chart it appears. Hope someone can help and point me in the right direction to solve this issue.
Strategy Tester Setup
Expert Advisor: Test_Heiken_Ashi
Symbol: GBPUSD
Model: Every Tick
Use Date: 1.9.2009 to 2.10.2009
Period M15
Heiken Ashi Chart
File Export Data
From the above data you can see that there are 11 red candles instead of 12.
Attached is the test EA if anyone wants to try and reproduce the results, but most of all I need a bit of help here, its probably something that I am doing wrong or misinterpreting. I think I have found a similar problem in the iMACD indicator but have not fully checked the results.
regards,
tom...