Disliked{quote} Great job! Simple and elegant solution. This perfectly proves my point regarding OOP. And a small modification from me, to make this code even more efficient: //| ss.mq4 | //| rockit | #property strict #property indicator_chart_window int OnInit() { EventSetMillisecondTimer(250); return(INIT_SUCCEEDED); } int OnCalculate(const int rates_total, const int prev_calculated, const datetime &time[], const double &open[], const double &high[], const double &low[], const double &close[], const long &tick_volume[], const long &volume[], const int...Ignored