インジケーター

インジケーター

ストラテジー

インジケーター

インジケーター

インジケーター

Forex Sessions Trackerwww.tradingview.com
Forex Sessions Tracker is a professional and fully customizable TradingView indicator designed to automatically highlight the most important Forex trading sessions directly on the chart, including the Asia Session, London Session, New York Session, and London Close Session. The indicator draws dynamic boxes that expand in real time as price moves, continuously updating the session high and low so traders can easily visualize volatility, liquidity, and key market reactions during each trading period. A customizable timezone option allows the sessions to match any broker or trading preference, while individual session controls make it possible to show or hide specific sessions according to your strategy. The script also includes optional session labels, adjustable border width, custom colors for each session, and a professional glowing box effect that improves visibility without cluttering the chart. Historical session management keeps only the most recent sessions visible, helping maintain a clean workspace while preserving important market structure. This tool is especially useful for Forex, Gold (XAUUSD), and index traders who rely on session-based analysis, breakout trading, liquidity sweeps, ICT concepts, or intraday price action strategies. By clearly separating the major market sessions, Forex Sessions Tracker helps traders identify when liquidity enters the market, monitor session highs and lows, and focus on the periods where significant price movement is most likely to occur. The indicator is intended as a visual market-session tracking tool and works best when combined with your own trading strategy, risk management, and price action analysis.
For more Expert Signals, Market updates & Analysis 👇👇👇
www.tradingview.com インジケーター

Calculateur de Lot InteractifBy Yassine
Maximize your trading discipline and eliminate manual math with this professional-grade, interactive risk calculator built entirely in Pine Script v6.
Stop over-leveraging or guessing your lot sizes. With just two clicks directly on your chart, this indicator instantly calculates your exact position size, projects partial take profits, factors in broker commissions, and runs real-time margin diagnostics.
Key Features
🎯 100% Interactive (2-Click Setup): Simply click your Entry Price (EP) and Stop Loss (SL) directly on the screen. Drag the anchor points to adjust your trade in real-time.
📊 Multi-Asset Smart Detection: Automatically detects whether you are trading Forex (Lots), Gold / XAUUSD (Standard MT contracts), Indices/CFDs (Contracts), or Crypto/Stocks (Units), applying the exact contract specifications for flawless math.
💸 Smart Commission Deduction: Enter your broker's commission per lot, and the script automatically downscales your position size. This ensures your maximum loss (SL + Fees) remains strictly at your defined risk percentage (e.g., exactly $500 on a $50k account).
📈 Multi-Stage Take Profits (TP1 & TP2): * TP1: Set a custom RR ratio (e.g., 1:1) and define the % of the position you want to close (e.g., 50% to secure the trade).
TP2: Define your final target.
The dashboard calculates the exact price levels and potential cash gains for each stage.
⚠️ Margin & Leverage Diagnostic: Enter your account’s maximum leverage. The script checks the nominal value of your trade and flashes a red alert (⚠️ INSUFFICIENT LEVERAGE) if the required margin exceeds your available capital.
⚡ Pine Script v6 Optimized: Clean, modern code using persistent variables to prevent chart lag, flickering, and memory leaks. インジケーター

インジケーター

XI0033 Williams FractalA Williams fractal confirms late by definition: the pattern is complete only after the bars to its right have closed, so the marker always appears in the past. This script keeps the classic fractal template — three- or five-bar — and adds the one thing the classic version cannot show: the bar that is about to become a fractal, before the confirmation arrives.
It draws triangles for confirmed fractal highs and lows, plus one highlighted triangle for the last potential fractal on the live edge. Nothing else: no lines, no levels, no signals.
Confirmed fractals
A fractal high is a bar whose high stands above the highs of its neighbours; a fractal low mirrors that on the lows. The 3-bar mode compares one neighbour on each side, the 5-bar mode two on each side — the original Bill Williams definition. The Periods input sets how many bars back the reference bar sits. Confirmed fractals are painted as muted grey triangles above the highs and below the lows, and once the pattern that produced them is closed, they are history: they do not move and do not disappear.
Confirmed fractal highs and lows in the muted default colour: every triangle marks a bar whose extreme beat its neighbours on both sides, printed only after the pattern completed.
The last potential fractal
This is the addition. One bar to the right of the last confirmable centre there is always a candidate: a bar already higher (or lower) than its closed neighbours, waiting only for the current bar to keep its distance. The script highlights that candidate with an orange triangle — pointing down above a potential high, pointing up below a potential low — so the developing swing is visible before it becomes official.
The highlight exists only on the live bar. It is recalculated tick by tick, disappears the moment price violates the candidate, and is deliberately dropped on the bar's final update, so it never leaves a trace in the chart history. Scroll back and you will find only confirmed fractals.
Left: the orange triangle under the newest low is the last potential fractal. Right, a few bars later: that low now carries a grey confirmed triangle — the preview left no trace — and a new potential fractal already sits above the latest high.
What repaints, and what does not
The potential marker repaints by design — that is its job. It is a live preview that appears, moves and vanishes with the current bar, and it is intentionally not committed to history. Confirmed fractals in the default 3-bar mode are built from closed bars only, so once a triangle prints, it is final. In the 5-bar mode with the default period, the newest confirmation still involves the forming bar's extreme, so it can appear and be withdrawn until that bar closes; after the close it is final. And every confirmed fractal is late by definition — the triangle appears above a bar that is already in the past, because that is what confirmation means.
What is reused, and what is new
The confirmed-fractal logic is the classic Bill Williams fractal template as coded by Mit Nayi, reused open-source with attribution in the source header. What this edit adds: the port to Pine Script v6, and the whole potential-fractal layer — the candidate detection one bar to the right of the confirmable centre, and the barstate mechanism that shows the preview on the live bar only and drops it on the bar's final update, so it never piles up in history.
What it does not do
It gives no signals. A fractal marks a local extreme, and most local extremes get traded through; on their own they are not entries. This is a structural marker — swing logic, liquidity maps and ICT-style analysis use fractals as raw material, and the potential marker only tells you where the next one may appear. The decision stays yours.
The Inputs allow you to set:
Periods: how many bars back the fractal centre sits; the triangles are drawn on that centre bar
3 or 5 Bar Fractal: one or two neighbours compared on each side
Show last potential fractal: the live-edge preview on or off
Potential down and up fractal colours
About the chart
BYBIT:BTCUSDT.P, 5-minute chart. The only script on it is this one, with default settings: muted grey triangles mark confirmed fractal highs and lows across the chart, and the orange triangle at the right edge is the last potential fractal, not yet confirmed. No other indicators, no drawings. インジケーター

