Historical Precedent Engine [HPE]WHAT IT DOES
HPE takes the last few candles on your chart, searches that chart's own history for
earlier sequences that resemble them, and shows you what price did after those earlier
sequences. It is an analog study. The output is a summary of precedent, not a forecast.
TUNING IS NOT OPTIONAL — READ THIS FIRST
This is a matcher, and a matcher only speaks when it finds something. Every enabled
filter is a hard gate applied to every candle in the fingerprint, and the gates compound:
a sequence qualifies only if candle 1 passes wick, body and volume, and candle 2 passes
all three, and so on, and the sequence momentum passes, and the direction rule passes.
Tighten two of those and the survivor count does not halve, it collapses.
So the normal failure mode is an empty dashboard. Median outcome, tolerance band, delta
and range all read "—", Bias reads Neutral, and Matches Used reads 0. That is not a bug
and it is not the tool being broken. It means nothing in this chart's history was close
enough to the present under the settings you have. The honest answer for that bar is
silence, and the tool gives it.
The tolerance units
Wick and body are measured as a percentage of the candle's own high-to-low range, not of
price. An upper wick occupying a fifth of its candle scores 20, whether that candle is a
one-minute Bitcoin bar or a daily equity bar. A tolerance of 12 therefore means "within
12 percentage points of range", and it means the same thing on every instrument and every
timeframe.
That is deliberate. Measured against price instead, the same tolerance would need to be
roughly a hundred times larger on a daily equity chart than on a one-minute crypto chart,
and no single default could serve both — one setting would accept everything on one chart
and nothing on the other.
On Auto-Tune, which ships OFF
Auto-Tune moves the wick and body tolerances based on how well recent projections
resolved. It ships disabled, for two measured reasons.
It cannot start from nothing. It does not act until at least five projections have been
scored, so if your tolerances are too tight to ever produce a match, there are no
projections, nothing is scored, and it never moves. It is a regulator, not a starter
motor.
And once it does start, it tends not to stop. It can only travel between a quarter and
four times your input, and when widening fails to improve fit — which is the usual case
if the matches were poor to begin with — it widens every bar until it pins at four times
your input and stays there. On the test chart it did exactly that, and the difference it
made was 50 resolved projections instead of 49. It bought one projection out of fifty
while making the number in the settings box a fiction.
So it is off, and what you type is what runs. Turn it on if you want it, knowing both of
the above.
The order to loosen in, most effective first:
1. Strict Direction off. With it on, every candle must match direction, which is a
1-in-2^N filter before any tolerance is applied. This is the single biggest lever.
2. Shorten Sequence Length. Fewer candles means fewer conjunctive conditions. Three is
the minimum and is the default for that reason.
3. Raise Wick and Body Tolerance, in the units described above.
4. Turn off Require Per-Candle Volume Match and Require Momentum Match. Volume ratios in
particular are noisy on short timeframes and reject a lot for little gain.
5. Lower Min Matches Required. It ships at 2 rather than 3 because on the instrument
these defaults were measured on, 3 never fires. Read the last paragraph of this
description before you take that as a recommendation.
Where the defaults came from
They were measured with a full 1,000-sequence library on three charts chosen to be as
unalike as possible, and they were picked to make the engine speak at all rather than to
make it look good:
COINBASE:BTCUSD 1-minute 73 projections over 25,837 bars
COINBASE:BTCUSD 1-hour 33 projections over 22,764 bars
AMEX:SPY daily 29 projections over 8,436 bars
That is between one bar in 290 and one bar in 690 — the same order of magnitude across a
crypto intraday chart and an equity daily chart, with no per-instrument tuning. It should
still be quiet, and you should still retune for your own instrument and horizon, but the
defaults are a measured starting point rather than a guess.
One note on reading the dashboard while you do that. The calibration row shows total
projections alongside how many sit in the calibration window, and that window is capped by
Calibration window (samples) — 50 by default. Watch the total, not the window. The window
fills early and then stops moving, which makes a well-tuned setup and a barely-working one
look identical.
ON LIBRARY SIZE
Max Stored Sequences is the pool the matcher searches, and a bigger pool is the one way
to get more matches without making each match mean less. It is capped at 1,000 by default
for a practical reason: raising it substantially can push the script past PulseWire's
calculation limit, at which point it stops reporting entirely. If you raise it and the
indicator goes blank rather than merely empty, that is what happened. Put it back. This
cap is also the real ceiling on how often the engine can fire at a tolerance tight enough
to be meaningful, and it is worth knowing that before you go hunting for settings.
HOW IT WORKS
1. Fingerprint. On every confirmed bar, the last N candles are reduced to a five-field
vector per candle: upper wick, lower wick, body, direction, and volume measured
against its own moving average.
2. Store. That fingerprint is written to a rolling library along with what price did over
the following bars.
3. Match. The current fingerprint is compared against every stored sequence. A stored
sequence qualifies only if each candle falls inside the wick, body and volume
tolerances, and only if the sequence momentum falls inside its tolerance. Direction
matching is separate: with Strict Direction on, every candle must match direction;
with it off, only the final candle must. An optional session filter restricts matches
to the same trading session.
4. Summarise. Qualifying matches are ranked by how well their own past projections
resolved, and the strongest are combined into a single percentile outcome — the median
by default. If fewer than Min Matches Required qualify, nothing is drawn.
5. Calibrate. Once the horizon elapses, each projection is scored against what actually
happened. That score weights how much a stored sequence counts in future matches, and
feeds Auto-Tune if you have enabled it.
READING THE CHART
Projection line and band — the percentile outcome of the current match set, extended to
the horizon.
Consensus paths — the individual paths of the top matches, drawn separately, so you can
see the spread the single summary line came from. A tight cluster and a wide scatter
produce the same median.
Rolling projection trail — past projections left on the chart beside what price actually
did. This is deliberate. A tool that hides its misses is not worth reading.
Dashboard — match count, median outcome, ±1σ range, session, library size, live
tolerances, and the calibration block. The projection values — median outcome, tolerance
band, delta, range, bias, match count and best-match error — are cleared at the start of
every confirmed bar, so those rows always show that bar's answer and never a leftover
from an earlier bar that happened to match. The library and calibration counters are
cumulative by design and do not clear.
The same state is also published to the Data Window as plain numbers, which is easier to
read than canvas text while you are tuning.
ON THE CALIBRATION NUMBERS
The dashboard reports mean projection error, not accuracy.
It is the average distance between projection and outcome, expressed as a share of the
size of the move that actually occurred, measured over the most recent resolved
projections on the chart you are looking at. It is computed in-sample, on bars the engine
had already stored, and it is not a forward result.
It is there so you can tell whether your tolerances are set sensibly. It is not evidence
that the tool works, and it should not be read as a hit rate. Because the actual move is
the denominator, the figure also moves with volatility regime rather than with skill
alone — quiet bars punish it, large moves flatter it.
ON REPAINTING
Two specific claims, both checkable in the source:
There are no request.security() calls anywhere in this script. Every value is computed
from the chart's own bars, so there is no higher-timeframe lookahead question to get
wrong in the first place.
Every drawing and every dashboard write sits inside a single barstate.isconfirmed gate.
Nothing is created, moved or deleted while the live bar is still forming.
A projection does extend to bars that have not happened yet. It does not move once drawn.
It is simply right or wrong, and the trail is there so you can see which.
SETTINGS WORTH KNOWING
Sequence Length — how many candles form the fingerprint. Longer is stricter and finds
fewer matches, and the effect is multiplicative rather than linear.
Min Matches Required — below this count nothing is drawn.
Delta Percentile — 50 is the median. Move it to read the pessimistic or optimistic tail
of the same match set rather than its centre.
Auto-Tune Tolerances — off by default; see above before enabling.
Strict Direction — the difference between "these candles had the same shape" and "these
candles had the same shape and went the same way."
WHAT THIS IS NOT
This is a visualization and analysis tool, not a trading system. It does not produce
advice. Nothing here is a signal to enter or exit a position, and no performance is
claimed or implied. Markets change regime, and any tool built on historical structure
will fail when they do. Use it as context alongside your own analysis.
One more thing worth saying plainly, and it is the honest counterweight to the tuning
advice above: a small sample of matches is a small sample. Two historical analogs tell
you very little, and the engine will draw a line from two just as readily as from thirty.
Min Matches ships at 2 because that is what it took to get the engine to speak on the
instrument it was measured on — which is a statement about how hard analogs are to find
in a 1,000-sequence library, not a claim that two is enough to believe. Loosening the
filters until something appears is easy, and it is exactly how you end up reading noise.
Watch the match count before you read the line, and treat a projection drawn from a
handful of precedents as the weak evidence it is.
Indicator

