How to get chart data as xls?

 

Hi people, i wanna to be get each chart data in mql programming.

please help me to solved my problem.

 

Please see Filewrite.

 
Marco vd Heijden:

Please see Filewrite.


thanks for response. but i wanna get all chart data at first and i don't know how this worked.

 
amir_moqaddam:

thanks for response. but i wanna get all chart data at first and i don't know how this worked.

It is called csv not xls
But it will work in excel sheet as well
 
Mohammad Soubra:
It is called csv not xls
But it will work in excel sheet as well

thanks. edited my question recently.

and now, i searching about how to get each chart's data.

 
Mohammad Soubra:
Seems you plan to create a great product!
Well, but do you want to get the full data (each tick) or open, high, low & close?

If open, high, low & close then use the iOpen, iHigh, iLow & iClose in a for() loop 

thanks very much.

worked it.

 
Seems you plan to create a great product!

Well, but do you want to get the full data (each tick) or open, high, low & close?

If open, high, low & close then use the iOpen, iHigh, iLow & iClose in a for() loop 
+ FileWrite() as Marco told above

Bars or iBars may help also
 
Mohammad Soubra:
Seems you plan to create a great product!
Well, but do you want to get the full data (each tick) or open, high, low & close?

If open, high, low & close then use the iOpen, iHigh, iLow & iClose in a for() loop 
+ FileWrite() as Marco told above

thanks again.

 
amir_moqaddam:

thanks again.

Welcome
 
See:
book.mql4.com
 
Mohammad Soubra:
See:
book.mql4.com

yes exactly I've this book. but it's large book and i read this book slowly.
thanks a lot man.

Reason: