![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
Hello,
I'd like to compute O,C,L,H Heikin Ashi values and also check if candlestick is red or each tick for my Automated Trading System, but I don't know how to convert:
to code which assigns value to haO,haC,haH,haL,red,white variables.
Main problem is how to count up haO(t-1) and haC(t-1) because I don't have previous data.
The iCustom probably can't show me all the values.
Thank's for your replies!
PS
The code is cut from Heikin-Ashi Indicator from MQL4 Code Base.