Your B-Clock is simple and excellent. Unfortunately it will not work with Strategy Tester.
As am a newbie, and see that it uses CurTime() (Server) to calculate time to bar close.
There may a way to do it using the TimeLocal to calculate timepassed at each tick,
adding it to Time[0] (Bar open time) and then deducting it from the calculated next bar opening.
Cheers
H'mmm not too sure how to rate this ?
After trawling through literally hundreds of indicators I liked what I saw when I came across "b-clock modified.mq4" - something I have always had the need for and was glad I found it.
However
# 1 Can't edit it's position which in my humble opinion is totally wrong - Should be to the right of the last candle
# 2 Can't edit it's colour which in my case clashes with my chart colour scheme
Anyways
Got that lot off my chest - for what it's worth - C'est la vie - such is life.
PS
Eventually decided on ONE star - hoping it might draw some attention from the owner and get it fixed - Because I WOULD like it IF ?
PPS
Colour is the CORRECT English spelling
Color is the LAZY English spelling

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
b-clock:
Author: Collector