ストラテジー

XI0033 WatermarkA watermark earns nothing. It labels a chart: whose it is, what instrument, what timeframe, and what price was doing when the snapshot was taken. If you publish charts, record trades or stream, that label is the difference between a screenshot and a document.
This script prints up to four lines of text over the chart: three free lines and one symbol line. Any line can carry live tokens that resolve to the current symbol, timeframe, date, weekday, clock, price, change against the previous daily, weekly or monthly close, and volume. It draws text and nothing else: no levels, no signals, no analysis.
One template language for every line
Each line is a template. Plain text stays as typed; tokens are replaced with live values:
{ticker} {exchange} {tf} {date} {time} {dow} {price} {chgabs} {chg} {chg:D} {chg:W} {chg:M} {vol}
{chg} is the percent change against the previous daily close — the same number the quote header shows. {chg:W} and {chg:M} measure against the previous weekly and monthly closes. {chgabs} is the daily change in price units, {dow} is the weekday name, {vol} is the current bar's volume compacted to K/M/B and printed as n/a where the instrument has no volume feed. Separators are typed straight into the template, so reordering a line is just reordering its text. An empty template hides the line.
The two free lines under the brand text are plain templates: one prints the daily, weekly and monthly change side by side, the other stamps the date and the exchange clock. What is typed is what resolves; the line at the bottom of the chart is the symbol line running its own template.
The symbol line
The fourth line ships with a default template that mirrors the quote header:
{exchange}:{ticker} · {tf} · {date} · {dow} · {price} · {chgabs} · {chg} · {vol}
It is an ordinary template line: delete a token you do not want, move the ones you keep, retype the separators. Nothing in its order is hardcoded.
Sign colouring, token by token
A Pine table cell holds exactly one text colour. To paint the price green and the weekly change red inside one line, the script slices the symbol line into segments: every {price}, {chgabs} and change token becomes its own cell, coloured by the sign of its own change — {price}, {chgabs} and {chg} follow the daily change, {chg:W} the weekly, {chg:M} the monthly. The text between tokens keeps the line colour. Turn the option off and the line renders as a single cell in a single colour. The one visible cost of the segmented mode is worth naming: cell padding makes the gaps around coloured tokens slightly wider than a plain space.
Sign colouring on: the daily percent carries the daily sign; the weekly percent, marked W and appended at the end of the template, carries its own — one line, two directions, base colour in between.
Nine anchors and offsets that tables do not have
Every line is anchored independently to one of nine chart positions. Lines that land on the same anchor do not overlap: they are collected into one table and stacked in declaration order — Line 1 above Line 2 above Line 3 above the symbol line.
Pine tables expose no pixel offset, so Offset X and Y are built from geometry instead: an empty spacer column sized in percent of chart width pushes a group inward from a left or right edge, and an empty spacer row sized in percent of chart height pushes it away from the top or bottom. X is ignored on a centered anchor and Y on a middle one, because there is no edge to push from. When several lines share an anchor, the group takes the offsets of its first line.
Four lines on four different anchors, each block its own table; the corner blocks are pushed inward from their edges by the spacer offsets.
Every line is yours
Per line: colour, size from 8 to 80, Default or Monospace font, bold, italic. A free line can additionally colour itself as a whole by the sign of the change token it contains. Global: the Positive/Negative pair used by all sign colouring, an extra transparency slider that fades every line on top of its own colour, and a background fill behind the text blocks.
What repaints, and what does not
Nothing is drawn on historical bars, so there is nothing to repaint in the signal sense. The tables are rebuilt on the last bar and every token updates with the live tape — price, changes and volume move tick by tick, which is what a live watermark is for. The previous daily, weekly and monthly closes are requested from the higher timeframes with a one-bar offset, so only completed bars are read and those references stay fixed until their period rolls over. {date}, {time} and {dow} follow the exchange clock, not bar time.
What is actually original here
A chart watermark is public domain — the platform has plenty, and another script that prints a static string would have no reason to exist. Three parts of this one are engineering rather than styling, and the source is open, so they can be read:
A single token engine for all four lines. One substitution pass resolves thirteen tokens, including three change bases — daily, weekly, monthly — measured the way the quote header measures them, so the symbol line and the free lines speak the same language.
Per-token colouring inside one table row. The symbol line is split into cells at token boundaries so each value carries the sign colour of its own change, while single-colour lines sharing the anchor are merged across the full row width and stay centered above the segmented one.
Offsets that Pine tables do not offer. Anchoring, stacking and two-axis fine-tuning are assembled from table geometry — spacer cells sized in percent of the pane — because the platform provides no pixel offset for tables.
What it does not do
It computes nothing tradeable. No levels, no signals, no alerts, no statistics — it reads the same values the quote header already shows and prints them where and how you want them. It is a labelling tool; the trading remains your job.
The Inputs allow you to set:
- Line 1–3: template text, colour, size, font (Default/Monospace), bold, italic, colour by change sign, anchor (vertical and horizontal), Offset X and Y
- Symbol line: show/hide, template text, colour price/change by sign, colour, size, font, bold, italic, anchor, Offset X and Y
- Appearance: Positive and Negative colours, extra transparency, background colour
About the chart
BYBIT:BTCUSDT.P, 5-minute chart. The only script on it is this one, and the three free lines stack at the top center on their default texts — XI0033 with a panda emoji, then the Example and Your text here placeholders. The symbol line sits at the bottom center; its template is trimmed to the exchange, ticker, timeframe, date, weekday and the daily percent change, and sign colouring paints that percent by the sign of the day. No other indicators, no drawings. インジケーター

インジケーター

Liquidity Sweep + FVG [Leon/RussellTech] v2Liquidity Sweep + FVG Indicator
A multi-confluence day-trading indicator that identifies institutional stop-hunts (liquidity sweeps) followed by displacement Fair Value Gaps, then plans precise entries with automatic stop-loss and take-profit placement.
How It Works
The indicator uses a state machine that progresses through a strict sequence. Every signal must pass through all 7 confluence layers — if any single layer fails, no signal fires. This is what prevents false signals and maintains quality.
State Machine Lifecycle
Idle — The indicator monitors swing pivot highs and lows using the configured lookback period. Up to 4 recent levels are tracked.
Sweep Detected — Price wicks beyond a tracked swing level and (if required) closes back inside. A sweep marker (▲ or ▼) appears on the chart.
Armed — Within the Sweep→FVG Window (10 bars), a valid FVG forms in the sweep direction. The status panel shows "armed (long)" or "armed (short)".
Entry — Within the FVG→Entry Window (24 bars), price retraces into the FVG zone, the entry candle shows momentum, and all filters pass. Signal fires with Entry, SL, and TP drawn.
Tracking — The indicator tracks whether price hits the TP, SL, or times out, then returns to Idle.
The 7 Confluence Layers
Every signal must pass through all seven layers. This multi-confluence approach is what separates this indicator from simple FVG detectors or sweep scanners. インジケーター

APEX Contra Flow | ProjectSyndicateAPEX Contra Flow rebuilds the order flow hidden inside every candle and reads it as an auction — then scores, bar by bar, whether that auction has finished and is ready to reverse. It drills into each bar with a lower-timeframe scan, distributes the intrabar volume across price by true overlap, splits it into graded buy/sell pressure, and renders it as a footprint anchored by POC, Delta POC, intrabar VWAP and the Value Area. On top of that it runs one idea from auction theory that conventional profile tools ignore: a market doesn't turn where volume is heavy — it turns where the auction runs out of business. The Contrarian Engine finds the bars where aggression achieved nothing, grades them 0–10, and fades them back toward value.
Most footprint tools describe. This one takes a side.
🌊 Intrabar Footprint Engine — the core. A lower-timeframe scan breaks each chart bar into its internal prints and rebuilds the auction that produced it. Granularity is adjustable (1 Tick / 1S / 5S / 15S / 1M / 5M) or Auto-scaled to your chart, with an automatic fallback resolution — if your plan or symbol won't serve the resolution you asked for, the engine silently drops to one that works instead of drawing a blank chart.
🧮 Overlap-Proportional Allocation — the accuracy differentiator. Conventional intrabar profiles smear each print's volume equally across every row it touches, which fattens the profile and drags the POC toward wide bars. APEX Contra Flow weights every row by the exact price overlap between the intrabar's range and that row. The shape you read is the shape that traded.
⚖️ Graded Buy/Sell Classification — not close >= open. On tick data the engine classifies against bid/ask (at-or-above ask = buy, at-or-below bid = sell, interpolated between). Off tick data it uses a tunable blend of close-location-in-range and body direction. Delta becomes a gradient, not a coin flip — so a bar that closed flat but was bought all the way up no longer reads as neutral.
🎯 POC · Delta POC · Intrabar VWAP — three separate reads on one candle. The Volume POC is where trade concentrated. The Delta POC is where the largest one-sided delta sits — the two diverging is a tell in itself. The intrabar VWAP marks the candle's true average traded price.
🧲 Value Area (VA) — computed by true value-area expansion outward from the POC at your chosen percentage, drawn as a clean outline with everything outside it dimmed back. Fair value framed; the rest fades.
🔺 Diagonal Imbalances & Stacked Runs — every row is tested diagonally: buy at a level against sell one level below, sell against buy one level above. Rows clearing your ratio are marked ◆ and coloured by side. Consecutive runs are counted — stacked imbalance sitting at the extreme is exhaustion evidence, not strength.
🕯️ Excess vs Unfinished Auction — the read almost nothing else surfaces. Thin single prints at a bar's extreme (·) are excess: the auction rejected that price and finished. Heavy volume parked at the extreme is unfinished business — an untested magnet price will likely come back for. One says reversal, the other says return.
🔠 Auction Shape Classification — P / b / D / B — real market-profile logic, applied per candle.
▪️ P — POC in the upper third, thin below: the rally was short covering, not fresh buying. Weak. Fade it.
▪️ b — POC in the lower third, thin above: long liquidation / capitulation. Fade it.
▪️ D — balanced auction, POC mid-range. Rotation back to the middle.
▪️ B — double distribution (two volume clusters split by a thin gap). This is a trending auction — and it vetoes the fade outright. The single most valuable filter in the tool is the one that tells you to stand down.
🏆 0–10 Contrarian Conviction Score — the power-ranking. Each fade candidate earns a live grade from seven weighted, principled factors, every one with a fixed directional sign:
▪️ Effort without result — heavy relative volume and delta that produced no body.
▪️ Trapped delta — delta pushing one way while the candle closes the other. Someone is offside.
▪️ Wick rejection — how violently the extreme was defended.
▪️ Excess — thin tail at the extreme being faded (finished auction).
▪️ Auction shape — P against a high, b against a low.
▪️ CVD divergence — a new price extreme that cumulative delta refused to confirm.
▪️ Stacked imbalance at the extreme — aggression stacking into a wall.
Resolved to a tier: WK → MOD → STRONG → V.STRONG → EXTREME.
🚪 Context Gates — why the signals stay rare. A score alone fires nothing. The bar must also print a new N-bar extreme, stretch a configurable ATR distance beyond its mean, clear a cooldown, and survive the B-shape veto. Fading strength in a trend is how contrarians die; these gates exist to stop it.
🎯 Fade Signals, Targets & Invalidation — one clean FADE ▲ / FADE ▼ label carrying the score. A dotted magnet line projects to the target: the nearest naked POC in the fade direction, or the candle's own POC if none is standing. A tick marks the invalidation extreme. Hover the label for the full read — score, tier, auction shape, value migration, delta, relative volume, POC, VWAP and the LTF actually used.
📍 Naked POC Magnets — high-conviction candles leave their POC extended to the right until price trades back through it, then it's removed. Untested POCs are unfinished business — and they double as the fade target.
📖 Legend Key — a static, self-adapting key (bottom-right by default). It lists only the glyphs you have switched on, and reads your live settings — your imbalance ratio, your VA %, your score threshold — so it can never drift out of sync with the chart.
🎨 Nine Dark-Native Themes — Obsidian (default), Institutional, Aurora, Neon, Phantom, Solar, Ice, Plasma and Mono — every one tuned to read on a black background, plus full custom buy/sell/POC overrides.
🧹 Clean-Chart Discipline — no dashboard, by design. No panel, no stat block, no clutter competing with price. The profile is the interface; the score lives inside the candle that earned it, the reasoning lives in the tooltip. Bar delta, CVD, contrarian score and bar volume stream to the Data Window for anyone who wants the raw series.
🔒 Honest & Non-Repainting Core — fade signals fire on confirmed bars only and never repaint away once printed. No signal is ever hidden, deleted or de-rated to flatter the chart. The footprint of the live, forming candle naturally refreshes as it builds — that is inherent to reconstructing order flow in real time, not a defect — and every closed bar is fixed. The 0–10 score is a descriptive auction framework for ranking attention, not a backtested edge.
🔔 Native Alerts — Fade Long, Fade Short, and Any Fade.
🔧 Fully Customizable — profile basis (Volume / Delta), granularity, rows, bar length, classification method and blend weight, VA %, POC / Delta-POC / VWAP / imbalance / excess toggles, imbalance ratio, min score, extreme lookback, mean length and ATR extension, CVD divergence lookback, cooldown, target length, naked-POC threshold and cap, theme, out-of-value transparency, legend position and size.
🎯 Why this is different — profile tools show you where volume is and leave the conclusion to you. Footprint tools show you delta and leave the conclusion to you. APEX Contra Flow classifies the auction, tells you whether it finished or is still trending, refuses to fade the ones that are trending, and puts a graded 0–10 case for the reversal inside the candle that made it. You read where the auction broke, why it's exhausted, and where it should rotate back to — at a glance.
🚀 Apply to Gold (XAUUSD), Silver, Forex, Crypto, Indices and Futures on any intraday timeframe (volume-bearing symbols).
💡 Cleanest setup: an indicator cannot hide the chart's own candles — right-click the chart → Settings → Symbol → uncheck Body / Borders / Wick to let the footprint stand alone.
🎯 How To Trade It — Two Approaches
Everything hinges on one question the tool answers: has this auction finished, or is it still trending? Finished auctions rotate. Trending auctions run you over.
◾ 1) Fade the finished auction → rotate to value (the core thesis)
Use on STRONG / V.STRONG / EXTREME scores (≥7) where the grade is built on excess, trapped delta and CVD divergence — and the shape is P at a high or b at a low.
▪️ Wait for the FADE ▼ / FADE ▲ to print on the confirmed bar — the gates have already checked the new extreme, the ATR extension and the shape veto.
▪️ Entry: on the signal close, or on a shallow re-test of the faded extreme that fails to make a new one.
▪️ Stop: beyond the invalidation tick at the wick extreme. If price closes decisively through and accepts there, the auction wasn't finished — stand aside or flip to Approach 2.
▪️ Targets: the dotted magnet line — the nearest naked POC, else the candle's POC. The opposite Value-Area edge if rotation extends.
⚖️ The cleanest version: price spikes to a new 10-bar high, stretches beyond its mean, prints a long upper wick on heavy volume with positive delta but closes in the lower half (trapped buyers), the top rows are thin (excess), the POC sits high (P — short covering), and CVD refuses to confirm the new high. Score prints 8.4 EXT. That confluence is the exact move this tool was built to frame.
◾ 2) Stand down — and trade the other side
The tool tells you when not to fade, which is worth as much as the signal.
▪️ Shape = B (double distribution) — the auction is trending and building a second distribution. The veto fires. Do not fade; look for continuation on the pullback into the lower distribution instead.
▪️ No excess, heavy volume at the extreme — unfinished business. Price is likely to return to that price rather than reverse from it.
▪️ Signals fire and immediately fail, repeatedly — one-sided flow is expanding. Trade with it into the next naked POC.
Rule of thumb: ⭐ High score + excess + P/b shape + CVD divergence → expect rotation, fade toward the POC. ⭐ B shape, no excess, or price accepting beyond the level → expect follow-through, trade the break toward the next naked POC.
⚠️ IMPORTANT NOTICE: APEX Contra Flow reconstructs estimated order flow from lower-timeframe data. Intrabar delta, absorption and buy/sell classification are an approximation of true tape, not exchange order-book data — off tick resolution the buy/sell split is inferred from price behaviour, not observed aggression. The 0–10 contrarian score is a descriptive auction framework — NOT a backtested signal and NOT a standalone trade trigger. Fading extremes is inherently a counter-trend activity and carries real risk of repeated stop-outs in a trending market; the shape veto reduces this but cannot eliminate it. The indicator requires a volume-bearing symbol. Always combine it with your own strategy, price-action analysis and risk management. Past behaviour does not guarantee future results. インジケーター

