.

Indicator requests and ideas

Moderators: mntiwana, mrtools

Re: Indicator requests and ideas

#4981
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: Indicator requests and ideas

#4982
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
Attachments
EURGBPH1.png
0 - iclock mod - 2b.mq4
(9.81 KiB) Downloaded 44 times

Re: Indicator requests and ideas

#4983
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: Indicator requests and ideas

#4984
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: Indicator requests and ideas

#4985
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.
Attachments
KeltnerChannel_v1.mq4
(5.72 KiB) Downloaded 44 times


Re: Indicator requests and ideas

#4986
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: Indicator requests and ideas

#4987
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 47 times
Timer.JPG
Timer.JPG (12.72 KiB) Viewed 280 times

Re: Indicator requests and ideas

#4988
mrtools wrote:
Thu Jan 10, 2019 9:30 am
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 :facepalm:
What point?


Who is online

Users browsing this forum: appsoluxions, CommonCrawl [Bot], diktant, dyjo, gri2ly, Jagg, KAYJIRAH, lywer, marek111, meteb, mw4121, pawel.kowalski, roby26, RplusT, sakti, wasunji, YeshuaYoke and 44 guests