KRT Kalman Regime Tricolor# 📊 KRT — Kalman Regime · Tricolor
**Designed and statistically validated for 🥇 GOLD and Ξ ETHEREUM.** A regime compass, not a buy signal: KRT reads the market on three layers — background regime, trend, your candle — and shows you which way the wind blows at every moment: 🟢 long · 🔴 short · 🔵 wait.
**⚡ ZERO lookahead, ZERO repaint.** Every signal appears in real time using only the information available at that moment, and whatever is printed at a bar close never changes afterwards. Many indicators look perfect because they quietly redraw the past — KRT is built for the opposite: what you see in replay is exactly what you would have seen live.
## ⚡ Quick start (30 seconds)
The colored BACKGROUND = the underlying regime.
Green 🟢 = bull regime installed → longs carry. Red 🔴 = bear regime installed → shorts carry. No color = no regime → caution.
The CURVE trails price like a stop line: below the candles in an uptrend, above them in a downtrend. Price crossing the curve = the reversal.
The curve's intensity = the strength of the authorization.
BRIGHT = trend aligned with the regime. Pale = secondary bias only. Blue = wait.
THE MARKERS — one single rule:
SOLID green or red marker (big triangle OR diamond) = GO. Blue = wait. Small = provisional.
🟢▲ / 🔴▼ BIG triangle — GO: reversal confirmed AND regime aligned.
🟢◆ / 🔴◆ Diamond — Deferred GO: the regime installs while the trend already points that way (often follows a big blue triangle). Same strength as a big colored triangle.
🔵▲ / 🔵▼ BIG blue triangle — reversal confirmed but no regime behind it → wait (a diamond will tell you if it becomes a GO).
▵▿ Small triangles (any color) — early alerts on your chart, ahead of confirmation. Provisional.
No thinking required: solid + colored = apply your strategy · blue = patience · small = not yet.
Drop it on gold or Ethereum, chart timeframe 5m–15m. Run YOUR strategy on top: KRT gives the direction, you handle entries, stops and exits.
## ⚠️ Before you use it
This is an indicator, NOT a strategy: it provides no entry or exit points.
Validated with permutation tests on gold and Ethereum. On Bitcoin the detection displays but the statistical edge is not demonstrated; on major forex pairs it is absent. Test it yourself before using it elsewhere.
The background regime changes slowly (weeks): that is by design — it filters, it does not scalp.
## 🔍 Understanding the display (going deeper)
THE THREE LAYERS
Regime (background, default 8H) — a slow Kalman trend filter with hysteresis: the background only colors once the regime is installed (default 3 days, adjustable). Locked at its own bar close: it does not flicker and does not repaint.
Trend (curve, default 1H) — the exact price level that would flip the trend filter, computed in advance: the distance between price and curve measures the strength of the trend.
Your candle (the chart) — the curve is monitored at your chart's granularity: you see the flip before the 1H close (small triangles), the close confirms it (big triangles).
HOW TO READ IT
Green background + bright green curve + GO = every layer agrees: the most favorable long context. Mirror in red for shorts.
Pale green curve = uptrend without an installed regime — weak bias.
Pale red curve = intraday "breather" (recurring windows of weakness inside an uptrend) — a short-lived bias, not an invitation to swing short.
Blue = no statistical edge. The best trade is often no trade.
After a bullish GO, price often retests the curve before continuing: aim for the retest rather than the impulse.
TIMEFRAMES & SETTINGS
Chart from 1m to 1H (5m–15m recommended).
Trend TF / Regime TF: the only settings an advanced user may change (swing trading: 4H/D).
Regime installation age (default 72h): higher = rarer, more reliable background; lower = more reactive, more false regimes.
Everything else (q values, thresholds, windows): the calibrated and validated core of the model — keep the defaults.
---
KRT is a decision-support tool based on historical data. Past performance does not guarantee future results. Manage your risk. Indicator

Auto Support & Resistance [ForexCracked]🔷 OVERVIEW
Auto Support & Resistance finds the levels that matter and scores how strong they are. It builds zones from confirmed swing pivots, merges nearby pivots into one level, counts every touch, and rates each zone from one to five stars. Levels never repaint: a zone only appears once its swing is confirmed.
🔷 HOW IT WORKS
Confirmed pivot highs become resistance zones and confirmed pivot lows become support zones. Pivots that land within half an ATR of an existing zone merge into it, and each merge or retest adds a touch. More touches means a more solid fill on the chart and a higher star rating. When price closes through a zone, the level flips: broken resistance becomes support, and broken support becomes resistance, exactly as classic technical analysis describes. Zones that nothing has touched for a long time fade off the chart, and only the strongest levels per side are kept, so the chart stays clean.
🔷 THE DASHBOARD
A compact panel shows the nearest resistance and nearest support: the exact level, how far away it is in pips, and its strength in stars. Drop it in any corner.
🔷 HOW TO USE
Treat the zones as areas of interest, not automatic trades. Watch how price reacts at a strong level: rejections at four and five star zones in the direction of your higher timeframe bias are the classic play, and a clean break and retest of a flipped level is the second. Always confirm with your own analysis and use a stop.
🔷 SETTINGS
Pivot strength, merge distance and zone height (x ATR), max levels per side, break buffer, zone age, colours, and dashboard position.
🔷 ALERTS
Level broken (flip), and New confirmed level.
Free and open-source. Educational tool, not financial advice. Indicator

No-Repaint Entry Score Multi-Factor Confluence [LunqFX]No-Repaint Entry Score — Multi-Factor Confluence
Most indicators tell you a signal exists. This one tells you how strong
it is, why it fired, and how long it has been holding — on every bar,
across every market.
One number: 0–100. Five factors. Zero repainting.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW TO USE IT — 4 STEPS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
STEP 1 — CHECK HTF TREND
Look at the SIGNAL section of the panel.
HTF Trend shows ▲ BULL or ▼ BEAR based on a confirmed higher
timeframe EMA. Only take setups in this direction.
Counter-trend setups are automatically penalised by the score.
STEP 2 — WAIT FOR THE ENTRY WINDOW
When score reaches your Signal Threshold (default 75), the panel
shows "✓ ENTRY WINDOW" and a green Entry Zone box appears on the chart.
Do not enter below this threshold — conditions are not aligned.
STEP 3 — CHECK THE CAUTION ROW
The panel always shows your weakest component.
Caution: Momentum ↓ → wait for a strong candle close
Caution: Session ↓ → wait for market session to open
Caution: Structure ↓ → you may be entering against the trend
Fix the caution before entering.
STEP 4 — LOOK FOR PRIME AND PERSISTENCE
PRIME label (score ≥80) = all 5 factors aligned. Best entries.
◆ SUSTAINED (3+ bars) → candles turn cyan. High conviction.
◆◆ ELITE (6+ bars) → candles turn gold. Exceptional setup.
The longer the streak holds, the stronger the setup.
STOP LOSS — place below/above the Entry Zone outer band (±0.55 ATR).
TAKE PROFIT — next confirmed swing level or session high/low.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ SCORE TIERS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
◆◆ ELITE PRIME ≥80, held 6+ bars — exceptional, rare
◆ SUSTAINED ≥80, held 3+ bars — high conviction
PRIME ≥80, first bar — valid entry signal
GOOD 65–79 — quality setup, consider entry
MODERATE 40–64 — mixed signals, wait
WEAK <40 — avoid, confluence collapsed
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ READING THE DASHBOARD PANEL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ENTRY SCORE — composite score 0–100. Header color shifts with tier:
green (PRIME) → cyan (SUSTAINED) → gold (ELITE) → red (WEAK)
Progress bar — 8-block visual bar. Updates every tick.
Score ▲▼— — arrow shows if score is building (▲) or fading (▼).
Useful for timing: enter when score is rising, not when it peaks.
Tier row — current tier label. Upgrades automatically to
◆ SUSTAINED PRIME or ◆◆ ELITE PRIME when streak activates.
COMPONENTS — individual 0–100 scores:
Structure = HTF EMA alignment × candle direction
Proximity = distance from nearest swing pivot level
Session = trading session quality by hour
Momentum = candle body strength (body ÷ total range)
Volatility = ATR vs 50-bar average (filters dead and spiking markets)
HTF Trend — higher timeframe direction. Confirmed bar only, no drift.
Caution — your weakest component. One actionable reason to wait.
Entry — ENTRY WINDOW or WAIT based on your Signal Threshold setting.
Persistence — consecutive PRIME bar counter.
— = no active streak 3 bars = SUSTAINED 6 bars = ELITE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ RECOMMENDED TIMEFRAMES AND MARKETS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Best timeframes: 1H · 4H · Daily
Works on: 5M · 15M · 30M (more signals, lower quality per signal)
Avoid: below 5M
Forex (EURUSD GBPUSD USDJPY) → NY or London session mode
Gold (XAUUSD) → NY session, 1H or 4H
Crypto (BTCUSD ETHUSD) → Crypto 24/7 mode
Indices (SPX NAS DAX) → NY session
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ WEIGHT PRESETS FOR DIFFERENT TRADING STYLES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Weights are fully adjustable. Presets to get you started:
Trend Following (default)
Structure 30 / Proximity 25 / Session 20 / Momentum 15 / Volatility 10
Scalping (5M–15M)
Structure 20 / Proximity 15 / Session 30 / Momentum 25 / Volatility 10
Swing Trading (Daily–Weekly)
Structure 35 / Proximity 30 / Session 5 / Momentum 20 / Volatility 10
Mean Reversion (range markets)
Structure 15 / Proximity 40 / Session 20 / Momentum 15 / Volatility 10
Crypto 24/7
Structure 30 / Proximity 30 / Session 5 / Momentum 20 / Volatility 15
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ ALERTS — 6 CONDITIONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Prime Setup Detected — score enters ≥80
2. Good Setup Forming — score enters 65–79 from below
3. Setup Degraded — score drops from quality zone
4. Weak Setup Warning — score collapses below 40
5. Sustained PRIME (3 bars)— streak hits 3 consecutive PRIME bars
6. Elite PRIME (6 bars) — streak hits 6 consecutive PRIME bars
Set alerts to "Once per bar close" in PulseWire settings.
All alerts fire on confirmed closed bars only — no false triggers.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ HOW THE SCORE IS CALCULATED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Score = weighted average of 5 components, normalised to 100%.
Weights are user-configurable and auto-normalised — they do not
need to sum to exactly 100.
1. STRUCTURE (default 30%)
Compares candle direction to HTF EMA(20) direction.
Fully bi-directional: bearish candle in bearish HTF = same score
as bullish candle in bullish HTF.
Aligned: score = 65 + (body ratio × 35), max 100
Misaligned: score = 5 + (body ratio × 25), max 30
2. PROXIMITY (default 25%)
Measures distance from the nearest confirmed pivot high or low
using ta.pivothigh/pivotlow (5-bar lookback) in ATR units.
Score = 100 − (ATR distance × 18), clamped 0–100.
At the level = 97–100. Far from structure = 0–20.
3. SESSION (default 20%)
Hour-by-hour quality score based on New York time.
NY mode: 08:00–11:00 = 100 · 03:00–05:00 = 88 ·
11:00–13:00 = 72 · 13:00–16:00 = 60 ·
dead zones = 25
London and Tokyo modes follow their respective peak hours.
Crypto 24/7 = flat 75 (no session bias).
4. MOMENTUM (default 15%)
Candle body divided by total candle range.
Full-body candle = 100. Doji = 0.
Filters indecisive wick-heavy candles.
5. VOLATILITY (default 10%)
ATR(14) divided by its 50-bar SMA.
Sweet spot 0.7–1.6 = score 100.
Too quiet (< 0.7): score scales down.
Too explosive (> 1.6): score drops sharply.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ NO-REPAINT — HOW IT IS ACHIEVED
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Three sources of repaint addressed:
HTF EMA: request.security(..., ta.ema(close,20) , lookahead_on)
The reads the EMA of the PREVIOUS confirmed HTF bar.
Locked until the next HTF candle closes. No live-bar drift.
Labels: all signals fire only on barstate.isconfirmed.
Never drawn on an open bar.
Pivots: 5-bar right lookback on confirmed bars only.
Verify: PulseWire Replay mode — bar-by-bar playback matches
published chart exactly on any historical period.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Higher Timeframe — blank = auto.
Auto logic: 1–5M→30M · 6–15M→1H · 16–60M→4H ·
61–240M→Daily · Daily→Weekly · Weekly→Monthly
Signal Threshold — Entry Window fires above this score. Default 75.
PRIME tier is always fixed at ≥80 regardless of this setting.
Trading Session — NY · London · Tokyo · Crypto 24/7
Component Weights — all five individually adjustable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
█ RISK DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is a decision-support tool, not a trading strategy.
No backtested win rate or profit factor is implied or claimed.
Past signals do not guarantee future performance.
Always use a defined stop loss and proper position sizing.
Trading involves risk of loss. Use at your own discretion. Indicator

