Mt4 Historical Prices are Bid. As-such Open[1]=Bid@Time of Open. Close[1]=Bid@Time of Close. High[1]=Highest Bid Seen On Previous Bar. Low[1]=Lowest Bid Seen On Previous Bar. BarZero{Bar[0]} Information is still forming because its current bar. Ask is Current Ask, no such thing as Historical Ask. Bid is Current Bid, no such thing is Historical Bid. By Historical I mean there's no Bid or Ask Array-Series. Within the Strategy-Tester the Ask=Bid+Spread.
Hi guys,
The Open, Close arrays defined here:
https://docs.mql4.com/predefined/variables/open
Are they actual prices trades were completed at, or simply the best ask for that bar at open and close?
Ok, that's interesting...
So is there any way to get the actual prices which were traded at?
actual traded prices, or just asks?
MT4 charts are Bid charts. Actual traded Bid price.
Ok, that's interesting...
So is there any way to get the actual prices which were traded at?
How do you determine what the true exchange rate value is, then? Because I could submit a dummy bid in the USDGBP for 0.1, which would totally mess up all the bars wouldn't it?
How do you determine what the true exchange rate value is, then? Because I could submit a dummy bid in the USDGBP for 0.1, which would totally mess up all the bars wouldn't it?
Bid - The latest known buyer's price (offer price, bid price) of the current symbol. The RefreshRates() function must be used to update.
Ask - The latest known seller's price (ask price) for the current symbol. The RefreshRates() function must be used to update.
But you can read this for yourself in the Documentation
If you have other mql4 related questions or issue or points please proceed. If you have non-mql4 related question then try here: Baby Pips
Aren't Bid and Ask just the prices the buyer and seller want to pay, though, rather than what they actually end up paying?
So if I submitted a dummy bid of 0.1 USD to buy £1M GBPs and the exchange rate is purely calculated from the bids and asks, would this dummy bid drastically alter the exchange rate?
I could understand if Open and Close were *executed* bids, as this would get around the problem.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi guys,
The Open, Close arrays defined here:
https://docs.mql4.com/predefined/variables/open
Are they actual prices trades were completed at, or simply the best ask for that bar at open and close?
Cheers, Paul.