INJ DCA Long Strategy [3Commas & QuantPilot]INJ DCA Long Strategy
🔷 What it does:
This is a long-only DCA (Dollar-Cost Averaging) strategy for INJ / 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 (9%) 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.
🔷 The one change that mattered — Take Profit tuning:
This strategy started from a baseline configuration with a 3% fixed take-profit. Running the same script, on the same market, over the same period through the QuantPilot Pine Script optimizer, the take-profit parameter was swept and the best-performing value landed at 9%. Nothing else was touched — same RSI entry, same five-order ladder, same deviations, same 1.8× sizing, same fees. Only the Take Profit input changed from 3% to 9%.
- Baseline (Take Profit 3%): Net +6,888.76 USDT (+6.89%), Max Drawdown 4.39%, 84 closed trades, 71.43% profitable, Profit Factor 4.925.
- Optimized (Take Profit 9%): Net +15,830.72 USDT (+15.83%), Max Drawdown 5.65%, 90 closed trades, 82.22% profitable, Profit Factor 17.886.
Widening the target lets each recovery run further before the position is banked, capturing the fuller mean-reversion bounce instead of exiting on the first small pop. The trade-off is a modestly higher drawdown (4.39% → 5.65%) and longer average hold time. The published defaults use the optimized 9% value; the baseline metrics are shown here purely so the effect of the single parameter change is transparent.
🔷 Who is it for:
- Swing traders accumulating INJ 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 9% 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:
- Optimizer-Tuned Exit: The 9% take-profit is not an arbitrary round number — it is the value the QuantPilot Pine Script optimizer selected as best-performing on the historical sample, with every other parameter held constant.
- 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, driving a DCA Bot end-to-end with no glue layer.
🔷 Considerations Before Using the Strategy:
Optimization / Overfitting Risk: The 9% take-profit was selected by sweeping the parameter over the same historical window shown in the results. A value that was best in-sample is not guaranteed to be best out-of-sample — this is the standard caveat for any optimized parameter. Treat the optimized metrics as the ceiling of what this configuration achieved historically, not as a forward expectation, and re-validate on fresh data before committing capital.
Trade Volume — Below the Statistical Floor: The optimized configuration produced 90 closed trades over ~30 months (84 on the baseline). Both are below the ~100-trade threshold often used as a floor for statistical relevance, so treat the win rate and the high 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 INJ 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. A wider 9% target also means positions are held longer, so the grid can sit loaded through deeper dips before the exit is reached.
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.
Fees: The default commission (0.06% per trade) should be matched to your exchange's actual taker fees.
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:INJUSDT.P (Perpetual) — strategy is portable to any INJ / USDT pair.
Timeframe: 4H (RSI sampled on 4h).
Test Period: January 1, 2024 — July 16, 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: 9% above average entry (optimizer-tuned from a 3% baseline).
Stop Loss: None — ladder allocation is the structural risk cap.
Trailing: None.
Strategy: Long Only.
🔷 STRATEGY RESULTS (Optimized — Take Profit 9%)
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +15,830.72 USDT (+15.83%)
Max Equity Drawdown: 6,426.47 USDT (5.65%)
Total Closed Trades: 90
Percent Profitable: 82.22% (74 / 90)
Profit Factor: 17.886
🔷 STRATEGY RESULTS (Baseline — Take Profit 3%, for comparison)
Net Profit: +6,888.76 USDT (+6.89%)
Max Equity Drawdown: 4,429.13 USDT (4.39%)
Total Closed Trades: 84
Percent Profitable: 71.43% (60 / 84)
Profit Factor: 4.925
🔷 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 (default 9%) 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 the optimized configuration reached 5.65%. Keep in mind the 90-trade sample is below the ~100-trade floor for statistical confidence, and the high profit factor reflects that small, optimized sample.
🔸 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 (default 9%, optimizer-tuned).
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 TradingView 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. ストラテジー

