
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,
I have this code in my EA that uses the following line:
DXFL=iHigh(Symbol(),PERIOD_D1,1)-iLow(Symbol(),PERIOD_D1,1);
However, I need to refresh the history (manually) every time I run the EA. I have tried different ways to make the EA refresh it automatically but none worked. I understand that the iHigh and iLow reads from the history so how can I eaither refresh them automaticall or read from the server directly?
Thanks.