Smart Money Concepts Order Blocks, Liquidity [LunqFX]Smart Money Concepts — Order Blocks & Liquidity
A professional-grade SMC indicator that answers the three
questions every trader needs before entering a trade:
① What is the current trend?
② Where is the key institutional zone?
③ Is price at that zone right now?
📋 HOW TO USE — STEP BY STEP
The indicator works as a 3-step confirmation system.
Do not enter a trade unless all 3 align.
STEP 1 — READ THE TREND (panel header)
Look at the panel in the top-right corner.
▲ BULLISH → only look for LONG setups
▼ BEARISH → only look for SHORT setups
If the gauge bar shows less than 40% or more than 60%
— the bias is strong. Between 40–60% = no clear edge,
reduce position size or wait.
STEP 2 — WAIT FOR STRUCTURE EVENT
• BOS appears → trend continuation confirmed.
The market broke a key level and is likely to continue.
Look for entries in the direction of the break.
• CHoCH appears → trend is reversing.
This is the earliest signal of a new trend forming.
Higher risk, higher reward — wait for Step 3 to confirm.
Rule: never trade against the last structure signal.
STEP 3 — WAIT FOR PRICE TO RETURN TO THE OB ZONE
After BOS or CHoCH fires, an Order Block zone is drawn
on the chart (blue = bullish, pink = bearish).
Wait for price to pull back INTO that zone.
When price enters the zone:
→ The zone border brightens (active glow effect)
→ The panel "Zone" row shows ▲ BULL OB or ▼ BEAR OB
→ Candle color changes to the zone color
This is your entry window.
✅ FULL SETUP EXAMPLE (LONG)
1. Panel shows ▲ BULLISH
2. CHoCH or BOS fires bullish — structure confirmed
3. Blue Order Block zone is drawn below current price
4. Price pulls back into the blue zone
5. Panel Zone row shows "▲ BULL OB"
6. Enter long — Stop Loss below the OB zone bottom
7. Target: next swing high or previous resistance
✅ FULL SETUP EXAMPLE (SHORT)
1. Panel shows ▼ BEARISH
2. BOS fires bearish — downtrend continuation
3. Pink Order Block zone is drawn above current price
4. Price pulls back up into the pink zone
5. Panel Zone row shows "▼ BEAR OB"
6. Enter short — Stop Loss above the OB zone top
7. Target: next swing low or previous support
⚠️ WHAT TO AVOID
✗ Don't enter on the BOS/CHoCH candle itself —
wait for the pullback to the OB zone
✗ Don't trade a swept (faded/dashed) zone —
it was already mitigated, its edge is gone
✗ Don't fight the trend — if panel says BEARISH,
don't look for longs no matter how good it looks
✗ High ATR (volatile) = widen your stop loss
or reduce position size accordingly
🔷 ORDER BLOCKS
Automatically detects bullish and bearish Order Blocks —
the last opposing candle before a Break of Structure.
Zones use a 2-band gradient (dense core + lighter outer)
to visualize institutional demand and supply areas.
• Active glow: border brightens when price enters the zone
• Swept zones: automatically fade to dashed when mitigated
• Age-based cleanup: old zones removed after set bar count
• Mitigation mode: choose Close or Wick for zone removal
📐 BREAK OF STRUCTURE (BOS) & CHANGE OF CHARACTER (CHoCH)
BOS confirms trend continuation. CHoCH signals a trend
reversal. Only the most recent signal is displayed —
CHoCH automatically clears stale BOS, and BOS clears
stale CHoCH. No visual clutter.
• BOS: dashed line at broken structure level
• CHoCH: solid line with arrow label at pivot bar
• No repaint: all signals fire on confirmed closed candles only
💧 LIQUIDITY — Equal Highs / Equal Lows
Detects EQH and EQL liquidity pools — price levels where
stop-losses cluster. Marks them with dotted lines so you
can anticipate smart money liquidity sweeps.
⚡ FAIR VALUE GAPS (FVG)
Identifies bullish and bearish imbalance zones (3-candle
gaps). Optional — hidden by default to keep the chart clean.
Enable in settings when imbalance confluences matter.
🎨 MOMENTUM GRADIENT CANDLES
Every candle is colored by momentum strength relative to
the last 30 bars. Weak candles = dark muted shade. Strong
impulse candles = vivid bright color. Structure events
(CHoCH/BOS) override with accent colors.
📊 LIVE DASHBOARD PANEL
Top-right panel shows at a glance:
• Trend bias (BULLISH / BEARISH) + visual gauge bar
• Last BOS and CHoCH direction and time
• Current zone status (price inside OB?)
• Active Order Block count per side
• Last confirmed Swing High and Swing Low prices
• ATR(14) with volatility label (LOW / NORMAL / HIGH)
• No Repaint confirmation
✅ NO REPAINT — CONFIRMED CLOSE ONLY
All pivot detections use ta.pivothigh() / ta.pivotlow()
with confirmed lookback. All BOS/CHoCH signals require
barstate.isconfirmed. What you see is what happened —
no repainting, no false signals on open candles.
⚙️ SETTINGS
Structure:
• Swing Length (3–30 bars)
• Max BOS / CHoCH lines shown
• BOS line length
• Show/hide swing pivot markers
Order Blocks:
• Max OBs per side
• Max age in bars
• Swept zone display + age
• Mitigation mode: Close or Wick
Display:
• Momentum candle coloring on/off
• Dashboard panel on/off
• Fair Value Gaps on/off
• Equal H/L liquidity on/off
Works on all instruments and timeframes.
Best used on: Forex, Gold (XAUUSD), Indices, Crypto.
Recommended timeframes: 15m, 30m, 1H, 4H, 1D.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Indicator

Institutional Accumulation and Distribution Detector - PhenLabs📊 IADD — Institutional Accumulation & Distribution Detector
Version: PineScript™ v6
📌 Description
IADD is a professional-grade, no-repaint zone detection engine that identifies where institutional capital is quietly accumulating or distributing before major price moves. By fusing Volume Spread Analysis (VSA) with momentum candle classification, a five-factor quality scoring system, and a built-in micro Volume Profile engine, IADD draws only the highest-conviction institutional footprints — complete with POC, HVN sub-zones, breakout signals, and ATR-projected targets.
🚀 Points of Innovation
Dual-Type Candle Classification (VSA + Momentum): Detects both high-volume momentum candles (directional conviction) and high-volume absorption candles (hidden buying/selling via long wicks) — capturing institutional activity that pure momentum filters miss.
5-Factor Zone Quality Score (0–5 ★): Zones are graded across five objective criteria: RVOL intensity, absorption presence, consolidation tightness, candle participation, and directional bias. Only zones clearing your minimum threshold are drawn.
Embedded Volume Profile per Zone: On confirmation, IADD calculates a micro volume profile across the cluster window, identifying the POC and HVN — the highest-density levels hidden inside each zone.
No-Repaint Architecture: All zones, signals, and targets are anchored to closed-bar data using fixed coordinates and extend.none rendering. Signals lock permanently — nothing shifts or disappears after the bar closes.
ATR-Projected 1R/2R/3R Targets: On breakout, three risk-reward levels and a structural stop-loss are automatically projected using ATR at the breakout close — a complete trade plan in a single signal.
🔥 Key Features
✅ Accumulation Zones (Blue) above trend EMA — where institutions absorbed supply
✅ Distribution Zones (Orange) below trend EMA — where institutions offloaded into strength
✅ POC dashed line per zone — the highest-volume price level within each cluster
✅ Star-rated quality labels (★ to ★★★★★) with POC price, bias %, and peak RVOL
✅ ▲ LONG / ▼ SHORT breakout labels on zone boundary breaks with expanded volume
✅ 5 alert conditions: Zone Formed (Bull/Bear), Breakout (Long/Short), Any Breakout
📖 Settings Guide
⚙️ Volume & Candle Filters
Avg Volume Length | Default: 20 | Rolling baseline period for RVOL calculation.
Min RVOL Multiplier | Default: 1.8 | Volume must exceed this multiple of the average to qualify a candle as institutional.
Min Body % (Momentum) | Default: 55% | Minimum body-to-range ratio for momentum candle classification.
Min Wick % (Absorption) | Default: 45% | Minimum wick-to-range ratio for VSA absorption candle classification.
⚙️ Cluster & Quality Filters
Cluster Lookback | Default: 15 bars | Rolling window scanned for institutional candle clusters.
Min Inst. Candles | Default: 3 | Minimum institutional candles required within the window.
Min Directional Bias % | Default: 60% | Minimum directional agreement among institutional candles.
Min Zone Quality Score | Default: 3/5 | Minimum score gate before a zone is drawn. Raise to 4–5 for maximum selectivity.
ATR Squeeze Filter | Default: On | Rejects wide, choppy zones. Keeps tight institutional consolidations only.
Max Zone Range (× ATR) | Default: 3.5 | Maximum acceptable zone width as an ATR multiple.
⚙️ Trend Context Filter
Enable Trend Filter | Default: On | Accumulation requires price above EMA; distribution requires price below.
Trend EMA Length | Default: 200 | Macro trend reference period.
⚙️ Volume Profile
Profile Bins | Default: 20 | Price bins for micro volume profile resolution within each zone.
HVN Threshold % | Default: 70% | Bins must reach this % of peak bin volume to qualify as part of the HVN.
⚙️ Targets & Risk
Show ATR-Based Targets | Default: On | Projects 1R/2R/3R and structural SL on every breakout.
ATR Target Multiplier (1R) | Default: 1.5 | ATR distance per risk unit from the breakout close.
⚙️ Display
Show Accumulation / Distribution Zones | Default: Both On | Individual visibility toggles per zone type.
Show Breakout Signals | Default: On | Enables ▲ LONG / ▼ SHORT breakout labels.
Show Quality Score on Label | Default: On | Appends star rating to each zone label.
Max Zones (per type) | Default: 8 | Oldest zones auto-purge when cap is reached.
✅ Best Use Cases
● Identifying institutional demand zones before trend continuation entries
● Confirming breakouts with zone quality context — a 5-star zone breakout carries far more weight than an unqualified one
● Using the POC as a magnet or retest entry level after a breakout
● Anchoring structural stop-losses to zone boundaries (below accumulation low, above distribution high)
● Multi-timeframe confluence: identify IADD zones on higher timeframes, enter on HVN touches on lower timeframes
● Filtering setups to macro EMA-aligned trades only for higher win-rate execution
⚠️ Limitations
Volume Data: Requires reliable volume. On some forex pairs or synthetic instruments, RVOL accuracy may be reduced.
Trend Filter: Counter-trend zones are suppressed when the filter is enabled. Disable for full detection.
Not Standalone: IADD identifies where institutions were active — not when price will return. Combine with price action confirmation and proper risk management.
💡 Note:
Best performance on equities, crypto, and futures across 1-minute to Daily timeframes. Start with default settings, then tighten Min Quality Score and RVOL Multiplier to match your instrument’s volatility profile. Indicator

Adaptive Quasimodo + Confluence Engine - PhenLabs📊Quasimodo Pattern (QM) Detector - PhenLabs
Recognizing reversal patterns like the Quasimodo can be challenging and time-consuming, requiring a keen eye for specific market structures. Missing a key swing point or misinterpreting a retracement can lead to missed opportunities or false signals. This indicator automates the precise identification of Quasimodo patterns, providing clear, actionable signals directly on your chart, so you can focus on execution.
🚨OVERVIEW🚨
The Quasimodo Pattern (QM) Detector is an advanced, non-repainting indicator designed to automatically spot high-probability bullish and bearish Quasimodo reversal patterns. It integrates customizable swing point detection, confluence filters (Higher Timeframe trend and volume confirmation), and precise entry, stop-loss, and take-profit calculations directly from the pattern’s structure. Get automated alerts and a real-time dashboard to enhance your pattern-based trading strategy.
🔷 WHAT IS A QUASIMODO (QM) PATTERN?
The Quasimodo pattern is a powerful reversal formation characterized by a specific sequence of price action:
Bearish QM: A Higher High (HH) is followed by a Lower Low (LL), then a Higher High (HH), and finally a Lower Low (LL). The pattern suggests a reversal from an uptrend to a downtrend, often at the level of the previous Higher High.
Bullish QM: A Lower Low (LL) is followed by a Higher High (HH), then a Lower Low (LL), and finally a Higher High (HH). This suggests a reversal from a downtrend to an uptrend, often at the level of the previous Lower Low.
It’s a cousin to the Head & Shoulders pattern but with a distinct structure focused on specific swing points.
🔶 KEY FEATURES
Automated QM Detection: Accurately identifies both bullish and bearish Quasimodo patterns as they form on any timeframe.
Customizable Swing Points: Define how swing highs and lows are detected, choosing between using wick extremes or candle bodies.
Confluence Filters: Incorporates a Higher Timeframe (HTF) Trend filter to confirm pattern alignment using a non-repainting EMA, and a Volume Confirmation filter to validate patterns with significant volume spikes at key structural points.
Dynamic Trade Planning: Automatically calculates suggested Entry, Stop Loss, and Take Profit levels based on the detected QM structure and your desired Risk-to-Reward ratio.
Non-Repainting Logic: All detected patterns and signals are permanent and do not shift or disappear on subsequent bars.
Informative Dashboard: Provides a real-time summary of HTF trend, volume confirmation, and the last detected QM.
Visual Clarity: Plots QM lines, potential entry/SL/TP zones, and clear labels for pattern identification.
Alerts: Customizable alerts for new QM patterns and when price enters the suggested entry zone.
⚙️ SETTINGS GUIDE
Pattern Recognition: Adjust settings like Use Wick As Extremes (for swing points), Swing Lookback (how many bars to scan for swings), Min Head Height/Right Shoulder Depth Factor (magnitude requirements), Strict Higher/Lower High/Low (stricter swing definitions), and Max RSL/RSH Bars (time limit for right shoulder formation).
Trade Management: Configure Entry/SL/TP Offset % to fine-tune entry, stop-loss, and take-profit levels as a percentage buffer, and set your Desired Risk:Reward ratio for calculating Take Profit.
Confluence Filters: Enable or disable Use HTF Confirmation and Use Volume Confirmation . For HTF, set HTF Timeframe and EMA Length . For Volume, adjust Volume Lookback and Multiplier .
Visual Settings: Toggles are available for showing QM lines, entry/SL/TP zones, alerts, and dashboard position.
📈 TRADING WORKFLOW
Identify: Wait for a Bullish or Bearish QM pattern to be detected and labeled on your chart.
Confirm: Check the dashboard and pattern details. Ensure the HTF trend and Volume confirmation are aligned with the pattern’s direction (e.g., Bullish QM + Bullish HTF).
Enter: Wait for price to retest the suggested entry zone. The indicator plots these zones for you.
Manage: Use the automatically calculated Stop Loss and Take Profit levels, adjusting them as needed based on market context and your risk management strategy.
Alerts: Set up alerts to be notified immediately when a QM pattern is found or when price enters an entry zone.
⚠️ RISK DISCLAIMER
Trading involves substantial risk, and past performance is not indicative of future results. The Quasimodo Pattern Detector is a tool to assist in identifying potential trade setups but does not guarantee profitability. Always conduct your own analysis and implement proper risk management.
Does it repaint?
No. This indicator is coded with non-repainting logic. Once a pattern is confirmed and a signal is generated on a closed bar, it will remain on your chart permanently. The Higher Timeframe trend filter also uses a non-repainting method. Indicator

