Could you please consider it for the next MT5 version?
Mundoforex,
Many programmers are having the same problem and it is not MT5. I also ran into this problem before because of the structure of MQL5. Perform a search and you will find the answer.
void OnTick()
//+------------------------------------------------------------------+
{
MqlTick last_tick;
MqlTradeResult result;
MqlTradeRequest request;
SymbolInfoTick(Symbol(),last_tick);
Ask = last_tick.ask;
Bid = last_tick.bid;
Documentation on MQL5: Standard Constants, Enumerations and Structures / Data Structures / Trade Request Structure
- www.mql5.com
Standard Constants, Enumerations and Structures / Data Structures / Trade Request Structure - Documentation on MQL5
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'm developing a D1 strategy that only trades on open candle, on MT4 it runs quite quickly but on MT5 it is several times slower because MT5 uses 1 minute OHLC ticks even when I choose "Open prices only" in strategy tester. Why don't you let programmer choose ticks period?. Thanks