OPEN-SOURCE SCRIPT

Engulfing Patterns & Inside Bar at NWOG

Engulfing Patterns & Inside Bar at NWOG:

This indicator is designed to detect and display specific candlestick patterns (Bearish Engulfing, Bullish Engulfing, and Inside Bar) when they occur at the New Week Open Gap (NWOG). The indicator provides tiny dots plotted at the top of the candle for each detected pattern, keeping the chart clean and minimal. Below is a detailed description of the logic and components:

Candlestick Patterns Detected:
Bearish Engulfing:

A Bearish Engulfing pattern occurs when:
The current candle’s high is above the previous candle’s high.
The current candle’s close is below the previous candle’s low.
This pattern signals a potential downtrend and is marked by a red dot at the top of the candle.
Bullish Engulfing:

A Bullish Engulfing pattern occurs when:
The current candle’s low is below the previous candle’s low.
The current candle’s close is above the previous candle’s high.
This pattern signals a potential uptrend and is marked by a green dot at the top of the candle.
Inside Bar:

An Inside Bar pattern occurs when:
The current candle’s high is lower than the previous candle’s high.
The current candle’s low is higher than the previous candle’s low.
This pattern indicates a period of consolidation and possible breakout or breakdown, and is marked by a blue dot at the top of the candle.
New Week Open Gap (NWOG) Condition:
The patterns (Bearish Engulfing, Bullish Engulfing, and Inside Bar) are only considered valid if the candles occur within or touch the range of the New Week Open Gap (NWOG).
The NWOG is defined as the gap between:
The Friday close (previous week’s closing price).
The Monday open (current week’s opening price).
If the signal patterns (Bullish Engulfing, Bearish Engulfing, Inside Bar) align with the NWOG, a tiny dot is plotted at the top of the candle where the pattern occurs.

Visual Representation:
Red Dots: Indicate Bearish Engulfing signals that occur at the NWOG.
Green Dots: Indicate Bullish Engulfing signals that occur at the NWOG.
Blue Dots: Indicate Inside Bar Breakdown signals that occur at the NWOG.
Each dot is plotted as a tiny circle at the top of the candle, ensuring the chart remains minimal and clean without cluttering the view.

Key Features:
Minimal and Clean: The indicator only plots tiny dots at the top of the candles for the detected signals. No additional lines, labels, or other visual elements clutter the chart.
Customizable Signal Colors: Users can customize the colors for each signal type (Bearish Engulfing, Bullish Engulfing, and Inside Bar).
Alerts: Alerts are included for all detected patterns (Bullish Engulfing, Bearish Engulfing, Inside Bar) at the NWOG.
Alerts:
Bearish Engulfing Detected: Alerts when a Bearish Engulfing pattern occurs at the NWOG.
Bullish Engulfing Detected: Alerts when a Bullish Engulfing pattern occurs at the NWOG.
Inside Bar Breakdown Detected: Alerts when an Inside Bar Breakdown pattern occurs at the NWOG.
This indicator is helpful for traders who want to focus on clean, easy-to-spot patterns and trade based on market conditions near the New Week Open Gap (NWOG). The tiny dots ensure that only relevant signals are displayed without any distractions.
Candlestick analysisChart patternsTrend Analysis

สคริปต์โอเพนซอร์ซ

ด้วยเจตนารมณ์หลักของ TradingView ผู้เขียนสคริปต์นี้ได้เผยแพร่เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถเข้าใจและตรวจสอบได้ ต้องขอบคุณผู้เขียน! ที่ให้คุณใช้ได้ฟรี แต่การนำโค้ดนี้ไปใช้ในการเผยแพร่ซ้ำจะต้องอยู่ภายใต้ กฎระเบียบการใช้งาน คุณสามารถตั้งเป็นรายการโปรดเพื่อใช้บนชาร์ตได้

ต้องการที่จะใช้สคริปต์นี้บนชาร์ตใช่ไหม?

คำจำกัดสิทธิ์ความรับผิดชอบ