I'm wondering about the possibilities of rearming the sendemail() function. So right now we have the following as standard syntax:
SendMail("[email protected]", "Trade Alert", "Buy ES");
Unfortunately this provides few options. For example if the code is:
If Close[0] > than say 1000
else If Close [0]>2000
SendEmail()
the emails will be sent non stop once the Close[0] > 1000.
Ideally this will only place a single time once Close[0] > 1000 then send another email once Close [0]>2000.
I'm not seeing anything in the literature on this. I'm able to configure normal sound alerts with this code and was wondering if I could do something similar with the SendEmail() function:
Alert(string id, Priority priority, string message, string soundLocation, int rearmSeconds, Brush backBrush, Brush foreColor)
Thanks in advance
DJ
Comment