8/34 EMA with Bullish Engulfing Strategy - Linked Trades
8/34 EMA with Bullish Engulfing Strategy - Linked Trade Visualization 📈 Description This script implements an 8 EMA / 34 EMA crossover strategy with Bullish and Bearish Engulfing Candlestick patterns to confirm trade entries. It enhances trade visualization by tracking entry and exit points and drawing connecting lines between them. Each trade is uniquely labeled with an entry ID and exit ID, making it easy to see which exit corresponds to which entry.
📌 Key Features: ✅ Uses 8 EMA and 34 EMA for trend direction ✅ Identifies Bullish Engulfing patterns for long entries ✅ Identifies Bearish Engulfing patterns for short entries ✅ Tracks trade entries and exits with matching labels ✅ Draws a line between each entry and exit for better trade tracking ✅ Works on all timeframes and assets
🛠️ How to Use Apply to Any Chart
Use this script on any asset (stocks, crypto, forex, etc.). Works best on timeframes 15m and above for clearer signals.
Entry Signals (Trade Start) 🟢 Long Entry: When the 8 EMA crosses above the 34 EMA and a bullish engulfing pattern appears. 🔴 Short Entry: When the 8 EMA crosses below the 34 EMA and a bearish engulfing pattern appears. Each trade entry is labeled with "Long Entry #X" or "Short Entry #X" (where X is the trade number).
Exit Signals (Trade Close) 🔴 Long Exit: When the 8 EMA crosses below the 34 EMA and price closes below it. 🟢 Short Exit: When the 8 EMA crosses above the 34 EMA and price closes above it.
Exit points are labeled as "Long Exit #X" or "Short Exit #X" with a matching trade ID.
A line is drawn between the entry and exit to show trade duration.
Legend & Labels
Legend & Labels 🟢 Long Entry → "Long Entry #X" (Green, Large Label) 🔴 Short Entry → "Short Entry #X" (Red, Large Label) 🔴 Long Exit → "Long Exit #X" (Red, Small Label) 🟢 Short Exit → "Short Exit #X" (Green, Small Label) 📏 Trade Line → Yellow for Long Trades, Orange for Short Trades
Customizations Modify EMA lengths to suit different assets. Change label colors or sizes in the code. Adjust trade confirmation conditions if needed. 💡 Notes
This is a visual indicator, not an automated strategy. It does not place live trades. Some signals may repaint on lower timeframes due to EMA recalculations. Always backtest before using in live trading.
📊 Enjoy the script! If you find it useful, leave a comment or share improvements. 🚀
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 publications is governed by House rules. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.
המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.