Wskaźnik Pine Script®
Buy
Mobile Wallstreet Confidence IndicatorMobile Wallstreet Confidence Indicator
Most indicators lie to you. They fire signals on every candle, flood your chart with noise, and leave you holding the bag wondering what went wrong. This one is different.
The Mobile Wallstreet Confidence Indicator was engineered to stay silent until the market is genuinely ready — and when it fires, you'll know exactly why and exactly how confident the setup is.
HOW IT WORKS
Every signal passes through a strict 6-layer filter system before a single arrow appears on your chart:
1. Multi-Timeframe Stack (M15 / H1 / H4 / D1)
The indicator reads all four timeframes simultaneously using a triple EMA alignment model. You control how many must agree before a signal is even considered. No more trading against the higher timeframe trend.
2. Hull MA Momentum Gate
Price must be on the correct side of a rising or falling Hull MA. If momentum isn't confirmed, the signal is blocked — full stop.
3. ATR Depth & Range Filter
The market must show meaningful range and retrace depth relative to ATR. Flat, choppy, low-conviction price action gets filtered out automatically.
4. Structure Clearance
Signals won't fire into overhead resistance or below key support. The indicator measures structure clearance in ATR units so it adapts to every market and every volatility environment.
5. Pattern Rank (0–10)
Each setup is scored across 5 criteria — EMA alignment, RSI momentum, structure break, candle body strength, and price position. Only setups above your minimum rank threshold make the cut.
6. Confidence Score (0–100)
Every signal comes with a live confidence score weighted across MTF agreement, trend alignment, Hull momentum, RSI strength, and pattern rank. You see the number. You decide your conviction.
WHAT YOU GET ON THE CHART
🟢 BUY arrow — all layers aligned bullish, confidence threshold met
🔴 SELL arrow — all layers aligned bearish, confidence threshold met
📊 MTF Dashboard — live top-right panel showing M15 / H1 / H4 / D1 direction, bull/bear counts, confidence scores, pattern ranks, and a plain-English status message telling you exactly what the market is waiting on
🏷️ Signal Labels — confidence score and pattern rank printed directly on every arrow so you never have to guess signal quality
FULLY CUSTOMIZABLE
Every parameter is adjustable to fit your trading style:
Execution timeframe
Fast / Slow EMA periods
Hull MA period
ATR period
Number of MTF timeframes required to agree
Minimum confidence score threshold
Minimum pattern rank threshold
Retrace depth multiplier
Structure clearance multiplier
Structure lookback window
Toggle new signals only, labels, and dashboard on/off
BUILT-IN ALERTS
Set TradingView alerts on BUY and SELL signals and never miss a setup — whether you're watching the screen or not.
WHO THIS IS FOR
This indicator is for traders who are done with noise. If you want a tool that thinks before it speaks, filters relentlessly, and gives you full transparency on every signal it generates — this was built for you.
Swing traders. Day traders. Multi-timeframe operators. Anyone who trades with a plan.
Mobile Wallstreet. Confidence on every candle.
Wskaźnik Pine Script®
Adaptive Fibonacci Trailing System [WillyAlgoTrader]🚀 Adaptive Fibonacci Trailing System (AFT) is a premium overlay toolkit that combines a regime-aware adaptive trailing stop, a dynamic Fibonacci premium/discount cloud, a 6-factor confidence grading engine, full SL/TP risk management with break-even logic, and a built-in backtest tracker — all in one indicator. Every signal arrives with a clear direction, a confidence grade (A+ / A / B / C), a recommended position size, and pre-placed stop-loss and three take-profit levels.
This is not a static trailing stop. This is not another Fibonacci retracement tool you have to draw by hand. This is a complete trade-management system that automatically detects market structure, classifies the current regime (Trending / Ranging / Volatile), adapts its stop placement to the conditions, scores every setup from 0 to 100%, and tracks every closed trade so you can see whether your settings actually work on your market.
🎯 WHO THIS IS FOR
— Trend traders who want a structural trailing stop that adapts to volatility instead of trailing a fixed percentage
— Swing traders who need clean Buy/Sell signals with pre-calculated SL, TP1, TP2, TP3
— Day traders and scalpers who need fast regime detection so they don't trade trend signals in a ranging market
— Discretionary traders who want a confidence score to filter low-quality setups
— Systematic traders who want JSON webhook alerts for automation
— Anyone tired of generic Fibonacci tools that ignore market context
— Traders who want a built-in backtest tracker to validate the system on their own market and timeframe
💎 WHY TRADERS CHOOSE THIS INDICATOR
✅ Adaptive trailing stop — not a fixed ATR multiple.
The trailing stop is anchored to Fibonacci levels of the most recent swing range and adjusts itself based on the detected regime. In trending markets it widens to let winners run. In ranging markets it tightens to exit fast. In volatile markets it sits at the midpoint. You don't choose a static distance — the indicator chooses the right distance for current conditions.
✅ Built-in market regime detection.
Every bar is classified as Trending , Ranging , or Volatile using ADX and a volatility ratio (current ATR vs. 50-bar average). Hysteresis is applied so the regime doesn't flicker on borderline values. You always know what kind of market you're in before you take the trade.
✅ Dynamic Fibonacci cloud.
A premium/discount zone is drawn live between the 0.382 and 0.618 levels of the current swing structure. The cloud re-anchors automatically every time the structure changes — no manual drawing, no stale levels from last week. Three visual styles available: Gradient, Solid, or Pulsing (brightens when price approaches the 0.5 inflection point).
✅ Two signal modes for two trader styles.
Trail Flip mode fires signals only when the adaptive trail flips direction — fewer signals, strong trend conviction. 0.5 Cross mode fires when price crosses the Fibonacci 0.5 (premium/discount inflection) with full triple-confirmation — earlier entries, more signals. The 0.5 Cross mode also has three strictness levels (Strict / Relaxed / None) so you can dial signal frequency to match your style.
✅ 6-factor confidence score on every signal.
Every Buy/Sell signal comes with a percentage score and a letter grade. Grades range from D (poor) to A+ (premium setup). The score combines structure strength, regime alignment, ADX strength, volume, volatility favorability, and Fibonacci/SMA50 confluence — weighted into a single number you can filter on. Set a minimum confidence threshold and weak signals are blocked automatically.
✅ Adaptive position sizing.
Set your base risk per trade once. The indicator scales it by signal grade: C grade gets 0.5× base, B grade 0.75×, A grade 1.0×, A+ grade 1.5×. You take small positions on average setups and larger positions on premium setups — automatically. Recommended risk % is shown live in the dashboard.
✅ Full risk management with one-click presets.
Choose Conservative, Balanced, Aggressive, Scalping, or Custom. Every Buy/Sell signal automatically draws Entry, SL, TP1, TP2, TP3 lines on the chart with price and percent-from-entry labels. Lines extend forward and update live until the trade closes.
✅ Break-even trail after TP1.
When TP1 is hit, the stop-loss automatically moves to entry. Your remaining position becomes risk-free. The original SL line dims to show it's no longer active, and the entry label updates to "→ SL (BE)" so you always know where the real stop is.
✅ Built-in backtest tracker — per-grade.
Every closed trade is tracked: total trades, wins, losses, win rate, average R, profit factor, total R. Then it's broken down by confidence grade so you can see whether A+ signals actually outperform B signals on your market. If they don't, you know to retune. The tracker auto-resets when you change critical inputs so old stats never pollute new tests.
✅ Triple-confirmation breakout filter.
Direction changes require body ratio + ATR-based penetration + regime gate. No more wick-based fakeouts triggering position flips. You can dial the strictness for both modes independently.
✅ Universal — works on every market and timeframe.
Forex, crypto, stocks, futures, indices. Scalping (1m, 5m), intraday (15m, 1h), swing (4h, 1D), position (1W). The structure engine adapts to whatever pivot length you set. Volume is auto-detected and gracefully ignored on FX where it's unreliable.
✅ Professional dashboard with full live state.
At a glance: Regime, ADX, Volatility ratio, Signal mode, Confidence + grade, Suggested risk %, Direction, Trail Stop price, Timeframe, full SL/TP/RR/Risk block, and a complete Backtest section with per-grade breakdown.
✅ Alerts in plain text or JSON for webhooks.
Buy / Sell / SL hit / TP1, TP2, TP3 hit / Break-even activated. JSON payload includes ticker, timeframe, price, SL, all three TPs, R:R, regime, mode, confidence, grade, and recommended risk % — ready to feed any automation pipeline.
🚀 HOW IT CHANGES YOUR WORKFLOW
Before: You draw Fibonacci retracements by hand on every swing. You guess where to place the stop — fixed ATR multiple, recent low, gut feel. You take signals in any market without checking if it's trending or ranging. You have no idea whether your "best" setups actually win more often. You miss break-even opportunities and watch winners turn into losers. You manage three TPs in your head and forget which one was already hit.
After: You add the indicator. The Fibonacci cloud is already drawn — re-anchored to the current swing automatically. The dashboard tells you the regime, the signal grade, and the recommended risk % before you click Buy. SL, TP1, TP2, TP3 are pre-placed and labeled with prices and percentages. When TP1 hits, your stop is moved to entry without you touching anything. Every closed trade is logged and broken down by grade. After 50 trades, you know exactly which signal mode and confidence threshold work on your market.
What used to take 5 minutes of manual setup per trade now takes 5 seconds — read the dashboard, decide.
📖 HOW TO USE
🎯 Quick start (for beginners):
1. Add the indicator to your chart (any market, any timeframe).
2. Look at the dashboard in the top-right corner. It tells you the regime (Trending / Ranging / Volatile), the current confidence score, and the suggested risk %.
3. Wait for a "▲ Long " or "▼ Short " label to appear under or above a candle. The grade letter (C, B, A, A+) tells you the quality of the signal.
4. The indicator automatically draws Entry, SL, TP1, TP2, TP3 lines on the right side of the chart with prices and percentages.
5. Place your trade with the suggested risk % from the dashboard. Use the SL and TP levels exactly as drawn.
6. When TP1 hits (line turns cyan with a ✓), your SL automatically moves to entry — your trade is now risk-free. Let it run to TP2 and TP3.
7. The Backtest panel at the bottom of the dashboard tracks every closed trade. Watch your stats grow.
👁️ Reading the chart:
— 🟢 Green "▲ Long " label = Buy signal with grade letter
— 🔴 Red "▼ Short " label = Sell signal with grade letter
— 🟡 The colored cloud between two Fib lines = the current premium/discount zone
— The middle dotted line (Fib 0.5) = the inflection between premium and discount
— Solid colored line that follows price = the adaptive trailing stop (green when long, red when short)
— Blue dotted line = your entry price
— Red solid line = your stop-loss
— Green dashed lines (3 of them) = TP1, TP2, TP3
— When a TP is hit, its line turns cyan and the label gets a ✓ check mark
— When break-even activates, the SL line dims and the entry label becomes amber with "→ SL (BE)"
📊 Dashboard fields:
— Regime : current market state (Trending, Ranging, Volatile)
— ADX : trend strength number
— Vol Ratio : how volatile the market is right now (1.0 = average)
— Signal : which signal mode is active and its strictness
— Confidence : the score and grade of the most recent / pending signal
— Sugg. Risk : the recommended position size as % of account
— Direction : current trail direction (Bullish / Bearish / Flat)
— Trail Stop : the live trailing stop price
— TF : your current timeframe
— SL / TP1 / TP2 / TP3 : active trade levels (BE @ price when break-even is on)
— R:R : risk-to-reward ratio at TP1
— Risk : distance from entry to SL as % of price
— Backtest section : Trades, Win Rate, Avg R, Profit Factor, Total R
— By Grade : same stats broken down by A+ / A / B / C / D
💡 Trading ideas:
— Trend-follower setup : Use Trail Flip mode + Conservative risk preset on 1H or 4H. Take only A and A+ signals. Let trades run to TP3.
— Premium/discount swing setup : Use 0.5 Cross + Strict + Balanced risk on 15m or 1H. The 0.5 cross catches reversals at the Fibonacci inflection point.
— Scalping setup : Use 0.5 Cross + Relaxed + Scalping preset on 1m or 5m. Lower the minimum confidence to 50%. Exit at TP1 or TP2.
— Confirmation overlay : Run AFT alongside your existing system. Only take your trades when AFT confidence shows B or higher in the same direction.
— Beginner-safe mode : Set minimum confidence to 75 (A grade or above). Use Conservative risk preset. Let break-even handle most management.
— Backtest-then-trade workflow : Toggle Reset Backtest, scroll the chart back, let the indicator collect 30+ trades, check the per-grade stats, then start trading the grades that perform best.
🔧 Tuning guide:
— Too many signals? Increase Min Confidence (try 60 or 75), or switch from "None" to "Strict" cross strictness, or use Trail Flip mode.
— Too few signals? Lower Min Confidence (try 40 or 50), or set strictness to "Relaxed" or "None".
— Stop too tight? Switch trailing mode from Aggressive to Balanced or Conservative, or pick the Conservative risk preset.
— Stop too wide? Switch to Aggressive trailing mode or Aggressive / Scalping risk preset.
— Whipsaw on ranging markets? Increase Breakout Confirmation to 0.3 or 0.5, raise Min Body Ratio to 0.6.
— Want only premium setups? Set Min Confidence to 90 (A+ only). Expect 1-3 signals per week on most markets.
⚙️ KEY FEATURES
🏛️ Structure Engine:
— Score-filtered swing detection (every swing is rated by ATR-normalized impulse and volume)
— Adjustable pivot length (3 to 50 bars)
— Memory of the last 5 swings for stable Fibonacci anchoring
— Optional swing labels showing the score number
📡 Market Regime Engine:
— ADX-based trend detection with adjustable threshold
— Volatility ratio (current ATR vs. 50-bar average) for volatile-state detection
— Hysteresis on both thresholds — no regime flicker
— Optional background highlight for 10 bars after each regime change
🎯 Trailing Stop Engine:
— 4 modes: Aggressive (tight), Balanced, Conservative (wide), Adaptive (auto-adjusts to regime)
— Volatility-inverse adjustment: tighter in low vol, wider in high vol
— Direction-locked update: longs only lift the stop, shorts only lower it
— Triple-confirmation breakout filter (body ratio + ATR penetration + regime gate)
🌀 Fibonacci Cloud:
— Auto-anchored to the latest valid swing high/low
— 3 visual styles: Gradient, Solid, Pulsing
— Optional confluence markers when a Fib level aligns with SMA50
— Toggleable Fib level lines (0.382 / 0.5 / 0.618)
🛡️ Risk Management:
— 5 presets: Conservative, Balanced, Aggressive, Scalping, Custom
— ATR-based stop sizing with adjustable multiplier
— Three take-profit levels with adjustable risk-multiples
— Break-even trail toggle (moves SL to entry on TP1 hit)
— Live SL/TP lines with price + percent-from-entry labels
— Position lock: new signals are blocked while a trade is active
🎓 Confidence & Sizing Engine:
— 6-factor scoring (structure / regime / ADX / volume / volatility / confluence)
— 5 grades: D / C / B / A / A+
— Minimum confidence filter (0–100%) blocks weak signals
— Adaptive position sizing toggle scales risk by grade
— Adjustable base risk % per trade
📈 Backtest Tracker:
— Tracks every closed trade (closed by SL or TP3)
— Win/loss outcome model with TP1/TP2/TP3 partial-success recognition
— Win rate, average R, profit factor, total R
— Per-grade breakdown (validate the confidence engine on your market)
— Auto-reset on critical input changes
🎨 Visual System:
— Auto / Dark / Light theme detection
— Configurable label and dashboard font sizes
— Compact Pro-style design — no chart clutter
— Optional WillyAlgoTrader watermark
🔔 Alert System:
— Buy / Sell signals with full payload
— SL Hit, TP1/TP2/TP3 Hit, Break-even Activated
— Plain text or JSON webhook format
— Bar-close confirmed (no repainting)
📊 Dashboard:
— 5 position options (corners + middle right)
— 3 font sizes
— Adapts to your visible feature set (collapses sections that aren't enabled)
⚠️ IMPORTANT NOTES
— 🚫 No repainting. All signals fire only on confirmed bar close. Pivots use equal left/right lookback (the swing point is in the past by N bars — this is delayed confirmation, not repainting). Alerts use alert.freq_once_per_bar_close.
— 📐 The trailing stop and Fibonacci anchors require at least two opposing swings in memory. Fresh charts and new symbols need a brief warm-up period (typically 50 bars).
— 📐 On markets with no reliable volume data (most FX pairs), the volume-confirmation factor is replaced by a neutral default. The indicator works fully on FX.
— ⚖️ The backtest tracker counts only confirmed closures (SL hit or TP3 hit). Partial profits at TP1/TP2 are recognized in the win/loss outcome but realize at the level reached when the trade ultimately closes. Real-trading slippage, spread, and fees are not modeled.
— ⚖️ The confidence score is a quantitative filter, not a prediction of profit. It reflects setup quality based on the inputs available — not future performance.
— 🛠️ This is an analysis and trade-management tool, not an automated trading bot. It detects structure, classifies regime, scores setups, places SL/TP levels, and tracks outcomes — trade decisions remain yours .
— 🌐 Universal compatibility — works on all markets (Forex, crypto, stocks, futures, indices) and all timeframes from 1m to 1M.
Wskaźnik Pine Script®
SuperTrend Flip Zones [AGPro Series]# SuperTrend Flip Zones
🔷 OVERVIEW
SuperTrend Flip Zones is a trend-following overlay designed for traders who appreciate the clarity of SuperTrend, but want a more selective and more structured version of it on the chart.
Traditional SuperTrend tools are popular because they are simple: the line flips, the color changes, and the chart immediately prints a directional signal. That simplicity is useful, but it also creates a familiar weakness. In many market conditions, raw SuperTrend flips can appear too early, too close to noise, or without enough expansion to show that a genuine directional transition is taking hold.
This script was built to solve that exact problem.
Instead of treating every SuperTrend direction change as equally meaningful, SuperTrend Flip Zones evaluates the quality of the flip itself. Only qualified flips are promoted into visible BUY / SELL events, and each accepted signal creates a forward-projecting support or resistance zone built around the new SuperTrend structure.
The result is not just another SuperTrend clone with different colors. It is a more selective, more chart-aware framework that helps traders judge whether a flip is worth paying attention to, and where the new trend should continue to defend itself after that flip occurs.
🔷 WHAT MAKES THIS DIFFERENT
The biggest difference is that this script does not stop at the flip.
Most SuperTrend indicators on the platform focus on one task only:
detect the directional switch and mark it immediately.
SuperTrend Flip Zones takes a broader view. It asks two additional questions:
1. Was the flip strong enough to deserve attention?
2. After the flip, where is the live structural zone that the new trend is expected to protect?
That design choice creates a very different chart experience.
Instead of receiving every mechanical transition equally, the user sees a filtered signal environment. Weak flips can be ignored, while stronger flips remain visible and are reinforced by an ATR-based zone that extends forward. This makes the tool useful not only at the exact moment of the flip, but also in the bars that follow, when traders are deciding whether the move is still being respected.
It also creates clear separation from other AGProLabs tools in the same family.
This is not a pullback-quality script.
It is not focused on grading retracements inside an already established trend.
It is focused on the transition point itself, and on the acceptance zone created by that transition.
🔷 CORE LOGIC
The script is built around a custom SuperTrend engine using the selected ATR model, source, and multiplier.
When the direction flips, the script does not blindly trust the event. The flip is scored through a multi-factor quality model that examines:
- candle body efficiency,
- range expansion relative to ATR,
- price separation from the active SuperTrend line,
- alignment with a trend EMA,
- maturity of the prior trend leg before the reversal occurred.
Only flips that meet the minimum quality threshold are accepted.
Once a bullish or bearish flip qualifies:
- a BUY or SELL signal is printed,
- the signal can be promoted to BUY+ or SELL+ when the score is stronger,
- a rectangular support or resistance zone is created around the new SuperTrend level,
- that zone is extended forward to provide ongoing structure.
This makes the indicator useful both as a signal filter and as a post-signal map.
🔷 WHY THE ZONES MATTER
A standard SuperTrend line tells you where the trailing stop or directional boundary currently sits.
This script adds another layer by converting qualified flips into live zones. Those zones are important because they help visualize where the market should continue to accept price if the new directional phase is healthy.
In bullish conditions, the zone behaves like a dynamic support belt around the fresh SuperTrend structure.
In bearish conditions, the zone behaves like a dynamic resistance belt.
If price continues to respect that zone, the flip remains structurally valid.
If price loses the zone, the chart communicates that the new directional state is weakening or failing.
This produces a more practical read than a line alone, especially for traders who do not always enter on the exact signal bar and instead evaluate continuation quality after the move begins.
🔷 VISUAL DESIGN
The script is designed to look polished and organized without overloading the chart.
Visual elements include:
- bullish and bearish SuperTrend line states,
- restrained BUY / SELL labels,
- right-extending flip zones,
- soft trend cloud for directional context,
- compact AGPro panel with merged header row,
- configurable panel placement,
- dark and light theme support,
- adjustable label and panel text sizing.
The goal is to keep the chart premium and readable rather than dense and noisy.
🔷 HOW TO USE IT
SuperTrend Flip Zones is most useful for traders who want a higher-quality directional read rather than every raw SuperTrend crossover.
A typical workflow is:
- use the line and cloud to identify the active directional state,
- wait for a qualified BUY or SELL rather than reacting to every raw flip,
- monitor the projected zone as a live support or resistance area,
- observe whether price continues to defend that zone or loses it.
This makes the script suitable for discretionary trend-following, continuation analysis, and cleaner overlay-based chart reading.
🔷 BEST FIT
This tool is especially useful for:
- traders who already use SuperTrend but want cleaner signal selection,
- traders who prefer support / resistance style context after the flip,
- users who want a premium visual overlay without excessive label density,
- trend traders who want a more selective buy sell workflow.
🔷 TRANSPARENCY
This is an analytical indicator, not a trading strategy.
Like all trend-following tools, it can become less effective in highly compressed or directionless market conditions. The filtering logic is designed to reduce weak transitions, but it does not replace chart context, timeframe awareness, or risk management.
All logic is based on confirmed bar data inside the script framework. The purpose is to organize price action more clearly, not to guarantee future market behavior.
Wskaźnik Pine Script®
Buy/Sell Pressure Meter [AGPro Series]Buy/Sell Pressure Meter
🔹 Overview
Buy/Sell Pressure Meter is a volume-flow analytics tool that quantifies the tug-of-war between buyers and sellers on every bar and on a rolling basis. Unlike traditional volume delta indicators that only plot raw bar-level buy minus sell, this tool layers four complementary lenses into a single oscillator: rolling pressure trend, imbalance streak tracking, intraday pressure shift count, and session-accumulated dominance. A subtle price-pane background tint gives a Bookmap-light read on intraday participation that works across crypto, futures, and liquid equities — without requiring tick-level order flow data.
🔹 Unique Edge
Most volume-delta scripts answer the question "which side was bigger on this bar?" This one answers a different, more useful question for intraday traders: "who has been in control, and how stable is that control?"
• Rolling Pressure Trend — a moving average of buy and sell pressure separately (dual histogram), so you see structural bias, not just bar-to-bar noise.
• Imbalance Streak Tracking — counts consecutive same-side dominant bars and labels only the final length of each significant streak at the moment the streak breaks. No per-bar label spam, one clean marker per event.
• Intraday Pressure Shift Count — how many times the rolling dominant side has flipped since session open. High shift count = rotational day. Low shift count = trending day.
• Session-Accumulated Net Delta — cumulative bull vs bear contribution since the day began, independent of the rolling window.
• Price-Pane Bookmap-Light Tint — a very high-transparency background tint paints the main chart pane when one side is rolling-dominant, so you see control visually without leaving the price chart.
These five lenses together are deliberately designed not to overlap with raw volume-delta or cumulative-volume-delta indicators. They describe the character of participation, not just its magnitude.
🔹 Methodology
Because standard chart data does not include true tick-level order flow, this script uses a widely-accepted proxy: up-bar volume is attributed to buy pressure, down-bar volume to sell pressure, and doji volume is split evenly. This is explicitly a simulated bias — not real bid/ask flow — and the script labels it as such in the panel.
From that proxy:
1. Current-bar bull pressure percentage = buyPressure / (buyPressure + sellPressure) × 100.
2. Rolling pressure = SMA of buy and sell pressure over the user-defined window (default 20 bars).
3. A bar is classified bull-dominant when its bull pressure percent exceeds the dominance threshold (default 55%), and bear-dominant at the mirror level.
4. Streaks count consecutive bars of the same classification and reset when a neutral or opposite bar prints. Peak length is captured at the moment of reset and optionally labelled on chart.
5. Pressure shifts compare the current rolling dominant side against the last confirmed non-neutral dominant side; a change increments the intraday shift counter (only on intraday timeframes).
6. Session delta is the cumulative net delta since the last daily rollover.
🔹 Signals & States
• Dual histogram — buy pressure (teal, upward) and sell pressure (pink, downward) plotted as rolling averages.
• Net delta center line — accent-colored line showing rolling buy minus sell.
• Price-pane background tint — subtle teal or pink when one side is rolling-dominant, gives a Bookmap-light feel without obscuring candles.
• Oscillator-pane echo tint — even more subtle tint mirroring the dominant side in the indicator pane.
• Shift markers — triangles on the pane when the dominant side flips.
• Streak peak labels — plotted only at streak termination, showing final length (e.g. "Bull 7").
• Alerts — pressure shift to bull, pressure shift to bear, bull imbalance streak, bear imbalance streak.
🔹 Key Inputs
Calculation:
• Rolling Pressure Length — default 20. Higher = smoother, slower reaction.
• Minimum Streak To Highlight — default 3. Used for alerts.
• Dominance Threshold — default 55%. Share of total pressure needed to classify a bar as dominant.
Visuals:
• Tint Price Pane On Dominance — toggles the Bookmap-light effect on the main chart.
• Show Streak Peak Labels + Minimum Streak Length To Label (default 5) — controls chart cleanliness.
• Show Pressure Shift Events — triangle markers on shifts.
• Background Tint Transparency — default 94, adjustable 80-99.
Panel:
• Panel Location, Theme (Dark / Light), Font Size, Label Font Size — all default to Normal and fully configurable.
🔹 How To Use
This is an analytical tool, not a standalone trading system. Typical use cases:
• Confirmation — when price breaks a structure level while the rolling net delta is strongly in the break direction and a streak is in progress, the break has participation behind it.
• Exhaustion — a long bull streak peak followed by a rolling shift to bear, or vice versa, often marks the end of the current impulse.
• Regime read — a day with many intraday pressure shifts is rotational; a day with 0-1 shifts is directional. Adjust your playbook accordingly.
• Companion to S/R, supply/demand, and volume profile tools — use the streak peak and shift events as a participation filter when price interacts with a zone.
Best results on liquid instruments with meaningful bar-to-bar volume variation. Low-volume illiquid tickers produce noisier readings.
🔹 Limitations & Transparency
• The buy vs sell attribution is a proxy derived from bar direction and bar volume. It is not real order flow, Level 2, or tick data. Bookmap, CVD from exchange feeds, and footprint tools access information that bar-level scripts structurally cannot replicate.
• On instruments or timeframes where many bars close near their open (doji-heavy regimes), proxy-based attribution becomes less informative.
• The intraday shift counter is only meaningful on intraday timeframes; on daily-and-above timeframes the panel explicitly shows this as n/a.
• The script is non-repainting on closed bars. Intrabar values update in real time and may change until the bar confirms.
• Pressure shifts and streaks describe past and current state. They are not predictions of future price.
🔹 Risk Disclosure
This script is provided as an analytical tool for educational and research purposes. It does not constitute financial advice, a trading signal, or a recommendation to buy or sell any asset. Past performance of any pattern, streak, or shift event does not guarantee future results. Users are solely responsible for their own trading decisions and risk management. Always combine any indicator with broader market context, position sizing discipline, and your own due diligence.
Wskaźnik Pine Script®
Gaussian Channel System [GCS]## DESCRIPTION
Gaussian Ribbon Engine (GRE) is a multi-layer trend analysis system built on the Arnaud Legoux Moving Average (ALMA), which applies a Gaussian (bell curve) weighting function to price data instead of the linear or exponential weights used by traditional moving averages.
**Mathematical Foundation**
ALMA uses a Gaussian kernel — the same bell-curve distribution found in statistics and physics — to weight the prices in its lookback window. The Gaussian function is parameterized by two values: offset (which shifts the bell curve left or right, controlling responsiveness vs. smoothness) and sigma (which controls the width of the bell curve, determining how sharply weights decay from the center). The formula applies: w(i) = exp(-((i - offset * (N-1))^2) / (2 * sigma^2 * N^2)), where each price bar receives a weight according to its position on the Gaussian curve. This produces a moving average with mathematically optimal noise filtering properties.
GRE constructs five ALMA layers with increasing periods (default 9, 21, 55, 100, 200), creating a visual ribbon. When all five layers align in order (fastest on top for bullish, fastest on bottom for bearish), the market is in full directional agreement. The spread between the outermost layers, measured as a percentage and compared to its own historical average, identifies squeeze (convergence) and expansion (divergence) conditions.
**9-Point Confluence Scoring**
The scoring matrix evaluates: price vs. Layer 1, Layer 1 vs. 2, Layer 2 vs. 3, Layer 3 vs. 4, Layer 4 vs. 5 alignment, Layer 1 slope direction, Layer 3 slope direction, RSI above/below 50, and DI+/DI- directional movement. Signals fire when the score crosses the configurable threshold with ADX confirmation.
**Features**
- Five-layer ALMA ribbon with Gaussian kernel weighting
- Adjustable offset (0-1) and sigma parameters for fine-tuning the Gaussian bell shape
- Ribbon spread analysis with squeeze and expansion detection
- 9-point confluence scoring with visual dot notation in dashboard
- ATR-based dual take-profit levels (TP1 and TP2)
- Squeeze breakout signals when ribbon compresses then expands
- ADX and volume confirmation filters
- Full color-coded dashboard with regime classification
- Multiple alert conditions
---
Wskaźnik Pine Script®
SSO / SPY Rotation - Weekly RSI(40) vs MA(100)This signal uses moving averages to assist in tracking buy and sell signals using momentum in price action.
Wskaźnik Pine Script®
CryptoEdge ProFree indicator — dynamic bands and BUY/SELL signals.
BUY when price bounces from lower band
SELL when price rejects from upper band
Works BTCUSD ETHUSD 4H OR 1H
Alerts included
By CryptoFX Edge
--- PriceFlow Pro coming soon ---
Wskaźnik Pine Script®
MACD v2.4 Ultimate Edition Hybrid Autopilot MTF█████████████████████████████████████████████████████████████
// █ 🌀 MACD v2.4 ULTIMATE EDITION (Hybrid Otopilot + Akıllı Kalkan + MTF)
// █ =============================================================================
// █ CREATOR: TradingView (Original MACD)
// █ UPGRADED BY: @TTesviyeci + AI
// █
// █ 🎯 YENİLİKLER (v2.4 HAZIR PROFİLLER & UI/UX REVİZYONU):
// █ • 6 Farklı Karakter: Standart, Fibonacci, Balina, Ağır Çekim ve Scalp profilleri eklendi.
// █ • Gelişmiş Tooltipler: Her ayarın yanına sistemin mantığını anlatan "ℹ️" rehberleri eklendi.
// █
// █ 🎯 DÜZELTMELER (v2.2 & v2.3 MİRASI):
// █ • Akıllı Kalkan & Hybrid Otopilot: Sahte sinyal filtresi ve otomatik Close geçişi.
// █ • TKE Template: Temel periyotlar request.security DIŞINDA "simple int" hesaplandı.
// █ • Dinamik Lookahead eklendi ve her TF için security ayrı ayrı çağrıldı.
// █████████████████████████████████████████████████████████████
// =============================================================================
// 🎓 KULLANIM KILAVUZU (Yorum olarak)
// =============================================================================
// █ 🎯 YENİ BAŞLAYANLAR İÇİN (HAZIR PROFİLLER):
// █ 1. Ayarlardan "Hazır MACD Profilleri" menüsünü açın.
// █ 2. "Standart (12-26-9)" veya pürüzsüz trend için "Fibonacci Swing" seçin.
// █ 3. MTF Tablosunu açın, Fısıltı Modunu takip edin.
// █ 4. 🚀 RALLİ MODU → AL, 🩸 BIÇAK DÜŞÜYOR → SAT
// █
// █ 🎯 ORTA SEVİYE İÇİN (ADAPTİF MOTOR):
// █ 1. Period Modu: "Otomatik (Adaptif)" seçin.
// █ 2. Adaptasyon Seviyesi: "Basit (Vol + Hacim)"
// █ 3. Divergence'ları (Uyumsuzlukları) takip edin.
// █ 4. 💎 ALTIN VURUŞ + Bullish Div → AGRESİF AL
// █
// █ 🎯 İLERİ SEVİYE İÇİN (TAM KONTROL):
// █ 1. Period Modu: "Otomatik (Adaptif)"
// █ 2. Adaptasyon Seviyesi: "Tam (Vol + Hacim + Trend + Rejim)"
// █ 3. Screener filtrelerini kullanın ve Kombo alarmları kurun (Div + Fısıltı).
// █
// █ ⚙️ MACD PROFİLLERİ NE İŞE YARAR?
// █ • Standart (12-26-9): Klasik, herkesin bildiği fabrika ayarı.
// █ • Fibonacci Swing (13-34-8): Gürültüyü süzen, sahte sinyalleri azaltan yapı.
// █ • Kurumsal Balina (20-50-10): Sadece büyük fonların girdiği ana trendler.
// █ • Ağır Çekim Trend (55-68-6): Çok güvenli, uzun vadeli trend teyidi.
// █ • Agresif Scalp (5-13-3): Hızlı patlamaları yakalayan dar makas (Kısa vade).
// █ • Özel: Kendi manuel değerlerinizi kullanmanızı sağlar.
// █
// █ 🕵️ SCREENER STRATEJİLERİ:
// █
// █ STRATEJİ 1: SÜPER AL
// █ • SCR: 🏆 SÜPER AL (Div + Ralli) = 1 | MACD Yukarı Kesti Signal = 1
// █ → En güçlü AL sinyali
// █
// █ STRATEJİ 2: ALTIN VURUŞ
// █ • SCR: 💎 ALTIN VURUŞ = 1 | Regular Bullish Div = 1 | Histogram < 0 = 1
// █ → En iyi fırsat (Büyük trend güçlü, kısa vade düşüş)
// █
// █ STRATEJİ 3: TREND DEVAM
// █ • SCR: 🚀 TREND DEVAM (Hidden + Ralli) = 1 | MACD > Signal = 1
// █ → Trend devam ediyor, TUT!
// █
// █ STRATEJİ 4: NAKİT KAL
// █ • SCR: 🩸 BIÇAK DÜŞÜYOR = 1 | Regular Bearish Div = 1
// █ → Tüm TF'ler zayıf, SATIP BEKLE
// █
// █ 🔔 ALARM ÖNERİLERİ:
// █ • 🏆 SÜPER AL (Div + Ralli) → En güçlü AL sinyali
// █ • 💎 ALTIN VURUŞ (Div + Düzeltme) → En iyi fırsat
// █ • 🚀 TREND DEVAM (Hidden + Ralli) → Trend devam, TUT
// █ • 🏆 SÜPER SAT (Div + Bıçak) → En güçlü SAT sinyali
// █
// █ ⚠️ ÖNEMLİ NOTLAR & İPUÇLARI:
// █ • Adaptive Period Engine'i ilk başta "Sadece Timeframe" ile test edin.
// █ • Sonra "Basit (Vol + Hacim)", en son "Tam" modunu deneyin.
// █ • MTF Matrix + Fısıltı Modu 4 timeframe'i tek bakışta gösterir.
// █
// █ VERSİYON GEÇMİŞİ:
// █ • v1.0 (2024): Temel MACD + MTF Matrix
// █ • v2.0 (Şubat 2025): Adaptive Engine + Hybrid Div + Fısıltı Modu
// █ • v2.1 - v2.3 (Mart 2026): MTF Okları, TKE Şablonu, Otopilot ve Kalkan
// █ • v2.4 (Nisan 2026): 6 Hazır MACD Profili ve Gelişmiş Tooltip (UI/UX) Entegrasyonu
// █████████████████████████████████████████████████████████████
Wskaźnik Pine Script®
golden crossoverpositional buying and selling system. when multiple crossover met and candlestick pattern is open take positional buy
Wskaźnik Pine Script®
Super StochasticAdded Features (Originality Enhancements)
Divergence Detection: Instead of relying solely on price action for "BUY/SELL" signals, we've integrated an algorithm that identifies discrepancies between price movement and the oscillator. This helps in spotting potential trend reversals before they happen.
Alarm System: We have added code and features that allow you to set alerts based on Buy and Sell conditions directly on the indicator. You can now easily catch signals and set up alerts.
Dynamic Background & Alert Infrastructure: To enhance visual clarity, we’ve added dynamic background coloring for trend changes. Additionally, the script includes a robust alert system compatible with trading bots and real-time notifications.
Refined Signal Logic: The downward momentum triggered when the %K line crosses below the %D line at peaks has been redesigned for higher clarity and directly reflected on the %K line.
User-Friendly Visuals: Added "Buy" and "Sell" labels to help traders—especially beginners—identify entry and exit points more easily within extreme zones.
Improved Navigation: Made it simpler for new traders to capture market movements effectively.It enables novice traders to capture buy and sell opportunities more easily.
"It works best on the daily timeframe with settings of K: 14 / D: 3 / Smooth: 3."
Good Luck!
Wskaźnik Pine Script®
Super SMA 5 8 13 + EMA 20/200 Regime Filter (ALIZET)Love this indicator. Super SMA 5 8 13 + EMA 20/200 Regime Filter (ALIZET) is a trend‑following indicator that combines the classic 5‑8‑13 moving average setup with a 20/200 EMA regime filter. It plots SMA 5/8/13 for short‑term momentum and EMA 20/200 to define market environment (bullish, bearish, or both). Buy signals trigger when SMA 5 crosses above SMA 13 under the selected regime; sell signals trigger when SMA 5 crosses below SMA 8 and SMA 13. The “Regime Filter” input lets you limit signals to only bullish (EMA20 > EMA200), only bearish (EMA20 < EMA200), or run in both modes, helping you focus entries and exits on the type of market you want to trade.
Wskaźnik Pine Script®
Smooths Trend BreakerSmooths Trend Breaker
Overview
Smooths Trend Breaker is a trend identification and entry timing tool that combines an adaptive ATR-based supertrend, a higher timeframe EMA trend filter, volume confirmation, an RSI gate, a price compression range detector, and FVG-gated star candlestick pattern recognition. Each component was chosen to address a specific weakness in standalone supertrend systems — noise in choppy markets, late entries, and signals that contradict the larger trend — and all components work together as a single decision framework rather than as separate overlapping indicators.
Component Methodology
Adaptive Supertrend Engine
The core engine uses an ATR-based supertrend calculation. True Range is computed on each bar as the maximum of the current high-low range, the absolute distance from the prior close to the current high, and the absolute distance from the prior close to the current low. ATR is then derived using Wilder's smoothing method — a modified exponential moving average with a smoothing factor of 1/N — rather than a simple average, which gives more weight to recent volatility while maintaining memory of past conditions.
The upper and lower bands are calculated as the midpoint of the bar's high-low range plus or minus the ATR multiplied by a user-defined multiplier. Bands are then locked directionally — the lower band can only move upward and the upper band can only move downward — preventing the line from retreating when price moves against the trend. The trend direction flips only when a closing price crosses the opposite band, not on intrabar wicks, ensuring signals are close-confirmed.
Rather than using fixed ATR settings across all timeframes, the indicator auto-selects ATR length and multiplier based on the chart's timeframe in seconds. Shorter timeframes receive a shorter ATR period and higher multiplier to account for proportionally larger noise relative to signal. Longer timeframes receive a longer period and lower multiplier to avoid over-sensitivity on slower-moving instruments. This eliminates the need to manually adjust parameters when switching timeframes.
Higher Timeframe EMA Filter
When enabled, the indicator uses `request.security()` to retrieve a 50-period EMA from a higher timeframe selected automatically based on the chart timeframe — for example a 15-minute EMA is referenced when viewing a 5-minute chart, and a 4-hour EMA is referenced when viewing a 1-hour chart. A Buy label is only confirmed when price closes above this EMA and a Sell label is only confirmed when price closes below it, aligning entries with the larger structural trend.
Volume Confirmation
The volume filter computes a 20-bar simple moving average of volume. A signal is confirmed only when the flip bar's volume exceeds this average by a user-defined threshold, defaulting to 1.2 times the average. This filters out supertrend flips that occur on low-participation bars, which have historically higher failure rates.
RSI Gate
A 14-period RSI using Wilder's smoothing is computed on each bar. Buy signals are blocked when RSI exceeds a user-defined overbought level (default 70) and Sell signals are blocked when RSI falls below a user-defined oversold level (default 30). This prevents chasing exhausted moves at extremes.
Range Breaker
The Range Breaker compares the current N-bar rolling range (highest high minus lowest low) against the prior N-bar rolling range from the equivalent lookback window shifted N bars back. When the current range is less than a defined ratio of the prior range — meaning price has compressed significantly relative to its recent volatility — a consolidation zone is declared. Horizontal lines are drawn at the highest high and lowest low of the active zone and extend forward with the current bar. When a closing price breaks outside either level the zone is sealed and a breakout marker fires.
Star Pattern Detection with FVG Gate
Morning Star, Morning Doji Star, Evening Star, and Evening Doji Star patterns are detected using strict 3-candle criteria. The first candle must be a strong directional bar with a body filling at least 50% of its range. The middle candle — the star — must have a body of 25% or less of its range and a total range smaller than 80% of the first candle's body. The confirmation candle must be directionally opposite to the first candle with a body filling at least 40% of its range, closing past the midpoint of the first candle's body.
Additionally, a Fair Value Gap check is applied to the candle immediately before the star. A bearish FVG exists when the high of bar N is below the low of bar N+2, creating a downward price gap. A bullish FVG exists when the low of bar N is above the high of bar N+2, creating an upward price gap. An Inverse FVG check scans back 45 bars for a prior FVG zone whose price range overlaps with the pre-star candle, indicating price has returned to fill an old imbalance. If neither an FVG nor an IFVG is present on the candle before the star, the pattern does not fire regardless of candle structure. This ensures every star signal is anchored to a real price imbalance.
How to Use It
The highest probability setups occur when the supertrend line has already established direction, the range detector is not showing an active chop zone, and a signal fires with volume and HTF agreement. The Range Breaker lines are a caution flag — while they are active and unbroken, the supertrend will produce lower quality signals due to market compression. The star patterns provide a precision entry trigger that can be used to time entries at reversal points, particularly when a star fires near an active Range High or Range Low level.
Trend continuation
Wait for a pullback toward the supertrend line, then enter when the next Buy or Sell label prints in the direction of the established trend.
Breakout entries
When a range zone has been active for several bars and the supertrend is already pointing in one direction, a range breakout marker firing in that same direction is a high-quality entry trigger.
Star entries
A star pattern firing at or near a Range High or Range Low, with the supertrend already in agreement, represents the highest confluence setup available in the indicator.
What to avoid
Do not enter trend signals while a range zone is active with no breakout. Do not take signals that contradict the HTF EMA. Do not enter late into an extended trend where price is far from the supertrend line.
Settings
ATR Length and Multiplier auto-scale by timeframe but can be manually overridden. Volume threshold multiplier defaults to 1.2× the 20-bar average. RSI overbought and oversold levels default to 70 and 30. Range sensitivity has three modes controlling lookback period, compression ratio, and minimum bar count. Past zones to display defaults to 5, maximum 20.
Wskaźnik Pine Script®
AI Neural Trend Predictor [identityKa]The AI Neural Trend Predictor is a professional-grade, zero-lag trend tracking system designed to keep traders in massive moves while aggressively filtering out market noise. Traditional moving averages suffer from two fatal flaws: they either lag heavily behind the price, or they whipsaw the trader out of positions during minor pullbacks. This script solves both issues by combining a zero-lag mathematical smoothing algorithm with a dynamic volatility shield.
Core Mechanics & Detection
Zero-Lag Base Engine: The core of the algorithm utilizes a highly responsive, smoothed proxy to track the live price instantly, eliminating the delayed entry problem found in SMA or EMA based indicators.
Volatility Shield (Noise Filter): Instead of flipping signals the moment price crosses the baseline, the engine projects a dynamic ATR-based shield around the trend. During a bullish run, minor price drops will simply compress into the shield without triggering a premature SELL signal. The trend only flips when the institutional order flow breaks through the true volatility threshold.
Clear BUY / SELL Labels: The engine prints highly visible, definitive BUY (Green) or SELL (Red) labels directly on the chart, taking the guesswork out of your entries.
HUD Dashboard & AI Logic
The strictly positioned on-chart intelligence panel evaluates the live market state:
Dangerous (Orange): Displayed actively whenever the internal volatility ratio drops below the algorithmic threshold, indicating a Choppy or Ranging market. This warns the trader to avoid taking new positions until momentum returns.
LONG / SHORT: The engine generates a clear directional bias when the market shifts to a "TRENDING" state and the volatility shield remains unbreached in the direction of the trend.
How to Use It
This tool is built for capturing massive swings. When an AI BUY label appears, you ride the trend until the opposing SELL label is printed. Do not panic-sell during minor red candles (pullbacks); trust the Volatility Shield to keep you in the trade. For optimal results, ignore signals generated while the dashboard reads "Dangerous."
Wskaźnik Pine Script®
ISV-200 - PRO
The indicator automatically finds peaks or troughs in combination with Bollinger Bands and MACD divergence to enable entry points.
Wskaźnik Pine Script®
Pro Levels & Zones [MTE]Pro Levels & Zones
An intraday futures overlay that combines pivot-based supply and demand zones with multi-session key levels and a confluence-based signal filter. The core idea is that zones alone generate too many potential entries — by requiring alignment across multiple independent factors before labeling a zone touch, the indicator filters out low-conviction setups and highlights where several references converge.
HOW IT WORKS
Supply & Demand Zone Detection
Zones are built from 60-minute pivot highs and pivot lows using a 3-bar left / 3-bar right pivot structure. When a pivot high is confirmed, the area between the candle's high and the top of its body becomes a supply zone (red). When a pivot low is confirmed, the area between the candle's low and the bottom of its body becomes a demand zone (green). Zones extend forward in real time and are automatically removed when price closes beyond the zone boundary or when the zone exceeds a configurable age limit (default: 500 bars). Only the 3 most recent zones per side are kept to avoid chart clutter.
Confluence Scoring (signal filter)
When price enters a fresh (unused) zone, the indicator checks up to 5 independent factors before printing a signal:
1. Volume delta direction — estimated from the bar's close position within its range. A buy signal requires positive delta; a sell signal requires negative delta.
2. VWAP proximity — whether price is near the session VWAP (within 0.15% of current price).
3. Key level proximity — whether price is near a relevant prior-session level (PDH, PDL, PMH, PML).
4. POC proximity — whether price is near the intraday volume Point of Control.
5. VWAP trend bias — whether price is on the "right side" of VWAP for the signal direction (buy below VWAP, sell above).
Each matching factor adds 1 to the score. The signal label displays the count (e.g., "Buy 4/5") so traders can see at a glance how many factors aligned. A configurable cooldown (default: 12 bars) prevents repeated signals in the same area. An additional filter requires bearish candle close for sells and bullish candle close for buys.
Note: The confluence score is simply a count of how many factors happen to align at the moment of zone contact. A higher count does not predict or guarantee a successful trade. It is a filtering tool, not a performance metric.
SESSION LEVELS & KEY LEVELS
The indicator tracks and displays levels from multiple sessions:
- London session high/low — plotted as live-updating steplines during the session, then held after session close.
- Asia session high/low — same behavior, off by default.
- Key levels drawn as dashed horizontal lines: Previous Day High/Low/Close (PDH/PDL/PDC), Pre-Market High/Low (PMH/PML), Previous Week High/Low (PWH/PWL), Overnight High/Low (ONH/ONL), and the RTH Opening Print. All are off by default and individually toggleable.
Previous day and week values use request.security() with a offset and lookahead_on, which is the standard method to reference the prior completed period without future data leakage.
ADDITIONAL TOOLS (all off by default)
- VWAP — standard session-anchored VWAP using ohlc4 as source.
- POC — intraday volume Point of Control calculated by distributing each bar's volume into a 100-bin histogram across the RTH price range, then finding the bin with the highest accumulated volume. Resets daily.
- Fair Value Gaps — bullish and bearish imbalances detected when a gap exists between bar 's low and bar 's high (or vice versa), filtered by a minimum percentage size (default: 0.15%). FVGs auto-expire after 40 bars. Maximum 6 active FVGs.
- Opening Range — plots the RTH opening range as a box (15 or 30 minute, configurable). Extends through the session.
WHY THIS COMBINATION
Most zone-based approaches generate signals every time price touches a zone, regardless of context. This indicator addresses that by requiring zone contact AND directional volume AND candle confirmation before printing anything, then layering additional context (VWAP, key levels, POC) as a visible confluence count. The result is fewer signals that occur only at zones where multiple independent references happen to converge.
The session levels (London, Asia, pre-market, overnight) are included because futures often react at session boundaries, and having them as toggleable overlays avoids needing separate indicators cluttering the chart.
HOW TO USE
1. Apply to a 1-15 minute intraday futures chart (defaults tuned for NQ on 5 min).
2. Adjust "Min Zone Size" for your instrument (NQ: 20-50 pts, ES: 5-15 pts).
3. Watch for Buy/Sell labels at zone touches. Higher confluence counts (4/5, 5/5) mean more factors aligned — use your own judgment on whether the context supports a trade.
4. Toggle key levels on/off depending on which session references matter to your trading approach.
5. All features are independently toggleable. Start with zones + signals, then add levels as needed.
DEFAULT SETTINGS
- Zones: ON, min size 20 pts, max age 500 bars
- Signals: ON, cooldown 12 bars, volume delta confirmation ON
- London session levels: ON
- All other levels and tools: OFF
LIMITATIONS
- Volume delta is estimated from bar close position within range — it is not true order flow data.
- POC uses a 100-bin histogram which is an approximation, not tick-level volume profile.
- Confluence scoring counts factor alignment but does not predict outcomes. Past confluence patterns do not guarantee future results.
- Zone detection has a 3-bar lag due to pivot confirmation.
- Designed for futures instruments. Adjust zone size settings for other markets.
Wskaźnik Pine Script®
A++ Signals [Scalping-Algo]This indicator is a high-probability trend-following system designed for scalping and intraday trading (3M, 5M, 15M). It combines volatility-based signals with institutional trend filters to maintain a high winrate.
1. How to Enter a Trade
Long Entry: Wait for the green "Long" bubble. Price must be above both the Gold VWAP and the Blue EMA 13.
Short Entry: Wait for the red "Short" bubble. Price must be below both the Gold VWAP and the Blue EMA 13.
Trend Filter: Ensure the price is trading in the direction of the EMA 200 (thin gray line) for the highest probability of success.
2. Managing the Trade (TP/SL)
Once a signal appears, the indicator draws two dynamic boxes:
Green Zone (TP): Your target area. The trade is a "Win" when price hits the top of this box (marked by a purple "Long TP" bubble).
Red Zone (SL): Your protection area. The trade is a "Loss" if price hits the bottom of this box (marked by a red "Long SL" bubble).
The "76% Winrate" Secret: The indicator uses Asymmetric Risk. By setting a smaller Take Profit (1.0) and a wider Stop Loss (3.0), you allow the trade to "breathe" through market noise, significantly increasing the chance of hitting your profit target.
3. Using the Dashboard
Win %: Displays the real-time accuracy of the strategy on your current chart.
Multiplier/Period: Shows your active sensitivity settings. If the winrate drops below 70%, try increasing the Multiplier slightly to filter out more noise.
4. Pro Tips for Maximum Success
Trade the "Session": The best signals occur during the London/New York crossover (active by default in the settings).
Volume is King: Only take signals where the volume is high (the indicator filters this automatically, but always look for "strong" candles).
Avoid Flat Markets: If the Gold VWAP and Blue EMA 13 are crossing each other frequently (moving sideways), stay out of the market until a clear trend emerges.
Wskaźnik Pine Script®
Hidden Markov Model: Baum-Welch [UAlgo]Hidden Markov Model: Baum-Welch is a regime detection and reversal signaling indicator that applies a 3 state Hidden Markov Model to normalized log returns and continuously adapts its parameters using an online Baum Welch expectation maximization routine. The script is designed to classify the market into three latent regimes, then express that classification as real time probabilities for Bull, Range, and Bear conditions.
The indicator runs in its own pane ( overlay=false ) and outputs:
Probability curves for the three regimes
A dominant regime score scaled to 0 to 1
A regime strip visualization for quick bias reading
Adaptive background coloring based on the dominant regime and confidence
Optional regime shift markers
Optional buy and sell reversal markers driven by strict multi condition logic
The core idea is that price behavior can be modeled as transitions between hidden states that each have their own return distribution. The script fits a Gaussian emission model for each state, estimates state transition probabilities, and updates the posterior probability of each state on every bar. It retrains the full model at fixed intervals, while using a faster one step forward update between retrains for efficiency.
This implementation is not a simple threshold oscillator. It is a full mini HMM engine built in Pine with:
Scaled forward and backward algorithms
Expectation step producing gamma and xi posteriors
Maximization step updating initial distribution, transition matrix, state means, and state variances
Safeguards such as variance floors and transition floors to maintain numerical stability
The output is a regime aware probability system that can be used for bias, context, and reversal confirmation rather than simple entry signals.
Educational tool only. Not financial advice.
🔹 Features
🔸 1) Three State Hidden Markov Model Regime Engine
The model uses three hidden states and continuously estimates the probability of being in each state:
Bull regime
Range regime
Bear regime
This gives a probabilistic regime map rather than a single hard classification.
🔸 2) Baum Welch Training with Scheduled Retraining
The script retrains its parameters using an EM routine at a user defined interval in bars. Each retrain runs a configurable number of EM iterations. Between retrains, the indicator performs a one step forward Bayesian update of the posterior state probabilities.
This structure balances adaptability with performance.
🔸 3) Normalized Log Return Observations
The observation series is a z score normalized log return:
Log returns convert price changes into additive units
An EMA and rolling standard deviation normalize the series to stabilize the HMM fit
This helps the HMM learn regimes based on relative return behavior rather than raw price scale.
🔸 4) Automatic Bull, Range, and Bear Role Assignment
The model learns state means. The script then assigns roles by ranking those learned means:
The state with the lowest mean becomes the Bear state
The state with the highest mean becomes the Bull state
The remaining state is treated as Range
This keeps regime labeling consistent even as the internal state ordering shifts during training.
🔸 5) Probabilities and Dominant Regime Visualization
The script plots:
Bull probability curve
Range probability curve
Bear probability curve
It also plots an area for the dominant probability and a regime strip that makes it easy to see the dominant regime quickly without reading the full curves.
🔸 6) Regime Score Line (Bull minus Bear)
A continuous score is calculated as Bull probability minus Bear probability, then scaled to a 0 to 1 range. This score becomes the main regime momentum signal used for rebound and reversal logic.
🔸 7) Adaptive Background Coloring by Regime and Confidence
The pane background color changes based on the dominant regime. Transparency adapts according to confidence, so strong regime certainty produces a more visible background while low certainty remains subtle.
🔸 8) Strict Signal Filters for Bias and Reversal
The indicator provides bias filters:
Bull bias when Bull probability and confidence exceed thresholds and the dominant regime is Bull
Bear bias when Bear probability and confidence exceed thresholds and the dominant regime is Bear
It also provides reversal style buy and sell signals based on a multi condition framework described in the calculations section.
🔸 9) Reversal Logic Combining Extremes, Rebounds, and Transition Edge
Reversal signals are not generated by a single crossover. The script requires:
An extreme score pivot
An extreme regime probability at that pivot
A rebound trigger through predefined rebound levels
A minimum probability and confidence filter
A transition asymmetry and edge condition that favors switching toward the target regime
A momentum condition requiring Bull probability rising and Bear probability falling for buys, and the inverse for sells
A time window limit so reversals must occur within a limited number of bars after the extreme
This creates a high selectivity reversal engine.
🔸 10) Transition Matrix Insight and Switch Edge Metrics
The script computes predicted transition probabilities toward Bull and Bear using the current posterior and the transition matrix. It also measures transition asymmetry between Bull to Bear and Bear to Bull and uses these values as part of reversal confirmation.
This adds structural information that classic oscillators do not capture.
🔸 11) Anti Duplicate Reversal Signals
Once a pivot extreme has been used to generate a reversal signal, it is marked as consumed so the same pivot cannot repeatedly trigger additional buy or sell signals. This helps avoid signal repetition.
🔸 12) Full Informational Label Output
A live info label prints:
Current regime
Current signal text
Confidence
Bull, Range, Bear probabilities
Log likelihood
Key trigger thresholds
Reversal settings and edge settings
This provides transparency into what the model is currently seeing and why signals are or are not appearing.
🔹 Calculations
1) Observation Series: Normalized Log Returns
The script uses log returns:
logRet = math.log(close / nz(close , close))
Then normalizes them with an EMA mean and rolling standard deviation:
retMean = nz(ta.ema(logRet, normLength), 0.0)
retStd = math.max(nz(ta.stdev(logRet, normLength), 0.0), 1e-6)
obs = (logRet - retMean) / retStd
This creates an observation series with more stable scale properties across time.
2) Rolling Observation Window
The HMM is trained on a rolling window of length windowLen . Only the most recent processRecentBars are processed to control load:
startBar = last_bar_index - processRecentBars
activeRange = bar_index >= (startBar < 0 ? 0 : startBar)
If active, the observation is appended and the oldest one is removed:
if array.size(obsWindow) < windowLen
array.push(obsWindow, obs)
else
array.shift(obsWindow)
array.push(obsWindow, obs)
The model is ready only when the window is full.
3) Model Initialization
The script initializes a 3 state model with:
Uniform initial state probabilities
A transition matrix seeded with high persistence and equal small jump probabilities
State means initialized around zero with a configured separation
State variances initialized to a configured starting value
Key logic:
Stay probability equals initialPersistence
Jump probability equals the remaining probability split across other states
This gives the HMM a stable starting point before training.
4) Emission Model: Gaussian per State
Each state emits observations using a Gaussian density:
math.exp(-0.5 * d * d / varS) / math.sqrt(TWO_PI * varS)
Variance uses a floor:
float varS = math.max(array.get(this.vr, s), varMin)
This prevents variance collapse and numeric instability.
5) Forward Algorithm with Scaling
The script computes the forward probabilities alpha and applies scaling coefficients c to prevent underflow. It then recovers log likelihood from the scaling coefficients:
this.logLik := -sum(log(c ))
This is essential because HMM sequences quickly underflow without scaling.
6) Backward Algorithm with Scaling
The backward probabilities beta are computed using the scaling values from the forward pass, ensuring alpha and beta remain numerically stable across the entire window.
7) Expectation Step: Gamma and Xi
Gamma represents posterior probability of being in state i at time t . Xi represents posterior probability of transitioning from i to j between t and t+1 .
Xi is normalized per time step:
xij = xi_raw / denom
Gamma is computed as the sum of xi across outgoing transitions for each state:
gamma(t, i) = sum_j xi(t, i, j)
8) Maximization Step: Updating Parameters
Initial probabilities update from gamma at time 0:
pi = gamma(0, i)
Transition probabilities update from xi sums divided by gamma sums, with a transition floor and row normalization:
Each transition is clamped to transitionFloor
Each row is normalized to sum to 1
Means update as weighted averages of observations using gamma weights.
Variances update as weighted squared deviation sums with a variance floor.
9) Retraining Schedule and Online Updates
The model retrains when:
It is not initialized yet
Or the bar index matches the retrain interval
shouldRetrain = ready and (not modelInitialized or bar_index % retrainEveryBars == 0)
On retrain, Baum Welch is run for emIterations .
Between retrains, the script performs a one step forward update of the posterior:
hmm.forwardOne(posterior, obs, varianceFloor, posteriorTmp)
This provides continuous posterior updates without full retraining on every bar.
10) Role Mapping to Bull, Range, Bear
The script assigns which internal state corresponds to Bear and Bull by looking at the learned means:
Bear state is the state with the minimum mean
Bull state is the state with the maximum mean
Range is the remaining state index
This mapping updates dynamically as the model learns.
11) Regime Score and Confidence
The regime score is:
score = pBull - pBear
It is then scaled to 0 to 1:
score01 = 0.5 + 0.5 * score
Confidence is:
confidence = max(pBull, pRange, pBear)
This confidence drives background alpha and signal gating.
12) Probability Filters for Bias
Bull filter requires:
Bull probability above bullProbTrigger
Confidence above signalConfidenceMin
Bear filter requires similar conditions for Bear probability.
Bias validity adds the requirement that the dominant regime role matches the direction:
Bull bias requires dominantRole equals 1
Bear bias requires dominantRole equals minus 1
13) Extreme Pivot Logic for Reversal Candidates
The script looks for pivots in the score line:
ta.pivotlow(score01, pivotStrength, 1)
ta.pivothigh(score01, pivotStrength, 1)
It stores the most recent pivot low and pivot high along with the associated Bull or Bear probability at the pivot bar.
A low extreme is valid if:
Score at pivot is below dipScoreLevel
Bear probability at pivot exceeds extremeProbMin
A high extreme is valid if:
Score at pivot is above topScoreLevel
Bull probability at pivot exceeds extremeProbMin
14) Rebound Triggers
After an extreme, the script waits for rebound triggers:
Up rebound:
ta.crossover(score01, reboundUpLevel)
Down rebound:
ta.crossunder(score01, reboundDownLevel)
Rebound must occur within the reversal window bars from the extreme pivot.
15) Transition Edge and Asymmetry Logic
The script computes predicted probabilities of switching toward Bull or Bear using the transition matrix and current posterior. It also computes transition asymmetry between the Bull to Bear and Bear to Bull transitions.
A bullish switch condition requires:
Switch edge greater than hmmEdgeMin
Transition asymmetry favoring Bear to Bull at or above transitionAsymMin
Bull probability greater than Bear probability
A bearish switch condition uses the mirrored logic.
This adds a model based confirmation that a regime switch is plausible, not only that the score bounced.
16) Momentum Confirmation
Bull momentum requires:
Bull probability rising
Bear probability falling
Bear momentum requires the opposite.
These conditions prevent signals when probabilities are flat or conflicting.
17) Final Reversal Signal Construction
Buy reversal requires:
Valid low extreme
Not consumed
Inside reversal window
Rebound up
Bull probability and confidence filter
Bullish HMM switch condition
Bull momentum
Sell reversal requires the mirrored set of conditions.
The sell is suppressed if a buy is simultaneously true so conflicting signals do not print on the same bar.
18) Visualization Output
The script plots:
Probability curves for each regime
A dominant probability area
A thick score line colored by regime
A regime strip column plot
Fills between Bull and Bear curves and between rebound levels
Adaptive background
Optional markers for regime shifts
Reversal markers as glow plus label style plots
The info label consolidates the most important current state and threshold data for transparency.
Wskaźnik Pine Script®
Adaptive Momentum Classifier [WillyAlgoTrader]📡 Adaptive Momentum Classifier is an overlay indicator that evaluates four independent market dimensions — momentum, trend, volatility position, and money flow — ranks each one against its own historical distribution using percentile scoring, and combines them into a single composite score (0–100%) that drives signal generation. Signals fire only when the composite score crosses a threshold with minimum feature agreement across axes, passes through five independent filters, and is confirmed on bar close.
The core idea: instead of using one indicator to generate signals, this tool treats four market dimensions as independent measurement axes, normalizes each to a uniform 0–1 scale via percentile ranking, weights and combines them into a consensus score, and then requires both the score threshold AND a minimum number of agreeing axes before allowing a signal. This multi-axis + agreement gate architecture filters out situations where a single strong reading (e.g., RSI spike) would trigger a false signal while the other dimensions disagree.
🧩 WHY THESE COMPONENTS WORK TOGETHER
Traditional signal generators face a fundamental problem: a single indicator measures one market dimension. RSI measures momentum speed but is blind to trend direction. MACD measures trend but ignores where price sits within its volatility envelope. Volume-based indicators measure flow but know nothing about price momentum. Using any one of these alone produces signals that ignore critical market context.
Simply combining indicators with AND/OR logic (e.g., "buy when RSI > 50 AND MACD > 0") doesn't solve the deeper problem: the indicators are on different scales, have different distributions, and their raw values aren't comparable. RSI = 55 and MACD histogram = 0.002 both "lean bullish" but you can't meaningfully average them.
This indicator solves both problems:
Step 1 — Orthogonal axis design: Each axis measures a genuinely different market dimension. Momentum (how fast), Trend (which direction), Volatility Position (where within the range), Flow (where is money going). They are deliberately chosen to be as independent as possible.
Step 2 — Percentile normalization: Each axis's raw value is ranked against its own recent history. "Is this RSI-ROC blend reading higher than 75% of the last 89 readings?" This converts every axis to a uniform 0–1 scale where 0.5 = median. Now all four axes are directly comparable and combinable.
Step 3 — Weighted consensus: The four normalized scores are combined with weights (Trend 1.2×, Momentum 1.0×, Flow 1.0×, Volatility 0.8×) into a single composite score. The weighting reflects that trend conviction is slightly more predictive than raw momentum.
Step 4 — Agreement gate: Even with a high composite score, the signal is blocked unless at least half the axes independently agree (each reading > 0.6 for bullish or < 0.4 for bearish). This prevents one extreme axis from dominating the composite and producing a false consensus.
Step 5 — Filter stack: Five independent filters (trend alignment, volatility regime, volume, score acceleration, HTF bias) provide additional context gates. The signal only fires when all enabled filters pass simultaneously.
No single component is useful alone. Percentile ranking without multiple axes just normalizes one indicator. Multiple axes without percentile ranking can't be meaningfully combined. A combined score without the agreement gate can be dominated by one outlier. And all of this without filters would still fire in unsuitable market conditions. The full pipeline is required.
🔍 WHAT MAKES IT ORIGINAL
1️⃣ Four-axis percentile scoring engine.
Each axis is built from two sub-components blended together, then converted to a 0–1 percentile rank against the scoring lookback window (default 89 bars). The percentile function counts what fraction of historical values are below the current value — producing a uniform distribution with no dead zones (unlike z-score normalization which compresses values near the mean).
Axis 1 — Momentum (weight 1.0):
Sub-components: RSI(13) centered at 50, and ROC(9). Each is percentile-ranked independently, then blended 60% RSI + 40% ROC. RSI provides stable momentum reading, ROC provides faster reaction to price acceleration. The blend captures both speed (ROC) and sustained momentum (RSI) in a single axis.
Axis 2 — Trend (weight 1.2):
Sub-components: MACD histogram (12/26/9), and EMA slope normalized by ATR. EMA slope = (EMA − EMA ) / (ATR × 5), making it scale-independent across instruments. Each percentile-ranked, blended 60% MACD + 40% slope. MACD histogram captures momentum of the trend itself (acceleration), while EMA slope captures sustained directional movement. This axis receives the highest weight (1.2) because directional conviction is the strongest single predictor of continuation.
Axis 3 — Volatility Position (weight 0.8):
Sub-components: Bollinger %B (21-period, showing where price sits within the band envelope, 0 = lower band, 1 = upper band), and ATR expansion ratio (current ATR / SMA of ATR over lookback). Combined as: (BB%B − 0.5) × min(ATR_ratio, 2.5), then percentile-ranked. This creates a directional volatility signal: price at upper band during volatility expansion scores high (strong bullish breakout), price at upper band during contraction scores lower (potential mean-reversion). The ATR ratio is capped at 2.5 to prevent extreme volatility spikes from distorting the axis. Lower weight (0.8) reflects that volatility position is a confirming factor, not a primary driver.
Axis 4 — Flow (weight 1.0, auto-disabled without volume):
Sub-components: MFI(13) centered at 50, and OBV slope (smoothed OBV EMA(21), slope = (OBV_EMA − OBV_EMA ) / |OBV_EMA|). Each percentile-ranked, blended 50/50. MFI combines price and volume into a single money flow reading, OBV slope shows whether accumulation is accelerating or decelerating. On instruments without volume data (forex), this axis returns 0.5 (neutral) and its weight drops to 0, so the composite score is calculated from three axes only.
2️⃣ Composite score with symmetric thresholds.
The four axes are combined: composite = (1.0 × momentum + 1.2 × trend + 0.8 × volatility_position + 1.0 × flow) / total_weight. Result is 0–1 where 0 = maximum bearish consensus, 0.5 = neutral, 1 = maximum bullish consensus. A buy signal fires when the composite crosses above the threshold (default 0.618). A sell signal fires when it crosses below (1 − threshold = 0.382). This creates symmetric entry conditions: the same strength of consensus is required for both directions.
3️⃣ Feature agreement gate.
Independent of the composite score, each axis is evaluated for directional agreement: > 0.6 = bullish vote, < 0.4 = bearish vote, 0.4–0.6 = abstain. The agreement ratio = max(bull_votes, bear_votes) / active_axes. Signals require agreement ≥ 0.5 (at least half the axes independently confirming the same direction). This prevents false signals from composite score averaging: if momentum = 0.95 but trend = 0.3 and volatility = 0.4, the composite might cross the threshold but only 1/4 axes agree — signal is blocked.
4️⃣ Score acceleration filter.
The rate of change of the composite score: acceleration = score − score . Signals require |acceleration| ≥ Min Score Acceleration (default 0.02). This filters out slow-drift crossovers where the score gradually creeps past the threshold without any decisive move — these typically represent noise, not genuine momentum shifts. Only fast, decisive threshold crosses produce signals.
5️⃣ Five-filter stack.
Each filter is independently toggleable:
— Trend Alignment (default On): price must be above EMA(50) for longs, below for shorts — prevents counter-trend entries
— Volatility Regime (default On): ATR ratio must be between 0.4 and 3.0 — suppresses signals during dead markets (ATR < 40% of average) and crash conditions (ATR > 300% of average)
— Volume Confirmation (default On): volume must exceed 80% of its 20-period SMA — confirms market participation. Auto-disabled on instruments without volume data
— Score Acceleration (default 0.02): described above. Set to 0 to disable
— Higher TF Bias (default disabled): when a timeframe is selected, price must be above/below EMA(21) on the higher timeframe for longs/shorts. Uses + lookahead_on for non-repainting HTF data
6️⃣ Direction lock — no consecutive same-direction signals.
After a buy signal fires, the next signal can only be a sell (and vice versa). This prevents signal clustering where multiple buy signals fire in sequence during a strong trend — you get one entry per direction until the trend reverses.
7️⃣ Four sensitivity presets.
Each preset overrides two parameters simultaneously:
— Conservative : threshold 0.80, lookback 150 — requires very strong consensus over a long history, fewer but higher-conviction signals
— Default : uses your manual settings (threshold 0.618, lookback 89)
— Aggressive : threshold 0.60, lookback 60 — lower bar for signals, shorter history, faster adaptation
— Scalping : threshold 0.55, lookback 40 — minimum consensus required, very short history, designed for 1–5M charts
The lookback affects all four axes simultaneously (percentile ranking window), so the entire scoring engine adapts as a unit.
8️⃣ Dynamic trend band.
A visual EMA ± 0.5× ATR band colored by the composite score: green (score > 55%), red (< 45%), yellow (neutral). This provides an at-a-glance trend context without needing to read the dashboard. The band width adapts to volatility automatically.
9️⃣ Signal strength classification.
Each signal is classified based on the composite score at the moment of firing: Strong (score ≥ 85%), Medium (≥ 75%), Weak (< 75%). Displayed in the dashboard and available in alert messages. This helps you size positions or filter setups based on conviction level.
⚙️ HOW IT WORKS — CALCULATION FLOW
Step 1 — Raw feature calculation: RSI(13), ROC(9), MACD(12/26/9) histogram, EMA slope (normalized by ATR), BB%B(21), ATR ratio, MFI(13), OBV slope — eight raw values computed from price and volume.
Step 2 — Percentile ranking: Each raw value is ranked against its own history over the scoring lookback (default 89 bars). The pctRank function iterates through the lookback window and counts what fraction of past values are below the current value. Result: 0.0 (lower than all history) to 1.0 (higher than all history). This normalization is performed for each of the eight sub-components independently.
Step 3 — Axis blending: Each pair of sub-components is blended into one axis score: momentum = 0.6 × pctRSI + 0.4 × pctROC, trend = 0.6 × pctMACD + 0.4 × pctSlope, volatility = pctVolPosition (single combined raw), flow = 0.5 × pctMFI + 0.5 × pctOBV.
Step 4 — Weighted composite: composite = (1.0 × momentum + 1.2 × trend + 0.8 × volatility + 1.0 × flow) / total_weight. On instruments without volume: flow weight = 0, total_weight = 3.0 instead of 4.0.
Step 5 — Threshold crossing: Buy triggers when composite crosses above the threshold (default 0.618) from below. Sell triggers when composite crosses below (1 − 0.618 = 0.382) from above. Both require barstate.isconfirmed.
Step 6 — Agreement check: Each axis is independently classified as bullish (> 0.6), bearish (< 0.4), or neutral. At least 50% of active axes must agree with the signal direction.
Step 7 — Filter stack: All five enabled filters must pass. Any failure blocks the signal.
Step 8 — Direction lock: Signal must be opposite to the last confirmed signal.
Step 9 — Emission: Buy (▲) or Sell (▼) label placed on the confirmed bar.
📖 HOW TO USE
🎯 Quick start:
1. Add the indicator to your chart
2. Select a sensitivity preset matching your style (or use Default)
3. The trend band immediately shows the current momentum bias (green/red/yellow)
4. Wait for a ▲ (buy) or ▼ (sell) label — check the dashboard for score and strength
5. Use the agreement ratio (e.g., 3/4) to confirm multi-axis consensus
👁️ Reading the chart:
— 🟢 Green trend band = bullish momentum (score > 55%)
— 🟡 Yellow trend band = neutral / transition zone
— 🔴 Red trend band = bearish momentum (score < 45%)
— 🟢 ▲ label below bar = confirmed buy signal
— 🔴 ▼ label above bar = confirmed sell signal
— Band width = current volatility (wider = more volatile)
📊 Dashboard fields:
— Trend: current composite direction (Bullish / Bearish / Neutral)
— Last Signal: most recent signal with bars elapsed
— Strength: signal quality (Strong / Medium / Weak)
— Score: current composite as percentage
— Agreement: how many axes confirm (e.g., 3/4)
— Volatility: ATR regime (High / Normal / Low)
— TF and version
🔧 Tuning guide:
— Too many signals: increase threshold (0.70–0.85), enable more filters, use Conservative preset
— Too few signals: decrease threshold (0.55–0.60), reduce lookback (50–70), use Aggressive preset
— Signals too late: shorten RSI/ROC/MACD lengths, reduce lookback
— Too many false signals in ranging markets: enable ADX-aware Volatility Regime filter, increase Min Score Acceleration to 0.03–0.05
— Scalping 1–5M: use Scalping preset (threshold 0.55, lookback 40), lower filter aggressiveness
— Swing 4H–1D: use Conservative preset (threshold 0.80, lookback 150), enable HTF bias filter
⚙️ KEY SETTINGS REFERENCE
⚙️ Main:
— Sensitivity Preset (default Default): Conservative / Default / Aggressive / Scalping
— Scoring Lookback (default 89): percentile ranking window — higher = more stable, lower = faster adaptation
— Signal Threshold (default 0.618): minimum composite score for buy signals (sell = 1 − threshold)
📊 Feature Engine:
— RSI Length (default 13) / ROC Length (default 9): momentum axis sub-components
— MACD Fast/Slow/Signal (default 12/26/9): trend axis MACD
— Bollinger Length (default 21): volatility position axis
— MFI Length (default 13) / OBV Smooth (default 21): flow axis
🔍 Filters:
— Trend Alignment (default On): EMA(34) trend direction gate
— Volatility Regime (default On): ATR ratio 0.4–3.0 range gate
— Volume Confirmation (default On): volume > 80% of 20-SMA
— Min Score Acceleration (default 0.02): minimum speed of score change
— Higher TF Bias (default Off): optional HTF EMA(21) alignment
🎨 Visual:
— Trend band (EMA ± 0.5× ATR, scored coloring)
— Background tint / Dynamic bar coloring (optional)
— Auto / Dark / Light theme
🔔 Alerts
— 🟢 BUY — ticker, price, timeframe, composite score
— 🔴 SELL — same fields
Both support plain text and JSON webhook format. Bar-close confirmed, direction-locked (no consecutive same-direction alerts).
⚠️ IMPORTANT NOTES
— 🚫 No repainting. All signals require barstate.isconfirmed. HTF bias uses + lookahead_on. A warmup period (max of lookback, MACD slow period, and trend EMA length, minimum 50 bars) prevents signals during insufficient data.
— 📐 The composite score is not a probability . A score of 80% means four market dimensions, percentile-ranked against recent history, strongly agree on bullish conditions. It measures consensus quality, not prediction accuracy.
— ⚖️ Percentile ranking is relative to the lookback window . A score of 0.9 means "higher than 90% of the last N bars" — it does not mean the same thing on different instruments or timeframes. Each chart creates its own distribution.
— 📊 The Flow axis (MFI + OBV) auto-disables on instruments without volume data (many forex pairs). The composite then runs on three axes with adjusted total weight. Signal quality is slightly lower without flow data but the other three axes remain fully functional.
— 🔒 Direction lock means you get one signal per trend leg . After a buy, only a sell can fire next. This prevents clustering but means you won't get "add to position" signals — the tool provides one entry per direction.
— 🔄 The agreement gate requires ≥ 50% of axes to independently confirm. On 4-axis instruments, this means ≥ 2. On 3-axis (no volume), ≥ 2. This is a deliberately moderate threshold — raising it to 75%+ would make signals extremely rare.
— 🛠️ This is a signal and analysis tool , not an automated trading bot. It classifies momentum consensus and generates signals — trade decisions remain yours.
— 🌐 Works on all markets and timeframes. Volume-dependent features auto-adapt to available data.
Wskaźnik Pine Script®
TX Smooth ReversalOverview:
The CDSA Smooth Reversal is a quantitative trading tool designed to identify high-probability price exhaustion and reversal points. By combining Multi-Timeframe (MTF) alignment with a sophisticated Band Engine based on KAMA (Kaufman Adaptive Moving Average), this indicator filters out market noise and focuses on institutional-grade reversal zones.
Key Features:
KAMA-Adaptive Bands: Unlike standard Bollinger Bands, our bands use an Efficiency Ratio (ER) to adapt to market volatility, expanding during trends and contracting during consolidations.
Probabilistic Reversal Scoring: A proprietary logic that calculates the likelihood of a reversal based on price deviation, volume characteristics, and trend exhaustion.
MTF Fusion Gate: Ensures that signals only appear when multiple timeframes (Micro, Operational, and Regime) are in alignment, significantly reducing false signals.
Heikin Ashi Integration: Optional HA logic processing to smooth out erratic price action for long-term trend analysis.
Live Dashboard: Real-time monitoring of Bull/Bear reversal probabilities and MTF status directly on your chart.
How to Trade:
Bullish Reversal (BUY): Look for the "BUY" label when the Bull Probability is high (>75%) and price touches the lower outer bands.
Bearish Reversal (SELL): Look for the "SELL" label when the Bear Probability is high (>75%) and price reaches the upper outer bands.
MTF Confirmation: Ensure the "MTF Alignment" on the dashboard matches your trade direction for the highest win-rate setups.
Settings:
Algorithm Mode: Choose between Conservative (fewer, higher quality signals), Normal, or Aggressive.
Alignment Threshold: Adjust how strictly the different timeframes must agree before a signal is triggered.
Wskaźnik Pine Script®
Adaptive Volatility Trend [WillyAlgoTrader]Adaptive Volatility Trend (AVT) is a trend-following overlay indicator that dynamically adjusts its sensitivity to market conditions using the Kaufman Efficiency Ratio and ATR-based volatility bands.
Unlike static moving averages or fixed-width channels, AVT continuously adapts: it accelerates in strong directional moves and slows down during choppy, range-bound price action — reducing whipsaws where most trend indicators fail.
🔍 WHAT MAKES IT ORIGINAL
The core innovation is a self-tuning mechanism built on three adaptive layers:
1. Kaufman Efficiency Ratio (ER) as an adaptive engine. The ER measures how "efficient" price movement is — the ratio of net directional change to total path traveled over N bars. An ER near 1.0 means price moved in a clean straight line (strong trend); near 0.0 means it went sideways with lots of noise. AVT uses the smoothed ER to dynamically blend between a fast constant (2-period EMA speed) and a slow constant (30-period EMA speed), producing an Adaptive Moving Average that responds quickly in trends and becomes sluggish in chop.
2. ER-scaled ATR bands. The volatility channel doesn't just use raw ATR × multiplier. It incorporates the Efficiency Ratio to narrow the bands during trending conditions (where ER is high) and widen them during ranging markets (where ER is low). This means the channel contracts when the trend is clean — keeping signals tight — and expands when price is noisy — filtering out false breakouts.
3. Composite Signal Scoring System (0–100). Every signal receives a quality score based on three weighted components:
— Trend strength (0–40 pts): derived from the Efficiency Ratio magnitude
— Momentum (0–30 pts): RSI distance from the neutral 50-level in the signal direction
— Volume confirmation (0–30 pts): current volume relative to its 20-period average
Only signals exceeding the user-defined minimum score threshold are displayed — letting you filter out low-conviction setups.
⚙️ HOW IT WORKS
Trend detection:
The indicator calculates an Adaptive Moving Average using the Kaufman method. The slope of this line determines trend direction: if the line rises by more than 5% of current ATR, the trend is classified as bullish; if it falls by the same threshold, bearish. A small dead zone (ATR × 0.05) prevents noise from flipping the trend.
Signal generation:
A BUY signal fires when:
— Trend flips from bearish/neutral to bullish (slope turns positive)
— Price is above the adaptive line
— RSI is not in overbought territory (if RSI filter is enabled)
— Volume exceeds its moving average × threshold (if volume filter is enabled; auto-disabled on forex)
— Composite score meets the minimum threshold
— Bar is confirmed (close-based, no repainting)
SELL signals use the mirror logic.
Anti-repaint compliance:
All signals require barstate.isconfirmed — they only trigger on the close of the bar and never change on historical data. A warmup period (minimum 50 bars or 2× Trend Length) prevents unreliable early signals.
Volume filter on forex:
The indicator automatically detects instruments with no volume data (common on forex pairs) and bypasses the volume filter for those symbols, so it works seamlessly across asset classes.
📖 HOW TO USE
Reading the chart:
— Green trend line + upward slope = bullish regime
— Red trend line + downward slope = bearish regime
— Yellow trend line = neutral / transitioning
— ▲ labels below bars = confirmed BUY signal
— ▼ labels above bars = confirmed SELL signal
— The shaded channel around the trend line shows volatility-adjusted support/resistance zones
Quick-start presets:
— Conservative (Length 30 / ATR 20 / Mult 2.5): fewer signals, higher reliability — suited for swing trading on 4H–Daily
— Default (Length 20 / ATR 14 / Mult 2.0): balanced for most timeframes
— Aggressive (Length 12 / ATR 10 / Mult 1.5): more signals — suited for 15min–1H
— Scalping (Length 8 / ATR 7 / Mult 1.2): fast response — optimized for 1–5min charts
Signal quality:
Use the Score value in the dashboard to gauge conviction:
— 70–100: strong trend + momentum + volume alignment
— 40–69: moderate setup, consider additional confluence
— Below threshold: signal filtered out (not shown)
Dashboard panel:
Displays current trend direction, last signal with its score, Efficiency Ratio %, RSI value, timeframe, and indicator version. Position is adjustable to any corner of the chart.
Alerts & automation:
Supports both standard TradingView alert messages and JSON webhook format for integration with 3Commas, Alertatron, or custom bots. Alert messages include ticker, price, timeframe, and signal score.
⚙️ KEY SETTINGS REFERENCE
— Trend Length (default 21): lookback for adaptive MA — higher = smoother, lower = faster
— ATR Length (default 14): period for volatility bands — higher = wider bands
— Band Multiplier (default 2.0): ATR multiplier for channel width — higher = fewer false signals
— RSI Filter (on by default): blocks buy signals when RSI > 70, sell signals when RSI < 30
— Volume Filter (on by default): requires volume > SMA(20) × 1.2 — auto-disabled on forex
— Min Signal Score (default 40): minimum composite score for signal display
— Efficiency Smoothing (default 5): EMA smoothing of the Kaufman ER
⚠️ IMPORTANT NOTES
— This indicator does not use future data. No lookahead, no repainting.
— Past performance shown on any chart does not guarantee future results.
— AVT is a tool for identifying trend direction and generating signal candidates — it is not a complete trading system. Always use proper risk management and consider additional confluence before entering trades.
— The indicator works best in trending markets. In prolonged sideways conditions, even filtered signals may produce whipsaws — the Efficiency Ratio in the dashboard helps you assess whether the current market is trending enough for signal reliability.
Wskaźnik Pine Script®
US30 3 SoldiersThe best strategy is to wait for it to break the high or the low with three consecutive candles and enter at the close of the third candle, placing the stop loss below the first candle.
Wskaźnik Pine Script®
Gold Breakout Trader⚙️ Gold short-term entries off M1 timeframe every 2 hours every day with SL/TP targets.
📦 2-Hour Breakout Structure: The indicator plots a new set of dynamic zones every two hours, providing a fresh breakout structure based on the most recent price action. This is the default setting and is designed for intraday trading.
🎯 Precision Entry & Exit Levels: A central gray box is plotted, with Buy Stop and Sell Stop lines automatically placed 2 USD away from its borders. This buffer creates a neutral zone and helps filter out noise.
💰 Pre-Defined Profit Targets: Three Take Profit TP zones are plotted for both long and short trades TP1, TP2, TP3. These zones are spaced apart, providing clear targets for managing trades.
⚙️ Fully Customizable Spacing: Every element is adjustable. You can change the buffer between the gray box and stop lines, the gap between the stop lines and the first TP zone, and the gaps between each subsequent TP zone.
🔔 M1 Breakout Alerts: The indicator includes a powerful alerts module that triggers when an M1 candle closes above the Buy Stop level or below the Sell Stop level. This provides real-time notifications for potential trade entries.
🎨 Clean Visuals & Clear Labels: The zones are color-coded teal for buy-side, red/purple for sell-side for instant recognition. The Buy Stop and Sell Stop labels are also colored to match their respective directions, ensuring zero confusion.
⚙️ Trading Strategy & Logic
This strategy is designed for precision and requires patience. The core idea is to wait for the market to confirm a breakout of the established 2-hour range before entering a trade.
📌 Entry Logic
1. 🕒 Wait for a New Zone: Allow the indicator to plot a new 2-hour structure. Do not trade old or expired zones.
2. 🔔 Set Your Alerts: In TradingView, create a new alert and select the indicator. For the condition, choose "Any alert() function call" and set it to trigger "Once Per Bar Close". This will notify you the moment a candle closes across a stop level.
3. 👀 Wait for the M1 Close: For a Long Buy Trade, wait for an M1 candle to close above the Buy Stop line. For a Short Sell Trade, wait for an M1 candle to close below the Sell Stop line.
4. ✅ Enter on Confirmation: Once you receive the alert and visually confirm the M1 candle has closed past the level, you can enter the trade.
🛑 Stop Loss SL Placement
The stop loss is designed to be tight and objective, providing a clear invalidation of the trade idea.
⬇️ For a Long Trade, the Stop Loss should be placed at the Sell Stop line the level on the opposite side of the gray box.
⬆️ For a Short Trade, the Stop Loss should be placed at the Buy Stop line.
🎯 Take Profit TP Strategy
The indicator provides three clear targets. How you use them depends on your trade management style.
🥇 TP1: The first level of resistance/support. This is an ideal target for taking partial profits and moving your stop loss to breakeven.
🥈 TP2 & TP3: Subsequent targets for scaling out of the position or for your final profit target.
⚠️ IMPORTANT NOTICE
This indicator and the accompanying strategy are provided for educational purposes only. Trading financial markets involves substantial risk, and past performance is not indicative of future results. The logic described is based on a specific set of rules and does not guarantee profit. Always conduct your own analysis and risk management before entering any trade. The creators are not responsible for any financial losses incurred.
Wskaźnik Pine Script®






















