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. 🚀
In pieno spirito TradingView, l'autore di questo script lo ha pubblicato open-source, in modo che i trader possano comprenderlo e verificarlo. Un saluto all'autore! È possibile utilizzarlo gratuitamente, ma il riutilizzo di questo codice in una pubblicazione è regolato dal nostro Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.
Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.