Continuous time display

 

Hi all,

How can I display time continuously without it being dependent on the data.
i.e. the time is updated without any update in the tick valve.

Cheers

 

You would create a looping script, or EA, for that.

int start(){

while (IsStopped() == false){

... display/update the time

Comment("\n The time is ", TimeToStr(TimeLocal()), TIME_DATE|TIME_SECONDS));

Sleep(1000);

}

return(0);

}