Quote:
|
Originally Posted by nettsaver
Hi,
Does anyone know how to attach countdown timer to every bar to the chart ? Or any suggestion how do we know that every bar is going to end ?
Thank you.
|
If you want to code EA with on Chart countdown Bar Clock, insert this code after int start() as below;
Code:
int start()
{
double g;
int m,s,k;
m=Time[0]+Period()*60-TimeCurrent();
g=m/60.0;
s=m%60;
m=(m-m%60)/60;
Comment( m + " minutes " + s + " seconds left to bar end");
Wackena