インジケーター

インジケーター

インジケーター

インジケーター

Fractal Timeframe Collision Node [MarkitTick]💡 The financial markets operate across multiple interacting timeframes, creating complex structural geometries that cannot be accurately analyzed through a single, isolated lens. The tool presented here acts as a comprehensive multi-timeframe aggregation engine, designed to isolate highly significant structural support and resistance clusters. By evaluating pivot points across four distinct time spans and merging them based on volatility-adjusted proximity, this system identifies high-probability reaction zones where structural exhaustion is most likely to occur. It is built strictly for the modern Pine Script environment, utilizing an entirely non-repainting architecture that respects the highest standards of data integrity and execution logic.
● ✨ Originality and Utility
Standard pivot or support/resistance scripts typically plot historical swing highs and lows independently. This creates chart clutter and often leaves the analyst guessing which level holds the most technical weight. This tool introduces the concept of "Collision Nodes." Instead of simply drawing every pivot, the algorithm scans higher timeframe data, identifies structural extremes, and clusters them together using a dynamic, adaptive mechanism.
When multiple higher timeframes project a pivot at the exact same price zone, a structural "Collision Node" is formed.
The utility lies in its objective strength grading: a node formed by the confluence of the 1-hour, 4-hour, and Daily charts mathematically demands more respect than a single localized swing point on a lower timeframe.
By filtering out the noise and only projecting nodes that meet a user-defined minimum strength threshold, the analyst is presented with a remarkably clean chart displaying only the most critical, high-liquidity zones.
Furthermore, the script automatically generates full trade execution parameters (Entry, Stop Loss, and multiple Take Profits) directly on the chart when a valid structural rejection occurs.
● 🔬 Methodology and Concepts
• Multi-Timeframe Pivot Extraction
The core engine relies on detecting localized extrema (Pivot Highs and Pivot Lows) over a user-defined lookback window. The script fetches these pivot values simultaneously from three higher timeframes plus the current chart's timeframe. To ensure absolute data integrity and prevent any future data leakage (repainting), the algorithm strictly requests historical, confirmed data using offset historical referencing.
• Volatility-Normalized Spatial Clustering
Once the pivots are extracted, the algorithm must determine if they "collide" or overlap. Because absolute price distance is irrelevant across different assets, the script uses a dynamic clustering mechanism normalized by the Average True Range (ATR).
A tolerance band is calculated by multiplying the current ATR by a user-defined coefficient.
If a newly discovered higher timeframe pivot falls within this exact tolerance band of an existing pivot cluster, it is merged into that cluster, and the cluster's "strength" rating is incremented.
If it falls outside the tolerance band, a new independent node is registered.
• Memory Management and Age Pruning
Financial markets possess a memory, but structural relevance decays over time. The script incorporates a memory management protocol that continually monitors the age of all registered nodes. If a node has not been tested or updated within a specific bar count limit, it is automatically pruned from the active array, ensuring that only highly relevant, modern liquidity pools are analyzed.
• Automated Signal Validation
A visual node is not a signal; it is an area of interest. The script validates trade signals by combining spatial location with price action. A valid signal requires the price to close inside the tolerance zone of a high-strength node, accompanied by a rejection candle (where the wick constitutes a significant percentage of the total candle range), and a structural close confirming the directional bias.
● 🎨 Visual Guide
• Collision Nodes
Teal Horizontal Lines: Represent bullish support nodes. The opacity of the line dynamically shifts based on the strength of the node (darker/more solid lines indicate higher timeframe confluence).
Red Horizontal Lines: Represent bearish resistance nodes. Like the bullish nodes, their visibility scales with structural strength.
Diamond Labels (◆×2, ◆×3): Attached to the end of the node lines, these labels explicitly display the node's strength rating. A "◆×3" label means three separate timeframes have confirmed a pivot at this exact mathematical level.
• Trade Execution Box
Dashed Blue Line: Indicates the exact Entry price upon signal confirmation.
Solid Red Line: Represents the dynamic Stop Loss, which is placed behind the collision node with an added ATR-based buffer to avoid premature liquidation.
Dashed Teal Lines (TP1, TP2, TP3): Represent calculated Take Profit levels projected automatically based on the user's defined Risk-to-Reward (RR) multipliers.
Red Background Fill: Visually maps the total risk zone between the Entry and the Stop Loss.
Teal Background Fill: Visually maps the total reward zone extending from the Entry up to the final Take Profit target.
• Real-time Dashboard
Located by default in the top right corner, this data table provides an instant summary of the market structure.
Bias: Displays the current active signal direction (LONG, SHORT, or NONE).
Active Nodes & Strengths: Lists the exact price levels of the nearest active bull and bear nodes, accompanied by visual progress bars displaying their respective strengths (Green for high strength, Yellow for medium, Red for low).
Trade Tracking: Displays the currently active Stop Loss and primary Take Profit levels if a trade configuration is locked on the chart.
● 📖 How to Use
Apply the indicator to your chart and set your three preferred higher timeframes in the settings (e.g., if trading on the 15-minute chart, you might select 1-Hour, 4-Hour, and Daily).
Observe the chart for the formation of high-strength Collision Nodes (look for ◆×3 or ◆×4 labels). These are your primary zones of interest.
Wait for price action to approach these nodes. Do not place blind limit orders.
Allow the script's internal logic to identify a structural rejection. When a valid rejection candle forms and closes at a node, a trade execution box will automatically populate on the chart.
Use the provided Entry, Stop Loss, and Take Profit lines to format your position sizing and manage the trade according to the mapped risk-to-reward parameters.
Optionally, link the script's advanced JSON webhook alerts to an external execution platform for automated trade routing.
● ⚙️ Inputs and Settings
• Core Settings
Pivot Lookback: The structural length required to confirm a swing high or low.
TF 1, TF 2, TF 3: The three higher timeframes used to scan for structural confluence.
Include Chart TF: Determines if the current chart's timeframe should also contribute to node strength.
Node Tolerance (×ATR): The spatial bandwidth used to cluster pivots together, measured as a multiplier of current volatility.
Min Node Strength: The minimum number of overlapping timeframes required for a node to be rendered on the chart.
• Filters
Require Rejection Candle: Enforces strict price action criteria, demanding that signals only fire if the candle displays a prominent rejection wick.
Min Wick % of Range: The exact percentage of the candle that must be composed of the wick to validate a rejection.
Max Node Age (bars): The duration a node remains active without being re-tested before being permanently purged from memory.
• Trade Tools
SL Buffer (×ATR): Adds a dynamic volatility buffer beyond the structural node to determine the absolute invalidation point.
TP1, TP2, TP3 (×SL Risk): The respective risk-to-reward multipliers used to dynamically project profit targets.
Lock Current Trade Levels: Freezes the visual risk/reward box on the chart until the trade hits either the final target or the stop loss, ignoring subsequent signals.
• Dashboard & Alerts
Show Dashboard: Toggles the visibility of the real-time data table.
Alert Actions: Customizable text fields allowing users to define specific JSON payload strings for long, short, and exit triggers.
● 🔍 Deconstruction of the Underlying Scientific and Academic Framework
The architectural foundation of this algorithm is heavily rooted in the Fractal Market Hypothesis (FMH), which posits that financial markets exhibit self-similar statistical structures across varying scales of time. In practical terms, a distribution pattern on a 5-minute chart mathematically resembles a distribution pattern on a Weekly chart. By aggregating pivot extrema from multiple independent time scales, this script exploits these fractal geometries to identify areas of harmonic resonance—price zones where liquidity pools overlap across different cohorts of market participants.
To resolve the spatial clustering problem, the system utilizes a volatility-normalized one-dimensional grouping algorithm conceptually akin to Density-Based Spatial Clustering of Applications with Noise (DBSCAN). Instead of utilizing fixed scalar distances (which fail as asset prices scale), the algorithm calculates an epsilon distance bounded by the Average True Range (ATR). This ensures that the clustering logic expands and contracts organically with market entropy. The ultimate output is a mathematically objective reduction of structural noise, isolating only the highest-density liquidity nodes that possess the greatest statistical probability of halting directional momentum.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. インジケーター

