Importing live data from MT4 to excel - page 2

 
bosslife: is it possible to get data for any candle i want??
Of course, write an indicator to output to a CSV file and read it in.
 
bosslife:

Do not double post

Your other post has been deleted

 
Isn't there a close open code for MT4 dde?
 

How to import live data of Gold(XAUUSD)and Silver(XAGUSD) from MT4 to Excel? Samples are given only for currency.

Adding XAUUSD and XAGUSD giving the result as N\A.

 
Kamarudheen Rahman #:

How to import live data of Gold(XAUUSD)and Silver(XAGUSD) from MT4 to Excel? Samples are given only for currency.

Adding XAUUSD and XAGUSD giving the result as N\A.

If you want your symbol updating in your Excel sheet, you have to add it in the Symbols view in your MetaTrader 4.

There you search for your symbol and show it.

After that, you can for example use the Bid price with the formula:  ='MT4'|BID|XAUUSD

But be aware: if you then hide that symbol in your MT4 again, it will not refresh anymore in your excel, but still show the last price of when it was lastly shown in MT4. So don't be confused if a price is still shown.

Hope that helps!

Reason: