OPEN-SOURCE SCRIPT

Engulfing Box & Lines

The "Engulfing Box & Lines" indicator aims to spot and highlight Engulfing candlestick patterns within a trend. These patterns can provide valuable indications of a possible trend reversal, and the indicator underlines them through the use of colored rectangles and horizontal lines. To fully understand the functioning and use of this indicator, let's explore its key elements and associated strategies.

Identification of Engulfing Patterns:
The indicator focuses on detecting two types of Engulfing candles:

Bullish Engulfing: Occurs when a bullish candle (open lower than close) completely encloses the body of the previous bearish candle. This could indicate a possible upside reversal.

Bearish Engulfing: Occurs when a bearish candle (opening higher than closing) entirely engulfs the body of the previous bullish candle. This could signal a potential bearish reversal.

Using the EMA 200:
The indicator uses the 200-period Exponential Moving Average (EMA) as a reference to determine the position of the candles with respect to the long-term trend. When the price is above the 200 EMA, the bullish Engulfing candles are highlighted with a green box, while below the 200 EMA, red boxes are shown for the bearish Engulfing candles.

Size of Boxes and Lines:
The colored boxes represent the size of the body of the candle that caused the Engulfing. Additionally, a horizontal line is drawn close to the body of the candle, serving as the fulcrum of the indicator.

Trading Strategies:
This indicator can be used for different trading strategies:

Trend Continuation: During a positive trend, the onset of an engulfing pattern suggests a possible continuation of the trend. The horizontal lines represent potential support areas, where the price could bounce. Traders might consider buying during such bounces.

Retracements and Entries: Lines can act as support or resistance zones, depending on the trend. When the price approaches a line, a retracement could occur. Traders might move to a lower timeframe to spot entry signals, using the line as a reference.

Closing Positions: Lines could also be used to define exit levels. For example, a trader might decide to exit a position when the price approaches a resistance line.

Confirmations with Other Indicators: The indicator could be used in conjunction with other technical tools, such as oscillators or candlestick analysis, to confirm signals and improve the accuracy of trading decisions.
200emacrossoverCandlestick analysisChart patternsEngulfing Candleresistencesupport

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明