.

Re: MT4 Indicator requests and ideas

#5161
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.
0 - iclock mod - 2a.mq4
(10.03 KiB) Downloaded 119 times


Re: MT4 Indicator requests and ideas

#5163
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

#5164
mrtools wrote:
Thu Jan 10, 2019 4:30 am
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?
Yes, but I want to convert this indicator to a non-lag clock.

Re: MT4 Indicator requests and ideas

#5165
Botan626 wrote:
Thu Jan 10, 2019 4:31 am
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.
In the OnInit() you can add

Code: Select all

EventSetMillisecondTimer(500);
then in OnTimer() can add something like this

Code: Select all

Comment("Server Time: "+TimeToStr(TimeCurrent(),TIME_DATE  |  TIME_SECONDS));
seems to be ok
EURGBPH1.png
0 - iclock mod - 2b.mq4
(9.81 KiB) Downloaded 142 times


Re: MT4 Indicator requests and ideas

#5166
mrtools wrote:
Thu Jan 10, 2019 5:49 am
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

Code: Select all

EventSetMillisecondTimer(500);
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

#5167
Botan626 wrote:
Thu Jan 10, 2019 6:32 am
mrtools wrote:
Thu Jan 10, 2019 5:49 am


In the OnInit() you can add

Code: Select all

EventSetMillisecondTimer(500);
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.
Never mind you completely missed the point :facepalm:

Re: MT4 Indicator requests and ideas

#5168
RplusT wrote:
Wed Jan 09, 2019 1:59 pm
mrtools wrote:
Fri Jan 04, 2019 2:04 am




mrtools, I'm jut wondering whether it would be possible to call up the ATR Range from a Range calculator automatically so the period would not have to be adjusted manually. By following the Average Daily Range or 5, 10, 20 Days (as per choice), this channel gives actually a very good guide line.

ATR Range Cal.JPG
Found this version if ATR_MODE = false it is using ADR.
KeltnerChannel_v1.mq4
(5.72 KiB) Downloaded 131 times

Re: MT4 Indicator requests and ideas

#5169
mrtools wrote:
Thu Jan 10, 2019 11:57 am
RplusT wrote:
Wed Jan 09, 2019 1:59 pm


Found this version if ATR_MODE = false it is using ADR.
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

#5170
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.
Time indicator.mq4
(2.88 KiB) Downloaded 145 times
Timer.JPG



Who is online

Users browsing this forum: alilou31, Андрей_24rus, Bleemus, camisa, Cladi39, CommonCrawl [Bot], Desatar, DotNetDotCom [Bot], Google [Bot], Leomart, Mail.ru [Bot], rudiarius, Titti, xxxena and 38 guests