OPEN-SOURCE SCRIPT

Strong Fade Signals | ProjectSyndicate

1 360
▪️Strong Fade Signals catches the moment an over-extension runs out of fuel — price tears far beyond its own volatility envelope, exhausts the momentum crowd, then stops expanding — and fires the fade the instant the burst stalls. Markets stretch away from their mean in bursts: a candle drives two, three, four ATR past a volatility band, sucks in the breakout chasers at the worst possible price, then fails to push further and snaps back toward the average.

▪️That stalled burst is the event. The engine measures how violently and how far price has over-travelled as a 0–10 Setup Quality and fires AGAINST the burst — with the reversion, not with the stretch. Every setup gets a structural invalidation level beyond the burst extreme, fixed R-based targets, a 0–10 strength with a 1–4 star rank, and is tracked live on a full statistics dashboard — including honest stop-outs — so you can see exactly how the logic behaves on the symbol and timeframe you trade.

🧠 Burst Core — the core idea, expressed as a lifecycle: BAND ▸ BURST ▸ STACK ▸ STALL ▸ FADE. A moving-average basis wrapped in an ATR band defines what "normal" travel looks like. A burst happens when a bar's wick pokes beyond that band — the over-extension that runs past fair value and has to be paid for. The burst is allowed to keep expanding as long as each bar pushes further in ATR terms; the fade fires on the first confirmed bar where the previous reading was the peak and the current reading comes in smaller. Up-bursts flip to a SHORT, down-bursts to a LONG. Magnitude is measured in ATR beyond the band, the stall is evaluated on the bar's close, and detection runs on confirmed bars only — so a printed signal never disappears from the chart.

🔎 Six Basis Engines — you choose what price is over-extended from. EMA is the validated default on intraday gold and reacts fast enough to keep the band honest in a trend. SMA gives a slower, flatter reference that produces fewer but deeper bursts. HMA tracks aggressively for scalping timeframes, WMA and RMA sit between the two, and VWMA weights the basis by volume so the band respects where business was actually done. One switch changes the entire character of what the engine treats as over-extension, without touching the rest of the logic. Band width in ATR sets how far price must travel before a burst even begins to count.

🔋 Strength Anatomy — a burst is not just true or false; it is scored for how clean the fade setup is. The Setup Quality fuses seven reversion-native ingredients into a single 0–10 read: burst extension (how far past the band the move reached), stack height (how many ATR notches of over-travel accumulated), momentum exhaustion (how stretched RSI is at the peak), rejection wick (how decisively the peak bar was sold or bought back), trend fit (whether the basis slope agrees with the direction you are fading toward, or whether you are catching a knife), volatility regime (calmer conditions favour clean snap-backs over runaway expansion), and reversion room (how much distance there is between price and the basis to actually travel). Each ingredient carries its own adjustable weight and contributes to the 0–10 total, so you shape what qualifies through the weights and the gates rather than chasing a single number.

🎯 Structural Invalidation + R-Based Targets — the stop is anchored to the burst, not guessed. Burst Extreme, the default, places invalidation just beyond the peak bar's wick — the price that, if exceeded, means the exhaustion read was wrong and the move is still expanding — plus an ATR buffer for cushion. ATR Multiple and Swing Extreme are available for a fixed or structural stop instead. That distance is then clamped between an ATR floor and an ATR ceiling, so a stop never balloons into a wide one and the 1R target never collapses into a tight scalp.

▪️Targets run as clean R multiples, defaulting to 1R / 2R / 3R, or in Mean Reversion mode which places TP1 halfway back to the basis, TP2 at the basis itself, and TP3 half a band beyond it — with R-values measured from the real distances, so the statistics stay truthful rather than assuming a clean multiple. Every signal plots its complete Entry / SL / TP1 / TP2 / TP3 line set, labeled level prices, three graded profit zones and a stop zone, with a result label on exit — and every zone is drawn at the same fixed width in bars, so long and short tickets leave an identical, uniform footprint on every symbol and every timeframe.

⭐ 0–10 Strength with Star Tiers — every signal is labeled with its numeric strength, a star rank, and a tier ladder running MINIMAL → WEAK → MODERATE → STRONG → ELITE, so the raw quality of a setup reads at a glance without checking the number. Treat the strength as a cleanliness and confluence read for ranking and thinning setups — it describes how textbook a burst-and-stall is, not a guaranteed outcome. The Minimum Stars gate restricts what is taken and alerted, while the dashboard keeps tracking every tier in the background so you can see, on your own data, whether higher tiers actually convert better.

🎚️ Conviction Controls — a compact set of dials sets how serious a burst must be before it counts: the Minimum Stack Height (how many ATR notches of over-travel are required to fade at all), the Minimum Burst Magnitude in ATR, the rejection-wick requirement on the peak bar, the RSI exhaustion gate at 65 and 35, the Minimum Stars floor, the Alert Minimum Stars threshold, the ATR per stack step that defines how finely over-travel is graded, and the max-risk cap and min-risk floor that keep the stop sane. Long-only and short-only switches let you fade one side of the book. Tighten them for fewer, more violent over-extensions; loosen them for more activity. This is your main control over conviction versus frequency.

🧭 Single-Ticket Discipline & Honest Accounting — only one ticket is active at a time, and a 20-bar minimum spacing between signals enforces a hard gap between entries so one choppy, whipsawing session can't stack overlapping trades on top of each other. Resolution is SL-first pessimistic with honest partial-target accounting — if a stop is hit after TP1 or TP2, that partial result is booked rather than rounded up to a full win, and a stop and target touched on the same bar is always resolved as the loss. A time-stop closes any trade that neither targets nor stops within a generous window, so nothing sits open forever and the on-chart statistics track how the setups actually run to target.

📊 Live Statistics Dashboard — a non-intrusive panel tracks, in real time on your chart: the current status cycling through SCANNING → BURSTING → ARMED → IN TRADE, the live burst state and which side it implies, and the last signal with its star score. Seven live slider gauges show exactly what the engine is reading bar by bar even when no signal is present — extension in ATR, stack height, RSI, rejection percentage, trend fit, volatility percentile, and distance to the basis — feeding a composite SCORE gauge, so you can watch a setup build before it fires instead of being surprised by it. Below that: win rate, total closed trades, profit factor, average R per trade, cumulative total R, best-performing direction, long vs short win rate, current and max win/loss streaks, and a TP1 / TP2 / TP3 / SL outcome breakdown. A multi-timeframe burst-bias strip shows the current and two higher-timeframe fade biases at a glance, a Win Rate By Strength table breaks results out by star tier, and a Last Trades ledger lists the most recent exits with their signed R. Every filled trade that reaches an outcome is counted — winners and stop-outs alike — so the numbers are computed live from the real signals on your current symbol and timeframe, not a figure printed in a description.

🎨 Clean Themed Visuals — seven coherent palettes, all tuned for a black chart background — Aurora (the clean mint-and-rose default), Gold Noir, Bloomberg Amber, Ice Blue, Aqua Violet, Neon Magenta, and Institutional — shade the signal labels, the per-trade SL / TP ladder and graded zone boxes, the level tags, and the dashboard to one consistent look, so direction and quality read at a glance. Each fade prints a labeled FADE LONG or FADE SHORT signal with its strength, star tier, and stack height, and a hover tooltip carrying the full breakdown. An optional background tint marks maximum-stack extremes. A max-drawn-trades cap keeps only the most recent tickets on the chart while the statistics stay cumulative over the full history.

🔔 Detailed Alerts — fires on a Fade Long, a Fade Short, any fade signal, and on TP3 Hit, Partial TP Exit, and SL events, plus dedicated Extreme Up Burst and Extreme Down Burst alerts for maximum-stack over-extension, formatted for manual or automated use. The strength gate can restrict alerts to higher-conviction setups only.

