- Kosei S: I have problem from MQL4
Don't double post! You already had this thread open.
General rules and best pratices of the Forum. - General - MQL5 programming forum #6 (2017) - Kosei S: I would like to get the price of the currency pair to directly, but the price to get depends on the currency pair to be introduced. How can I get the direct price?
No idea what you mean by “direct price.” There is just the current price.
On MT4: Unless the current chart is that specific symbol(s)/TF(s) referenced, you must handle 4066/4073 errors before accessing candle/indicator values.
Download history in MQL4 EA - MQL4 programming forum - Page 3 #26.4 (2019)
-
Follow #1.2
-
Do you really expect an answer? There are no mind readers here and our crystal balls are cracked.
How To Ask Questions The Smart Way. (2004)
Be precise and informative about your problemWe can't see your broken code.
Always post all relevant code (using Code button) or attach the source file.
I have problem from MQL4
I would like to get the price of the currency pair to directly, but the price to get depends on the currency pair to be introduced. How can I get the direct price?
some currency pairs can get correct price but some currency pairs cant get correct price.
I dont know so why.
I think you want MarketInfo instead.
Print("Market Info ",MarketInfo("USDJPY",MODE_BID));
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
I would like to get the price of the currency pair to directly, but the price to get depends on the currency pair to be introduced. How can I get the direct price?
some currency pairs can get correct price but some currency pairs cant get correct price.
I dont know so why.