OPEN-SOURCE SCRIPT

Multi Doji Detector v1 [JopAlgo]

85
Multi Doji Detector v1 [JopAlgo] — fast pattern pings with real filters

What it does (one line):
Marks reversal/indecision candles (Doji family) and impulse candles (Engulfing, Hammer/Inverted Hammer), with optional ATR and volume filters so you don’t chase every wiggle.

Why it’s useful:
Candles tell you when the auction pauses or flips. This tool spots those moments, but only matters at a level. Use it to time entries at Volume Profile edges and AVWAP—not as a standalone signal.

What you’ll see on the chart

Doji family

Standard Doji (▲ blue above bar)

Dragonfly Doji (● green below bar)

Gravestone Doji (● red above bar)

Long-Legged Doji (▲ orange above bar)

Engulfing

Bullish Engulfing (⬆ teal below bar)

Bearish Engulfing (⬇ purple above bar)

Hammer set

Hammer (⬆ lime below bar)

Inverted Hammer (⬆ fuchsia below bar)

Shapes = heads-up. Your trade still needs location, flow, and a risk plan.

How to use it (the simple playbook)

Location first

Work at Volume Profile v3.2 levels (VAH/VAL/POC/LVNs) or Anchored VWAP.

No level, no trade.

Flow check (optional but strong)

Use CVDv1: take signals only when Alignment = OK and Absorption ≠ red against your idea.

Pattern = timing

At support (VAL/AVWAP): Bullish Engulfing or Hammer, or a Dragonfly/Standard Doji that gets follow-through up.

At resistance (VAH/AVWAP): Bearish Engulfing, Inverted Hammer, or Gravestone/Standard Doji with follow-through down.

Confirm the bar

Let the signal close. If the next bar rejects the idea, stand down.

Timeframe guidance

1–5m (scalps): Many marks. Keep ATR/volume filters ON. Only take signals at VA edges / Session AVWAP.

15m–1H (intraday): Cleanest. Best combo of signal quality and frequency.

2H–4H (swing): Fewer, stronger signals. Ideal for AVWAP/Composite VP reclaims.

1D+ (position): Use as a heads-up at weekly levels; wait for intraday confirmation to enter.

Entries, exits, risk (quick rules)

Entry:

Long: Bullish Engulfing / Hammer / bullish Doji at support, next bar holds above signal’s high or prints follow-through.

Short: Bearish Engulfing / Inverted Hammer / bearish Doji at resistance, next bar holds below signal’s low or follows through.

Stop:

Longs: below signal low or structure under the level.

Shorts: above signal high or structure over the level.

Targets:

Aim for POC/HVNs or obvious swings. Don’t use the symbol alone as a target.

Pass:

Signals mid-range (no level), or against CVDv1 (Absorption), or when ATR is tiny (fake pokes).

Settings that actually matter

Doji mode

Use Percentage-Based: compares body to full candle range (default 5%).

Off = fixed definition (body < 10% of range).

Tip: If you get too many dojis, lower the %; if too few, raise it slightly.

Engulfing filters

ATR Length (default 14) + Min Size (ATR): require real body expansion.

Volume confirmation: ON = demand above-average volume; reduces noise.

Hammer filters

Wick-to-Body Ratio: default 2.5×; increase for stricter hammers.

ATR Filter: minimum candle size; blocks tiny “toy” candles.

Volume confirmation: ON = better reliability.

Alerts

Toggle Doji Alerts on if you want all doji pings; engulfing/hammer alerts are always available.

Pattern cheatsheet (what they mean at a level)

Standard Doji: indecision → wait for directional close next bar.

Dragonfly (at support): buyers rejected lows → look for long on follow-through.

Gravestone (at resistance): sellers rejected highs → look for short on follow-through.

Long-Legged Doji: big fight → only trade it at a level and with the next bar confirming.

Bullish Engulfing: fresh control shift to buyers; best after a drive into support.

Bearish Engulfing: fresh control shift to sellers; best after a pop into resistance.

Hammer: capitulation then rescue; strongest when the low sweeps a level and closes back above.

Inverted Hammer: rejection from above; needs downside follow-through to matter.

Best combos (kept simple)

Volume Profile v3.2 [JopAlgo]: Signals at VAH/VAL/LVNs. Use POC/HVNs for targets.

Anchored VWAP [JopAlgo]: Reclaims/rejections get much better with a matching candle signal.

CVDv1 [JopAlgo]: Take signals with flow (ALIGN OK, no Absorption). If Absorption flashes red against your signal, skip it.

Common mistakes this prevents

Taking a “pretty” candle in the middle of nowhere.

Shorting every Gravestone in a real uptrend (ATR expanding, CVD strong).

Ignoring size: Engulfing/Hammer without ATR/volume often fail.

Entering before close: half of false signals vanish by the close.

Practical defaults to start

Doji: Percentage-based ON, 5%

Engulfing: Min size 1.0 ATR, Volume confirm ON

Hammer: Wick/Body 2.5×, ATR filter 0.5, Volume confirm ON

Timeframes: 15m–1H for most assets; 2H–4H for swing

Quick disclaimer

Educational tool, not financial advice. Patterns are timers, not trades by themselves. Always pair with location, flow, and risk.

Thông báo miễn trừ trách nhiệm

Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.