PROTECTED SOURCE SCRIPT

Bullish/Bearish Engulfing (without size ratio)

This TradingView script identifies bullish and bearish engulfing patterns based only on the opening and closing prices of candles, without considering their wicks or size ratios.

Bullish Engulfing:
The previous candle (A) is red (its close is lower than its open).
The current candle (B) is green or black (its close is higher than its open).
The open of the current candle (B) is lower than or equal to the close of the previous candle (A).
The close of the current candle (B) is higher than or equal to the open of the previous candle (A).

Bearish Engulfing:
The previous candle (A) is green or black (its close is higher than its open).
The current candle (B) is red (its close is lower than its open).
The open of the current candle (B) is higher than or equal to the close of the previous candle (A).
The close of the current candle (B) is lower than or equal to the open of the previous candle (A).

The script displays green upward labels when a bullish engulfing pattern is detected and red downward labels when a bearish engulfing pattern is found.
Описание на русском:

Этот скрипт для TradingView находит бычьи и медвежьи паттерны поглощения, основываясь только на ценах открытия и закрытия свечей, без учета теней или соотношения их размеров.

Бычье поглощение:
Предыдущая свеча (A) красная (ее закрытие ниже открытия).
Текущая свеча (B) черная или зеленая (ее закрытие выше открытия).
Открытие текущей свечи (B) ниже или равно закрытию предыдущей свечи (A).
Закрытие текущей свечи (B) выше или равно открытию предыдущей свечи (A).

Медвежье поглощение:
Предыдущая свеча (A) черная или зеленая (ее закрытие выше открытия).
Текущая свеча (B) красная (ее закрытие ниже открытия).
Открытие текущей свечи (B) выше или равно закрытию предыдущей свечи (A).
Закрытие текущей свечи (B) ниже или равно открытию предыдущей свечи (A).

Скрипт отображает зеленые метки вверх при обнаружении бычьего поглощения и красные метки вниз при нахождении медвежьего поглощения.
Candlestick analysisChart patternsmultitimeframe

Skyddat skript

This script is published closed-source and you may privately use it freely.

Vill du använda det här skriptet i ett diagram?

Frånsägelse av ansvar