PureBytes Links
Trading Reference Links
|
I use this feature and have more control if I build a string to be sent within
the indicator or system detailing what has occurred instead of the default
messages generated by TS on alerts and system buys/sells.
TS will consecutively evaluatate each bar back up to max bars back setting
before reaching the last bar (most recent). You're probably being sent emails
continuously on the close for prior bars and/or each tick (if you have "update
every tick" checked) on the last bar when you're really only interested in
getting an email at the close of the last bar (most recent).
Use something like this at the end of your indicator or system:
If Send_eMail and BarStatus(DataSeries) = 2 then { send only on finished bar }
Begin
If LastBarOnChart then { avoid sending pages for previously completed bars }
rc = Pager_Send(Pager_DefaultName, TimeStamp + DisplayText + "---------- END
----------" + NewLine);
End;
simon32@xxxxxxxxxxxx wrote:
> Checking enable messages in Format > Window turned on the emailing option.
> However, it's definitely not working the way I expected. For every new
> signal generated by the system, Tradestaion sends out about 10 emails.
> I expected to get just 1. LOL! Nice omega feature there. By the time
> you get through sorting through all the TS spam, you're price has come and
> gone.
|