Strong Prop Challenge Sim | ProjectSyndicateStrong Challenge Sim answers the one question every prop-firm trader pays to find out the hard way: with the edge you actually have, what are the odds you pass — and what kills you when you don't. Instead of a single pass/fail formula, it runs thousands of complete evaluations trade-by-trade and day-by-day, enforcing your firm's real rule set the way the firm enforces it: profit target, daily loss limit, maximum drawdown, minimum days, deadline, and consistency. Every simulated run is counted into exactly one outcome — passed, killed by the daily limit, killed by max drawdown, voided by the consistency rule, or out of time — so the buckets always sum to 100% and no losing run is hidden. The result is drawn as real equity curves on a real balance axis in its own pane, ranked on a two-panel dashboard, priced out in expected value, and audited against a pre-flight checklist — so you can see how the challenge behaves on your numbers before you pay a fee.
🎲 Monte-Carlo Core — the core idea, expressed as a lifecycle: EDGE ▸ TRADES ▸ DAYS ▸ RULES ▸ VERDICT. Your edge is defined per trade — win rate, reward:risk, average loss in R, risk basis and size, trades per day. The engine plays that edge forward one trade at a time, accumulates each day, and after every single trade it checks the rule stack in the same order a firm's risk system does: has equity touched the maximum-drawdown floor, has the day's loss breached the daily limit, has the profit target been reached, and have the minimum trading days been served. The drawdown floor itself is modelled three ways — Static from your starting balance, Trailing from the equity peak, or Trailing → locks once the floor reaches your starting balance — because that single rule changes the answer more than almost anything else. Phase 1, Phase 2, or both back-to-back. A deterministic seed makes every result reproducible; change it to draw a different sample.
📈 Equity Simulator — the whole point is to watch the runs, so the indicator lives in its own pane on a true balance axis rather than fighting your price scale. Up to eight complete simulated challenges are drawn as full equity curves, stretched across an adjustable width, each coloured by how it actually ended: green passed, orange died on the daily loss limit, red blew the maximum drawdown, blue passed the target but was voided by the consistency rule, grey ran out of time. Every curve prints its ending balance and outcome at its right edge, and the Target, Start, and Max-DD reference lines are labelled with their real money values — so you read the balances directly instead of guessing at the scale.
🧮 Edge Analytics — the deterministic maths behind the simulation, stated plainly: expectancy per trade in R and as a percentage of equity, theoretical profit factor, break-even win rate, your margin above or below it, the Kelly-optimal risk with a verdict on the risk you actually chose (conservative / aggressive / OVER-BET), and the estimated number of trades to reach target alongside the average the simulation really needed. If the edge is negative, this is where it shows up first — no number of simulations fixes maths that doesn't work.
⚙️ Execution Reality — the section most calculators pretend doesn't exist, and the reason backtests flatter you. Two costs are modelled explicitly. Spread and slippage are charged on every single trade in R, shrinking every winner and deepening every loser, because clean mid-price backtesting overstates performance. Execution Rate captures the gap between the strategy and the operator: the share of setups you actually take by the rules, with the remainder taken as marginal, late, off-rule entries at a degraded win rate. The panel then shows your Backtest WR → Real WR and the exact R your edge loses to costs and execution. Improving execution is frequently worth more than optimising the strategy.
🧠 Loss-Streak Anchor — the psychological instrument. The engine records the longest run of consecutive losers in every simulation and reports the typical and worst streak you should expect, then converts the worst one into what it actually costs as a percentage of your account. This is the number that stops you revenge-trading on loss four when your own data says six is normal — and it is also a hard risk test: if your worst plausible streak costs more than the maximum drawdown, the challenge is unsurvivable at that risk size no matter how good the headline pass probability looks.
💰 Challenge Economics — a challenge is a purchase, so it gets priced like one. Enter the fee, whether it's refunded on first payout, your profit split, the profit you expect per payout cycle, and how many cycles you realistically expect to collect. The panel returns the expected number of attempts to pass, the total fees you should expect to spend getting there, your expected payouts, the net expected value of the whole venture, and the ROI on fees — flagged +EV or −EV. A 99% pass probability and a −EV verdict can coexist; this is where you find out.
📅 Profit Calendar — a day-by-day heat map of one sample run, up to thirty trading days, green for up days and red for down days with the intensity scaled to the size of the move and the P/L printed in each cell, plus that run's final outcome. It turns an abstract probability into a story you can read: where the drawdown hit, which day carried the account, and whether one outsized day is quietly setting up a consistency-rule violation.
⚖️ Rule-Profile Comparison — your identical edge run against six different rule sets side by side, showing target, daily limit, maximum drawdown and the resulting pass probability, with your own rules marked. Profiles are labelled by their actual numbers and drawdown type rather than by brand, because firm terms change and the rules are what the maths responds to. The same trader can be comfortably profitable under one rule set and mathematically doomed under another — this makes that visible before you choose.
🔥 Sensitivity Grid — an optional 5×5 heat grid re-running the simulation across a range of win rates and reward:risk ratios around your inputs, colour-graded by pass probability with your base case marked. It shows how fragile or robust your pass odds are: whether you sit on a plateau where a small slip still passes, or on a cliff edge where two points of win rate is the difference between funded and refunded.
✅ Readiness Checklist — the pre-flight audit, scored out of eight, every box ✓ before you pay: the edge is positive after costs, the sample behind your numbers is at least 100 trades, risk sits at or below half-Kelly, pass probability clears 50%, the worst loss streak is survivable inside the maximum drawdown, spread and slippage are actually modelled, execution rate is at least 85%, and the average drawdown per run stays inside the limit. Each item shows the value it was judged on, so a ✗ tells you exactly what to fix.
📊 Two-Panel Dashboard — the read-out is split into two panels so it fits on a normal screen. Panel A — Results carries the verdict with a pass-probability bar and a plain-language rating, the full failure breakdown by cause, time to pass as median / fastest 10% / average / slowest 10% with the average ending balance and net P/L, the loss-streak anchor, day extremes (average up day, average down day, gain/loss ratio, best and worst day), and your setup summary. Panel B — Edge & Economics carries edge analytics, execution reality, challenge economics, and the readiness checklist. Both panels, the calendar, the comparison and the grid can each be placed in any of nine screen slots at three text sizes, so nothing overlaps whatever else you run.
🎚️ Discipline & Behaviour Controls — rules you impose on yourself, tested rather than assumed. A daily profit lock stops the day after +X R; a circuit breaker stops it after −Y R. Tilt / revenge sizing models the classic killer: after a chosen number of consecutive losses, risk is multiplied — switch it on and watch the daily-loss failure rate climb. The consistency rule caps how much of total profit a single day may carry and voids passes that breach it, exactly as firms do. Variable R randomises win and loss sizes around your averages for extra realism.
🔔 Alerts — fires on a positive edge (expectancy above 0R after costs) and on a negative edge, the latter being the one that matters: it means the challenge maths does not work at your current inputs, regardless of how the curves happen to look.
🔧 Fully Customizable — every component is exposed: account size, currency symbol and phase; both profit targets, daily and maximum drawdown, drawdown type, minimum days, deadline, and the consistency rule with its threshold; win rate, reward:risk, average loss in R, risk basis (current equity / starting balance / fixed amount), risk size, trades per day, and the sample size behind your numbers; spread and slippage in R, execution rate, off-rule win rate, and tilt with its trigger and multiplier; the profit lock and circuit breaker; fee, refund, split, payout percentage and payout count; simulation count, seed, and R randomisation; curve count, curve width, reference lines and balance labels; and every panel, module, position and text size.
🎯 Why this is different — a pass-probability calculator gives you one number from a formula and stops. This runs the entire evaluation thousands of times under the firm's real rule stack, tells you not just whether you pass but precisely what kills you when you don't, charges you for spread and for the trades you don't take properly, hands you the loss streak you must be able to sit through, prices the attempt in expected value rather than hope, checks your readiness against eight objective boxes, and draws the whole thing as honest equity curves where every stop-out is counted. It is built to talk you out of a bad challenge, not into one.
🚀 Where to use it — the simulator is symbol- and timeframe-agnostic: it models your trading edge and your firm's rules, not the chart it sits on, so you can leave it on any instrument on any timeframe and the answer is the same. Load the chart you actually intend to trade for context, feed it the win rate and reward:risk from your own backtest or journal on that market, and set the rule inputs to your specific target firm — different firms' rules produce materially different answers from the identical edge.
🎯 How to use it
Enter your firm's rules exactly — target, daily limit, maximum drawdown, and above all the correct drawdown type, since Static, Trailing and Trailing → Lock are not interchangeable.
Enter your real edge from a real sample — win rate, reward:risk, average loss in R, risk per trade and trades per day — and set the sample size honestly. Under 100 trades, the checklist will flag your numbers as statistically meaningless, and it is right.
Set the execution reality before you believe anything — put your true spread and slippage in R, and set your execution rate to what you actually achieve, not what you intend. Watch Backtest WR → Real WR.
Read the verdict, then read why runs fail — the failure breakdown tells you what to fix. Daily-limit failures mean size or tilt; max-drawdown failures mean the edge or the risk; timeouts mean the target is out of reach in the time allowed.
Check the loss-streak anchor and the checklist before the pass probability — a 99% pass probability with an unsurvivable worst streak is a tail risk, not a green light.
Price it in Panel B — if the net expected value is negative, the challenge is a bad purchase however good the odds look.
Tune risk with the Kelly verdict and the sensitivity grid, and re-check the calendar for consistency-rule exposure if your firm enforces one.
⚠️ Important — this is a planning and decision-support tool, not a trading system, and it makes no performance guarantees. Every output is a probabilistic estimate derived entirely from the inputs you provide: the simulation cannot know your real edge, and garbage in is garbage out with three decimal places. Real markets are not independent coin flips — they cluster, trend, gap and change regime, while the model assumes each trade is an independent draw from your stated win rate, so treat the results as the mathematical shape of your challenge rather than a forecast of it. Pass probability is the headline and the least useful number on its own; weigh it against the failure breakdown, the loss-streak anchor, average drawdown and expected value. Rule sets vary between firms and change over time — verify every rule against your firm's current terms, particularly the drawdown type and any consistency requirement. No simulation, however honest, is a substitute for a tested edge and your own risk management. Indicator

