Indicators: CandleCountdown

 

CandleCountdown:

Shows the time left before a candlestick closes

Author: Zaven Vardanyan

 
Do you have an mt4 version for this indicator? i would really appreciate it. thank you.
 

To use with MT4, fix lines 47-52 as follows

 int total; //,count; 
 int s,m,h,d;
 string countdown;
 //count = Bars(Symbol(),PERIOD_CURRENT); 
total = ( int )( TimeCurrent () - time[ 0 ]); //total = (int)(TimeCurrent() - time[count-1]); 
total = PeriodSeconds () - total;
Reason: