指标: CandleCountdown

 

CandleCountdown:

显示距蜡烛条收盘的剩余时间

作者: Zaven Vardanyan

 
Automated-Trading:

蜡烛倒计时

作者:Zaven Vardanyan

mt4 ????
 
mt1002:
是否有适用于 mt4 的 ????
代码也适用于 mt4。
 
您有该指标的 mt4 版本吗?
 

要与 MT4 一起使用,请将第 47-52 行修改如下

 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;