Balanced Price Range (BPR) [TakingProphets]OVERVIEW
The Balanced Price Range (BPR) study identifies areas where two opposing fair value gaps overlap in price. It marks the shared region between an inverted fair value gap and the newly formed gap that caused the inversion, tracking these zones forward in time until they are invalidated.
PURPOSE AND SCOPE
-----------------------------------------------------------------------------------------------
This study is intended for analytical and educational use. It automates the visual identification of overlapping gap regions so that a chart reader does not need to manually measure where two opposing fair value gaps intersect.
The study does not generate trade signals, recommendations, or forecasts. All markings are analytical references only.
LOGIC STRUCTURE
-----------------------------------------------------------------------------------------------
The study first identifies standard fair value gaps.
When an existing fair value gap is inverted by a confirmed candle close through it, the study checks whether the move responsible for that inversion also formed a new fair value gap in the opposing direction.
If it did, the study calculates the overlapping price region shared by the original gap and the newly formed opposing gap. That shared region is the Balanced Price Range.
If the two gaps do not share any overlapping price, no zone is drawn.
A bullish gap inverted downward by a bearish gap produces a bearish Balanced Price Range. A bearish gap inverted upward by a bullish gap produces a bullish Balanced Price Range.
A zone is invalidated when price closes back through it against its direction. A bearish zone is invalidated on a confirmed close above the zone high. A bullish zone is invalidated on a confirmed close below the zone low. Invalidated zones are removed from the chart and are not restored.
All state transitions require a confirmed bar close. Wicks and intrabar movement do not trigger detection or invalidation.
COMPONENTS AND VISUALS
-----------------------------------------------------------------------------------------------
Balanced Price Range zones are drawn as boxes spanning the overlapping price region and extended forward in time.
Bullish and bearish zones are styled independently.
An optional gradient renders each zone in graded bands at the zero, twenty five, fifty, seventy five, and one hundred percent levels of the zone, each with independent color, style, and thickness settings.
Optional labels identify each zone as a Balanced Price Range, positioned outside the lower right of the zone, with selectable label sizes.
INPUT CATEGORIES
-----------------------------------------------------------------------------------------------
General settings control detection sensitivity, minimum zone sizing, and how many zones are displayed on the chart.
Style settings control zone colors, gradient bands, label visibility, and label sizing for bullish and bearish zones independently.
USAGE GUIDELINES
-----------------------------------------------------------------------------------------------
This study is intended as a contextual reference for observing how price interacts with regions where opposing gaps overlap.
Zones may be used as study markers for observation and journaling. They are not entries, exits, or targets.
The study is designed for use alongside a reader's own analysis rather than in isolation.
OPERATIONAL NOTES AND LIMITATIONS
-----------------------------------------------------------------------------------------------
Because the overlapping region is by definition smaller than either source gap, zones can be narrow on lower timeframes. The minimum sizing filter is provided to manage this.
Detection depends on confirmed closes, so zones appear only after the relevant candle has closed.
Historical and real time behavior may differ in appearance as bars confirm.
Past chart behavior does not indicate future behavior. This study describes structure that has already formed.
ORIGINALITY AND ATTRIBUTION
-----------------------------------------------------------------------------------------------
This implementation is original code. The underlying concepts of fair value gaps, gap inversion, and balanced price ranges are widely discussed within the trading education community and are not claimed as proprietary.
TERMS AND DISCLAIMER
-----------------------------------------------------------------------------------------------
This study is provided for educational and analytical purposes only. It does not constitute financial advice, investment advice, or a recommendation to buy or sell any instrument.
Trading involves substantial risk of loss. Any decisions made are the sole responsibility of the user. Indicator

Quiet Period Box with Key Earnings LevelThe green box is the new programming for the "Quiet Period" to show when a company doesn't comment on anything about the prospects for the company which means that analysts can have an undue influence on the stock price during the quiet period.
Once the company reports earnings, a "Green Triangle" is created to include the day before and the day after the earnings announcement to then reveal the important price level, or "Key Level" which is the mid-point of this price action around the earnings release.
How to USE the indicator: The interesting part of this analysis is how these reference price levels have an influence in the future trading of shares. If a stock is in a bullish trend, the mid-point of the earnings release is the ideal, low-risk point to enter long with a stop 1, 2 or 3 ranges on the other side of the "Key Level" in case it doesn't work out. The target can be a variety of techniques from using the width of the "quiet period" range added to the "earnings level" to derive a price target.
The inverse would also be true. If the general trend of a stock was down, the mid-point of the 'earnings level' would provide supply and stop the price advance after a down move on earnings. You can see for yourself looking back over the history of the stock whether or not this method would be a profitable approach or not.
What I like is having the knowledge of where the important levels are on a stock chart so when the price gets there I can then decide whether or not to take a trade. You can set alerts on the "earnings level" and the highs and lows of the "quiet period" box to alert you to when a stock is worth looking at.
Over a year ago, I made the "Earnings Level" free to all users here at PulseWire after keeping it a fee-based private indicator for close to 10 years. I feel a great debt of gratitude for PulseWire for creating this wonderful platform for all of us to share ideas and I wanted everyone to have this powerful indicator to help investors and traders alike.
Now with this "Quiet Period" box publication, the patterns in the chaos of market action can be more easily found and you can be more at peace with the volatility in each stock when you can see the stock has been in a pre-defined time-zone for comparison.
Wishing you all the best of good fortune in your investing and trading and I look forward to hearing your questions.
A huge thank you goes to Ivan Labrie here at PulseWire @IvanLabrie for writing the code for this indicator. He is a champion of technical analysis and the many methods of the Time@Mode, Key Earnings, Risk, Reward, Psychology, Trend and options strategies.
Indicator

Volumetric Sweep Gravity Engine [PhenLabs]📊 Volumetric Sweep Gravity Engine
Version: PineScript™ v6
📌 Description
The Volumetric Sweep Gravity Engine detects true liquidity stop-hunts and only keeps the ones backed by real volume absorption. Instead of marking every wick beyond a swing, VSGE scores each sweep with volume expansion, wick geometry, and a candle delta proxy — then projects a Fibonacci golden-zone magnet where price is most likely to get pulled next.
Traders get a clean, high-contrast chart: absorption boxes that intensify with score strength, gold-tinted gravity zones, dotted magnet lines, dual glow signal markers, and a live PhenLabs command dashboard. Built for fast visual reads on crypto, indices, FX, and metals without clutter.
🚀 Points of Innovation
Triple-factor absorption score (volume × wick ratio × delta proxy) filters weak fake sweeps
Liquidity pool tracking from confirmed swing highs/lows with ATR-buffered sweep rules
Automatic Fibonacci golden-zone gravity targets (0.618–0.786) after valid sweeps
Score-reactive zone transparency — stronger absorption draws hotter, more opaque boxes
Dotted magnet projection lines from signal price into the golden-zone midpoint
Live VSGE dashboard with bias, last event, ABS score, GZ magnet, BSL/SSL pools, and vol pulse
🔧 Core Components
Liquidity Pool Engine: Confirms swing highs (BSL) and swing lows (SSL), then watches for wick violations with optional close-back-inside stop-hunt logic
Absorption Scorer: Composites volume-vs-SMA, wick-to-body geometry, and signed volume delta into a 0–100 score with configurable weights
Gravity Projector: Measures the impulse leg and maps the 61.8–78.6 golden zone as the expected rebalance magnet
Visual Command Layer: Absorption boxes, golden zones, magnet lines, glow markers, pool rails, and a gold-framed dashboard
🔥 Key Features
Bullish and bearish volumetric sweep signals with min score gate
Optional EMA trend filter and ATR volatility floor to skip dead markets
Toggleable pool lines, absorption boxes, labels, bar coloring, and magnet lines
Max active zone cap to keep charts clean on lower timeframes
Alert conditions for bull sweeps, bear sweeps, and any sweep
Fully open-source Pine v6 with organized input groups and tooltips
🎨 Visualization
Neon triangle + soft glow circle markers tagged “VSGE” for screenshot-ready signals
Absorption boxes labeled with live ABS % and opacity scaled to conviction
Dashed golden-zone rectangles with centered GOLDEN ZONE text
Dotted gold magnet lines pulling toward the zone midpoint
BSL/SSL pool rails in bear/bull tints for structural context
Top-right dark dashboard with gold border, bias coloring, and vol pulse readout
📖 Usage Guidelines
Swing Lookback — Default: 5 — Range: 2-30 — Higher = fewer, more structural pools
Sweep Buffer (ATR mult) — Default: 0.05 — Range: 0-1 — Extra wick extension required beyond the pool
Require Close Back Inside — Default: true — Enforces classic stop-hunt reclaim closes
Min Sweep Wick (ATR) — Default: 0.15 — Range: 0.05-2 — Rejects tiny liquidity nicks
Volume SMA Length — Default: 20 — Range: 5-100 — Baseline for absorption volume
Absorption Volume Mult — Default: 1.4 — Range: 1-5 — Minimum volume expansion vs SMA
Min Wick/Body Ratio — Default: 1.5 — Range: 0.5-10 — Ensures rejection-style geometry
Min Absorption Score — Default: 55 — Range: 0-100 — Composite gate for signals
Golden Zone Low/High (Fib) — Default: 0.618 / 0.786 — Retracement band for gravity targets
Impulse Lookback Bars — Default: 8 — Range: 3-40 — Bars used to size the impulse leg
Max Active Zones — Default: 6 — Range: 1-20 — Limits drawn boxes/lines/labels
EMA Trend Filter — Default: off — Optional 200 EMA directional gate
Min ATR Volatility Filter — Default: on — Skips low-volatility chop vs ATR SMA
✅ Best Use Cases
Intraday liquidity-grab reversals on crypto, Nasdaq, Gold, and major FX pairs
Confirming stop-hunts before entering toward the golden-zone magnet
Filtering pure wick noise by requiring volumetric absorption
Screenshot-friendly SMC setups for education, social posts, and journal reviews
⚠️ Limitations
Delta is a candle-geometry proxy, not true bid/ask order-flow data
Pivot pools confirm with lag equal to the swing lookback
Golden zones are probabilistic magnets, not guaranteed fill targets
Dense lower-timeframe charts may need higher min score or lower max zones
💡 What Makes This Unique
Fuses liquidity sweeps + volumetric absorption scoring + Fibonacci gravity in one engine — a combination missing from pure sweep or pure Fib tools
Score-reactive visuals make conviction readable at a glance for SEO screenshots and live trading
PhenLabs-style command dashboard turns structure, score, and magnet price into a single decision panel
🔬 How It Works
Map liquidity pools from confirmed swing highs (BSL) and swing lows (SSL)
Detect sweeps when price wicks beyond a pool by ATR buffer and optionally closes back inside
Score absorption using volume expansion, wick/body geometry, and signed delta proxy
If score clears the minimum gate, draw the absorption box and project the 0.618–0.786 golden gravity zone with a magnet line
Update the live dashboard (bias, last event, ABS score, GZ magnet, pools, vol pulse) and fire alerts
💡 Note:
Use VSGE as a confluence layer with your own risk rules, higher-timeframe bias, and position sizing. This is an analytical aid for studying liquidity and absorption behavior — not financial advice. Indicator

Multi-Timeframe Trend Matrix [JOAT]Multi-Timeframe Trend Matrix
Reads several timeframes with several methods at once and scores their agreement into a single alignment signal — without lookahead.
What it is
Trading a single timeframe blinds you to the larger context; watching many by eye is slow and inconsistent. This indicator evaluates a grid of timeframes and trend methods, turns the whole grid into one alignment score, and signals when top-down agreement forms. It is an original multi-timeframe aggregation tool built to avoid the common pitfalls of higher-timeframe requests.
How it works
• The matrix — a set of higher and lower timeframes is each assessed by several independent trend methods (such as a moving-average relationship, a directional trend measure and a momentum read). Each cell of the grid returns simply bullish or bearish, so the picture is easy to interpret.
• No lookahead — every higher-timeframe value is pulled with lookahead disabled, so the indicator never borrows future data from an unclosed higher-timeframe bar. This is a deliberate, disclosed design choice that keeps the signals honest and non-repainting on historical bars.
• Alignment score — the grid is condensed into one signed score representing how strongly all timeframes and methods agree. Full agreement produces a strong reading; a split grid produces a weak, near-neutral one.
• State-machine signals — a Buy fires when alignment turns sufficiently bullish from a non-bullish state; a Sell is the mirror. Requiring a state change means the matrix will not re-signal the same direction repeatedly — the signals are self-spacing.
Trade levels
Each signal draws a red risk box to the ATR stop and a green reward box to the third target, with inner dividers and right-edge labels for entry, stop and each take-profit at your R multiples.
The dashboard
An adjustable alignment-matrix panel displays every timeframe-by-method cell as bullish or bearish, a bipolar alignment-score headline, the active signal, a conviction estimate, and a live first-target-before-stop tally from closed bars only. The grid shows exactly which timeframes agree and which disagree.
How to use it
• Works on any asset; pick a base timeframe and let the grid supply the higher-timeframe context.
• Favour entries when the grid is broadly aligned; be cautious when it is mixed.
• Use it as a top-down filter alongside your own entry method, or take its aligned signals directly.
Settings
The set of timeframes, the methods and their lengths, the alignment threshold, ATR risk multiple and target R multiples, plus visual and dashboard controls.
Originality and usefulness
The contribution is the aggregation framework: a disciplined, lookahead-free multi-timeframe, multi-method grid condensed into one transparent alignment score with a state-machine trigger. Seeing the full grid — not just a final arrow — is what lets a trader trust or override the signal for themselves.
Notes and limitations
• Higher-timeframe values update only as those bars close, so alignment can shift when a higher-timeframe bar completes — this is expected and prevents lookahead bias.
• Strong alignment can still precede a reversal; agreement is context, not certainty.
• The tally reflects only past bars on the current chart and is not a forecast.
• Educational and analytical tool, not financial advice.
— made with passion by officialjackofalltrades
Indicator

Buy/Sell Signals [WynTrader]Buy/Sell Signals
Hello dear Friend
Here is my Buy/Sell Signals indicator that may help you easily run a Buy/Sell backtest Strategy, seeing, at a glance, performance results.
█ OVERVIEW
This indicator identifies trend changes and generates Buy/Sell signals as accurately as possible. Its strength lies in the results Table, which lets you evaluate signal performance directly on the chart — compared to a simple Buy & Hold strategy — without running a full backtest.
█ CONCEPTS
This Buy/Sell Signals , compared to other tools that detect trend shifts, is simple, easy to use, and demonstrates its efficiency on its own, at a glance.
The Table results allow you to quickly evaluate signal performance, both on their own and compared to a Buy & Hold strategy. The Table calculations are fully s ynchronized with the visible chart (WYSIWYG – What You See Is What You Get). You can also scroll the chart across different date ranges to see how a stock or product performs under various market conditions.
You can adjust the variables to suit your goals. The design is simple, with clear parameters and instant readability of Buy/Sell Signals on the chart and in the Table results, without complex interpretation needed.
A Table shows the effectiveness of the signals on the current visible chart, providing immediate, realistic feedback performance. The Buy & Hold strategy results are also included for comparison with the Buy/Sell swing strategy. The Buy & Hold results start from the first Buy signal to ensure a fair comparison. Changing the parameters instantly updates the Table, giving a quick, immediate performance check.
█ FILTERS (Buy/Sell parameters)
This indicator generates Buy/Sell signals using optional and adjustable filters:
- Bollinger Bands Lookback Trend Filter
- High-Low vs Candle Range Threshold %
- Distance from Fast and Slow MAs Threshold %
Results are displayed in a Table on the chart, based on the currently visible start and end dates.
█ TABLE RESULTS (Buy/Sell signals performance)
The Results Calculation presented in the Table is based on the Current Chart Visible Range . The Table shows the:
- Calculation Results of the Buy and Sell Signals activated on the chart
- Number of Trades (Signals)
- Winning Points
- Win Rate %
The Buy & Hold calculation starts at the first Buy encountered.
█ CAUTION
The Graal Indicator, even with AI, doesn't exist yet — maybe one day, but not now — depending on the chart product, volatility, probabilities, and unpredictable market behaviour. Don't rely on this tool to make trade decision, it's only a tool to, maybe, help assess a change of trend.
Seeing Buy/Sell signals on a chart is appealing, but assessing their performance in a Table makes it even more convincing — and without running a full backtest, you get a clear overview of performance immediately.
█ WYNTRADER
My name is WynTrader. I cumulate 24 years of experience. In 2001, I took an intensive technical analysis course taught by an exceptional friend, Cyril, who taught me everything I know.
After testing thousands of PulseWire indicators over these 24 years, I've found none to be 100% accurate all the time. This Buy/Sell Signals indicator may outperform some others but is still not perfect. So, just be aware, and don't be fooled by this tool.
Enjoy!
WynTrader Indicator

Supply & Demand Order Blocks [JOAT]Supply and Demand Order Blocks
Detects institutional order blocks from displacement, tracks them until mitigated, and signals reactions when price returns to a fresh zone.
What it is
Large participants cannot fill size at a single price, so they leave a footprint: the last opposing candle before an aggressive, imbalanced push. That candle marks the zone where unfilled orders rest and where price often returns to be re-accumulated or re-distributed. This indicator locates those zones objectively, manages their lifecycle, and frames the reaction as a trade. It is an original order-block engine with strict zone management.
How it works
• Displacement — the engine measures each impulsive leg over a short window against an ATR multiple. Only moves that exceed that threshold (optionally requiring a fair-value gap) count as institutional displacement, filtering out ordinary candles.
• Order block — the last opposing candle before a qualifying displacement is stored as a zone: the last down candle before a bullish push becomes demand, the last up candle before a bearish push becomes supply.
• Zone management — active blocks are held in parallel arrays, drawn as boxes extended to the right, faded by age and saturated by displacement strength, pruned once mitigated (price closes through them), and capped at a live maximum so the chart stays clean.
• Signals — a Buy fires when price taps a fresh demand block and closes back up (a bullish rejection); a Sell is the mirror at a supply block. An optional trend filter keeps you buying demand in uptrends and selling supply in downtrends, and a minimum-age plus minimum-gap rule stops a freshly formed block from self-triggering and prevents clustering.
Trade levels
Each signal draws a red risk box from entry to a stop placed beyond the block and a green reward box to the third target, with inner dividers and right-edge labels for entry, stop and each take-profit at your R multiples.
The dashboard
An adjustable order-flow-depth panel shows the trend bias, the live counts of demand and supply blocks, the distance to the nearest zone, a conviction estimate, the active signal, and a live first-target-before-stop tally from closed bars only.
How to use it
• Works on any asset and timeframe; larger timeframes produce fewer, more significant blocks.
• Trade reactions at fresh, unmitigated zones aligned with the trend filter; treat mitigated zones as spent.
• Use the nearest-zone distance to anticipate where a reaction may occur before it happens.
Settings
Displacement window and ATR size, fair-value-gap requirement, maximum live blocks and extension, minimum block age, trend filter length, risk buffer and target R multiples, plus visual and dashboard controls.
Originality and usefulness
The contribution is the full lifecycle model: an ATR-based displacement filter, objective block selection, age-and-strength-aware zone rendering, mitigation-based pruning, and a self-trigger guard — combined with a trend-filtered, non-repainting reaction signal and explained end to end.
Notes and limitations
• Not every tap of a zone reverses; blocks can and do break, which is why mitigation pruning and stops exist.
• Order-block definitions vary between traders; this engine uses one consistent, disclosed definition.
• The tally reflects only past bars on the current chart and is not a forecast.
• Educational and analytical tool, not financial advice.
— made with passion by officialjackofalltrades
Indicator

ICT Killzones & Key Levels -DST- By SpartanICT Killzones & Key Levels -DST- By Spartan
This tool brings together the reference levels that ICT-style session traders build their bias around, so you are not stacking four or five separate indicators on one chart to get them. Killzone session ranges, their pivot highs and lows, Fibonacci retracements of each session's range, and the higher-timeframe opens, highs, lows, and time markers that traders use to judge context all come from the same underlying session and time data. Keeping them in one script means they stay in sync with each other and with the timeframe/timezone settings you choose, instead of drifting apart the way separately-configured indicators can.
This indicator's strongest feature is the automatic daylight saving time adjustment for each session as it uses real time zones of each session and adjusts automatically rather than having to change them each time the clock is changed anywhere
WHAT IT DOES
Killzone sessions
Draws boxes around the Asia, London, and New York killzone sessions. Each session's time range is entered in that session's own local time (UTC for Asia, Europe/London for London, America/New York for New York) and automatically adjusts for daylight saving, so you never have to manually shift the input twice a year.
Pivots
Marks each session's high and low as extending lines, with optional labels showing price. Pivots can extend until price mitigates them or continue past mitigation, and can alert you when a session high or low is broken.
Fibonacci levels (new in this version)
Each session can independently plot 0, 0.25, 0.5, 0.75, and 1 retracement levels of its own range. These update live while the session is still forming and lock in place once the session closes, so you can watch how a session's midpoint and quartiles evolve in real time rather than only seeing them after the fact. Colors automatically match each session's own color so the chart stays readable.
Midpoints
Optional midpoint line for each session's pivot range, with the choice to stop tracking once price mitigates it or keep tracking through the session.
Killzone range table
An optional table showing each session's most recent range and its rolling average over a configurable number of past sessions, so you can gauge whether the current session is expanding or contracting relative to its recent history.
Day / Week / Month tools
Optional open lines, high/low lines, and separators for the daily, weekly, and monthly timeframes, each with independent alerting on high/low breaks.
Custom opening prices and timestamps
Up to eight custom time-of-day open markers (for marking things like true day open or other reference times you track) and four vertical timestamp lines, both independently configurable.
Day-of-week labels
Optional labels marking the start of each weekday on intraday charts, with the option to hide weekend labels.
HOW TO USE IT
Turn on the sessions you trade, set the killzone range and pivot options to match how you use highs/lows and mitigation, and enable Fibonacci levels on whichever sessions you want retracement context for. The killzone range table is useful for a quick read on whether the current session is unusually wide or narrow. The Day/Week/Month and custom time tools are there if you also reference higher-timeframe opens or specific times of day, but are fully optional and off by default so the chart stays clean if you only want killzones.
CREDIT AND ORIGINALITY
The killzone box, pivot, and DST-safe session-detection logic in this script is built on tradeforopp's open-source "ICT Killzones & Pivots" indicator. This version adds session-independent live-updating Fibonacci retracement levels (not present in the original), a reorganized and more clearly labeled settings panel, and several fixes to line/label handling in the underlying session logic. Published open-source in keeping with the license of the code it builds on.
This is a level-marking and context tool, not a signal generator or a strategy. It does not predict future price movement or guarantee any outcome; it plots historical and forming session data so you can build your own read of the market around it. Indicator