🔧 Fully Customizable — every component is exposed: the basis source, basis type and length, ATR length, band width, ATR per stack step, max stack height, heat saturation, the closing-burst requirement and the bar-close confirmation switch; the minimum stack height, minimum magnitude, rejection-wick threshold, RSI gate and its levels, side permissions and the signal spacing; the stop basis and its swing lookback, ATR distance, stop buffer, max-risk cap and min-risk floor, the target ladder mode and its three R levels, the time-stop window, the universal zone width and the max historical tickets drawn; the minimum-stars gate, the alert threshold, and each of the seven strength weights; the dashboard position, size, gauge width, and every section toggle including the MTF strip and its two timeframes; all seven themes; and every signal label, star, line, box, level tag, and dashboard element.

🎯 Why this is different — most reversal tools flag an overbought oscillator or a long wick after the fact. This one treats the volatility over-extension and its exhaustion as the event, grades the over-travel in ATR notches rather than as a binary condition, scores how clean the burst-and-stall is across extension, stack, exhaustion, rejection, trend fit, regime and reversion room, and fires only when the burst stops expanding — catching the snap-back at its origin — then anchors invalidation beyond the burst extreme, ranks every setup on an objective 0–10 scale, and layers a live dashboard whose sliders let you watch the engine think in real time while counting stop-outs in full. You tune and judge it on real, current data from your own chart instead of a marketing number.

🚀 Where to use it — the engine was built and tuned on XAUUSD (gold) on intraday timeframes, where violent over-extensions and rapid mean reversion are a constant feature — but the mechanics are symbol-agnostic and rest on universal behaviour: every liquid market over-travels its own average and pays for it. It can be applied to FX majors and crosses, metals, indices, and crypto on intraday timeframes, with the ATR band and ATR-based stop adapting to each instrument's volatility. Because it fades exhaustion, it shines in ranges, at session extremes, and after news spikes, and demands more care in violent one-way trends where a burst can keep expanding rather than stall — the Trend Fit weight and the dashboard's tier table are there to tell you whether the logic suits the pair and timeframe before you commit.

🎯 How to trade it

▪️Apply it to a liquid symbol on an intraday timeframe and let the dashboard populate. Read the live win rate, profit factor, and average R for your symbol and timeframe first — if the logic doesn't suit that market, you'll see it.
Watch the sliders while the status reads BURSTING or ARMED — you can see extension, stack and exhaustion loading before anything prints, which tells you a fade is brewing rather than ambushing you.

▪️Wait for a labeled FADE LONG / FADE SHORT signal — it marks a confirmed close where the over-extension peaked and stopped expanding, with the strength, star tier, and full Entry / SL / TP1 / TP2 / TP3 already plotted.

▪️Read the star tier and the stack height for a fast conviction check — a deep stack with a decisive rejection wick and a higher tier means a more textbook fade.

▪️Manage the trade with the plotted levels — the ATR-clamped stop sits beyond the burst extreme and defines your risk, and TP1/2/3 sit at your chosen R multiples or at the band-to-basis reversion ladder. Bank or trail however suits your style.

▪️Use the Minimum Stack Height, the Minimum Stars floor, the rejection-wick threshold, the RSI gate and the signal spacing to set your tempo — stricter for fewer, more violent over-extensions; looser for more activity.

⚠️ Important — this is a decision-support tool, not a standalone buy/sell system, and it makes no performance guarantees. Default settings were chosen on historical gold data and behaviour will vary by symbol, timeframe, session, and configuration; the dashboard's statistics are historical and descriptive, not a forecast, and are simulated without spread, commission or slippage. The trade model resolves stop-first and books partial-target exits honestly, so some trades close for a fraction of a target rather than a full win — these are counted in full, which is honest but means win rate alone is misleading; always weigh it together with average R and profit factor, and resize the R targets to your own risk profile. Signals confirm on the closed bar and require one further bar to prove the burst has stopped expanding — so always wait for the labeled fade on a closed candle. Because the system fades a move, a genuine trend leg or a burst that keeps expanding can run straight through a stop — combine it with your own analysis and risk management, and test it on your market before trading it live.

免責事項

これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。