Page 1 of 1

sending email problem

PostPosted: Tue Sep 17, 2013 7:10 am
by iospetrosky
Hi everybody

I have a problem sending emails.
It seems trivial because

terminal:alertEmail("myemail@myserver.com","Test message","Test body")

generates an error "Attempt to index global 'terminal' a nil value

The call is made in the Update function of an indicator

Any hint?

Thank you

L.

Re: sending email problem

PostPosted: Tue Sep 17, 2013 8:20 am
by Apprentice
U can only use terminal from within Strategy or Signal,
not from Indicator.

This is an example of Indicator implementation
viewtopic.php?f=17&t=19034
I use _alert helper for Sounds & Emails.