Send signals buy, sell on email

I want to send buy / sell alerts whenever there are signals in different time frames (eg 5 minutes, 15 minutes, ..) to my gmail address. Install in AMI and how code? thanks!

@truongnd you can use either AlertIf() or SendEMail().

Please read this document titled Using formula-based alerts and them search the forum for related topics.

There is one important thing that is usually overlooked when using AlertIf(): by default, this function does not generate repetitive signals when the same scan is run multiple times.

So, during your development, in order to get repeated signals in subsequent scans, you should change the flags parameter to 1 + 2.

Then, when you have fully debugged your formula, you can revert to the default value of 1 to avoid hundreds of emails!