ARBF Strategy v1.8ARBF Strategy v1.8 — Asia Range Breakout Framework
ARBF Strategy is a structured Asia Range breakout strategy built for Gold, BTC/Crypto, and other high-liquidity markets.
The core idea is simple:
The strategy defines the Asia range, waits for a confirmed breakout after the range is complete, then manages the trade with a risk-based exit engine.
It is designed to test whether price expansion after the Asia session creates a tradable edge.
Core logic
The strategy uses:
Asia Range high / low detection
Breakout bias after Asia session
Optional London Opening Range confirmation
Optional 4H / 1D EMA20 HTF alignment
Risk-based position sizing
Partial take-profit engine
Break-even and lock-profit stop options
Optional trailing runner
Weekday filter
Entry time filter
Gold and BTC/Crypto market profiles
Backtest start/end date controls
Trade modes
A: Break
Raw Asia range breakout.
A trade is triggered when price closes above or below the completed Asia range during the allowed signal window.
B: ABLC
Asia Bias London Continuation.
This requires:
Asia breakout bias
London Opening Range completed
Break of London OR in the bias direction
Optional 4H / 1D EMA20 alignment
Exit engine
The script includes two exit modes:
Single TP
Classic fixed R:R take profit with optional break-even at +1R.
Scaled TP
Default structure:
TP1 at 1R
TP2 at 1.5R
TP3 at 2R
Optional runner with trailing stop
Optional SL behavior after TP1 and TP2
Stop options include:
Keep initial SL
Move to break-even
Lock TP1
Lock TP2
This allows testing whether partial profits and runners improve long-term expectancy.
Market profiles
The strategy includes automatic market profile handling:
Gold
Uses dollar-based Asia range filters.
BTC / Crypto
Uses percentage-based Asia range filters.
This prevents the common problem where Gold settings block all BTC trades because the BTC Asia range is naturally much larger.
Filters
The strategy includes optional filters for:
Weekday selection
Entry time window
Start and end backtest dates
Asia range size gate
HTF trend alignment
One trade per day
These filters are included to help isolate bad market conditions and avoid overtrading.
Recommended chart settings
For best testing:
Timeframe: 5-minute chart
Gold feed: OANDA XAUUSD
Crypto: major liquid perpetual/spot feeds
Execution: On bar close
Commission and slippage enabled
Use realistic capital and leverage assumptions
Important notes
This is a strategy backtest tool, not a signal service.
Backtest results depend heavily on:
Symbol
Feed
Timeframe
Spread
Slippage
Commission
Broker execution
Bar magnifier settings
Selected date range
Market regime
Past performance does not guarantee future results.
Always forward-test before using any strategy live.
Disclaimer
This script is for educational and research purposes only.
It is not financial advice.
Trading involves risk, and users are responsible for their own decisions, risk management, and execution.
Release notes v1.8
Added improved scaled TP engine
Added SL behavior after TP1 and TP2
Added optional TP3 trailing runner
Added fixed weekday filter logic using selectable timezone
Added entry time filter
Added automatic Gold / BTC-Crypto market profile handling
Added backtest window controls
Added dashboard status for filters, gate, TP structure, and trailing state
Improved risk-based position sizing
Improved Asia session handling for Bangkok time
Added support for cleaner strategy testing across Gold and Crypto markets Strategy

RSI Divergence Hunter [JOAT]RSI Divergence Hunter
Automatically detects the four classic RSI divergence types on confirmed pivots and frames each one as a trade.
What it is
Divergence between price and momentum is one of the oldest reversal and continuation reads, but marking it by hand is subjective and easy to force. This indicator detects all four divergence types algorithmically on confirmed pivots, so what you see is defined and repeatable, and then attaches a full trade structure to each. It is an original divergence engine, not a plain RSI plot.
How it works
• RSI core — the relative strength index measures the speed and size of recent moves. It is the momentum reference every divergence is measured against.
• Confirmed pivots — the engine waits for pivots on both price and RSI to confirm a set number of bars back before comparing them. Because pivots are only evaluated once confirmed, a plotted divergence does not repaint into or out of existence.
• The four types — regular bullish (price lower low, RSI higher low) and regular bearish (price higher high, RSI lower high) point to potential reversals; hidden bullish and hidden bearish point to trend continuation after a pullback. Each is drawn with a connecting line on both price and RSI and labelled by type.
• Zones and gating — overbought and oversold zones give context, and a minimum-gap control keeps divergence signals from stacking on lower timeframes.
Trade levels
Each qualifying divergence draws a red risk box to the stop and a green reward box to the third target, with inner dividers and right-edge labels for entry, stop and each take-profit at your R multiples. The stop is anchored beyond the pivot that formed the divergence.
The dashboard
An adjustable divergence-scope panel shows the current RSI value and zone, the most recent divergence type detected, the active signal, a conviction estimate, and a live first-target-before-stop tally from closed bars only.
How to use it
• Works on any asset and timeframe.
• Treat regular divergences as counter-trend reversal cues and hidden divergences as with-trend continuation cues — the distinction matters.
• Combine with structure or a trend filter; divergence works well as confluence, not in isolation.
Settings
RSI length and source, pivot strength, which divergence types to display, overbought/oversold levels, risk multiple and target R multiples, plus visual and dashboard controls.
Originality and usefulness
The contribution is a complete, confirmed-pivot detector for all four divergence classes with clear per-type labelling and integrated, non-repainting trade framing. By fixing the definition of a divergence and waiting for pivot confirmation, it removes much of the hindsight bias that makes manual divergence unreliable.
Notes and limitations
• Divergence signals can persist and reappear in strong trends; a divergence is a condition, not a timing guarantee.
• Confirmed pivots introduce a natural delay equal to the pivot strength — this is the cost of not repainting.
• The tally reflects only past bars on the current chart and is not a forecast.
• Educational and analytical tool, not financial advice.
— made with passion by officialjackofalltrades
Indicator

ORB & Session Liquidity Model [JOAT]ORB and Session Liquidity Model
Builds the opening range for your chosen session, maps the liquidity around it, and signals breakouts with session-aware trade control.
What it is
The first minutes of a session set a reference range that the rest of the session repeatedly reacts to. This indicator defines that opening range, tracks the liquidity sitting above and below it, and signals confirmed breakouts — with session timing, a daily trade cap and full trade framing built in. It is an original session-driven model, not a generic breakout line.
How it works
• Opening range — during a user-defined opening window (for example the first N minutes of your session), the tool records the high and low. Once the window closes, that range is locked as the reference for the rest of the day and drawn as a box.
• Session logic — the model resets cleanly each new day using a real session-change test, so counters and levels do not carry stale values across sessions. Trading is only permitted inside the active session window you define.
• Liquidity ladder — levels around the range (its extremes and projections) are drawn and labelled as the liquidity price is likely to seek. These give context for where a breakout may run to or reverse from.
• Breakout signals — a Buy fires on a confirmed close beyond the range high plus a buffer; a Sell on a confirmed close below the range low minus the buffer. A per-day maximum-trades cap and a minimum-gap control prevent the level from generating repeated prints as price oscillates around it.
Trade levels
Each breakout draws a red risk box to the stop and a green reward box to the third target, with inner dividers and right-edge labels for entry, stop and each take-profit at your R multiples. Stops relate to the range, which is the structure the trade is based on.
The dashboard
An adjustable session-console panel shows the current session phase (pre-range, range building, or live), the locked range, the directional bias relative to it, the trades used against the daily cap, the active signal, a conviction estimate, and a live first-target-before-stop tally from closed bars only.
How to use it
• Set the opening window and session to match the market you trade (indices, futures, forex sessions, crypto day boundaries).
• Wait for the range to lock, then trade confirmed breakouts in the direction of your bias; use the liquidity ladder for targets and invalidation.
• The daily cap keeps the model disciplined — respect it rather than overriding on every wiggle.
Settings
Opening-range window, session hours, breakout buffer, maximum trades per day, liquidity options, risk multiple and target R multiples, plus visual and dashboard controls.
Originality and usefulness
Opening-range breakout is a known concept; the contribution here is the integrated liquidity mapping around the range, the strict session reset and daily trade governance, the confirmed-close breakout logic, and the full non-repainting trade framing — assembled into one session-aware model and explained so each element's role is clear.
Notes and limitations
• Breakouts can fail, and range-bound sessions produce whipsaws around the levels — the buffer and daily cap reduce but do not eliminate this.
• Session settings must match the instrument; a mismatched window will define the range at the wrong time.
• The tally reflects only past bars on the current chart and is not a forecast.
• Educational and analytical tool, not financial advice.
— made with passion by officialjackofalltrades
Indicator

Indicator

TradeShaper Supply & DemandTradeShaper Supply & Demand
An inside-bar zone indicator that marks the supply and demand areas created when
price coils and then breaks — the inside candle's range becomes the zone, and the
zone stays live only until price returns to touch it.
The inside-candle formation this script keys off of is based on the supply and
demand methodology taught by Tr3ndy Jon (Jonathan McKeever). This is an
independent implementation of the concept, not affiliated with or endorsed by him.
HOW A ZONE IS BUILT
Three candles define the setup:
1. INITIAL — the candle that establishes the range.
2. INSIDE — the first candle whose close lands inside the initial candle's body.
Price may keep coiling for several bars, but the zone always anchors to this
first inside candle.
3. CONFIRMATION — a candle that closes beyond the initial candle. Close above the
initial high creates a DEMAND zone; close below the initial low creates a
SUPPLY zone. The confirming candle does not have to be the very next one; the
setup stays armed for a configurable number of bars.
The zone itself is the inside candle's full high-to-low range, wicks included.
READING THE ZONE
The EDGE is the side price approaches from — the low of a supply zone, the high of
a demand zone. Internal levels are drawn as a percentage of zone depth measured
inward from that edge, so 25% is always a shallow tag and 75% always deep,
regardless of which side you're on.
A zone is consumed the moment any later candle's wick enters it. Only untouched
zones stay on the chart. Zones project forward a fixed number of bars and stop
extending once a newer zone forms.
SETTINGS
Formation — inside-candle definition (close-inside-body or full inside bar), what
the confirming candle must close beyond, and how long a coiling setup stays armed.
Zone — forward projection, what happens when a wick enters a zone (delete or gray
out), and how many zones to keep per side.
Internal levels — any percentages you want (25/50/75 by default, or 38.2/50/61.8
for Fibonacci ratios), each with its own color.
Debug — marks the initial and inside candles and draws the exact levels a candle
must close beyond to confirm. Useful for verifying the logic against your own
reading of the chart.
Alerts fire when price tags a virgin supply or demand edge. Indicator

Indicator

SOL RSI Strategy [3Commas]SOL RSI Long Strategy
🔷 What it does:
This is a long-only DCA (Dollar-Cost Averaging) strategy for SOL / USDT that opens a position only in deep-oversold conditions and then averages down on a fixed safety-order ladder. A base order fires when 4h RSI(14) drops below 28; if price keeps falling, five averaging orders add to the position at fixed deviations from the base entry, each larger than the last. The full position is closed at a fixed take-profit above the blended average entry. There is no trailing exit and no stop loss — the position is structurally bounded by the five-order ladder.
- Single entry filter: 4h RSI(14) below 28 (deep oversold).
- Five averaging orders at fixed deviations (−2%, −5%, −9.5%, −16%, −25%) with 1.8× size scaling per rung.
- Fixed take-profit on the blended average entry; no trailing, no stop loss.
- Every fill and close emits a webhook-ready JSON alert payload for a DCA Bot.
🔷 Who is it for:
- Swing traders accumulating SOL on deep RSI flushes rather than chasing momentum.
- Bot operators who want a chart-driven signal source with base / safety-order / close webhook JSON ready to drive a DCA Bot.
- Traders comfortable with martingale-style averaging who size their capital to the worst-case ladder fill.
- Range / mean-reversion traders who prefer mechanical oversold entries over discretionary timing.
🔷 How does it work:
Entry (Base Order): On each closed 4h bar the strategy reads RSI(14). When RSI falls below 28 and there is no open position, it opens the base order at market (or limit, optionally) and dispatches the entry webhook.
Averaging Orders: Once in a position, the strategy watches price relative to the original base entry. The five safety orders are armed at fixed deviations from that base entry — not cumulatively — at −2%, −5%, −9.5%, −16%, and −25%. As each threshold is crossed on bar close, the corresponding averaging order fires. Order sizes scale 1.8× per rung ($900 → $1,620 → $2,916 → $5,249 → $9,448 from a $500 base), pulling the blended average entry down toward the latest fill.
Exit (Take Profit): While in a position, the strategy computes a take-profit price a fixed percentage above the current average entry. When price closes at or above that level, the entire position is closed at market and the close webhook fires. There is no trailing and no stop loss.
Capital Bounds: Total deployed capital cannot exceed the base order plus the five safety orders. Once all five averaging orders are filled, no further adds occur — the position simply waits for the take-profit. This ladder cap is the strategy's primary risk control.
🔷 Why it's unique:
- Deep-Oversold-Only Entries: A single, strict RSI(14) < 28 filter on 4h keeps the strategy out of the market in normal conditions and only commits capital after a meaningful flush.
- Fixed-Deviation Martingale Ladder: Safety orders are placed at fixed percentages from the base entry with deliberate 1.8× size scaling, so each rung has progressively more influence on the average — a transparent, fully-specified averaging schedule rather than an opaque adaptive grid.
- Full Webhook Chain: Base order, each safety order, and the close all emit dedicated JSON payloads. The strategy can drive a 3Commas DCA Bot end-to-end with no glue layer.
- On-Chart Transparency: The AO ladder, average entry, and take-profit target are plotted live, and the status table reports RSI, AOs filled, base/average entry, TP target, and max deployable capital — so the position state is always visible.
🔷 Considerations Before Using the Strategy:
Trade Volume — Below the Statistical Floor: The reference backtest produced 77 closed trades over ~30 months. This is below the ~100-trade threshold often used as a floor for statistical relevance, so treat the win rate and the profit factor as indicative rather than conclusive. The strict RSI < 28 filter is what keeps the trade count low.
Martingale Tail Risk: Order sizes scale 1.8× per rung, so the deepest fills are by far the largest. If SOL trends hard below the −25% AO5 level without recovering to take-profit, the position sits fully loaded with no further adds and no stop — unrealized loss can grow until price reverts. The 1.8× scaling amplifies both the recovery speed and the downside.
No Stop Loss Justification: There is no exit on adverse moves. Per-order risk is bounded by the fixed ladder allocation; aggregate exposure is capped at base + five AOs (≈ $20,633 on the default $100k account, ~20.6% of equity). Size the base/AO inputs down to match the worst-case exposure you are willing to hold.
Capital Deployment & Drawdown: The reference backtest reached a 5.53% maximum equity drawdown at default sizing — but that depends on the configured ladder fitting within SOL's observed swings. A deeper or more prolonged decline than the test sample would produce a larger drawdown.
Fees: The default commission (0.06% per trade) should be matched to your exchange's actual taker fees. With a fixed 3% take-profit the per-trade edge is modest, so a fee mismatch matters.
Demo Testing: Always demo-test before going live. Past results do not guarantee future performance, particularly for martingale-style averaging strategies whose risk profile is dominated by rare deep drawdowns.
🔷 STRATEGY PROPERTIES
Symbol: BYBIT:SOLUSDT.P (Perpetual) — strategy is portable to any SOL / USDT pair.
Timeframe: 4H (RSI sampled on 4h).
Test Period: January 1, 2024 — July 13, 2026 (~30 months).
Initial Capital: 100,000 USDT.
Base Order Size: 500 USDT.
Averaging Orders: 5, at −2% / −5% / −9.5% / −16% / −25% from base entry.
AO Sizing: 1.8× per rung — 900 / 1,620 / 2,916 / 5,249 / 9,448 USDT.
Max Deployed Capital: ≈ 20,633 USDT (~20.6% of equity, all AOs filled).
Commission: 0.06% per trade.
Slippage: 3 ticks.
Entry Filter: 4h RSI(14) below 28.
Take Profit: 3% above average entry.
Stop Loss: None — ladder allocation is the structural risk cap.
Trailing: None.
Strategy: Long Only.
🔷 STRATEGY RESULTS
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +5,178.77 USDT (+5.18%)
Max Equity Drawdown: 5,748.16 USDT (5.53%)
Total Closed Trades: 77
Percent Profitable: 67.53% (52 / 77)
Profit Factor: 4.582
🔷 How to Use It:
🔸 Adjust Settings: Open the strategy inputs and confirm the RSI level (28), the five AO deviations and sizes, and the take-profit percentage match your risk profile. Scale the base/AO sizes down for lower exposure.
🔸 Results Review: Run a full-period backtest and confirm Max Drawdown stays within your personal risk band — note this configuration reached 5.53%. Keep in mind the 77-trade sample is below the ~100-trade floor for statistical confidence.
🔸 Create alerts to trigger the DCA Bot: Add one alert on the strategy using "Any alert() function call". Paste your DCA Bot's webhook URL into the alert's Webhook field, and fill the Bot ID, Email Token, and Pair inputs on the script. The base order, each safety order, and the close will each emit a dedicated JSON payload.
🔷 INDICATOR SETTINGS
Base Order Size: Capital committed on the first (base) entry.
AO Deviations: Fixed percentage distances from the base entry where each safety order fires.
AO Sizes: Capital per safety order (1.8× scaling by default).
RSI Timeframe / Length / Level: Oversold filter for the base entry (default 4h, 14, below 28).
Take Profit (%): Distance above average entry where the full position closes.
Bot ID / Email Token / Pair: Webhook fields injected into every alert payload.
Visualization: Toggle the AO ladder, fill labels, avg/TP lines, and status table.
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas PulseWire account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Strategy

Trendline Architect [Quantum Algo]Trendline Architect
====================================================
🔶 OVERVIEW
Trendline Architect is an automatic trendline indicator that does what most trendline tools skip: it validates every line before drawing it, makes each line earn its status through real touches, grades every breakout by quality, and then automates the break-and-retest sequence that trendline traders normally track by hand. Lines are born as dotted candidates, promoted to solid confirmed trendlines only after the market validates them with a third touch, graded on breakout, kept on a retest watch after they break, and paired into parallel channels automatically — all with a deliberately quiet chart: one-letter signals whose full context lives in hover tooltips.
The problem this script solves is trendline spaghetti and trendline noise. Automatic trendline tools typically draw every pivot-to-pivot connection and alert on every violation. This engine rejects invalid lines at birth, refuses duplicates, caps how many lines can exist per side, silences the breaks of unproven lines by default, and filters weak breakouts by grade — so what remains on the chart is only what the market has actually respected.
🔶 WHAT IS A TRENDLINE BREAK AND RETEST?
A trendline connects successive swing points and acts as dynamic support or resistance while price respects it. A breakout occurs when price closes decisively through the line. The retest is what disciplined traders wait for next: price returning to the broken line from the other side and rejecting — old support acting as new resistance, or old resistance reclaimed as support. That return-and-reject is one of the most traded patterns in classical charting, and this engine detects the entire sequence automatically: validated line, graded break, watch window, confirmed retest.
🔶 WHY THIS SCRIPT IS ORIGINAL
1. Geometric validity at birth. A candidate line is rejected before it is ever drawn if any candle close violated the segment between its two anchor pivots. Lines that were never respected never reach the chart.
2. Touch-earned lifecycle. Every line starts as a dotted, untagged candidate. Each validated touch — a wick into tolerance with a close that respects the line — is counted, and only at the configured touch count is the line promoted: solid, thicker, fully colored, with a live ×N touch tag. The chart itself shows which lines the market obeys.
3. Anti-spaghetti engineering. Duplicate candidates with similar slope and position are refused, each side is capped at a configurable number of active lines with the weakest evicted first, and stale lines expire by age. The chart stays readable on every timeframe.
4. Breakout quality grading. Every breakout is scored from three observable components — volume z-score, penetration depth in Average True Range units, and breakout candle body ratio — into grades A, B, and C. Grade A signals highlight in the accent color.
5. A retest engine. Broken lines are not deleted; they turn into gray watch lines for a configurable window. A return to the broken line with a rejecting close prints the Retest signal — the classic polarity flip, automated.
6. Silence by default, depth on demand. Signals print as single letters — B for breakout, R for retest — with the full context (direction, grade, volume, penetration) in the hover tooltip. Two noise filters ship enabled: breaks of unconfirmed lines retire silently, and breakouts below a minimum grade stay off the chart and out of the alerts.
7. Automatic channel detection. When an active support line and resistance line run parallel within a slope tolerance, the engine fills the channel between them and reports it on the dashboard.
8. A live architecture dashboard. Active support and resistance counts, the nearest line with its distance in Average True Range units, a trend read derived from confirmed line slopes, the last break grade, the retest watch count, and channel status — in a compact, fully themeable panel.
🔶 HOW IT WORKS
Line construction: Confirmed swing pivots anchor every candidate line. Each new pivot is paired with the previous same-side pivot, the segment is checked for historical violations, duplicates are rejected, and side capacity is enforced before the line is created.
Touch validation: A touch counts only when the wick enters the tolerance band around the line and the close still respects it. Touches accumulate on the line's tag; the confirming touch promotes the line and, from that point, validated touches are marked with dots.
Breakouts: A close through the line beyond the buffer triggers the break. Confirmed lines produce graded signals; forming lines retire silently when the default filter is on. The broken line converts to a gray dashed watch line.
Retests: Within the watch window, a return to the broken line with a rejecting close prints R — upward reclaim of broken resistance, or downward rejection at broken support. Watch lines that see no retest expire quietly.
Channels: Active opposite-side lines are compared by slope; the closest parallel pair within tolerance is filled as a channel.
Non-repainting: Pivots require confirmation, and all touches, promotions, breaks, and retests are evaluated on closed bars only. Once printed, nothing moves.
Chart hygiene: Completed lines, touch dots, and signals are all capped by input, keeping the chart clean and the auto-scale anchored to current price.
🔶 HOW TO USE IT
1. Works on any market — cryptocurrency, forex, gold, indices, stocks, futures — and any timeframe. Raise the pivot length for larger structures.
2. Trust the visual hierarchy: dotted lines are candidates, solid lines with ×N tags are market-validated, gray dashed lines are broken and on retest watch.
3. Treat B signals as regime information: grade A breakouts with volume and penetration carry far more weight than the minimum-grade ones, and the grade is one hover away.
4. The R signal is the classic entry location: the broken line has flipped roles and price has confirmed the flip. Stops belong on the far side of the retested line.
5. Use the dashboard's Nearest row to know how far price is from the closest active line in Average True Range units before it gets there.
6. If you want the raw, unfiltered feed, disable the two noise filters in Signals — the engine detects everything either way.
🔶 SETTINGS
- Detection: pivot length, maximum anchor span, active lines per side, line expiry, completed lines to keep.
- Touches, breaks and retests: touch tolerance, touches to confirm, breakout buffer, retest watch window.
- Signals: breakout and retest toggles, confirmed-lines-only filter, minimum breakout grade.
- Channel detection with slope similarity tolerance.
- Full color customization, extension length, touch dots toggle.
- Themeable dashboard: position, four text sizes, title band, background, frame, grid, and three text colors.
🔶 ALERTS
- Trendline Confirmed — a line collected its confirming touch.
- Bullish / Bearish Trendline Breakout — a qualified close through a line, honoring the grade filter.
- Bullish / Bearish Retest Confirmed — a broken line was retested and rejected.
- Parallel Channel Detected — an active support and resistance pair is running as a channel.
🔶 FREQUENTLY ASKED QUESTIONS
Does the indicator repaint? No. Anchors are confirmed pivots and every touch, break, and retest is evaluated at bar close. Pivot confirmation introduces intentional lag equal to the pivot length.
Why do I see so few lines? By design. Between geometric validation, duplicate rejection, side caps, and expiry, only lines with genuine market respect survive. Raise the per-side cap or lower the confirmation count for a busier chart.
What do B and R mean? B is a graded breakout and R is a confirmed retest of the broken line. Hover either label for direction, grade, volume, and penetration details.
Why did a breakout print no signal? Either the line was still unconfirmed while the confirmed-only filter is on, or the break graded below your minimum. The line still changed state; only the signal was filtered.
What makes a grade A breakout? Elevated volume, deep penetration beyond the line in Average True Range terms, and a strong-bodied breakout candle — all three together.
🔶 CREDITS
Trendline analysis, breakout trading, and the break-and-retest pattern are classical charting techniques in the public domain, refined by generations of technicians. This script gratefully acknowledges that shared lineage. The geometric validity engine, touch-earned lifecycle, breakout grading model, retest watch engine, channel detection, noise-filtering architecture, and all code in this script are original work — no third-party or open-source script code was reused.
🔶 LIMITATIONS
Trendlines are geometry, not guarantees: valid lines break and graded breakouts fail. Pivot confirmation delays anchor recognition by design. Volume grading is less meaningful on symbols with unreliable volume reporting. Channel detection reports the closest parallel pair, not every possible channel. No indicator replaces independent analysis.
🔶 DISCLAIMER
This script is provided strictly for educational and informational purposes. It is not financial advice, an investment recommendation, or a solicitation to buy or sell any financial instrument. Past behavior of any trendline, breakout, or retest does not guarantee future results. Trading involves substantial risk. Always do your own research and manage risk independently.
Indicator

Indicator

Inversion Fair Value Gaps [iFVG] (Zeiierman)█ Overview
Inversion Fair Value Gaps (Zeiierman) identifies when traditional Fair Value Gaps (FVGs) fail and transition into powerful inversion zones.
A regular Fair Value Gap represents an imbalance where price moved aggressively in one direction, leaving behind inefficient trading. While many traders expect these gaps to act as support or resistance, not every imbalance survives. Some are broken, absorbed, and eventually become areas where the opposite side of the market gains control.
This indicator continuously tracks every valid bullish and bearish FVG. When price successfully closes through an existing FVG and later forms an opposing FVG within the user-defined pairing window, the overlapping imbalance is converted into an Inversion Fair Value Gap (iFVG).
Rather than treating every FVG equally, the indicator focuses on failed imbalances that demonstrate a genuine shift in market order flow.
⚪ FVG Detection
The indicator continuously scans price using the classic three-candle Fair Value Gap model.
A Bullish FVG forms when:
• Price leaves an upside imbalance.
• The third candle creates a gap above the first candle.
A Bearish FVG forms when:
• Price leaves a downside imbalance.
• The third candle creates a gap below the first candle.
Unlike many FVG indicators, every detected gap remains internally tracked so it can later evolve into an inversion.
⚪ Inversion Fair Value Gap Detection
Once an FVG is created, it enters an internal memory system.
If price later closes completely through that imbalance, the FVG is considered broken. Rather than immediately discarding it, the indicator temporarily remembers the remaining imbalance.
If an opposing FVG forms before the memory expires, both structures are combined into a new Inversion Fair Value Gap.
Bullish iFVG
• Bearish FVG is broken.
• Bullish FVG forms shortly afterwards.
• The overlapping imbalance becomes bullish support.
Bearish iFVG
• Bullish FVG is broken.
• Bearish FVG forms shortly afterwards.
• The overlapping imbalance becomes bearish resistance.
This process filters out many ordinary FVGs and highlights only those that demonstrate a meaningful transition in buying or selling pressure.
█ How It Works
⚪ Fair Value Gap Detection
The script continuously searches for valid bullish and bearish three-candle imbalances.
Each detected FVG is validated using:
• Minimum gap size.
• Optional fractal confirmation.
• ATR-based filtering.
Only valid gaps enter the internal tracking system.
bullGap = bullW or bullB
bearGap = bearW or bearB
bullValid = bullGap and bullSz >= gapAtr * minGap
bearValid = bearGap and bearSz >= gapAtr * minGap
⚪ Memory & Inversion Detection
Every valid FVG is stored until one of two events occurs:
• Price never breaks the gap, and it eventually expires.
• Price breaks the gap and an opposing FVG forms before the pairing window ends.
When both conditions are satisfied, the overlapping imbalance becomes a confirmed iFVG. This allows the indicator to detect genuine reversals rather than simply highlighting every imbalance.
⚪ Zone Management
Each zone continuously updates its internal state.
A zone may transition through several stages:
• Active
• Tested
• Mitigated
• Frozen
• Removed
Depending on user settings, mitigated zones can either disappear or remain on the chart as historical context.
⚪ Dynamic Zone Merging
Nearby live zones of the same direction can optionally be merged into a single visual area. This reduces chart clutter while preserving the original internal detection logic. The merged display affects visualization only.
⚪ Distance Filtering
Charts containing hundreds of historical zones can quickly become difficult to read.
The indicator can automatically hide zones that are farther than a user-defined ATR distance from the current price. Hidden zones continue to exist internally and become visible again if price returns. This improves chart clarity without affecting detection, memory, or alerts.
█ How to Use
⚪ Bullish iFVG Retest
After a bullish iFVG forms, price retraces back into the inversion zone before finding support and continuing higher.
Rather than chasing the initial breakout, traders can wait for the retest and look for long confirmation as price reacts from the bullish iFVG.
⚪ Bearish iFVG Retest
After a bearish iFVG forms, price retraces back into the inversion zone before finding resistance and continuing lower.
Instead of entering during the initial breakdown, traders can wait for the retest and look for short confirmation as price reacts from the bearish iFVG.
█ Settings
Minimum FVG Size: Minimum ATR-adjusted size required before a Fair Value Gap is accepted.
Enable Fractal Filter: Requires FVGs to form near confirmed swing highs or lows.
Fractal Length: Controls how large a swing must be before it is confirmed.
Maximum Distance From FVG: Maximum allowed distance between the confirmed swing and the FVG.
Pairing Window: Number of bars a broken FVG remains eligible to form an iFVG.
Delete Mitigated Zones: Removes mitigated zones or freezes them as historical references.
Mitigation Level: Select whether mitigation occurs at the 50% level or after a full fill.
Mitigation Source: Uses wick touches or candle closes to confirm mitigation.
Filter Distant Zones: Hides zones that are far away from the current price.
Maximum Distance From Price: Maximum ATR distance before zones become hidden.
Merge Nearby Zones: Visually combines nearby live zones of the same type.
Maximum Merge Distance: Controls how close zones must be before they merge visually.
Fade With Age: Gradually fades older zones while keeping newer zones more prominent.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Indicator

Strong Gold Signals | ProjectSyndicateStrong Gold Signals catches the moment a liquidity grab runs out of fuel — price stabs beyond a level, traps the breakout crowd, then rolls over — and fires the reversal the instant the sweep stops extending. Markets hunt the obvious highs and lows: a candle pushes through a prior swing, an HTF extreme, or a session high/low, spikes just far enough to trip the stops resting there, then rejects with a long wick and closes back showing the move had no follow-through. That failed grab is the event. The engine measures how clean and how loaded that sweep is as a 0–10 Reversal Strength and fires AGAINST the grab — with the snap-back, not with the trap. Every setup gets a structural invalidation level behind the sweep 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.
🧠 Sweep Core — the core idea, expressed as a lifecycle: LEVEL ▸ GRAB ▸ REJECTION ▸ STALL ▸ REVERSAL. A fresh liquidity level defines where stops are resting. A grab happens when price closes beyond that level with a rejection wick — the raid that runs the stops and then gets sold (or bought) back into range. The sweep is allowed to keep extending as long as it makes new extremes; the reversal fires on the first confirmed bar that fails to push past the sweep's high or low. Swept highs flip to a SHORT, swept lows to a LONG. Pivots come from confirmed swings and every condition is evaluated on the bar's close, so the structure and the signal do not repaint once they confirm.
🔎 Three Liquidity Sources — you choose what counts as the liquidity being swept. Macro Pivots uses confirmed swing highs and lows and is the validated default on intraday gold. HTF Previous Bar uses the prior higher-timeframe bar's high and low, so the engine hunts the levels bigger players watch. Session High/Low tracks the Asian, London, and New York ranges and reacts when a session extreme is raided. One switch changes the entire character of what the engine treats as a stop-hunt, without touching the rest of the logic.
🔋 Strength Anatomy — a sweep is not just true or false; it is scored for how clean the reversal setup is. The Reversal Strength fuses reversal-native ingredients into a single 0–10 read: trend context (how the higher structure frames the fade), rejection wick (how decisively the grab was rejected), volatility regime (calmer conditions favor clean snap-backs over runaway sweeps), mean proximity (how stretched price is from its baseline), and sweep depth (how far past the level the raid reached before stalling). Each ingredient carries its own weight and contributes to the 0–10 total, and you shape what qualifies through those weights and the wick threshold rather than chasing a single number.
🎯 Structural Invalidation + R-Based Targets — the stop is anchored to the sweep, not guessed. Invalidation sits just beyond the sweep extreme — the price that, if reclaimed, means the grab was real and the reversal failed — plus an ATR buffer for cushion. 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. TP1, TP2, and TP3 are set at clean R multiples, defaulting to a deliberately wider 1.5R / 3R / 5R so winners are given room to travel, and fully adjustable to your reward profile. Every signal plots its complete Entry / SL / TP1 / TP2 / TP3 line set, labeled level prices, the swept liquidity level itself, and filled TP / SL zone boxes, with a result label on exit — and every zone is drawn at the same fixed width, so short trades and long trades leave an identical, uniform footprint on the chart.
⭐ 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 sweep-and-reject 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 sweep must be before it counts: the Minimum Stars To Take (the tier floor to fire at all), the Alert Minimum Stars threshold, the Min Reversal Wick that defines a genuine rejection, the Pivot Length that decides which swings qualify as liquidity, the Stop Buffer beyond the sweep, and the max-risk cap and min-risk floor that keep the stop sane. Tighten them for fewer, cleaner reversals; 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 Signal Cooldown enforces a minimum gap between entries so one violent, choppy session can't stack overlapping trades. 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. 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 (scanning → trade active) and the active trade side, the last signal with its star score, win rate, total closed trades, profit factor, average R per trade, 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 trend strip shows the current and two higher-timeframe 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 outcomes. 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 — six coherent palettes, all tuned for a black chart background — Aurora (the clean mint-and-rose default), Gold Noir, Ice Blue, Aqua Violet, Neon Magenta, and Institutional — shade the signal labels, the per-trade SL / TP ladder and zone boxes, the swept-level and pivot-liquidity markers, and the dashboard to one consistent look, so direction and quality read at a glance. Each reversal prints a labeled GOLD LONG or GOLD SHORT signal with its strength, star tier, and direction. 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 Strong Long Reversal, a Strong Short Reversal, any reversal, and on TP3 Hit, Partial TP Exit, and SL events, formatted for manual or automated use. The strength gate can restrict alerts to higher-conviction setups only.
🔧 Fully Customizable — every component is exposed: the liquidity source and its pivot length, HTF resolution, session times and timezone, and the reversal-wick threshold; the ATR length, stop buffer, max-risk cap and min-risk floor, and the three R targets; the cooldown, the time-stop window, the uniform zone width, and the max historical trades drawn; the minimum-stars gate, the alert threshold, and each of the five strength weights; the dashboard position, size, and every section toggle including the MTF strip and its two timeframes; all six themes; and every signal label, star, line, box, level tag, and dashboard element.
🎯 Why this is different — most reversal tools flag a wick or a divergence after the fact. This one treats the liquidity grab and its exhaustion as the event, scores how clean that sweep-and-reject is across trend context, rejection, volatility, stretch, and sweep depth, and fires only when the raid stops extending — catching the snap-back at its origin — then anchors invalidation behind the sweep, ranks every setup on an objective 0–10 scale, and layers a live, honest statistics panel that counts 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 liquidity hunts, session raids, and stop-runs are a constant feature — but the mechanics are symbol-agnostic and rest on universal behavior: every liquid market sweeps its obvious highs and lows. It can be applied to FX majors and crosses, metals, indices, and crypto on intraday timeframes, with the pivot length and ATR-based stop adapting to each instrument's volatility. Because it fades exhaustion, it shines around session extremes and range edges and demands more care in violent one-way trends, where a sweep can keep extending rather than reject — let the dashboard 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.
Wait for a labeled GOLD LONG / GOLD SHORT reversal — it marks a confirmed close where liquidity was swept and rejected and the sweep has stopped extending, with the strength, star tier, and full Entry / SL / TP1 / TP2 / TP3 already plotted.
Read the star tier and the swept level for a fast conviction check — a decisive rejection at a clean level and a higher tier mean a more textbook fade.
Manage the trade with the plotted levels — the ATR-clamped structural stop sits beyond the sweep and defines your risk, and the wider TP1/2/3 sit at your chosen R multiples. Bank or trail however suits your style.
Use the Minimum-Stars floor, the reversal-wick threshold, the pivot length, the cooldown, and the liquidity source to set your tempo — stricter for fewer, cleaner reversals; looser for more activity — and lean on the star tier to focus on the most textbook grabs.
⚠️ 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 behavior will vary by symbol, timeframe, session, and configuration; the dashboard's statistics are historical and descriptive, not a forecast. 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; because the targets are intentionally wide, expect a lower headline win rate and 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 the pivot-based liquidity source confirms a few bars after a swing forms — so always wait for the labeled reversal on a closed candle. Because the system fades a move, a real breakout or a sweep that keeps extending 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. Indicator

Liq Sweep + CHoCH + OB InstantLIQ SWEEP + CHoCH + OB INSTANT
This script is a three-stage liquidity-trap detector that resolves a full smart-money sequence into a single confirmed entry, with no retest wait. It is not a collection of separate SMC tools stacked on one chart. It is one state machine in which each stage must validate before the next can arm, and only the completed sequence produces a signal.
WHY THE SEQUENCE MATTERS
Most liquidity-based scripts fire on a single event: a sweep, or a change of character, or an order-block tap. Each of those in isolation is noisy. Sweeps occur constantly without follow-through. CHoCH prints in chop with no displacement behind it. Order blocks form everywhere.
The idea here is that none of those events is treated as a signal on its own. They are treated as preconditions that must occur in order, within a defined window, all supporting the same directional thesis. The script formalizes the trap as a sequence and refuses to act until that sequence completes. A sweep with no CHoCH is discarded. A CHoCH with no identifiable order block produces nothing. Only the full chain fires.
HOW THE COMPONENTS INTEGRATE
STAGE 1 — LIQUIDITY SWEEP
Pivot-based swing highs and lows are tracked in rolling arrays. A sweep registers only when price wicks through a tracked level and closes back inside it, marking that resting liquidity above a high or below a low has been taken rather than genuinely broken. Each sweep opens a candidate setup and records the opposite-side structure level that will be watched next.
STAGE 2 — CHANGE OF CHARACTER
A candidate is promoted only if price then closes through that opposite structure level within a user-set lookback window. This is the directional confirmation: after buy-side liquidity is swept, a close below the prior swing low confirms reversal intent, and the mirror applies for the bullish case. Candidates that never produce a CHoCH inside the window expire and are discarded, so a stale sweep from fifty bars ago cannot fire later.
STAGE 3 — ORDER BLOCK AS ENTRY
On a confirmed CHoCH, the script scans back for the last opposing candle before the displacement move and marks that zone as the order block, along with its 50 percent midline. Because the sweep and the CHoCH have already validated the setup, order-block identification is treated as the entry trigger itself rather than waiting for a retest that may never come. The stop is placed beyond the swept level, since that level is what the setup is predicated on. The target is derived either from a configurable risk-to-reward multiple of the stop distance, or from an optional fixed-percentage mode.
The three stages are not independent indicators sharing a chart. Stage 2 cannot exist without Stage 1's swept level. Stage 3's scan window is anchored to Stage 2's displacement bar. The stop is defined by Stage 1's level. Removing any stage collapses the logic entirely, which is why they are integrated into one state machine rather than published as separate tools.
WHAT YOU SEE
Confirmed setups draw the swept-liquidity line, the accumulation zone spanning sweep to CHoCH, the highlighted CHoCH candle, and the order-block zone with its midline. Entries print a labeled trade box showing entry, stop, target and risk-to-reward. Exits are marked with the realized result as take-profit, stop, or time-based close. A status dashboard summarizes current stage, direction, swept level, active order block, setup counts, exit mode, position state, and trade management values.
SETTINGS
Structure — swing lookback for pivot detection, wick-sweep requirement, CHoCH lookback window.
Order Block — scan depth, minimum rejection-wick ratio, midline toggle, maximum zone age.
Trade Management — risk-to-reward ratio, stop buffer beyond the swept level, maximum bars in trade, cooldown between signals, RSI filter bounds, label toggles.
Exit Management — optional percentage-based take-profit and stop mode. Default behavior uses the risk-to-reward derived from the swept level.
Visuals — zone colors, ghost candles, dashboard, per-stage step labels.
HOW TO USE
Apply to a clean chart. Watch the dashboard stage indicator move from scanning, to sweep, to CHoCH as a setup builds. A trade box prints when the order block is identified on a confirmed bar. Tune the swing lookback and order-block scan depth to your instrument and timeframe. The tooltips include suggested starting ranges for futures and crypto. The risk-to-reward ratio controls target distance measured off the swept-level stop.
REFERENCE SETTINGS
The defaults are deliberately neutral. As a concrete starting point, these are the values I run on MNQ:
Swing Lookback 6
CHoCH Lookback 10
OB Scan Bars 50
Enable % Exit Mode: on
TP 0.25%
SL 1.0%
Max Bars in Trade 55
Cooldown Bars 3
These are a starting point for one instrument, not an optimized or recommended configuration, and they are not intended to suggest any particular outcome. Different instruments, timeframes and volatility conditions will call for different values. Treat them as a place to begin your own testing rather than a setting to adopt as-is.
NON-REPAINTING
All structure, sweep, CHoCH and order-block evaluations run on confirmed bar closes. Pivot detection uses right-side confirmation. Signals do not repaint once a bar has closed. Take-profit and stop levels are evaluated intrabar for realistic exit marking, while the entry itself is fixed on the confirmed bar that completes the sequence.
DISCLAIMER
For educational and informational purposes only. This is not financial advice, and nothing here is a guarantee of future results. Markets are uncertain and past behavior does not predict future behavior. Always do your own analysis and use proper risk management.
Indicator

ICT Atlas - Execution ToolkitICT Atlas — Liquidity Execution Toolkit
Use best with #ICTPulse
ICT Atlas is an execution-focused visual toolkit for discretionary ICT-style futures traders. It is designed to organize session liquidity, timed intraday windows, SMT divergence, liquidity sweeps, and post-sweep market structure confirmation in one workflow.
This script is not an automated trading system and does not issue buy or sell signals. Its purpose is to help traders visually follow a sequence of conditions often used in manual execution:
1. Identify session liquidity.
2. Observe whether liquidity is swept.
3. Check for SMT divergence.
4. Wait for market structure confirmation after the sweep.
5. Use the trader’s own entry and risk model.
How it works
The script tracks Asia, London, and New York sessions using the selected timezone. At the end of each session, it records the session high and low, then extends those levels to the right side of the chart. These levels are labeled as AH/AL, LH/LL, and NYH/NYL.
Liquidity sweep detection is based on price interacting with those stored session levels. The user can choose between a simple wick-touch condition or a stricter wick-and-close-back condition. This allows the trader to decide whether a sweep should mean only that price traded through a level, or that price traded through the level and then rejected back inside it.
The SMT module compares the active chart symbol with a user-selected comparison symbol. It uses pivot highs and pivot lows to detect divergence between the two markets. A bearish SMT condition appears when one market makes a higher high while the comparison market does not confirm. A bullish SMT condition appears when one market makes a lower low while the comparison market does not confirm.
The MSS/BOS confirmation module only becomes relevant after a liquidity sweep. After a valid high-side or low-side sweep, the script waits for price to break a recent swing level within the configured expiry window. This is intended to separate simple liquidity touches from situations where structure later confirms a possible shift.
The micro-box module highlights recurring intraday timing windows from :50 to :10 using the selected timezone. During each micro window, the script tracks the high, low, and midpoint of that window, allowing traders to study reactions around specific time-based execution windows.
Main features
* Asia, London, and New York session tracking
* Previous session high and low levels
* AH/AL, LH/LL, and NYH/NYL labels
* Liquidity sweep labels
* Wick-touch or wick-and-close-back sweep modes
* SMT divergence using a comparison symbol
* Post-sweep MSS/BOS confirmation
* ICT-style micro timing boxes from :50 to :10
* Optional alerts for sweeps and structure confirmation
* Adjustable colors, line widths, lookbacks, and object limits
How to use it
ICT Atlas is best used on lower timeframes such as 1-minute, 3-minute, and 5-minute charts.
Suggested workflow:
1. Mark the latest session highs and lows.
2. Watch for a sweep of Asia, London, or New York liquidity.
3. Check whether SMT divergence is present between the chart symbol and the comparison symbol.
4. Wait for MSS/BOS confirmation after the sweep.
5. Apply your own entry model, invalidation, and risk management.
This script is intended for educational and analytical use only. It does not provide financial advice, trade recommendations, or guaranteed outcomes. Futures and financial market trading involves risk.
Indicator

Quant Confluence Engine [JOAT]Quant Confluence Engine
Scores several independent market factors into one weighted composite, so signals fire on agreement across dimensions rather than on any single trigger.
What it is
Single-factor signals are fragile: a momentum cross, a moving-average flip or a volume spike each fails often on its own. This engine measures several independent factors, normalises them to a common scale, and blends them into one bipolar confluence score. A signal is produced only when enough factors line up, and the transparency of the score lets you see exactly why. It is an original scoring framework, not a bundle of overlaid classic indicators.
How it works
• The factors — the engine evaluates a set of complementary dimensions, each capturing a different aspect of the tape: trend alignment, momentum, volatility regime, volume behaviour, price structure and stretch relative to a mean. Each factor is computed with a standard, well-understood method and then scaled so it contributes fairly.
• Normalisation — every factor is converted to a bounded contribution, so no single input can dominate the composite purely because of its raw magnitude.
• Composite score — the contributions are combined into one signed 0-centred score. Positive means the factors lean bullish, negative bearish, and the magnitude expresses how strong the agreement is.
• State-machine signals — a Buy fires when the score crosses into sufficient bullish agreement from a non-bullish state; a Sell is the mirror. Because a signal requires a genuine state change, the engine will not re-fire the same direction bar after bar — signals are self-spacing by construction.
Trade levels
Each signal draws a red risk box to the ATR stop and a green reward box to the third target, with inner dividers and right-edge labels for entry, stop and each take-profit at your R multiples.
The dashboard
An adjustable factor-grid panel shows each factor's current lean (up or down) alongside a bipolar composite-score headline, the active signal, a conviction reading, and a live first-target-before-stop tally from closed bars only. The grid makes it obvious which factors are driving or vetoing a setup.
How to use it
• Works on any asset and timeframe; the factors adapt to the data.
• Read the grid before acting — a signal backed by broad agreement differs from one carried by a single strong factor.
• Raise the agreement requirement for fewer, higher-conviction signals, or lower it for more frequent ones.
Settings
Per-factor lengths and weights, the agreement threshold, ATR risk multiple and target R multiples, plus visual and dashboard controls.
Originality and usefulness
The value is the framework itself: a normalised, weighted multi-factor score with a transparent per-factor readout and a state-machine trigger that prevents signal spam. It is designed so a trader can inspect the reasoning, not just accept a label — which is precisely what a confluence approach should offer.
Notes and limitations
• Confluence reduces some false signals but does not remove them; correlated factors can all be wrong together in unusual conditions.
• Weighting is a design choice — different weights suit different markets, so treat the defaults as a starting point.
• The tally reflects only past bars on the current chart and is not a prediction.
• Educational and analytical tool, not financial advice.
— made with passion by officialjackofalltrades
Indicator