Liquidity Heatmap Matrix [MTF] - PhenLabs📊Liquidity Heatmap Matrix
Version: PineScript™v6
📌Description
The Liquidity Heatmap Matrix is a multi-timeframe liquidity detection and visualization tool built to identify where equal highs and equal lows are forming across up to five configurable timeframes. It solves a core challenge for smart money and ICT-style traders: knowing exactly where stop-loss clusters and liquidity pools are building — before price sweeps them.
Rather than manually scanning multiple timeframes for double tops and bottoms, this indicator automates the entire process and presents confluence-weighted liquidity zones as a heatmap overlay directly on your chart. Levels confirmed by more timeframes glow with greater intensity, giving you an immediate sense of which zones carry the highest probability of a liquidity grab.
When price sweeps through a detected level, the indicator confirms it in real time with on-chart labels, color changes, and optional alerts — turning reactive analysis into proactive trade planning.
🚀Points of Innovation
● First-of-its-kind heatmap approach that scores liquidity zones on a 1-to-5 confluence scale across independent timeframes
● Automatic merging of nearby equal levels using a percentage-based tolerance system, eliminating duplicate zone clutter
● Real-time sweep confirmation engine that detects when price pierces a level and closes back inside, validating the liquidity grab
● Dynamic zone coloring that shifts from transparent to fully opaque as more timeframes confirm the same price level
● Built-in dashboard that ranks all active levels by confluence strength and tracks bullish versus bearish sweep counts
● Comprehensive alert suite covering new equal high/low formation and sweep events for both directions
🔧Core Components
● Multi-Timeframe Pivot Engine: Runs pivot high/low detection independently on each of the five timeframes using request.security calls, then feeds results into a unified level registry
● Equal Level Comparator: Compares each new pivot against a rolling window of recent pivots using a configurable percentage tolerance to identify price levels that have been tested more than once
● Confluence Merger: When the same price level appears on multiple timeframes, the system merges them into a single zone and increments the confluence score rather than stacking overlapping boxes
● Sweep Detection Module: Monitors all active levels bar-by-bar, confirming a sweep when price breaches the zone edge and then closes back within it — filtering out false breakouts
● Heatmap Renderer: Translates each level’s confluence score into a color intensity gradient, with separate palettes for equal highs (red spectrum) and equal lows (green spectrum)
● Dashboard Table: Displays every active level in a sortable table with type, price, per-timeframe dot indicators, confluence rating, and sweep status
🔥Key Features
● Supports 5 fully independent timeframes that can be toggled on or off and set to any interval from 1 minute to Monthly
● Heatmap coloring intensity scales automatically with confluence count — single-timeframe levels appear faint while 5-TF levels are fully saturated
● Sweep labels display the direction, confluence count, confirming timeframes, and exact price of each swept level directly on the chart
● Dashboard tracks all active equal high and equal low levels sorted by confluence descending with real-time bull and bear sweep counters
● Four alert conditions cover new equal highs, new equal lows, bearish sweeps (EQH taken), and bullish sweeps (EQL taken)
● Swept zones automatically change to a distinct highlight color and freeze their right edge at the sweep bar for clear historical reference
● Old swept levels are cleaned up after 100 bars and stale unswept levels expire after 500 bars to keep the chart uncluttered
● All zone colors, widths, extension lengths, and dashboard positioning are fully customizable
🎨Visualization
● Liquidity Zone Boxes: Colored rectangles overlaid on the chart representing each equal high or equal low level — red-spectrum for EQH, green-spectrum for EQL, with opacity increasing as confluence rises
● Heatmap Intensity Gradient: Single-TF zones appear nearly transparent while 5-TF zones are fully opaque, creating a visual heat signature of where liquidity is densest
● Sweep Labels: Appear at the sweep bar with directional arrows (🔻 for EQH swept, 🔺 for EQL swept), showing confluence count, confirming timeframe list, and price
● Swept Zone Highlight: Confirmed sweeps turn the zone box to a yellow highlight color, clearly distinguishing consumed liquidity from active levels
● Dashboard Table: A compact on-chart table (repositionable to any corner) showing Type, Price, per-TF active dots (● / ○), and confluence rating for every tracked level
● Summary Footer: Bottom row of the dashboard displays total bullish sweeps, bearish sweeps, and combined sweep count
📖Usage Guidelines
● TF 1 through TF 5 Enabled — Toggle each timeframe on or off (Default: TF1 and TF2 enabled, TF3-TF5 disabled)
● TF 1 through TF 5 Interval — Set each timeframe independently (Defaults: 5m, 15m, 1H, 4H, Daily)
● Pivot Lookback Left — Number of bars to the left for pivot detection (Default: 6, Range: 1–50)
● Pivot Lookback Right — Number of bars to the right for pivot confirmation (Default: 6, Range: 1–50)
● Equal Level Tolerance (%) — Maximum percentage difference for two pivots to be considered equal (Default: 0.1%, Range: 0.01–2.0%)
● Max Pivots to Compare — Rolling window size of recent pivots checked for equal levels (Default: 5, Range: 2–10)
● Max Active Levels — Maximum number of liquidity zones tracked simultaneously (Default: 20, Range: 5–50)
● Sweep Confirm Bars — Bars to wait before confirming a sweep after price pierces a level (Default: 2, Range: 1–10)
● Show Liquidity Zones — Toggle zone box rendering on or off (Default: On)
● Show Sweep Labels — Toggle sweep confirmation labels on or off (Default: On)
● Show Dashboard — Toggle the summary dashboard table on or off (Default: On)
● Zone Width (%) — Percentage-based half-width of each liquidity zone box (Default: 0.05%, Range: 0.01–1.0%)
● Zone Extend (bars) — How far forward active zone boxes extend on the chart (Default: 50, Range: 10–200)
● Dashboard Position — Corner placement of the dashboard table (Options: Top Right, Bottom Right, Top Left, Bottom Left)
● EQH Colors — Customizable color range from 1-TF to 5-TF confluence for equal high zones (Default: Red spectrum with varying transparency)
● EQL Colors — Customizable color range from 1-TF to 5-TF confluence for equal low zones (Default: Green spectrum with varying transparency)
● Swept Zone Color — Highlight color for levels that have been confirmed swept (Default: Yellow at 30% transparency)
✅Best Use Cases
● Identifying high-probability reversal zones where liquidity has clustered across multiple timeframes before entering a mean-reversion trade
● Pre-planning take-profit targets by locating where dense liquidity pools sit above or below current price
● Filtering breakout trades by checking whether price is approaching a high-confluence liquidity zone likely to cause a sweep and reversal
● Confirming ICT and smart money concepts by visualizing where equal highs and equal lows form as institutional liquidity targets
● Setting up sweep-based alerts to get notified the moment a multi-TF liquidity level gets taken, enabling rapid reaction entries
● Using the dashboard as a real-time liquidity scoreboard during active trading sessions to track which levels remain live and which have been consumed
⚠️Limitations
● Pivot detection requires a right-side lookback, so level identification has an inherent delay equal to the Pivot Lookback Right setting
● Very low tolerance values on volatile assets may produce few matches, while very high values may create false confluences — tuning to the asset’s typical spread is recommended
● The indicator tracks up to the Max Active Levels limit, so on extremely active charts some older unswept levels may be pruned before they are reached
● Multi-timeframe security calls can increase chart loading time, especially when all five timeframes are enabled on lower-timeframe charts
● Sweep detection relies on close price returning inside the zone — wicks that pierce and immediately reverse on the same bar without closing inside may not be captured
● This tool identifies liquidity zones and sweeps but does not generate buy or sell signals — it is designed to complement your existing strategy, not replace it
💡What Makes This Unique
● Confluence-weighted heatmap visualization is a fundamentally different approach to liquidity mapping compared to simple equal-high/low markers, providing probabilistic weight to each level
● The automatic cross-timeframe merging system eliminates zone stacking and clutter that plagues most multi-timeframe indicators
● Real-time sweep confirmation with multi-bar validation filters out noise and false breakouts that single-bar detection methods frequently flag
● The integrated dashboard provides a full-spectrum situational awareness panel without needing to switch between timeframes or use multiple indicators
🔬How It Works
● Step 1 — Pivot Detection: On each enabled timeframe, the script independently identifies pivot highs and pivot lows using a configurable left/right lookback window via ta.pivothigh and ta.pivotlow functions
● Step 2 — Equal Level Matching: Each new pivot is compared against a rolling buffer of recent pivots on the same timeframe; if two pivots fall within the percentage tolerance, an equal high or equal low is flagged
● Step 3 — Cross-Timeframe Registration and Merging: Detected equal levels are registered into a central level array; if a level from one timeframe falls near an existing level, it merges by incrementing the confluence score rather than creating a duplicate
● Step 4 — Heatmap Rendering: Each active level is drawn as a zone box with color intensity mapped to its confluence score using a 5-tier gradient — more confirming timeframes produce more visually prominent zones
● Step 5 — Sweep Monitoring: Every bar, the script checks whether price has breached a zone edge and closed back inside, confirming a liquidity sweep; confirmed sweeps update the zone color, freeze the box, and generate labels and alerts
● Step 6 — Lifecycle Management: Swept levels are retained for 100 bars for historical reference then removed; unswept levels older than 500 bars are pruned to maintain chart performance and visual clarity
💡Note:
For best results, start with the default settings and adjust tolerance and pivot lookback values to match the volatility profile of your specific asset. Lower timeframe combinations (e.g., 5m + 15m) are ideal for intraday scalping, while higher timeframe setups (e.g., 1H + 4H + Daily) suit swing trading. This indicator is designed as a confluence tool — combine it with your existing strategy, order flow analysis, or market structure methodology for highest-probability trade setups. It does not produce buy or sell signals on its own.
Indicator

Indicator

Indicator

Intuitive Predictive MACD TargetsThis indicator uses Reverse Engineering math to calculate the exact price the market needs to reach for specific MACD events to happen on the current bar.
Standard MACD is a lagging indicator—you usually wait for the candle to close to confirm a signal. This script changes that by drawing "Finish Lines" on your chart, showing you exactly where price must go right now to trigger a Crossover or a Momentum Hook.
The "Reverse Engineering" Concept
Instead of calculating MACD from Price, we calculate the Required Price from the Target MACD.
Q: "At what price will the MACD line cross the Signal line?"
A: The script solves this and draws the Green/Red "Crossover" Line.
Key Features
1. Three Distinct Targets
Crossover Target (PCO/NCO): The exact price needed to trigger a Buy/Sell signal on the current candle.
Dynamic Coloring: Turns Green if price needs to go UP to cross, Red if price needs to go DOWN.
Settlement Target (The Hook): The exact price where the MACD momentum flattens out (Angle = 0). If price touches this Orange Dashed Line, the trend is likely pausing or preparing to reverse.
Zero Cross Target: The price needed for MACD to reclaim the Zero Line.
2. Smart "Staggered" Labels (No Overlap)
Unlike other scripts where text piles up and becomes unreadable, this indicator automatically spreads labels horizontally.
Crossover info stays near the price.
Settlement info is shifted to the right.
Zero info is shifted further right.
Result: You can read all three targets clearly, even if the prices are almost identical.
3. Full Customization
Line Length: Choose "Infinite" to see targets as Support/Resistance levels across the screen, or "Short" to keep your chart background clean.
Text Visibility: Option to force text to White or Black for high contrast on Dark/Light themes.
Styles: Fully adjustable colors, line widths, and styles (Solid, Dashed, Dotted) for each target type.
How to Use
The "Finish Line" Strategy: If you are Long, and the Red NCO Line appears just below the current price, be cautious. It means a very small drop will confirm a Bearish Cross.
Momentum Checks: Watch the Orange "Settlement" Line.
If price is moving away from the Orange line, the trend is accelerating (Safe to hold).
If price touches the Orange line, momentum has died (Consider taking profit).
Settings
Visual Settings: Change Line Length (Infinite/Short) and Text Color.
MACD Settings: Standard inputs (Default 12, 26, 9).
Toggles: Option to show/hide the Zero Line target. Indicator

Double&Triple Pattern[TS_Indie]📌 Description – Double & Triple Pattern Indicator
The Double & Triple Pattern Indicator is developed to help traders systematically and clearly identify Double Top, Double Bottom, Triple Top, and Triple Bottom chart patterns.
⚙️ Core Logic & Working Mechanism
The Double & Triple Pattern Indicator is built on the concept of price swing formation, based on the logic of Trend Entry_0 , which focuses on structured market analysis and price action behavior.
The indicator detects three main swing points (Swing 1, Swing 2, and Swing 3). A Fibonacci Box is then created using Swing A and Swing B as reference points to define the swing detection zone.
When all three swings remain inside the defined Fibonacci Box, the structure is considered a valid Price Action setup.
The indicator then plots key lines on the chart:
➩ Break Line – used to confirm the signal (confirmation)
➩ Cancel Line – used to invalidate the price action if price moves against the conditions
➛ When price breaks the Break Line , the structure is confirmed and a Pending Order is placed at Swing B , with the Stop Loss set at Swing 1.
➛ If price breaks the Cancel Line first, the price action structure is immediately invalidated.
⚙️ Fibonacci Entry Zone & Change SL Settings
➩ When Fibo Entry Zone is set to 0, the Pending Order is placed directly at Swing B.
➩ When the value is greater than 0, the Pending Order is calculated using Fibonacci levels drawn from Swing B to the Stop Loss level.
➩ Change SL allows switching the Stop Loss reference between Swing 1 and Swing A.
⚙️ Min & Max Control for Swing Size : xATR
When enabling Control Size Swing : xATR , the indicator filters Swing B based on the defined Min and Max range.
This allows traders to selectively test larger or smaller swing-based price actions , depending on their trading strategy.
⭐ Pending Order Cancellation Conditions
A Pending Order will be canceled under the following conditions:
1.A new Price Action signal appears on either the Buy or Sell side.
2.When Time Session is enabled, the Pending Order is canceled once price exits the selected session.
🕹 Order Management Rule
When there is an active open position, the indicator restricts the creation of new Pending Orders to prevent overlapping positions.
💡 Double Pattern Example
💡 Triple Pattern Example
⚠️ Disclaimer
This indicator is designed for technical analysis purposes only and does not constitute investment advice.
Users should apply proper risk management and make decisions at their own discretion.
🥂 Community Sharing
If you find parameter settings that work well or produce strong statistical results, feel free to share them with the community so we can improve and develop this indicator together.
Strategy

Indicator

ParabolicSAR+EMA[TS_Indie]🚀 EMA + Parabolic SAR Reversal Trading Strategy
This trading system effectively combines the use of Exponential Moving Averages (EMA) with the Parabolic SAR to identify both price trends and key reversal points. The EMA Fast is used to signal the primary short-term trend, while the EMA Slow acts as a filter for the long-term trend direction. The Parabolic SAR then helps to confirm the reversal signals.
🛠️ Tools Used
1. EMA Fast – Primary Short-Term Trend
2. EMA Slow – Long-Term Trend Filter
3. Parabolic SAR – Reversal Confirmation
🎯 Entry Rules
📈 Buy Setup
1. Trend Filter: EMA Fast > EMA Slow → Uptrend
2. Pullback: Price pulls back and closes below the EMA Fast line.
3. Reversal: Price reverses/pulls back up and closes above the EMA Fast line.
4. SAR Confirmation: The previous Parabolic SAR dot is above the high, and the dot in the current candle is below the low → Reversal signal confirmed.
5. Entry: Enter Buy immediately.
📉 Sell Setup
1. Trend Filter: EMA Fast < EMA Slow → Downtrend
2. Pullback: Price pulls back and closes above the EMA Fast line.
3. Reversal: Price reverses/pulls back down and closes below the EMA Fast line.
4. SAR Confirmation: The previous Parabolic SAR dot is below the low, and the dot in the current candle is above the high → Reversal signal confirmed.
5. Entry: Enter Sell immediately.
💰 Exit Management (Entry, Stop Loss, Take Profit)
1. Entry: Enter the order at the closing price of the signal candle.
2. Stop Loss (SL): Set the Stop Loss at the Parabolic SAR dot.
3. Take Profit (TP): Calculated from the Entry and Stop Loss points, multiplied by the Risk Reward Ratio.
⚙️ Optional Parameters
➭ Custom Risk/Reward Ratio for Take Profit.
➭ Option to add an ATR buffer to the Stop Loss.
➭ Adjustable EMA Fast period.
➭ Adjustable EMA Slow period.
➭ Adjustable Parabolic SAR parameters.
➭ Option to enable Long-only / Short-only positions.
➭ Customizable Backtest start and end date.
➭ Customizable trading session time.
🔔 Alert Function
Alerts display:
➭ Entry Price
➭ Stop Loss Price
➭ Take Profit Price
💡 This strategy allows for many parameter adjustments, such as the MA type, adding/subtracting from the Stop Loss using ATR, and selecting specific sessions for backtesting. If you find interesting or profitable results after adjusting the parameters, please share your comments with other traders!
⚠️ Disclaimer
This indicator is designed for educational and research purposes only. It does not guarantee profits and should not be considered financial advice. Trading in financial markets involves significant risk , including the potential loss of capital.
Strategy

Trend Entry_0 [TS_Indie]Trend Entry_0 — Mechanism Overview
The core structure of this strategy is based on a price action reversal pattern, as detailed below:
In the case of a Bullish Trend Reversal:
The price initially moves in a bearish direction. When candle A forms a low lower than the previous low, the high of candle A becomes a key reference point.
If the next candle closes above the high of candle A , it confirms a Bullish Trend Reversal.
* Upon a Bullish signal, a Long position is opened at the opening price of the next candle (candle B).
* When a subsequent Bearish signal occurs, the Long position is closed at the opening price of the next candle (candle C).
In the case of a Bearish Trend Reversal:
The price initially moves in a bullish direction. When candle A forms a high higher than the previous high, the low of candle A becomes a key reference point.
If the next candle closes below the low of candle A , it confirms a Bearish Trend Reversal.
* Upon a Bearish signal, a Short position is opened at the opening price of the next candle (candle B).
* When a subsequent Bullish signal occurs, the Short position is closed at the opening price of the next candle (candle C).
Options
* The start and end dates of the backtest can be customized.
* The swing lines of the trend can be displayed as an optional visual aid.
* The user can choose whether to open only Long or Short positions.
Backtest Results and Observations
Based on the backtesting results of this strategy across various assets and timeframes, it has been observed that this approach works best on trending assets such as Gold, BTC, and stocks.
It also performs well on higher timeframes, starting from the Daily timeframe and above, especially when taking Long positions only.
However, when applied to currency pairs such as EUR/USD, the results tend to be less impressive.
I encourage everyone to try backtesting and further developing this strategy — adding new conditions or filters may potentially lead to improved performance.
Disclaimer
This script is intended solely for backtesting purposes, based on a particular price action pattern.
It does not constitute financial or investment advice.
Backtest results do not guarantee future performance.
Strategy

