Page 516 of 2041
Re: MT4 Indicator requests and ideas
Posted: Thu Jan 10, 2019 3:38 am
by Botan626
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
Posted: Thu Jan 10, 2019 3:43 am
by mrtools
SydneyFox wrote: Thu Jan 10, 2019 1:17 am
Dynamic_Cycle_Explorer_1.0.mq4
Changed to averages and added all the prices.
Re: MT4 Indicator requests and ideas
Posted: Thu Jan 10, 2019 4:30 am
by mrtools
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.
Is the bar timer working for you?
Re: MT4 Indicator requests and ideas
Posted: Thu Jan 10, 2019 4:31 am
by Botan626
mrtools wrote: Thu Jan 10, 2019 4:30 am
Is the bar timer working for you?
Yes, but I want to convert this indicator to a non-lag clock.
Re: MT4 Indicator requests and ideas
Posted: Thu Jan 10, 2019 5:49 am
by mrtools
Botan626 wrote: Thu Jan 10, 2019 4:31 am
Yes, but I want to convert this indicator to a non-lag clock.
In the OnInit() you can add
then in OnTimer() can add something like this
Code: Select all
Comment("Server Time: "+TimeToStr(TimeCurrent(),TIME_DATE | TIME_SECONDS));
seems to be ok
Re: MT4 Indicator requests and ideas
Posted: Thu Jan 10, 2019 6:32 am
by Botan626
mrtools wrote: Thu Jan 10, 2019 5:49 am
In the OnInit() you can add
then in OnTimer() can add something like this
Code: Select all
Comment("Server Time: "+TimeToStr(TimeCurrent(),TIME_DATE | TIME_SECONDS));
seems to be ok
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
Posted: Thu Jan 10, 2019 9:30 am
by mrtools
Botan626 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.
Never mind you completely missed the point
Re: MT4 Indicator requests and ideas
Posted: Thu Jan 10, 2019 11:57 am
by mrtools
[quote=RplusT post_id=1295384419 time=1547002768 user_id=4866937]
Found this version if ATR_MODE = false it is using ADR.
Re: MT4 Indicator requests and ideas
Posted: Thu Jan 10, 2019 1:41 pm
by RplusT
[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.
Re: MT4 Indicator requests and ideas
Posted: Thu Jan 10, 2019 1:47 pm
by RplusT
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.
Maybe this is what you are looking for. It shows date, local time and server time.