Request add pop alert

Post Reply
blueface
Trader
Posts: 27
Joined: Wed Dec 24, 2014 12:09 pm

Request add pop alert

Post by blueface »

Hi guys


I am testing a system, do not know whether you can help me modify this indicator?

I want to add pop alert ,only alert 1 time in 10 min.

and add a option on/off to open and closed the alert


Regards.
HLine Alert.mq4
You do not have the required permissions to view the files attached to this post.
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

Request add pop alert

Post by renexxxx »

From the (limited) code, I have assumed that you want to get an Alert if/when the Bid comes within a set distance of pips (set with AlertPipRange) from a horizontal line. The horizontal line can be moved manually, but is initially created by the indicator.
You want to be able to adjust the frequency of alerts with a parameter (AlertRepeatSeconds), and it should be possible to switch alerts on/off with a parameter (AlertsOn).

I have attached the code that should do the job for you.
You do not have the required permissions to view the files attached to this post.
blueface
Trader
Posts: 27
Joined: Wed Dec 24, 2014 12:09 pm

Request add pop alert

Post by blueface »

renexxxx » Sat Aug 22, 2015 11:15 pm wrote:From the (limited) code, I have assumed that you want to get an Alert if/when the Bid comes within a set distance of pips (set with AlertPipRange) from a horizontal line. The horizontal line can be moved manually, but is initially created by the indicator.
You want to be able to adjust the frequency of alerts with a parameter (AlertRepeatSeconds), and it should be possible to switch alerts on/off with a parameter (AlertsOn).

I have attached the code that should do the job for you.
Hi bro

I will test tomorrow,thx a lot.

Kind Regards.
blueface
Trader
Posts: 27
Joined: Wed Dec 24, 2014 12:09 pm

Request add pop alert

Post by blueface »

renexxxx » Sat Aug 22, 2015 11:15 pm wrote:From the (limited) code, I have assumed that you want to get an Alert if/when the Bid comes within a set distance of pips (set with AlertPipRange) from a horizontal line. The horizontal line can be moved manually, but is initially created by the indicator.
You want to be able to adjust the frequency of alerts with a parameter (AlertRepeatSeconds), and it should be possible to switch alerts on/off with a parameter (AlertsOn).

I have attached the code that should do the job for you.
Hi bro

its work perfect,

There is also a small request, if you can add the currency name in front of the popalert?
CusI need to monitor 4, 3 currency pairs.

Just like this.
Snap1.jpg

Kind Regards.
You do not have the required permissions to view the files attached to this post.
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

Request add pop alert

Post by renexxxx »

blueface » Thu Aug 27, 2015 5:50 pm wrote:
There is also a small request, if you can add the currency name in front of the popalert?
Piece of cake, bro, don't you have anything more challenging for me?
You do not have the required permissions to view the files attached to this post.
blueface
Trader
Posts: 27
Joined: Wed Dec 24, 2014 12:09 pm

Request add pop alert

Post by blueface »

renexxxx » Thu Aug 27, 2015 9:30 am wrote:
blueface » Thu Aug 27, 2015 5:50 pm wrote:
There is also a small request, if you can add the currency name in front of the popalert?
Piece of cake, bro, don't you have anything more challenging for me?
Hi bro

Wow,So fast to finish this. :good:
I have test it,its work perfect.

kind Regards.
Post Reply

Return to “Coders Hangout”