OPEN-SOURCE SCRIPT
Updated

EMA Buy/Sell Alerts with ATR-based TP/SL

19 058
I wanted to fill a void in the Tradingview FREE indicators. I have searched far and wide on a moving average alert with ATR based take profits and stop loss. I have attempted a rudimentary version of what I hope to improve upon in the future. Will try and add different moving average options such as simple, hull, RMA, JMA, SSL, WMA, etc. For now, a basic EMA with 3 TP and a SL based on the current ATR should suffice.

I grow tired of the ATR take profits being hidden behind a paywall. Please use the script and add to your favorite indicators as you please.

Please leave feedback for future development.
Release Notes
Updated script to add a second ema for a filter

converted to pinescript 5

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.