Download MetaTrader 5

datetime question

To add comments, please log in or register
Interested in Signals activity? Come and track!
kaloian kaloianov
445
kaloian kaloianov 2013.01.27 17:11 

Hi i need a bit of help

 

I m trying to program an indicator that makes calculations of the bars, but starting every time from the beggining of every day til the current moment. 

 

for example starting date : datetime date = D'2013.01.25 00:00:00';. 

 

the problem is that i want this done automatically,so the starting date must change every day, 

 

can somebody help? 

kaloian kaloianov
445
kaloian kaloianov 2013.01.27 18:15  
ITS RESOLVED.
phi nuts
2184
phi nuts 2013.01.28 09:01  

Care to share the code ?

<please use SRC button to post the code> 

To add comments, please log in or register