This TradingView strategy enters a long trade when the 5 EMA crosses above the 200 EMA, signaling an uptrend. It uses an ATR-based trailing stop-loss and exits at a predefined take-profit percentage.
How It Works 1. Entry Condition → A long position is triggered when the 5 EMA crosses above the 200 EMA. 2. Stop-Loss (ATR-Based Trailing Stop) → The stop price is dynamically set at Close - (ATR * Multiplier), adjusting as the price moves up. 3. Take-Profit → The strategy exits if the price reaches 5% above entry. 4. Exit Condition → The trade closes when either the ATR trailing stop or the take-profit target is hit.
Why Use This?
✅ Trend-Following – Catches strong uptrends with EMA crossover. ✅ Dynamic Stop-Loss – Uses ATR to adapt to market volatility. ✅ Automated Risk Management – Ensures systematic exits.
This strategy works well in trending markets but may require filters to avoid false signals in sideways conditions. Traders can adjust ATR multipliers and take-profit % for optimization. 🚀
No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.