How to get chart data as xls?

To add comments, please log in or register
Amir Qasemnezhad Moqaddam
34
Amir Qasemnezhad Moqaddam  

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

please help me to solved my problem.

Marco vd Heijden
Moderator
8168
Marco vd Heijden  

Please see Filewrite.

Amir Qasemnezhad Moqaddam
34
Amir Qasemnezhad Moqaddam  
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.

soubra2003
31841
soubra2003  
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
Amir Qasemnezhad Moqaddam
34
Amir Qasemnezhad Moqaddam  
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.

Amir Qasemnezhad Moqaddam
34
Amir Qasemnezhad Moqaddam  
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.

soubra2003
31841
soubra2003  
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
Amir Qasemnezhad Moqaddam
34
Amir Qasemnezhad Moqaddam  
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.

soubra2003
31841
soubra2003  
amir_moqaddam:

thanks again.

Welcome
soubra2003
31841
soubra2003  
See:
book.mql4.com
Amir Qasemnezhad Moqaddam
34
Amir Qasemnezhad Moqaddam  
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.

To add comments, please log in or register