Access Past tick data

 

Hi


i got an indicator that is based on tick data only. the problem is it uses some big average buffer, so each time i wanna use it i need to wait for the buffer to fill to get the first value

(i could not wait, and start displaying curves right away, but the readings would be totally off without the buffer fully filled)


is there a way to access the past tick datas (like the 2000 ticks before the current time) ?


thanks for help


Jeff

 
CopyTicks()
 
Alain Verleyen: CopyTicks()
Based on previous posts, I think the OP is referring to MT4, so CopyTicks() would not work!
 
Jean Francois Le Bas: i got an indicator that is based on tick data only. the problem is it uses some big average buffer, so each time i wanna use it i need to wait for the buffer to fill to get the first value

(i could not wait, and start displaying curves right away, but the readings would be totally off without the buffer fully filled)

is there a way to access the past tick datas (like the 2000 ticks before the current time) ?

Unfortunately, on MetaTrader v4, no Historical Tick Data is stored. It does have a very small cache file for recent incoming data, but it is for a very short period of time and is not programmatically accessible.

Only on MetaTrade 5 can you access past Tick Data information!

 
Fernando Carreiro:
Based on previous posts, I think the OP is referring to MT4, so CopyTicks() would not work!

Ah ok, then he should post on MT4 section.

Moderator(s) please move MT4 topic to MT4/mql4 section. Thanks.

 

thanks if MT5 can do it then it's good news !


thanks for your help


Jeff

Reason: