Slow Heiken Ashi and Exponential Moving average Strategy 2.2

Strategy using Slow Heiken Ashi by Glaz and Exponential moving averages. Looking for someone to help me turn the strategy into non-reoccuring alerts as I am having trouble doing so.
版本注释: This is as far as I am able to get trying to eliminate recurring alerts.
版本注释: Still trying to get rid of reoccuring alerts.
版本注释: Was able to fix some of the alerts, but it's still reoccuring at times.

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.