View Single Post
  #4 (permalink)  
Old 03-31-2006, 10:16 PM
gtd141 gtd141 is offline
Junior Member
 
Join Date: Jan 2006
Posts: 11
gtd141 is on a distinguished road
Another idea.

Code:
int SentEmail=0;

int start(){
   if (Hour()==23 && SentEmail!=DayOfYear())
   {
      SendMail("DLMod1", "Account Balance is-"+DoubleToStr(AccountBalance(),2)+"_Account Equity is-"+DoubleToStr(AccountEquity(),2)+ 
      "_Account Profit is-"+DoubleToStr(AccountProfit(),2)+"_Account Margin is-"+DoubleToStr(AccountMargin(),2)+ 
      "_Account Free Margin is-"+DoubleToStr(AccountFreeMargin(),2));
      SentEmail = DayOfYear();
   }
Reply With Quote