fxDelta:
How can I link from mql code to history centre and pick latest ohlc to the code and use those information for calculation into code? Help pls!
As long as the Terminal is connected it will be updated with the latest OHLC automatically... To access their value either use the predefined variable arrays (High[], Low[], etc. -> https://docs.mql4.com/predefined/variables) or the Timeseries functions (iHigh(), iLow(), etc. -> https://docs.mql4.com/series).

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
How can I link from mql code to history centre and pick latest ohlc to the code and use those information for calculation into code? Help pls!