Emerson Ng:
Understand that all these predefined variables from MQL4 are missing in MQL5 - Ask, Bars, Bid, Close, Digits, High, Low, Open, Point, Time, Volume . What are they represented as in MQL5 now?
Thanks
SymbolInfoDouble(_Symbol,SYMBOL_ASK)
SymbolInfoDouble(_Symbol,SYMBOL_BID)
iOpen(_Symbol,_Period,index) , similarly for High Low Close Volume Time
Documentation on MQL5: Market Info / SymbolInfoDouble
- www.mql5.com
SymbolInfoDouble - Market Info - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Emerson Ng: Understand that all these predefined variables from MQL4 are missing in MQL5 - Ask, Bars, Bid, Close, Digits, High, Low, Open, Point, Time, Volume . What are they represented as in MQL5 now?
I suggest doing some research into learning MQL5 as well as how to transition from MQL4. Here are a few starting points ...
Sergey Pavlov, 2010.05.17 13:32
This article is a quick guide to MQL4 language functions, it will help you to migrate your programs from MQL4 to MQL5. For each MQL4 function (except trading functions) the description and MQL5 implementation are presented, it allows you to reduce the conversion time significantly. For convenience, the MQL4 functions are divided into groups, similar to MQL4 Reference.
Transferring Indicators from MQL4 to MQL5
Vasily, 2010.07.28 10:44
This article is dedicated to peculiarities of transferring price constructions written in MQL4 to MQL5. To make the process of transferring indicator calculations from MQL4 to MQL5 easier, the mql4_2_mql5.mqh library of functions is suggested. Its usage is described on the basis of transferring of the MACD, Stochastic and RSI indicators.
thank you all
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
Understand that all these predefined variables from MQL4 are missing in MQL5 - Ask, Bars, Bid, Close, Digits, High, Low, Open, Point, Time, Volume . What are they represented as in MQL5 now?
Thanks