Chart Patterns Auto Detection, Measured Targets & Entry SignalsCHART PATTERNS — AUTO DETECTION, MEASURED TARGETS & ENTRY SIGNALS
OVERVIEW
Chart patterns are the oldest idea in technical analysis and the least tested. "Head and shoulders works." "The measured move is the target." Everyone repeats it. Nobody checks.
This tool detects seventeen classical patterns using a published, peer-reviewed algorithm — and then forward-tests every one of them separately, on your instrument, and tells you which ones actually carry an edge and which do not.
The panel ends up saying things like:
Double bottom +0.31R n=44 PROVEN
Head & shoulders -0.08R n=19 (not proven)
Symmetric triangle -0.15R n=13 (thin)
That table does not exist anywhere else. It is the entire point of this script.
It is a research and framing tool. It is not a strategy, not a signal service, and not a validated edge.
THE ENGINE (Lo, Mamaysky & Wang, Journal of Finance, 2000)
The problem with pattern detection is stated best by the authors themselves: the presence of geometric shapes in price charts is often in the eyes of the beholder. Their solution, and the one used here:
1. Smooth the price with nonparametric kernel regression (Nadaraya-Watson, Gaussian kernel). This is the crucial step. Raw pivots are noise; the smoothed series is the shape. Every other pattern script hunts pivots on raw price and then argues about the pivot length.
2. Take the local extrema of the smoothed series.
3. Define each pattern as inequality conditions on five consecutive extrema.
Every tolerance is ATR-normalised so the same rule travels across instruments and timeframes. The original paper used fixed percentages tuned to US equities.
THE TAXONOMY IS A PARTITION, NOT A PILE OF RULES
The peaks and the troughs are each classified FLAT / RISING / FALLING — three states, mutually exclusive and exhaustive — and the resulting 3x3 grid names every shape exactly once.
troughs FLAT troughs RISING troughs FALLING
peaks FLAT Rectangle * Ascending triangle R-A broadening, desc *
(or Triple top)
peaks RISING R-A broadening, Rising wedge / Broadening formation *
asc * Asc broadening wedge
peaks FALLING Descending Symmetric triangle * Falling wedge /
triangle Desc broadening wedge
* = bilateral (no directional claim)
Convergence versus divergence splits the two same-slope cells. Head-and-shoulders and double tops/bottoms sit outside the grid — they are defined by the EQUALITY of specific extrema, not by the slope of the envelope — so they are tested separately.
This matters more than it sounds. A pile of independent rules leaks. Three level peaks with FALLING troughs is a right-angled descending broadening formation; with no rule to catch it, the shape drops through to the nearest match and gets logged as a TRIPLE TOP, quietly poisoning that pattern's statistics with a different pattern. Bulkowski's own identification quiz for the right-angled broadening formation opens by warning the reader that they may think they are looking at a triple top. Meanwhile a shape with higher highs AND higher lows that is WIDENING matched nothing at all and was thrown away. Both are now named. The grid is the reason the numbers in the panel mean what they say.
DIRECTIONAL VERSUS BILATERAL — WHY FIVE PATTERNS HAVE NO DIRECTION
A head-and-shoulders makes a claim: it breaks down. A symmetric triangle makes no such claim. Nobody, including Bulkowski, says which way it goes; he publishes statistics for BOTH breakout directions.
So a bilateral pattern arms BOTH boundaries and lets price pick the side. The five are: symmetric triangle, rectangle, broadening formation, and the two right-angled broadening formations. They are drawn in amber, and the trigger logic agrees with the paint.
This is not a cosmetic point. Splitting a symmetric triangle into a "triangle top" and a "triangle bottom" — where the only difference is whether the first extremum happened to be a high or a low — and then trading one short and the other long, is trading a phase accident of where the extremum series began. It is not a forecast, and it halves the sample size for nothing.
THE BOUNDARIES ARE TRENDLINES, NOT HORIZONTAL LINES
A triangle's boundary slopes. Testing a break against a horizontal line drawn at the last extremum is a different test — and it is wrong in a DIFFERENT DIRECTION for different patterns. A converging boundary sits below its last extremum, so a horizontal proxy triggers late. A diverging one sits above it, so the proxy triggers early, on breaks that never happened.
Since the entire purpose of this script is to COMPARE patterns against each other, a bias that flips sign depending on which pattern you are looking at is fatal. Every boundary here carries a slope, is projected to the current bar, and the measured move is projected from the boundary AT THE BAR IT BROKE — which is what the textbook actually says.
THE TWO THINGS IT MEASURES (they are different questions, and both are reported)
A. TRADABILITY. From the trigger bar, with identical geometry for every pattern and for the control, what is the expectancy in R? This is the question "does this pattern predict a favourable move?" It is compared against an unconditional, direction-matched control.
B. THE MEASURED MOVE — and, crucially, HOW FAR AWAY IT IS. Does the classical projected target actually get reached before the pattern's own stop? This is the number every pattern trader assumes and nobody has checked. It is a descriptive statistic, clearly labelled as such, with no control.
Mixing these two makes both meaningless, so they are kept apart. The trade uses a fixed R multiple so that every pattern — and the control — is measured on identical geometry. The measured move is drawn and tested separately.
A HIT RATE WITHOUT A DISTANCE IS NOT A FACT ABOUT THE PATTERN
The panel reports the measured-move hit rate NEXT TO the measured move's distance in R, because the first number is uninterpretable without the second.
On NIFTY futures, live:
Double bottom MM sits 0.6R away reached 73% of the time
Symmetric triangle MM sits 5.7R away reached 0% of the time
Those two rows say the SAME thing. A projection sitting half a unit of risk away being reached three times in four is not evidence that double bottoms work; a projection sitting nearly six units of risk away being reached never is not evidence that symmetric triangles fail. Report the hit rate alone and a reader will draw exactly the wrong conclusion from both.
It also explains a result that looks paradoxical at first: a double bottom can reach its textbook target 73% of the time and still LOSE money, because that target is worth about 0.6R and the trade is being held for 2R. The measured move being reached and the trade being profitable are different events. Almost nobody separates them. This script does.
HOW TO USE
1. A pattern is DETECTED when its fifth extremum confirms. It is not a trade yet.
2. It becomes a TRADE only when price TRIGGERS it: a boundary breaks. The engine never front-runs the pattern.
3. Read the per-pattern calibration BEFORE you weight any of it. A pattern with no proven edge on this instrument is a shape, not a probability.
4. Entry, stop, target and the R multiple are drawn. They are arithmetic, not advice.
BANDWIDTH is the one input that matters. Small = many small patterns; large = few large ones. There is no correct value. There is only the one whose patterns the calibration says work.
NON-REPAINT, AND THE HONEST COST OF IT
A centred kernel looks into the future. Lo, Mamaysky and Wang could use one because they were studying history. We cannot. So the smoother is evaluated only where the whole window already exists, which means an extremum is confirmed roughly one half-window AFTER it occurred, and a pattern therefore prints with that lag.
That lag is the price of not repainting, and it is paid deliberately. Any pattern tool that marks a head-and-shoulders the instant the head forms is either repainting or using a shorter window than it admits.
Everything — extrema, patterns, triggers, calibration — is computed on confirmed bars only.
WHAT IS DELIBERATELY ABSENT
FLAGS AND PENNANTS cannot be detected by this engine and are not faked. Their defining feature is a small consolidation after a sharp pole. Bulkowski puts a flag at a few days to three weeks and calls anything longer a rectangle. But the kernel smoother and the ATR prominence filter exist precisely to destroy small wiggles, and a flag's entire body is often under one ATR. To find flags you need pole detection and channel regression on raw price: a different engine. A pennant, in any case, IS a symmetric triangle that happens to follow a pole.
ELLIOTT WAVE is absent because it is not objectively definable. The wave count is degree-dependent and non-unique. Encoding it would test the encoding, not the theory, and reporting "no edge" against a definition its own proponents would disown is a strawman. This script attacks folklore by testing it fairly, or it does not attack it at all.
WHY THESE PARTS ARE ONE TOOL
A pattern without a smoother is a subjective drawing. A smoother without pattern rules is just a moving average. Rules without a measured target give you nothing to trade. A target without an entry, a stop and an R multiple is not a trade. And all of it, without a per-pattern calibration, is exactly the folklore this script was built to test. Remove any one piece and you have another pattern-drawing tool that asserts an edge it has never measured.
DATA AND SCOPE
Any symbol, any timeframe. ATR-normalised throughout. No volume required.
EXPORTS (Data Window — consume from other scripts via input.source())
EXP_Smooth, EXP_Pattern, EXP_Dir, EXP_Trigger, EXP_Entry, EXP_Stop, EXP_Target, EXP_RR, EXP_PatternEdge, EXP_TargetHitRate
CONCEPT CREDIT
The kernel-regression pattern-recognition algorithm and the core pattern definitions are from Andrew W. Lo, Harry Mamaysky and Jiang Wang, "Foundations of Technical Analysis: Computational Algorithms, Statistical Inference, and Empirical Implementation", Journal of Finance 55(4), 2000. The Nadaraya-Watson estimator is due to E. A. Nadaraya and G. S. Watson (1964). The patterns themselves long predate all of us; the modern written tradition runs through Edwards & Magee. The right-angled broadening formations, the broadening wedges, the ascending and descending triangles and the triple tops and bottoms are documented in Thomas Bulkowski, "Encyclopedia of Chart Patterns"; his published success rates are claims measured on US daily stocks, and testing them on YOUR instrument is the purpose of this tool. ATR — J. Welles Wilder. Triple-barrier forward labelling — Marcos Lopez de Prado. Welch's t-test — B. L. Welch.
The exhaustive peak/trough partition, the bilateral trigger, the sloping-boundary trigger, the per-pattern calibration, the measured-move test and the direction-matched control are the author's own. Clean-room implementation; no third-party Pine code is reused. Not affiliated with, nor endorsed by, any of the above.
HONESTY AND LIMITATIONS
Lo, Mamaysky and Wang's own conclusion deserves to be read before anyone trades this: several patterns DO carry incremental information, but patterns that are optimal for detecting statistical anomalies need not be optimal for indicating trading profits, and vice versa. A pattern can be statistically real and still not pay after costs.
Calibration here is IN-SAMPLE, with no costs or slippage, and uses overlapping windows. A proven in-sample edge is NOT a guarantee out-of-sample.
Pattern counts are small by nature. A rare pattern may never reach a usable sample size, and the panel will keep saying so — "thin", "warming" — rather than pretend. Nothing is marked PROVEN below t = 1.96 against the control, and nothing is rated at all below the minimum sample.
Entry is the CLOSE of the trigger bar, for the pattern and for the control alike. Entering at the boundary — a better price — while the control enters at the close would hand every pattern a free head start and manufacture an edge out of nothing.
When both barriers are touched on the same bar, the stop is assumed first. Unresolved trades at the horizon are marked to market rather than counted as wins.
A different bandwidth gives different patterns. If a pattern shows no edge, the honest conclusion is that it has none here. Nothing in this script predicts price.
DISCLAIMER
Research and educational tool only. Not financial advice, not a recommendation, and no guarantee of results. Entry, stop and target output is arithmetic, not advice. Trading carries risk of loss. Test out-of-sample and make your own decisions. The author accepts no liability for any use. Indicator
