need help with exporting Low & high from Mt4 to Excel

 

Dear all

i am trying to let Excel get information from MT4 .

by this code in the script, i have the live Bid price :

ExcelSetValueCell(2,3,MarketInfo("EURUSD",MODE_BID));

But now i am trying to get the LIVE High & Low prices into Excel but it didn't work.


any help please?

This is what i used but no luck.

ExcelSetValueCell(2,3,MarketInfo("EURUSD",MODE_LOW));


or 


ExcelSetValueCell(2,3,MarketInfo("EURUSD",MODE_LOWER));

non worked as Live prices. just when i close the script and reopen it i get the new LOW or High Prices.

Thanks for the help in Advanced

 
adaheem:

Dear all

i am trying to let Excel get information from MT4 .

by this code in the script, i have the live Bid price :

But now i am trying to get the LIVE High & Low prices into Excel but it didn't work.


any help please?

This is what i used but no luck.

non worked as Live prices. just when i close the script and reopen it i get the new LOW or High Prices.

Thanks for the help in Advanced

Ive just been researching this and got this to work:

 

='MT4'|bid!EURUSD

 

Make sure DDE is enabled on MT4 and  macros are enable on excel

Reason: