Download MetaTrader 5

Indicators: CandleCountdown

To add comments, please log in or register
Automated-Trading
Admin
107763
Automated-Trading  

CandleCountdown:

Shows the time left before a candlestick closes

Author: Zaven Vardanyan

Oshain Gray
7
Oshain Gray  
Do you have an mt4 version for this indicator? i would really appreciate it. thank you.
Naguisa Unada
118
Naguisa Unada  

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;
To add comments, please log in or register