View Single Post
  #421 (permalink)  
Old 02-24-2007, 10:35 PM
frantacech's Avatar
frantacech frantacech is offline
Senior Member
 
Join Date: Sep 2006
Posts: 497
frantacech is on a distinguished road
Quote:
Originally Posted by MrPip
I have never done that but wil look into how to code it.

Robert
TXT... hmm.

What use sendmail... simply and nice.

options -- UseSendmail

Setup:
1- Extract the "SMAIL.dll" to "MetaTrader 4\experts\libraries" path.
2- Extract "gMail.mqh" to "MetaTrader 4\experts\include".
3- Extract "SendMail.mq4" to "MetaTrader 4\experts\scripts" path. This is a demo script.
4- Read the article to know how to use the functions.

Add to code
for example
extern bool UseSendMail = true;

Alert(Symbol()," ",Period()," ZeroLagStochs Cross SELL");
PlaySound("timeout.wav");
if (UseSendMail == true) SendMail(" ZeroLagStochs Cross SELL "+Symbol(),"");
}
}
Attached Files
File Type: zip SendMail.zip (5.8 KB, 286 views)
__________________
RUN With The BULLS And HUNT With The BEARS - Nothing By Chance
Reply With Quote