Download MetaTrader 5

datetime question

To add comments, please log in or register
kaloian kaloianov
445
kaloian kaloianov  

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  
ITS RESOLVED.
phi nuts
2181
phi nuts  

Care to share the code ?

<please use SRC button to post the code> 

To add comments, please log in or register