Inside Outside Pin Bar Colors

730
Inside Outside Pin Bar Colors — Indicator Description
Inside Outside Pin Bar Colors is a clean, practical price‑action tool designed to highlight three of the most widely used bar‑based patterns: Inside Bars, Outside Bars, and Pin Bars.
If you trade structure, volatility compression, breakout behavior, or wick‑driven rejection signals, this script gives you a fast, visual way to spot them without cluttering your chart.

What It Detects
• Inside Bars
A bar fully contained within the previous bar’s high–low range. Useful for identifying contraction, balance, and breakout setups.

• Outside Bars
A bar that takes out both the prior high and low. The script lets you choose the lookback window (classic = 1 bar) and colors bullish vs bearish outside bars differently.

• Pin Bars
A bar that pokes beyond recent extremes and snaps back inside the prior bar’s range, with strict wick‑to‑body and wick‑to‑wick ratios.
You can customize:

Lookback window for the “poke”

Wick‑to‑body multiplier

Opposite‑wick multiplier

Optional volume filter (volume must exceed previous bar)

Smart Coloring Logic
Each bar can only have one color. You choose whether Pin Bar colors override Outside Bar colors or vice‑versa. Inside Bars are lowest priority and only color when no higher‑priority pattern is present.

Customization Options
Toggle each pattern type on/off

Independent color selection for all pattern categories

Adjustable pin‑bar rules

Adjustable outside‑bar lookback

Optional tiny triangle markers for pin bars

Full alert support for all pattern types

Alerts Included
Inside Bar

Outside Bar (bullish / bearish)

Bullish Pin Bar

Bearish Pin Bar

Why Traders Use These Patterns
Inside Bars highlight compression before expansion

Outside Bars reveal volatility spikes and failed breakouts

Pin Bars show rejection, absorption, and short‑term sentiment shifts

This indicator brings all three together in a single, lightweight, easy‑to‑read visual tool. Whether you trade breakouts, reversals, or simply want clearer structure recognition, it helps you see the story of each bar at a glance.

Pernyataan Penyangkalan

Informasi dan publikasi ini tidak dimaksudkan, dan bukan merupakan, saran atau rekomendasi keuangan, investasi, trading, atau jenis lainnya yang diberikan atau didukung oleh TradingView. Baca selengkapnya di Ketentuan Penggunaan.