OPEN-SOURCE SCRIPT
Triple EMA + RSI + ATR

This comprehensive trading system combines triple EMA alignment, RSI momentum filtering, and dynamic ATR-based risk management. The strategy enters positions only when fast, medium, and slow EMAs align in proper order (bullish or bearish), confirmed by RSI remaining within defined thresholds (not overbought/oversold) and a volume spike above its moving average. Exits are managed intelligently using a multi-tier approach: a fixed stop-loss based on ATR, a first profit target at a predefined risk-reward ratio, and a trailing stop that activates after reaching a second, higher profit tier. Designed for trend-following with built-in momentum and volume confirmation, it features professional order execution with configurable commission and slippage for realistic backtesting. Visual cues including colored backgrounds and signal shapes enhance chart clarity.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.