Help needed with Better Volume Climax Volume Alerts
-
rebeljedi
- Trader
- Posts: 87
- Joined: Mon Nov 21, 2011 4:17 am
Help needed with Better Volume Climax Volume Alerts
Hi,
greatly appreciate if the experienced coders can help to place alerts (pop-up window, sound, email) for Better Volume climax volumes?
Customized alerts with date and time stamps (able to choose to use pop-up window, sound, email) when there is a (RED/WHITE) climax volume after the candle (with the climax volume) closes and alerts once.
I searched through FF and also googled but I have not seen a code that works.
I tried cutting and pasting these codes which I got from somewhere and modified:
if(Box_Alert) Alert(Symbol()," M",Period(),"\n TIME=",TimeToStr(CurTime(),TIME_DATE)," ",TimeHour(CurTime()),":",TimeMinute(CurTime())," ClimaxWHITE");
if(Sound_Alert) PlaySound(Sound_File);
if(Email_Alert) SendMail("Price Alert on "+Symbol()+" M"+Period(),Symbol()+" M"+Period()+" ClimaxWHITE");
but the pop-up window alerts flowed continuously. And the fact that I do not know coding.
Hope someone can help!
Thanks!
greatly appreciate if the experienced coders can help to place alerts (pop-up window, sound, email) for Better Volume climax volumes?
Customized alerts with date and time stamps (able to choose to use pop-up window, sound, email) when there is a (RED/WHITE) climax volume after the candle (with the climax volume) closes and alerts once.
I searched through FF and also googled but I have not seen a code that works.
I tried cutting and pasting these codes which I got from somewhere and modified:
if(Box_Alert) Alert(Symbol()," M",Period(),"\n TIME=",TimeToStr(CurTime(),TIME_DATE)," ",TimeHour(CurTime()),":",TimeMinute(CurTime())," ClimaxWHITE");
if(Sound_Alert) PlaySound(Sound_File);
if(Email_Alert) SendMail("Price Alert on "+Symbol()+" M"+Period(),Symbol()+" M"+Period()+" ClimaxWHITE");
but the pop-up window alerts flowed continuously. And the fact that I do not know coding.
Hope someone can help!
Thanks!
You do not have the required permissions to view the files attached to this post.
- gaheitman
- Trader
- Posts: 655
- Joined: Tue Nov 15, 2011 10:55 pm
- Location: Richmond, VA, US
Re: Help needed with Better Volume Climax Volume Alerts
Try this out. You can edit the text the alerts send. I kept the two separate in case you want to have different sounds play. Also, the popup alert setting uses the built in Alert() function which plays a sound, so it probably doesn't make sense to use them both unless you customise the sound played.rebeljedi wrote:Hi,
greatly appreciate if the experienced coders can help to place alerts (pop-up window, sound, email) for Better Volume climax volumes?
Customized alerts with date and time stamps (able to choose to use pop-up window, sound, email) when there is a (RED/WHITE) climax volume after the candle (with the climax volume) closes and alerts once.
I searched through FF and also googled but I have not seen a code that works.
Here are the added settings:
Code: Select all
extern bool AlertEmail=false;
extern bool AlertSound=true;
extern bool AlertPopup=true;
Code: Select all
datetime LastAlert;
Code: Select all
//----Alert Code - gah
if (AlertEmail || AlertSound || AlertPopup)
if (Time[0] != LastAlert) {
LastAlert = Time[0];
if (red[1] > 0) {
if (AlertSound)
PlaySound("alert");
if (AlertPopup)
Alert("New Climax High!");
if (AlertEmail)
SendMail(WindowExpertName(),"New Climax High");
}//if (red[1] > 0)
if (white[1] > 0) {
if (AlertSound)
PlaySound("alert");
if (AlertPopup)
Alert("New Climax Low!");
if (AlertEmail)
SendMail(WindowExpertName(),"New Climax Low");
}//if (white[1] > 0)
}//if (Time[0] != LastAlert)
George
You do not have the required permissions to view the files attached to this post.
-
rebeljedi
- Trader
- Posts: 87
- Joined: Mon Nov 21, 2011 4:17 am
Re: Help needed with Better Volume Climax Volume Alerts
hi George,
thanks a lot for your help on the coding, it's really a neat piece of work!
Could I trouble you to add the currency pair and the period into the popup window and mail alerts?
In that way, I can see which pair is having Climax Volume, rather than cycle through the different charts to check.
As for the mail alert, can I just see all the details on the header?
Something like "Better Volume 1.4 - EURUSD H1 - Climax High with timestamp" just on the mail header?
Thanks again!
thanks a lot for your help on the coding, it's really a neat piece of work!
Could I trouble you to add the currency pair and the period into the popup window and mail alerts?
In that way, I can see which pair is having Climax Volume, rather than cycle through the different charts to check.
As for the mail alert, can I just see all the details on the header?
Something like "Better Volume 1.4 - EURUSD H1 - Climax High with timestamp" just on the mail header?
Thanks again!
- gaheitman
- Trader
- Posts: 655
- Joined: Tue Nov 15, 2011 10:55 pm
- Location: Richmond, VA, US
Re: Help needed with Better Volume Climax Volume Alerts
OK, here you go. I don't use the email feature within Empty4 since it doesn't work with gmail, but it should work. Let me know if it doesn't.rebeljedi wrote:hi George,
thanks a lot for your help on the coding, it's really a neat piece of work!
Could I trouble you to add the currency pair and the period into the popup window and mail alerts?
In that way, I can see which pair is having Climax Volume, rather than cycle through the different charts to check.
As for the mail alert, can I just see all the details on the header?
Something like "Better Volume 1.4 - EURUSD H1 - Climax High with timestamp" just on the mail header?
Thanks again!
George
You do not have the required permissions to view the files attached to this post.
-
rebeljedi
- Trader
- Posts: 87
- Joined: Mon Nov 21, 2011 4:17 am
Re: Help needed with Better Volume Climax Volume Alerts
Hi George,gaheitman wrote:
OK, here you go. I don't use the email feature within Empty4 since it doesn't work with gmail, but it should work. Let me know if it doesn't.
George
thanks a lot for your help, the alerts are neat! They work very well and very nicely!
Enclosed is the gmail-Empty4 setting (thanks to Zen Leow who posted this document) which works for Empty4 v409 (I amended the document due to Empty4 v409 update).
You do not have the required permissions to view the files attached to this post.
- gaheitman
- Trader
- Posts: 655
- Joined: Tue Nov 15, 2011 10:55 pm
- Location: Richmond, VA, US
Re: Help needed with Better Volume Climax Volume Alerts
Glad I could help.rebeljedi wrote: Hi George,
thanks a lot for your help, the alerts are neat! They work very well and very nicely!
Enclosed is the gmail-Empty4 setting (thanks to Zen Leow who posted this document) which works for Empty4 v409 (I amended the document due to Empty4 v409 update).
I'd considered setting up a local SMTP server, but since I had it working with an external program (mailsend) I didn't bother. I'll certainly give this a go. Thanks!
George
- gaheitman
- Trader
- Posts: 655
- Joined: Tue Nov 15, 2011 10:55 pm
- Location: Richmond, VA, US
Re: Help needed with Better Volume Climax Volume Alerts
Worked like a champ. I made one change, instead of putting in my IP address for my PC in the Empty4 settings, I used my computer name. Since my IP is dynamically set I don't want to have problems should I get a different IP at some point.rebeljedi wrote:Hi George,
thanks a lot for your help, the alerts are neat! They work very well and very nicely!
Enclosed is the gmail-Empty4 setting (thanks to Zen Leow who posted this document) which works for Empty4 v409 (I amended the document due to Empty4 v409 update).
Funny thing is, Empty4 sent me the Better Volume test emails from yesterday as well. Apparently, it queues them up for a while, waiting until it can send.
George
-
rebeljedi
- Trader
- Posts: 87
- Joined: Mon Nov 21, 2011 4:17 am
Re: Help needed with Better Volume Climax Volume Alerts
Thanks George for sharing this great piece of info! I just updated my Empty4 mail settings as well!gaheitman wrote:
Worked like a champ. I made one change, instead of putting in my IP address for my PC in the Empty4 settings, I used my computer name. Since my IP is dynamically set I don't want to have problems should I get a different IP at some point.
Funny thing is, Empty4 sent me the Better Volume test emails from yesterday as well. Apparently, it queues them up for a while, waiting until it can send.
George
I didn't have this issue about Empty4 sending yesterday's alerts, so having the date and time stamps on the mail header come in handy.
-
brownturtle
- Posts: 1
- Joined: Thu Mar 15, 2012 5:14 am
- Location: Ballarat, Australia
Re: Help needed with Better Volume Climax Volume Alerts
Hello, i know its been several years since this thread was active. I was actually after someone who could add an audible and visual alert to my copy of the better volume 1.4. Unlike the previous versions in this thread, the copy i have changes the actual bar color. I just need an alert to signify when there is a change in Bar color. Thankyou
You do not have the required permissions to view the files attached to this post.
-
Mktscape
Re: Help needed with Better Volume Climax Volume Alerts
Just wanted to Thank you guys in getting this done .... I was looking for it for quite some time.gaheitman wrote:OK, here you go. I don't use the email feature within Empty4 since it doesn't work with gmail, but it should work. Let me know if it doesn't.rebeljedi wrote:hi George,
thanks a lot for your help on the coding, it's really a neat piece of work!
Could I trouble you to add the currency pair and the period into the popup window and mail alerts?
In that way, I can see which pair is having Climax Volume, rather than cycle through the different charts to check.
As for the mail alert, can I just see all the details on the header?
Something like "Better Volume 1.4 - EURUSD H1 - Climax High with timestamp" just on the mail header?
Thanks again!
George