OPEN-SOURCE SCRIPT

Inside Bar Candle

This indicator is designed to identify Inside Bar candles that break out or break down in relation to the New Week Opening Gap (NWOG) and the associated Premium and Discount Zones. It combines price action analysis with the NWOG framework to highlight key trading opportunities.

Key Features
Inside Bar Detection:

An Inside Bar is a candlestick pattern where the high is lower than the high of the previous candle, and the low is higher than the low of the previous candle.
This pattern indicates a period of market consolidation and potential for a breakout or breakdown.
NWOG (New Week Opening Gap):

The NWOG is defined as the price gap between Friday's close and Monday's open.
It is plotted as two horizontal lines:
NWOG High (top of the gap).
NWOG Low (bottom of the gap).
Premium and Discount Zones:

The NWOG range is divided into two zones:
Premium Zone: The area above the midpoint of the NWOG range.
Discount Zone: The area below the midpoint of the NWOG range.
These zones help identify whether the market is in a favorable area for buying or selling.
Breakout and Breakdown Logic:

Breakout:
Inside Bar candle closes above the NWOG High.
Candle must open in the Premium Zone.
Breakdown:
Inside Bar candle closes below the NWOG Low.
Candle must open in the Discount Zone.
Visual Signals:

Breakout Signals: Small green dots plotted above bars in the Premium Zone.
Breakdown Signals: Small red dots plotted below bars in the Discount Zone.
Shaded areas on the chart represent the Premium (green) and Discount (blue) zones.
Alerts:

Configurable alerts notify traders when a valid breakout or breakdown is detected.
How to Use
Trend Continuation or Reversal:

Use the breakout signals in the Premium Zone to confirm bullish trends or reversals.
Use the breakdown signals in the Discount Zone to confirm bearish trends or reversals.
Trade Setup:

Look for Inside Bars forming near or within the NWOG and wait for a breakout or breakdown signal.
Use the zones to evaluate the trade's risk-to-reward potential:
Premium Zone: Favor selling or avoiding long trades.
Discount Zone: Favor buying or avoiding short trades.
Clean Chart Design:

Small signal dots and shaded zones keep the chart clean and easy to interpret.
Advantages
Zone-Specific Signals:
Reduces noise by only highlighting relevant price action around the NWOG.
Price Action and Zone Confluence:
Combines Inside Bar breakout logic with NWOG zones for higher probability signals.
Custom Alerts:
Alerts ensure traders are notified of potential trade setups without constantly monitoring the chart.
This indicator is ideal for traders looking to leverage price action patterns within a structured market framework like NWOG while maintaining a clean and actionable chart view. Let me know if you'd like further refinements!
Candlestick analysisChart patternsTrend Analysis

오픈 소스 스크립트

진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

차트에 이 스크립트를 사용하시겠습니까?

면책사항