Indicator

SuperTrend MTF Pro [Cometreon]The SuperTrend MTF Pro takes the classic SuperTrend to a whole new level of customization and accuracy. Unlike the standard version, this indicator allows you to select different moving averages, apply it to various chart types, and fine-tune every key parameter.
If you're looking for an advanced, non-repainting, and highly configurable SuperTrend, this is the right choice for you.
🔷 New Features and Improvements
🟩 Multi-MA SuperTrend
Now you can customize the SuperTrend calculation by choosing from 15 different moving averages:
SMA (Simple Moving Average)
EMA (Exponential Moving Average)
WMA (Weighted Moving Average)
RMA (Smoothed Moving Average)
HMA (Hull Moving Average)
JMA (Jurik Moving Average)
DEMA (Double Exponential Moving Average)
TEMA (Triple Exponential Moving Average)
LSMA (Least Squares Moving Average)
VWMA (Volume-Weighted Moving Average)
SMMA (Smoothed Moving Average)
KAMA (Kaufman’s Adaptive Moving Average)
ALMA (Arnaud Legoux Moving Average)
FRAMA (Fractal Adaptive Moving Average)
VIDYA (Variable Index Dynamic Average)
🟩 Multiple Chart Types
You're no longer limited to candlestick charts! Now you can use SuperTrend with different chart formats, including:
Heikin Ashi
Renko
Kagi
Line Break
Point & Figure
🟩 Customizable Timeframe
Now you can adjust the SuperTrend timeframe without repainting issues, avoiding signal distortions.
🔷 Technical Details and Customizable Inputs
SuperTrend offers multiple customization options to fit any trading strategy:
1️⃣ ATR Period – Defines the ATR length, affecting the indicator’s sensitivity.
2️⃣ Source – Selects the price value used for calculations (Close, HL2, Open, etc.).
3️⃣ ATR Mult – Multiplies the ATR to determine band distance. Higher values reduce false signals, lower values make it more reactive.
4️⃣ Change ATR Calculation Method – When enabled, uses the default ATR method; when disabled, allows selecting another Moving Average with "Use Different Type".
5️⃣ Source Break – Defines the price source for trend changes (Close for more stability, High/Low for more reactivity).
6️⃣ Use Different Type – Allows selecting an alternative Moving Average for ATR calculation if "Change ATR Calculation Method" is disabled.
7️⃣ SuperTrend Type – Advanced options for specific MAs (JMA, ALMA, FRAMA, VIDYA), with dedicated parameters like Phase, Sigma, and Offset for optimized responsiveness.
8️⃣ Ticker Settings – Customize parameters for special chart types such as Renko, Heikin Ashi, Kagi, Line Break, and Point & Figure, adjusting reversal, number of lines, and ATR length.
9️⃣ Timeframe – Enables using SuperTrend on a higher timeframe.
🔟 Wait for Timeframe Closes -
✅ Enabled – Prevents multiple signals, useful for precise alerts.
❌ Disabled – Displays SuperTrend smoothly without interruptions.
🔷 How to Use SuperTrend MTF Pro
🔍 Identifying Trends
SuperTrend follows the ongoing trend and provides clear visual signals:
When the price is above the line, the trend is bullish.
When the price is below the line, the trend is bearish.
📈 Interpreting Signals
Line color and position change → Possible trend reversal
Bounce off the line → Potential trend continuation
Strong breakout of the line → Possible reversal
🛠 Integration with Other Tools
RSI or MACD to filter false signals
Moving Averages to confirm trend direction
Support and Resistance to improve entry points
☄️ If you find this indicator useful, leave a Boost to support its development!
Every feedback helps to continuously improve the tool, offering an even more effective trading experience. Share your thoughts in the comments! 🚀🔥 Indicator

Xmaster Formula Indicator [TradingFinder] No Repaint Strategies🔵 Introduction
The Xmaster Formula Indicator is a powerful tool for forex trading, combining multiple technical indicators to provide insights into market trends, support and resistance levels, and price reversals. Developed in the early 2010s, it is widely valued for generating reliable buy and sell signals.
Key components include Exponential Moving Averages (EMA) for identifying trends and price momentum, and MACD (Moving Average Convergence Divergence) for analyzing trend strength and direction.
The Stochastic Oscillator and RSI (Relative Strength Index) enhance accuracy by signaling potential price reversals. Additionally, the Parabolic SAR assists in identifying trend reversals and managing risk.
By integrating these tools, the Xmaster Formula Indicator provides a comprehensive view of market conditions, empowering traders to make informed decisions.
🔵 How to Use
The Xmaster Formula Indicator offers two distinct methods for generating signals: Standard Mode and Advance Mode. Each method caters to different trading styles and strategies.
Standard Mode :
In Standard Mode, the indicator uses normalized moving average data to generate buy and sell signals. The difference between the short-term (10-period) and long-term (38-period) EMAs is calculated and normalized to a 0-100 scale.
Buy Signal : When the normalized value crosses above 55, accompanied by the trend line turning green, a buy signal is generated.
Sell Signal : When the normalized value crosses below 45, and the trend line turns red, a sell signal is issued.
This mode is simple, making it ideal for traders looking for straightforward signals without the need for additional confirmations.
Advance Mode :
Advance Mode combines multiple technical indicators to provide more detailed and robust signals.
This method analyzes trends by incorporating :
🟣 MACD
Buy Signal : When the MACD histogram bars are positive.
Sell Signal : When the MACD histogram bars are negative.
🟣 RSI
Buy Signal : When RSI is below 30, indicating oversold conditions.
Sell Signal : When RSI is above 70, suggesting overbought conditions.
🟣 Stochastic Oscillator
Buy Signal : When Stochastic is below 20.
Sell Signal : When Stochastic is above 80.
🟣 Parabolic SAR
Buy Signal : When SAR is below the price.
Sell Signal : When SAR is above the price.
A signal is generated in Advance Mode only when all these indicators align :
Buy Signal : All conditions point to a bullish trend.
Sell Signal : All conditions indicate a bearish trend.
This mode is more comprehensive and suitable for traders who prefer deeper analysis and stronger confirmations before executing trades.
🔵 Settings
Method :
Choose between "Standard" and "Advance" modes to determine how signals are generated. In Standard Mode, signals are based on normalized moving average data, while in Advance Mode, signals rely on the combination of MACD, RSI, Stochastic Oscillator, and Parabolic SAR.
Moving Average Settings :
Short Length : The period for the short-term EMA (default is 10).
Mid Length : The period for the medium-term EMA (default is 20).
Long Length : The period for the long-term EMA (default is 38).
MACD Settings :
Fast Length : The period for the fast EMA in the MACD calculation (default is 12).
Slow Length : The period for the slow EMA in the MACD calculation (default is 26).
Signal Line : The signal line period for MACD (default is 9).
Stochastic Settings :
Length : The period for the Stochastic Oscillator (default is 14).
RSI Settings :
Length : The period for the Relative Strength Index (default is 14).
🔵 Conclusion
The Xmaster Formula Indicator is a versatile and reliable tool for forex traders, offering both simplicity and advanced analysis through its Standard and Advance modes. In Standard Mode, traders benefit from straightforward signals based on normalized moving average data, making it ideal for quick decision-making.
Advance Mode, on the other hand, provides a more detailed analysis by combining multiple indicators like MACD, RSI, Stochastic Oscillator, and Parabolic SAR, delivering stronger confirmations for critical market decisions.
While the Xmaster Formula Indicator offers valuable insights and reliable signals, it is important to use it alongside proper risk management and other analytical methods. By leveraging its capabilities effectively, traders can enhance their trading strategies and achieve better outcomes in the dynamic forex market.
Indicator

Leading T3Hello Fellas,
Here, I applied a special technique of John F. Ehlers to make lagging indicators leading. The T3 itself is usually not realling the classic lagging indicator, so it is not really needed, but I still publish this indicator to demonstrate this technique of Ehlers applied on a simple indicator.
The indicator does not repaint.
In the following picture you can see a comparison of normal T3 (purple) compared to a 2-bar "leading" T3 (gradient):
The range of the gradient is:
Bottom Value: the lowest slope of the last 100 bars -> green
Top Value: the highest slope of the last 100 bars -> purple
Ehlers Special Technique
John Ehlers did develop methods to make lagging indicators leading or predictive. One of these methods is the Predictive Moving Average, which he introduced in his book “Rocket Science for Traders”. The concept is to take a difference of a lagging line from the original function to produce a leading function.
The idea is to extend this concept to moving averages. If you take a 7-bar Weighted Moving Average (WMA) of prices, that average lags the prices by 2 bars. If you take a 7-bar WMA of the first average, this second average is delayed another 2 bars. If you take the difference between the two averages and add that difference to the first average, the result should be a smoothed line of the original price function with no lag.
T3
To compute the T3 moving average, it involves a triple smoothing process using exponential moving averages. Here's how it works:
Calculate the first exponential moving average (EMA1) of the price data over a specific period 'n.'
Calculate the second exponential moving average (EMA2) of EMA1 using the same period 'n.'
Calculate the third exponential moving average (EMA3) of EMA2 using the same period 'n.'
The formula for the T3 moving average is as follows:
T3 = 3 * (EMA1) - 3 * (EMA2) + (EMA3)
By applying this triple smoothing process, the T3 moving average is intended to offer reduced noise and improved responsiveness to price trends. It achieves this by incorporating multiple time frames of the exponential moving averages, resulting in a more accurate representation of the underlying price action.
Thanks for checking this out and give a boost, if you enjoyed the content.
Best regards,
simwai
---
Credits to @loxx Indicator

