Quote:
Originally Posted by r326196
how can i add an alert to inform me a completion of a candle stick according to the timeframe i use or starting of a new candlestick so i do not need to monitor the clock often.it would be good to have an option to enaable or disable the alarm.
|
I've modified b-clock to allow for sound alert upon bar completion, but its
not going to be accurate. I'm not so sure this is easily doable.
The problem is in the way MT4 runs its indicator functions. The main start() function gets executed when ever a new tick of data comes in. If no data comes in, the clock won't update.
So if the data comes in AFTER a bar has closed, only then will you get an alert. Makes sense?
Anyone familiar with MQL have any thoughts about this?