Stable Yield Curve RegimeOverview
The Stable Yield Curve Regime Indicator identifies the dominant Treasury yield-curve regime while filtering out the noise produced by daily regime classifiers.
Instead of changing regimes after every small yield movement, it uses:
Smoothed yields
Multi-period yield changes
Minimum movement thresholds
Rolling regime voting
Optional magnitude weighting
Dominance and confirmation filters
The default curve compares the US 2-year and 10-year Treasury yields, but both symbols are customizable.
Regime Definitions
Bull Steepener
Yields are generally falling while the long-minus-short spread is widening. This commonly occurs when short-term yields fall faster than long-term yields.
Bull Flattener
Yields are generally falling while the long-minus-short spread is narrowing. This commonly occurs when long-term yields fall faster than short-term yields.
Bear Steepener
Yields are generally rising while the long-minus-short spread is widening. This commonly occurs when long-term yields rise faster than short-term yields.
Bear Flattener
Yields are generally rising while the long-minus-short spread is narrowing. This commonly occurs when short-term yields rise faster than long-term yields.
“Bull” and “bear” refer to bond prices, not necessarily equities.
Calculation Method
The indicator smooths the selected short-end and long-end yields, then measures their changes over the selected observation horizon.
Level Move = (change in short yield + change in long yield) / 2
Negative Level Move: yields are generally falling
Positive Level Move: yields are generally rising
Curve Move = change in long yield − change in short yield
Positive Curve Move: steepening
Negative Curve Move: flattening
Bull versus bear is determined by the average movement of both yields. Therefore, an observation can still be classified when the two yields move in opposite directions, provided their average movement passes the selected threshold.
Each analysis bar creates one regime observation. When the observation horizon is greater than one, consecutive observations overlap.
Stability Filters
Minimum Movement Thresholds
An observation is treated as neutral when either the Level Move or Curve Move is smaller than its selected basis-point threshold.
Rolling Dominance
The indicator evaluates regime observations over a configurable rolling window. The regime with the highest score becomes the current leader.
Observation Weighting
Equal voting gives every valid observation one vote.
Magnitude weighting gives larger combined yield-level and curve movements more influence.
Minimum Coverage
A minimum percentage of the rolling window must contain valid, non-neutral observations.
Minimum Dominance
The leading regime must control a minimum share of the classified vote weight.
Minimum Lead
The leading regime must exceed the runner-up by the selected percentage-point margin.
Confirmation Bars
A new regime must remain qualified for several consecutive analysis bars before replacing the stable regime.
Main Settings
Short-end yield: Default is TVC:US02Y
Long-end yield: Default is TVC:US10Y
Analysis timeframe: Timeframe used for all calculations
Yield smoothing: Smooths each yield before measuring changes
Observation horizon: Period over which yield changes are measured
Dominance window: Number of regime observations evaluated
Minimum yield move: Filters small general yield movements
Minimum curve move: Filters small steepening or flattening movements
Observation weighting: Equal votes or magnitude weighted
Minimum coverage: Required proportion of valid observations
Minimum dominant share: Required share held by the leading regime
Minimum lead: Required advantage over the runner-up
Confirmation bars: Consecutive bars required before switching
Hold previous regime when unclear: Retains the last stable regime until another qualifies
Default Configuration
Analysis timeframe: Daily
Yield smoothing: 3 bars
Observation horizon: 5 bars
Dominance window: 30 bars
Minimum yield move: 1 basis point
Minimum curve move: 1 basis point
Weighting: Magnitude weighted
Minimum coverage: 50%
Minimum dominant share: 45%
Minimum lead: 10 percentage points
Confirmation: 3 bars
With daily analysis, the default dominance window represents 30 daily regime observations, with each observation measuring a five-day yield movement.
Indicator Outputs
The panel displays:
Dominant regime share
Classified coverage
Optional individual regime shares
Background color representing the stable regime
Labels when the stable regime changes
A dashboard showing the leader, stable regime, confidence, curve spread and pending switches
Default colors:
Green: Bull steepener
Blue: Bull flattener
Orange: Bear steepener
Red: Bear flattener
Gray: Unclear
Non-Repainting Behavior
The script uses the previous completed analysis-timeframe bar. This prevents unfinished higher-timeframe data from changing historical results but introduces a one-analysis-bar delay.
The chart timeframe must be equal to or lower than the selected analysis timeframe for the intended calculation to operate correctly.
For example:
1-hour chart with daily analysis: Supported
Daily chart with daily analysis: Supported
Daily chart with weekly analysis: Supported
Weekly chart with daily analysis: Not supported reliably
Interpretation Notes
The indicator measures changes in the curve, not only its current shape.
A curve can steepen while remaining inverted. For example, a move from −100 basis points to −70 basis points is a steepening even though the spread remains negative.
The dashboard’s curve-spread reading should therefore be considered alongside the regime.
The indicator is descriptive rather than predictive. It does not independently forecast recessions, inflation, central-bank decisions or asset prices.
Suggested Uses
Treasury and bond-futures analysis
Equity-index macro analysis
Sector-rotation analysis
Duration positioning
Monetary-policy expectations
Cross-asset regime analysis
It should not be treated as a standalone entry or exit signal.
Alerts
Alerts are available for confirmed changes into:
Bull steepener
Bull flattener
Bear steepener
Bear flattener
Alerts trigger only after the new stable regime passes all filters and confirmation requirements.
Disclaimer
This indicator is provided for informational and educational purposes only. It does not constitute investment advice or a recommendation to buy or sell any financial instrument.
Yield-curve regimes describe historical market behavior and do not guarantee future economic or investment outcomes.
インジケーター

インジケーター
