Alert help - please add alert to this indicator

 

Alert to LSMA Indicator when buy or sell (even if in "yellow" zone).

Buy alert when LSMA and Value 2 the same.

Sell alert when LSMA and Value 3 the same.

Thank you!

Files:
lsma.mq4  3 kb
 
oxbuck:
Alert to LSMA Indicator when buy or sell (even if in "yellow" zone).

Buy alert when LSMA and Value 2 the same.

Sell alert when LSMA and Value 3 the same.

Thank you!

Oxbuck, there is a non repainting version with alerts here: https://www.mql5.com/en/forum/174385/page280

 
oxbuck:
Alert to LSMA Indicator when buy or sell (even if in "yellow" zone).

Buy alert when LSMA and Value 2 the same.

Sell alert when LSMA and Value 3 the same.

Thank you!

LSMA is equal to linear regression indicator

 
mrtools:
Oxbuck, there is a non repainting version with alerts here: https://www.mql5.com/en/forum/174385/page280

I actually want this one (repainting) because I am combining it with another indicator, so your help would be appreciated. Thank you.

Reason: