Hello!
Could anybody modify the attached indicator made by mladen so it will show current server time, in a non-lag way, please?
I can replace "time + alertstate" with "TimeToStr(TimeCurrent(),TIME_SECONDS)" in the line #218, but it becomes lagging.
Re: MT4 Indicator requests and ideas
5152Changed to averages and added all the prices.
- These users thanked the author mrtools for the post (total 12):
- reachme, Jimmy, camisa, Skyold, SydneyFox, rudiarius, AlexLoco, moey_dw, YeshuaYoke, RodrigoRT7, Jedidiah, Chickenspicy
Re: MT4 Indicator requests and ideas
5153Is the bar timer working for you?Botan626 wrote: Thu Jan 10, 2019 3:38 am Hello!
Could anybody modify the attached indicator made by mladen so it will show current server time, in a non-lag way, please?
I can replace "time + alertstate" with "TimeToStr(TimeCurrent(),TIME_SECONDS)" in the line #218, but it becomes lagging.
Re: MT4 Indicator requests and ideas
5154Yes, but I want to convert this indicator to a non-lag clock.
Re: MT4 Indicator requests and ideas
5155In the OnInit() you can addBotan626 wrote: Thu Jan 10, 2019 4:31 am
Yes, but I want to convert this indicator to a non-lag clock.
Code: Select all
EventSetMillisecondTimer(500);
Code: Select all
Comment("Server Time: "+TimeToStr(TimeCurrent(),TIME_DATE | TIME_SECONDS));
Re: MT4 Indicator requests and ideas
5156No, this is not ok.mrtools wrote: Thu Jan 10, 2019 5:49 am
In the OnInit() you can add
then in OnTimer() can add something like thisCode: Select all
EventSetMillisecondTimer(500);
seems to be okCode: Select all
Comment("Server Time: "+TimeToStr(TimeCurrent(),TIME_DATE | TIME_SECONDS));
I'd like to replace the original timer with a clock, not adding another almost invisible line on the chart, moreover, this place where the comment belongs is already occupied by another indicator.
Re: MT4 Indicator requests and ideas
5157Never mind you completely missed the pointBotan626 wrote: Thu Jan 10, 2019 6:32 am
No, this is not ok.
I'd like to replace the original timer with a clock, not adding another almost invisible line on the chart, moreover, this place where the comment belongs is already occupied by another indicator.

Re: MT4 Indicator requests and ideas
5158[quote=RplusT post_id=1295384419 time=1547002768 user_id=4866937]
Found this version if ATR_MODE = false it is using ADR.
Found this version if ATR_MODE = false it is using ADR.
Re: MT4 Indicator requests and ideas
5159[quote=mrtools post_id=1295384465 time=1547081835 user_id=4864807]
thank you mrtools. It does not really give the same results. Never mind. I change to weekly and it works as well. Monthly actually works too. No need to adjust daily.
thank you mrtools. It does not really give the same results. Never mind. I change to weekly and it works as well. Monthly actually works too. No need to adjust daily.
Re: MT4 Indicator requests and ideas
5160Maybe this is what you are looking for. It shows date, local time and server time.Botan626 wrote: Thu Jan 10, 2019 3:38 am Hello!
Could anybody modify the attached indicator made by mladen so it will show current server time, in a non-lag way, please?
I can replace "time + alertstate" with "TimeToStr(TimeCurrent(),TIME_SECONDS)" in the line #218, but it becomes lagging.