Adaptive Fisherized Z-scoreHello Fellas,
It's time for a new adaptive fisherized indicator of me, where I apply adaptive length and more on a classic indicator.
Today, I chose the Z-score, also called standard score, as indicator of interest.
Special Features
Advanced Smoothing: JMA, T3, Hann Window and Super Smoother
Adaptive Length Algorithms: In-Phase Quadrature, Homodyne Discriminator, Median and Hilbert Transform
Inverse Fisher Transform (IFT)
Signals: Enter Long, Enter Short, Exit Long and Exit Short
Bar Coloring: Presents the trade state as bar colors
Band Levels: Changes the band levels
Decision Making
When you create such a mod you need to think about which concepts are the best to conclude. I decided to take Inverse Fisher Transform instead of normalization to make a version which fits to a fixed scale to avoid the usual distortion created by normalization.
Moreover, I chose JMA, T3, Hann Window and Super Smoother, because JMA and T3 are the bleeding-edge MA's at the moment with the best balance of lag and responsiveness. Additionally, I chose Hann Window and Super Smoother because of their extraordinary smoothing capabilities and because Ehlers favours them.
Furthermore, I decided to choose the half length of the dominant cycle instead of the full dominant cycle to make the indicator more responsive which is very important for a signal emitter like Z-score. Signal emitters always need to be faster or have the same speed as the filters they are combined with.
Usage
The Z-score is a low timeframe scalper which works best during choppy/ranging phases. The direction you should trade is determined by the last trend change. E.g. when the last trend change was from bearish market to bullish market and you are now in a choppy/ranging phase confirmed by e.g. Chop Zone or KAMA slope you want to do long trades.
Interpretation
The Z-score indicator is a momentum indicator which shows the number of standard deviations by which the value of a raw score (price/source) is above or below the mean value of what is being observed or measured. Easily explained, it is almost the same as Bollinger Bands with another visual representation form.
Signals
B -> Buy -> Z-score crosses above lower band
S -> Short -> Z-score crosses below upper band
BE -> Buy Exit -> Z-score crosses above 0
SE -> Sell Exit -> Z-score crosses below 0
If you were reading till here, thank you already. Now, follows a bunch of knowledge for people who don't know the concepts I talk about.
T3
The T3 moving average, short for "Tim Tillson's Triple Exponential Moving Average," is a technical indicator used in financial markets and technical analysis to smooth out price data over a specific period. It was developed by Tim Tillson, a software project manager at Hewlett-Packard, with expertise in Mathematics and Computer Science.
The T3 moving average is an enhancement of the traditional Exponential Moving Average (EMA) and aims to overcome some of its limitations. The primary goal of the T3 moving average is to provide a smoother representation of price trends while minimizing lag compared to other moving averages like Simple Moving Average (SMA), Weighted Moving Average (WMA), or EMA.
To compute the T3 moving average, it involves a triple smoothing process using exponential moving averages. Here's how it works:
Calculate the first exponential moving average (EMA1) of the price data over a specific period 'n.'
Calculate the second exponential moving average (EMA2) of EMA1 using the same period 'n.'
Calculate the third exponential moving average (EMA3) of EMA2 using the same period 'n.'
The formula for the T3 moving average is as follows:
T3 = 3 * (EMA1) - 3 * (EMA2) + (EMA3)
By applying this triple smoothing process, the T3 moving average is intended to offer reduced noise and improved responsiveness to price trends. It achieves this by incorporating multiple time frames of the exponential moving averages, resulting in a more accurate representation of the underlying price action.
JMA
The Jurik Moving Average (JMA) is a technical indicator used in trading to predict price direction. Developed by Mark Jurik, it’s a type of weighted moving average that gives more weight to recent market data rather than past historical data.
JMA is known for its superior noise elimination. It’s a causal, nonlinear, and adaptive filter, meaning it responds to changes in price action without introducing unnecessary lag. This makes JMA a world-class moving average that tracks and smooths price charts or any market-related time series with surprising agility.
In comparison to other moving averages, such as the Exponential Moving Average (EMA), JMA is known to track fast price movement more accurately. This allows traders to apply their strategies to a more accurate picture of price action.
Inverse Fisher Transform
The Inverse Fisher Transform is a transform used in DSP to alter the Probability Distribution Function (PDF) of a signal or in our case of indicators.
The result of using the Inverse Fisher Transform is that the output has a very high probability of being either +1 or –1. This bipolar probability distribution makes the Inverse Fisher Transform ideal for generating an indicator that provides clear buy and sell signals.
Hann Window
The Hann function (aka Hann Window) is named after the Austrian meteorologist Julius von Hann. It is a window function used to perform Hann smoothing.
Super Smoother
The Super Smoother uses a special mathematical process for the smoothing of data points.
The Super Smoother is a technical analysis indicator designed to be smoother and with less lag than a traditional moving average.
Adaptive Length
Length based on the dominant cycle length measured by a "dominant cycle measurement" algorithm.
Happy Trading!
Best regards,
simwai
---
Credits to
@cheatcountry
@everget
@loxx
@DasanC
@blackcat1402
Indicator

Ehlers Combo Strategy🚀 Presenting the Enhanced Ehlers Combo Strategy 🚀
Hello Traders! 👋 I'm thrilled to share the latest version of the Ehlers Combo Strategy v2.0. This powerful algorithm combines Ehlers Elegant Oscillator, Decycler, Instantaneous Trendline, Spearman Rank, and introduces the Signal to Noise Ratio for even more precise trading signals.
📊 Strategy Highlights:
Ehlers Elegant Oscillator: Captures market momentum and turning points.
Ehlers Decycler: Filters out market noise for clearer trend signals.
Instantaneous Trendline: Offers a dynamic view of the market trend.
Spearman Rank: Analyzes market rank correlations for enhanced insights.
Signal to Noise Ratio (SNR): Filters out noise for more accurate signals.
💡 Key Features & Customizations:
Adaptive Length: Enable adaptive length based on the market's current conditions.
SNR Threshold: Set your desired SNR threshold for filtering signals.
Exit Length: Define the length for exit signals.
📈 Trading Signals:
Long Entry: Elegant Oscillator and Decycler cross above 0, source crosses above Decycler, source is greater than an increasing Instantaneous Trendline, Spearman Rank is positive, and SNR exceeds the threshold.
Long Exit: Source crosses below the Instantaneous Trendline after entering a long position.
Short Entry: Elegant Oscillator and Decycler cross below 0, source crosses below Decycler, source is less than a decreasing Instantaneous Trendline, Spearman Rank is negative, and SNR exceeds the threshold.
Short Exit: Source crosses above the Instantaneous Trendline after entering a short position.
📊 Insights & Enhancements:
Dynamic Length: The strategy adapts its length dynamically based on market conditions.
Improved SNR: Signal to Noise Ratio ensures better filtering of signals.
Enhanced Visualization: The Elegant Oscillator now features improved color coding for a clearer interpretation.
🚨 Disclaimer:
Trading involves risk, and this script should be used judiciously. It's not a guaranteed profit machine, but with careful use, it can be a valuable addition to your toolkit.
Feel free to backtest, tweak, and make it your own! Let's conquer the markets together! 💪📈
🚀✨ Happy Trading! ✨🚀
---
🙌 Credits:
A big shoutout to the original contributors:
@blackcat1402
@cheatcountry
@DasanC
Strategy

ATR_RSI_Strategy v2 with no repaint [liwei666]🎲 Overview
🎯 this is a optimized version based on ATR_RSI_Strategy with no-repaint.
Sharpe ratio: 1.4, trade times: 116 ,
trade symbol: BINANCE:BTCUSDTPERP 15M
you can get same backtesting result with the correct settings.
🎲 Strategy Logic
🎯 the core logic is quite simple, use ATR and RSI and SMA
1. when price is in high volatility ( atr_value > atr_ma);
2. wait for a break signal (rsi_value > rsi_buy or rsi_value < rsi_sell);
3. entry Long or Short,use trailing stop-loss to max security and percent TP to keep profit.
🎲 Settings
🎯 there are 7 input properties in script, but I only finetune 4 of them ( bold field below ),
you may change other parameter to get better result by yourself.
atr_length: length to get atr value
atr_ma_length : length of smoothing atr value
atr_ma_norm_min : atr_ma normalized min value, filter high volatility ranges
atr_ma_norm_max : atr_ma normalized max value, filter high volatility ranges
rsi_length : length to get rsi value
rsi_entry: 50 +/- rsi_entry to get entry threshold
trailing_percent: trailing stop-loss percent
🎲 Usage
🎯 the commission set to 0.05% , part of exchange the commission is less than 0.05% in reality,
but I will still use 0.05% in my next script.
🎯 this script use 50% of equity to size positions follow general script position,
you can adjust the value to fix size or 100% of equity to compare result with other strategy,
but I still suggest you use 5-10% of equity for each strategy in reality.
🎯any questions please comment below. if there are any words violate House Rule, please tell me below and i will revise immediately
don't want be hiddened again 😂😂
Additionally, I plan to publish 20 profitable strategies in 2023;
let‘s witness it together!
Hope this strategy will be usefull for you :)
enjoy! 🚀🚀🚀 Strategy

Indicator
