
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, when I tried getting the last price deal using the codes below, the information that I get from SYMBOL_LAST and SYMBOL_BID are just the same and it never changed. They are supposed to be different because when someone short the market, the SYMBOL_LAST should show me the ASK price and not the BID price. Please help. I really need to get the last deal price.
or
MqlTick last_tick;
if(SymbolInfoTick(Symbol(),last_tick))
{
Alert("last_tick.last"+(string)last_tick.last+"last_tick.bid"+(string)last_tick.bid);
}
Thanks!