PROTECTED SOURCE SCRIPT

Strong Next-Candle Bias v1.0 [JopAlgo]

58
Strong Next-Candle Bias v1.0 [JopAlgo] — fast, objective green/red for the very next bar

What it does:
Scores the current bar on five simple facts (breakout, body size, close location, trend, compression) and, if confidence ≥ your threshold, prints a Strong LONG or Strong SHORT for the next candle—with a clear confidence % label.

What you’ll see on the chart

Triangles: big teal ▲ below bar = Strong LONG; big red ▼ above bar = Strong SHORT.

Confidence labels: “LONG 82%” / “SHORT 78%” printed on the signal bar.

Context EMAs: EMA-Fast (teal) and EMA-Slow (orange) so you can see trend slope/stack.

Top-right hint (last bar): quick text summary (e.g., “No strong signal (Long 64% | Short 58%)”).

Why you got a signal (the scoring, plain English)

Each bar earns points (0–100). If total ≥ Confidence threshold (default 75), you get a signal.

Long points (+):

Breakout up of the last breakoutLen bars’ high (excludes the forming bar to reduce noise).

Real body ≥ min % of the bar (minBodyPct, default 70%) → shows intent.

Close in top of the bar (topZonePct, default top 25%).

Trend up (EMA-Fast > EMA-Slow).

Compression before break (optional): recent range was tight (compLen, compMaxRangeP) → energy release.

Short uses the mirrored checks (breakdown, body %, close in bottom, trend down, compression).
You can see/tune the weights in code (w_breakout, w_body, w_zone, w_trend, w_comp).

How to use it (simple playbook)

Location first.
Only act at real levels: Volume Profile v3.2 [JopAlgo] (VAH/VAL/POC/LVNs) or Anchored VWAP [JopAlgo] (session/weekly/event).

Take the strong ones.
Trade only when a Strong LONG/SHORT prints at your level and the EMAs agree (fast above slow for longs, below for shorts).

Execute on the next bar.
The signal is for the next candle. Enter on the retest/hold or break continuation, not mid-bar.

Risk with structure.
Stop goes beyond the level (or beyond signal bar’s extreme), not on indicator flips.
First targets: POC/HVNs or the next obvious swing.

Quality check (optional, recommended).
If you use CVDv1 [JopAlgo], prefer signals where Alignment = OK and Absorption ≠ red against your side.

Settings that matter (and how to tune)

Breakout lookback (breakoutLen, 20): higher = stricter break, fewer signals; lower = more signals, more noise.

Trend EMAs (emaFastLen 25 / emaSlowLen 100): define your trend backbone. Intraday can use 9/34 or 21/55; swings 20/100.

Min real-body % (minBodyPct, 70%): raise to demand stronger intent; lower to catch more setups.

Close in top/bottom % (topZonePct, 25%): tighter zone = stricter, cleaner signals.

Compression filter (useCompression, compLen 10, compMaxRangeP 3%): ON helps avoid random prints; raise % if your market is very volatile.

Confidence threshold (thresholdPct, 75%):

70–75%: balanced (default).

80–85%: strict (fewer, higher-quality).

90%+: rare A+ only.

Tip: Start with defaults for a week. Note which wins/loses. If you see false prints, raise threshold or increase body/zone requirements.

Timeframe guide

1–5m (scalps): Consider 9/34 EMAs, breakoutLen 10–15, keep compression ON. Signals are frequent—only take them at Session AVWAP or VP edges.

15m–1H (intraday): Defaults work out of the box.

2H–4H (swing): 21/55 or 20/100 EMAs, breakoutLen 20–30. You’ll get fewer, cleaner signals.

1D+ (position): Use for daily closes near weekly levels; execute on a lower TF.

Examples you’ll recognize

Textbook continuation (long): Pullback to VAL/AVWAP, strong up bar (big body, closes in top), EMAs up, optional prior compression → Strong LONG 78–90%.

Fresh breakout (short): Breakdown of a multi-day floor, EMAs down, body closes in bottom, RVOL↑ (if you track it) → Strong SHORT.

Skip: Signal mid-range without a level; or against the EMAs (fast/slow disagreement).

FAQs

Does it repaint?
No on closed bars. It deliberately excludes the live bar from breakout calc to reduce pre-close noise.

Can I see “why” a bar scored high?
Yes—each component is a visible behavior: break, big body, top/bottom close, EMA stack, pre-compression. Tune thresholds to your market.

Is it only for crypto?
Works on any instrument/timeframe; calibrate thresholds for volatility.

Starter presets

Intraday (15m/1H): 20 / EMAs 21 & 55 / body 70% / top 25% / compression ON / 75% threshold.

Swing (4H): 20–30 / EMAs 20 & 100 / body 70–80% / top 20–25% / compression ON / 80% threshold.

Short Disclaimer & License

This tool is for education, not financial advice. Trading involves risk; test it first, size sensibly, and make decisions using your own judgment. Results can vary with data feeds and markets; no warranties are given.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.