Infinity Flow OscillatorInfinity Flow Oscillator — Rmi / Mfo Wave Energy & Range Compression
Flow is a momentum and pressure oscillator designed to help traders read directional flow, internal market pressure, wave movement and compression conditions in one clean lower-panel tool.
The oscillator combines several components into a single visual flow reading:
• RMI Flow
• MFI Pressure
• WaveTrend Energy
• Range Compression / Expansion
• Flow Score from -100 to +100
• Bullish and bearish confirmation dots
• Strong and extreme momentum zones
• Layered fills and cloud-style visual structure
The goal of this oscillator is to make momentum easier to read visually. It is not designed to predict price movement or replace a full trading plan. It should be used as a confirmation and context tool together with price action, market structure, support and resistance, volume conditions and risk management.
────────────────────────────
MAIN CONCEPT
────────────────────────────
The oscillator reads the market through a normalized flow scale.
The center line represents balance.
Above zero:
Bullish pressure is dominant.
Below zero:
Bearish pressure is dominant.
Near zero:
Market flow is neutral, mixed or indecisive.
The stronger the oscillator moves away from zero, the stronger the directional pressure becomes.
The tool uses layered fills and color transitions to make the state of the market visible at a glance.
Bullish flow is displayed with cyan / green-style visual pressure.
Bearish flow is displayed with pink / red-style visual pressure.
Compression or range conditions can be highlighted with a softer background layer.
────────────────────────────
WHAT THE OSCILLATOR SHOWS
────────────────────────────
1. Flow Line
The main flow line represents the final combined oscillator value. It blends momentum, money flow, wave movement and compression logic into one reading.
When the flow line rises above zero, bullish pressure is increasing.
When the flow line falls below zero, bearish pressure is increasing.
2. Signal Line
The signal line smooths the main flow reading.
When the flow line crosses above the signal line, bullish momentum may be improving.
When the flow line crosses below the signal line, bearish momentum may be improving.
3. Bullish and Bearish Dots
Bullish dots appear when the flow line crosses above the signal line under valid conditions.
Bearish dots appear when the flow line crosses below the signal line under valid conditions.
These dots are designed as visual confirmation markers, not automatic trade entries.
4. Strong Momentum Zones
The strong levels mark areas where momentum becomes more directional.
Above the positive strong level:
Bullish pressure is considered stronger.
Below the negative strong level:
Bearish pressure is considered stronger.
5. Extreme Zones
The extreme levels show areas where the market may be stretched.
A strong move into the upper extreme zone can show aggressive bullish pressure.
A strong move into the lower extreme zone can show aggressive bearish pressure.
Extreme readings do not automatically mean reversal. In strong trends, extreme conditions can continue longer than expected.
6. Compression / Range Background
The oscillator can highlight compression or range-like conditions.
Compression often means the market is building energy.
Expansion can happen after compression, especially when price breaks structure or a range.
This layer is useful for understanding when the market is quiet, compressed or preparing for a stronger directional move.
────────────────────────────
INPUT GUIDE
────────────────────────────
Show Oscillator
Enables or disables the main oscillator visual.
When enabled, the flow line, signal line, fills and zones are visible.
When disabled, the oscillator can be hidden without removing the script from the chart.
Show Dots
Enables or disables bullish and bearish confirmation dots.
Use this if you want a cleaner oscillator without signal markers.
Flow Length
Controls the sensitivity of the main flow calculation.
Lower values react faster but may create more noise.
Higher values are smoother but react later.
Beginner suggestion:
Use the default value first. Adjust only after watching how the oscillator behaves on your preferred market and timeframe.
Signal Length
Controls the smoothing of the signal line.
Lower values create faster crosses.
Higher values create slower, cleaner crosses.
Beginner suggestion:
A smoother signal line is usually easier to read when learning the tool.
RMI Length
Controls the RMI-based momentum component.
RMI helps identify directional pressure and momentum shifts. It is useful for detecting when the market starts to build bullish or bearish energy.
MFI Length
Controls the money flow component.
MFI adds a volume-weighted pressure reading to the oscillator. It helps show whether momentum is supported by volume activity.
WaveTrend Length
Controls the wave movement component.
WaveTrend helps create a smoother cyclic reading of market pressure. It can help identify changes in momentum rhythm.
Range / Compression Length
Controls the compression and expansion component.
This part of the oscillator is designed to show when movement is narrow, quiet or compressed compared with normal conditions.
Strong Level
Sets the level used to define strong bullish or bearish flow.
Example:
If the strong level is 50, readings above +50 represent stronger bullish pressure and readings below -50 represent stronger bearish pressure.
Extreme Level
Sets the level used to define extreme bullish or bearish flow.
Example:
If the extreme level is 80, readings above +80 are considered extreme bullish pressure and readings below -80 are considered extreme bearish pressure.
Bull Color
Controls the bullish visual color.
Bear Color
Controls the bearish visual color.
Neutral Color
Controls the neutral or balanced visual color.
Fill Transparency
Controls how visible the oscillator fills are.
Lower transparency makes fills stronger.
Higher transparency makes fills lighter.
Background Compression Highlight
Enables or disables the compression background.
Use this to identify moments where the market may be moving into a quieter range or preparing for a future expansion.
────────────────────────────
HOW TO READ THE TOOL
────────────────────────────
Basic reading:
Flow above zero:
Bullish pressure has the advantage.
Flow below zero:
Bearish pressure has the advantage.
Flow near zero:
No clear directional advantage.
Flow above signal:
Bullish momentum is improving.
Flow below signal:
Bearish momentum is improving.
Flow above strong level:
Bullish momentum is strong.
Flow below negative strong level:
Bearish momentum is strong.
Flow inside extreme zones:
Market pressure is stretched and should be interpreted carefully.
────────────────────────────
BEGINNER TUTORIAL
────────────────────────────
Step 1 — Start with the zero line
The first thing to watch is whether the oscillator is above or below zero.
If it stays mostly above zero, the market is showing bullish pressure.
If it stays mostly below zero, the market is showing bearish pressure.
If it keeps crossing zero, the market may be choppy or undecided.
Step 2 — Watch the flow and signal cross
A bullish cross happens when the flow line crosses above the signal line.
A bearish cross happens when the flow line crosses below the signal line.
These crosses are stronger when they happen in the direction of the broader trend.
Step 3 — Check the strong levels
A bullish cross below zero may be early.
A bullish cross above zero is usually cleaner.
A bullish cross followed by movement above the strong level shows stronger momentum.
The same logic applies in reverse for bearish conditions.
Step 4 — Respect the extreme zones
When the oscillator reaches an extreme zone, the market may be stretched.
This can mean two different things:
• strong trend continuation
• potential exhaustion
Do not assume every extreme reading is a reversal. Use price structure and support/resistance for confirmation.
Step 5 — Use compression as context
When compression appears, the market may be losing directional movement or preparing for expansion.
A compression zone followed by a strong flow breakout can be useful context for trend continuation or range breakout analysis.
────────────────────────────
EXAMPLE USE CASES
────────────────────────────
Example 1 — Bullish confirmation
Price is above a key support area.
The oscillator crosses above the signal line.
Flow moves above zero.
The bullish dot appears.
The flow line continues toward the strong bullish level.
This suggests bullish pressure is improving. A trader may use this as confirmation together with chart structure and risk planning.
Example 2 — Bearish confirmation
Price rejects a resistance area.
The oscillator crosses below the signal line.
Flow moves below zero.
The bearish dot appears.
The flow line continues toward the negative strong level.
This suggests bearish pressure is increasing. A trader may use this as confirmation together with structure and risk planning.
Example 3 — Avoiding weak signals
A bullish dot appears, but the flow line is still below zero.
Price is also under resistance.
The oscillator does not reach the strong bullish level.
This may indicate a weaker bullish attempt. A beginner may choose to wait for stronger confirmation.
Example 4 — Strong trend continuation
The oscillator stays above zero for a long period.
Pullbacks remain above the signal line or quickly recover.
Flow repeatedly returns toward the strong bullish zone.
This can indicate that bullish momentum remains active. In this situation, bearish crosses may be temporary pullbacks rather than full reversals.
Example 5 — Range or compression behavior
The oscillator stays near zero.
Bullish and bearish crosses appear frequently.
Compression background is visible.
Price is moving sideways.
This can indicate a range or low-direction environment. In this situation, signals may be less reliable unless price breaks out with confirmation.
────────────────────────────
SUGGESTED BEGINNER SETTINGS
────────────────────────────
For cleaner signals:
Use longer lengths.
Use a smoother signal line.
Keep dots enabled.
Watch only crosses that happen near or beyond the zero line.
For faster signals:
Use shorter lengths.
Use a faster signal line.
Expect more noise and more false moves.
For trend confirmation:
Focus on whether the oscillator remains above or below zero.
Use strong levels to confirm momentum expansion.
For range detection:
Watch the compression background and repeated crosses around zero.
────────────────────────────
HOW TO COMBINE WITH OTHER TOOLS
────────────────────────────
This oscillator works best as a confirmation tool.
Possible combinations:
1. Price action
Use the oscillator to confirm breakouts, pullbacks and reversals.
2. Support and resistance
Bullish signals are more meaningful near support.
Bearish signals are more meaningful near resistance.
3. Trend indicators
Use the oscillator to confirm trend strength and avoid entering against strong momentum.
4. Volume analysis
The MFI component helps include money flow pressure, but additional volume tools may still provide useful context.
5. Risk management
Always define stop loss, invalidation level and target logic before entering a trade.
────────────────────────────
ALERTS
────────────────────────────
The oscillator can be used with alert conditions such as:
Bullish dot
Bearish dot
Strong bullish flow
Strong bearish flow
Extreme bullish flow
Extreme bearish flow
Suggested alert workflow:
1. Add the oscillator to the chart.
2. Open the PulseWire alert window.
3. Select the oscillator as the alert source.
4. Choose the condition you want to monitor.
5. Use alerts as notifications, not as automatic trading decisions.
────────────────────────────
IMPORTANT NOTES
────────────────────────────
This script is an analytical oscillator. It is not a complete trading system.
It does not guarantee entries, exits or profitable results.
Market conditions can change quickly. Trend, volatility, liquidity, news and session behavior can affect all oscillator readings.
The tool should be tested on each market and timeframe before being used in live trading decisions.
Past signals do not guarantee future results.
Use proper risk management at all times. Indicator

Asset Class Correlation MatrixAsset Class Correlation Matrix
█ OVERVIEW
This indicator displays a Pearson correlation matrix for instruments in the asset class of the symbol you are currently viewing. Open a EUR pair and you see the forex matrix. Open gold and you see the metals matrix. Open Bitcoin and you see the crypto matrix. The relevant basket loads automatically, so there is nothing to configure for the common cases.
Each cell shows the rolling correlation between two instruments over a lookback period you control. The goal is to make cross-instrument relationships inside an asset class visible at a glance, rather than checking pairs one at a time, or relying on visual comparison.
█ AUTOMATIC ASSET CLASS DETECTION
The current symbol is matched to a category in three stages:
1. Exact ticker match against the built-in lists below.
2. Name-fragment match for common broker and CFD names. For example XAU and GOLD map to Metals, US500, SP500, NAS100, US100, US30 and DJ30 map to US Indices, DAX, FTSE and NIKKEI map to Global Indices, and WTI, BRENT and NATGAS map to Energy.
3. Asset type fallback using the instrument type, covering crypto, forex, and stocks.
If the current symbol is not already part of a built-in list, it is added as the first row and column of the matrix, so the instrument you are on is always included. If no category can be determined, the table shows a short prompt to use the custom symbol list instead of rendering empty.
█ BUILT-IN CATEGORIES
Forex: 28 majors and crosses across USD, EUR, GBP, JPY, AUD, CAD, CHF and NZD.
US Indices: ES, NQ, YM, EMD, RTY.
Global Indices: DAX, Euro Stoxx 50, Nikkei, FTSE, ASX 200, Hang Seng.
Metals: Gold, Silver, Copper, Platinum, Palladium.
Energy: WTI Crude, Natural Gas, Heating Oil, RBOB Gasoline.
Agricultural: Corn, Soybeans, Wheat, Soybean Oil, Soybean Meal, Cocoa, Coffee, Sugar, Cotton, Orange Juice.
Livestock: Live Cattle, Lean Hogs, Feeder Cattle.
Interest Rates: 2Y, 10Y, 30Y US notes, Euro Bund, Euro Buxl.
Crypto: BTC, ETH, BCH, LTC.
Stocks: SPX, QQQ, AAPL, MSFT, NVDA, AMZN, GOOGL, META, TSLA, AMD.
█ READING THE MATRIX
Pearson correlation ranges from -1 to +1.
Values near +1 mean the two instruments move strongly together. Values near -1 mean they move strongly opposite to each other, which is still a strong relationship, just inverted. Values near 0 mean little to no linear relationship.
The strength of a relationship is the distance from zero, in either direction. A reading of -0.9 is just as tight as +0.9.
█ COLORS
Positive correlation is shown in green, with a stronger shade above the high threshold and a lighter shade above the moderate threshold. Inverse correlation is shown in purple, using the same two strength levels. Everything between the negative and positive moderate threshold is shown as low. All five colors and both thresholds are adjustable in the settings. The thresholds apply symmetrically to positive and inverse values.
█ CUSTOM SYMBOL LIST
You can override the auto-detected basket with your own comma-separated list of symbols. Spaces are ignored. The custom list is applied only when the current chart symbol is one of the symbols in the list, which keeps the chart instrument anchored in the matrix.
You can include an exchange or broker prefix, for example OANDA:EURUSD. A bare ticker such as GBPJPY inherits the current chart prefix. Bare futures contracts such as ES1! resolve on their native exchange.
█ SETTINGS
Period: lookback in bars for the correlation calculation. Shorter reacts faster and is noisier. Longer is more stable and slower to update.
High and Moderate Correlation Thresholds: the cutoffs for the color bands.
Colors: the five correlation colors.
Symbol List: the optional custom basket.
Table Size: text size of the matrix.
█ HOW TO USE IT
Add the indicator to any chart in a supported asset class. Use it to find pairs that move together or opposite each other, to check diversification across a basket, to spot when a normally correlated pair is diverging, or to choose hedges and pairs-trade candidates. The left column shows the full applied symbol for each row, so you can confirm exactly which feed each value comes from.
█ NOTES AND LIMITATIONS
Correlation is period-dependent. For tightly linked instruments, a long lookback pushes most values toward the extremes, while a short lookback spreads them out and reacts faster. Choose the period to match the question you are asking.
Correlation measures linear co-movement of closing prices on the chart timeframe. It does not imply causation and does not capture non-linear relationships.
Broker naming for CFDs varies widely, so some instruments may not auto-detect. When that happens, use the custom symbol list.
A maximum of 28 instruments can be loaded in one matrix. Indicator

Pymander's MA SuitePymander's MA Suite is a versatile and all-in-one toolkit designed to give you total control over your trend analysis. Whether you’re a scalper looking for quick crossovers or a swing trader tracking long-term trends, this suite is built to be the only moving average indicator you’ll ever need.
What makes it unique?
Unlike standard MA ribbons that lock you into one type of calculation, EZ MA Suite gives you 5 fully independent slots. You can mix and match different lengths, sources, and—most importantly—12 different MA types in a single indicator. We’ve also cleaned up the visuals with "premium" signal placement and modern icons so your chart stays professional and clutter-free.
The Powerhouse MA Selection
You have access to a massive library of moving averages to fit any strategy:
The Classics: SMA, EMA, WMA, RMA, VWMA.
The Smooth & Fast: HMA (Hull), ALMA (Arnaud Legoux), and LSMA (Least Squares).
The Lag-Killers: DEMA (Double), TEMA (Triple), and ZLEMA (Zero Lag).
The Adaptive: KAMA (Kaufman), which adjusts itself based on market noise!
Stay on the Right Side of the Move
We’ve integrated a smart Buy/Sell Signal engine based on crossovers. You simply pick which of your 5 MAs is the "Fast" one and which is the "Slow" one.
But here’s the game-changer: The Trend Filter.
To help you avoid "choppy" fakeouts, you can enable a trend filter using a third MA (like a 200 SMA). When active, the suite will only show Buy signals if you're in an uptrend and Sell signals if you're in a downtrend. It’s all about keeping you aligned with the "big money" flow!
💬 We want to hear from you!
I built this to make our trading lives easier, but I’d love to know how you’re using it. Do you have a favorite MA combination? Is there a specific feature you’d like to see next? Drop your feedback and let’s keep improving this suite together!
Wishing you all lots of luck and many, many green days!!
— Pymander Indicator

Channel Breakout [EXCAVO]Automatic Convergent Channel Detection with Multi-Filter Breakout Confirmation
The Channel Breakout automatically detects convergent channel patterns — wedges, flags, and triangles — by fitting trendlines through confirmed swing pivots on both boundaries simultaneously. When price breaks out with volume and momentum confirmation, the indicator signals the direction with colored channel lines and an entry label on the breakout candle.
This is not a basic highest/lowest channel. The boundaries are built from verified pivot points, and a convergence filter ensures only genuinely contracting channels qualify — expanding ranges and sideways boxes are excluded.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ HOW TO USE
Step 1 → Add the indicator. It begins scanning for convergent channel
patterns using swing pivots on the current timeframe.
Step 2 → Wait for a channel to form. The indicator draws the upper and
lower boundary lines in blue while price remains inside.
Step 3 → Watch for the breakout signal. When price closes beyond either
boundary with confirmation, channel lines turn blue (bull) or
red (bear), and an arrow label appears on the breakout candle.
Step 4 → Check the dashboard. It shows the current pattern state,
breakout strength (Strong / Medium / Weak), and the directional
bias score that built up while price was inside the channel.
Step 5 → Read the strength rating. Strong breakouts combine high volume,
deep body penetration, and RSI alignment. Weak breakouts show
fewer confirming factors and may warrant additional analysis.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ HOW IT CALCULATES
◆ Pivot Detection
Swing highs and lows are identified with ta.pivothigh / ta.pivotlow using a
configurable lookback (Pivot Detection Length, default 5 bars each side). Only
confirmed, closed pivots are used — no repainting. All recent pivots within the
Max Channel Width lookback are stored and passed to the trendline fitting engine.
◆ Best-Fit Trendline Algorithm
For the upper boundary, the engine tests every pair of stored pivot highs (a, b).
For each candidate line through (a, b), it counts how many other pivot highs lie
within ATR × Touch Tolerance of the line while no pivot exceeds it by more than
ATR × Max Deviation. The line with the most qualifying touches becomes the upper
boundary. The same process runs independently for pivot lows to find the lower
boundary. Both boundaries must exist with at least Min Touches (default 2) to
form a valid channel.
◆ Convergence Filter
Once both boundaries are found, the engine measures channel width at the earliest
shared bar (widthStart) and at the current bar (widthNow):
convRate = 1 − (widthNow / widthStart)
A channel is only accepted when convRate >= Min Convergence Rate (default 0.02).
This rejects expanding wedges and flat ranges, keeping only contracting patterns.
◆ Breakout Detection and Strength Score
On each confirmed bar close, the engine projects both boundary lines to the current
bar. A bull breakout fires when close > upper boundary; a bear breakout when
close < lower boundary. The breakout strength score blends five components:
penetration depth relative to ATR (25%), candle body ratio (15%), body commitment
relative to the broken boundary (15%), volume vs SMA-20 spike (25%), and RSI
alignment above/below 50 (20%). Score >= 65 = Strong, >= 35 = Medium, < 35 = Weak.
◆ Confirmation Filters
Three optional filters gate the breakout signal. Volume Spike Multiplier requires
the breakout bar's volume to exceed 20-bar SMA by a configurable factor. Volume
Contraction Filter requires that average volume inside the channel was lower than
before the channel formed — confirming energy compression. Momentum Confirmation
requires RSI > 50 for bull breakouts and RSI < 50 for bear breakouts. Any filter
can be disabled for forex or low-volume instruments.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ WHAT MAKES IT DIFFERENT
◆ Pivot-Confirmed Boundaries
Most auto-channel scripts use ta.highest / ta.lowest, which anchors lines to the
highest wick in a window regardless of pattern shape. This indicator builds
boundaries only through confirmed swing pivot points, the same anchor logic a
trader would use when drawing manually.
◆ Convergence-Only Filter
The convRate filter rejects any channel that is not actively narrowing. Sideways
ranges, expanding wedges, and parallel channels are all excluded. Only patterns
where price is compressing toward a decision point qualify.
◆ Best-Fit Touch Counting
The engine evaluates every pair of pivots and selects the line with the highest
touch count, not just the first two pivots it finds. A channel supported by four
touches is stronger than one supported by two, and the algorithm reflects that
by preferring denser confirmation.
◆ Multi-Component Strength Score
The breakout strength is not a simple volume check. It combines five independent
signals — penetration depth, body ratio, body commitment relative to the broken
level, volume spike, and momentum direction — into a single 0-100 score that
classifies the breakout as Strong, Medium, or Weak.
◆ Directional Bias Score
While price is inside the channel, the dashboard tracks a real-time directional
bias built from channel slope (35%), RSI deviation from 50 (35%), and price
position within the channel range (30%). This gives a probabilistic lean on
which side of the channel is more likely to break before the signal fires.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ DASHBOARD
Real-time panel (top right) with key state metrics:
Status - Active (channel forming) / Bull Breakout / Bear Breakout / Scanning
Direction - directional bias with arrow and % while channel is active (e.g. ▲ 64%); BULLISH or BEARISH after breakout
Strength - Strong / Medium / Weak (breakout strength score); — while channel is forming
Convergence - narrowing rate of the active channel in %; — when no channel
Legend table (bottom left) explains every visual element. Toggle in Dashboard settings.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ SETTINGS
Main Settings
Pivot Detection Length - 5 (bars left/right for swing pivot confirmation; lower = more sensitive)
Min Touches per Boundary - 2 (minimum pivot touches required per trendline)
Max Channel Width (bars) - 120 (maximum lookback for channel search)
Min Convergence Rate - 0.02 (minimum narrowing ratio; higher = stricter contraction)
Filters
Volume Spike Mult - 1.2 (breakout bar volume vs SMA-20; set 0.5 to disable on forex)
Volume Contraction Filter - ON (require declining volume inside the channel)
Momentum Confirmation - ON (RSI > 50 for bull, < 50 for bear)
Visual
Show Channel Patterns - ON (draw boundary lines)
Show Pattern Background - OFF (subtle bgcolor while inside active channel)
Channel Lines
Line Width - 2 (boundary line thickness; 1-4)
Risk Management
Show Entry Labels - ON (arrow label on the breakout candle)
Dashboard
Show Dashboard - ON
Position - Top Right (Top Left / Top Right / Bottom Left / Bottom Right)
Font Size - Small (Small / Normal)
Advanced
Touch Tolerance (ATR) - 0.15 (pivot distance to count as a touch; 0.10-0.25)
Max Deviation (ATR) - 0.30 (maximum pivot overshoot from the line)
Min Channel Width (ATR) - 0.5 (minimum channel width filter)
Alerts
JSON Alerts - OFF (structured JSON payload for 3Commas, Wunderbit, and similar bots)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
▸ ALERTS
Bull Breakout - price closes above the upper channel boundary with confirmation
Bear Breakout - price closes below the lower channel boundary with confirmation
Any Breakout - either direction; use for a single alert covering both signals
New Pattern - a new convergent channel has been detected and is now active
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Best regards,
EXCAVO
Disclaimer
Trading involves significant risk. This indicator is a technical analysis tool
and does not constitute financial advice, investment recommendations, or a
guarantee of future results. Past indicator behavior does not guarantee future
performance. Always use proper risk management and your own judgment.
Indicator

Nexus Fusion Engine ML [WillyAlgoTrader]🧠 Nexus Fusion Engine ML is a non-overlay oscillator that fuses three independent momentum measurements into a single adaptive line (0–100), enriched with a K-Nearest Neighbors directional bias engine, volatility-normalized volume flow, automatic divergence detection (regular + hidden), momentum fatigue warnings, higher-timeframe bias, and a weighted confluence meter — delivering a complete momentum analysis system in one pane.
The core insight: a single momentum reading is noisy. Two readings averaged together are still fragile. But three fundamentally different momentum perspectives — directional velocity, efficiency-weighted impulse, and stochastic range position — blended in proportion to current market regime, produce a reading that adapts to trend and range conditions without manual switching. Layer a KNN classifier trained on live features, volume confirmation, and multi-timeframe alignment on top, and every signal carries measurable confluence.
Works on any market (crypto, forex, stocks, futures, indices) and any timeframe.
🧩 WHY THESE COMPONENTS WORK TOGETHER
A standard RSI or stochastic tells you where price sits in its recent range — but it has no concept of trend quality, volume confirmation, or historical pattern similarity. You get overbought readings in strong trends that never reverse. You get crossover signals with zero volume support. You get divergences with no structural confirmation.
Nexus Fusion Engine ML solves this by chaining every subsystem into an integrated pipeline:
Adaptive Momentum Fusion (3 components) → Signal Line Crossover → Volume Flow Confirmation → Efficiency Ratio Regime Detection → KNN Pattern Matching → Higher-Timeframe Bias → Confluence Meter (weighted vote of all subsystems)
The AMF engine produces an adaptive oscillator that automatically shifts its blend toward trend-measuring components (NROC + EWI) when the Efficiency Ratio is high, and toward range-measuring components (SMP) when the market is choppy. The signal line catches crossovers. Volume Flow confirms whether real buying or selling pressure backs the move. The Efficiency Ratio classifies the regime (trending vs ranging). The KNN engine finds historically similar conditions and votes on the most likely next-bar direction. The HTF bias filters noise by confirming alignment with the higher timeframe. Finally, the Confluence Meter aggregates all six sources into a single 0–100 score — so you see at a glance how many independent systems agree.
Without adaptive blending, the oscillator would either lag in trends or whipsaw in ranges. Without volume flow, signals lack confirmation. Without KNN, you have no statistical context. Without confluence scoring, you must mentally juggle six independent readings. The integration chain converts raw momentum data into actionable, scored, confirmed intelligence.
🔍 WHAT MAKES IT ORIGINAL
1️⃣ Adaptive Momentum Fusion (AMF) — three-component blended oscillator.
The engine computes three independent momentum measurements on every bar:
— NROC (Normalized Rate of Change): measures directional price velocity. Formula: ROC = (source − source ) / source × 100, smoothed with the selected method, then min-max normalized over a 3×N window to 0–100.
— EWI (Efficiency-Weighted Impulse): measures bar-to-bar impulse scaled by trend quality. Formula: impulse = change(source) / ATR(N) × ER, smoothed and normalized over a 4×N window to 0–100. High ER amplifies the impulse; low ER suppresses it.
— SMP (Stochastic Momentum Position): maps price within its recent range. Formula: (source − lowest(N)) / (highest(N) − lowest(N)) × 100, smoothed with EMA(N/2).
The blend is adaptive:
— trendWeight = min(ER_smoothed × 1.5, 0.75)
— rangeWeight = 1.0 − trendWeight
— oscRaw = trendWeight × (NROC × 0.55 + EWI × 0.45) + rangeWeight × SMP
When the market is trending (high ER), the oscillator favors NROC and EWI (directional components). In ranging conditions (low ER), it leans on SMP (range-mapping component). The final value is clamped to 0–100 after a short smoothing pass (N/3 bars).
2️⃣ Candle Anatomy Volume Flow — continuous directional volume scoring.
Instead of binary close > open direction, the volume flow uses a candle anatomy model that scores each bar from −1.0 to +1.0:
— candleScore = bodyDirection × bodyRatio × 0.7 + wickBias × 0.3
— bodyRatio = |close − open| / (high − low)
— wickBias = (lowerWick − upperWick) / (high − low)
A full bullish candle with no upper wick scores +1.0. A doji scores near 0. A pin bar with a long lower wick and small body scores +0.3 to +0.6.
The signed volume (candleScore × volume) is normalized by ATR × average volume, producing a Volatility-Normalized Volume Flow (VNVF). A dual-EMA blend (fast = 0.6×N, slow = 1.4×N, weighted 60/40) is then rescaled to 0–100 via dynamic peak normalization. Values above 50 indicate net buying pressure; below 50, net selling pressure.
3️⃣ KNN Directional Bias — Manhattan distance + inverse-distance weighted voting.
A K-Nearest Neighbors classifier runs on four live features:
— M (Momentum): oscVal / 100
— V (Volume Flow): vfVal / 100
— X (Signal Cross State): (oscVal − sigVal + 50) / 100
— E (Efficiency): ER_smoothed, clamped 0–1
On each bar, the previous bar's features are stored with the current bar's outcome (up / down / flat, determined by ATR-threshold price change). To find the current bias, the engine computes Manhattan distance from the current feature vector to every historical sample in the training window (default 120 bars), applies a recency bonus (recent bars get a slight distance reduction), selects the K nearest neighbors (default K = 5), and takes an inverse-distance weighted vote.
Result: a KNN bias score 0–100. Above 58 = bullish bias. Below 42 = bearish bias. The KNN panel displays direction, confidence percentage, a visual bar, feature states (M+/M−, V+/V−, E+/E−, X+/X−), and current regime.
4️⃣ Regular + Hidden Divergence with Structural Filter.
The divergence detector identifies pivot highs and lows on the oscillator (lookback = N/2 bars each side), then compares consecutive pivots:
— Regular Bullish: price makes a lower low, oscillator makes a higher low → potential reversal up.
— Regular Bearish: price makes a higher high, oscillator makes a lower high → potential reversal down.
— Hidden Bullish: price makes a higher low, oscillator makes a lower low → uptrend continuation.
— Hidden Bearish: price makes a lower high, oscillator makes a higher high → downtrend continuation.
The optional Structural Filter suppresses weak divergences by requiring:
— Minimum oscillator swing between pivots (default 5.0 points)
— Minimum price swing as % of recent range (default 0.3%)
— Volume flow confirmation (volume flow must agree with divergence direction)
— Maximum pivot age (default 100 bars) — prevents stale pivots from triggering false signals
Divergence lines are drawn solid (regular) or dashed (hidden) with configurable opacity. Labels: D▲ D▼ for regular, H▲ H▼ for hidden.
5️⃣ Regime Detection — Efficiency Ratio + 4-factor composite score.
The regime module scores the current market state from 0 to 4:
— +1 if oscillator > signal line
— +1 if oscillator > 50 (bullish territory)
— +1 if volume flow > 50 (net buying)
— +1 if Efficiency Ratio > 0.3 (trending market)
Score 4 = strong bullish trend → full bull fill in the OB zone. Score 0 = strong bearish trend → full bear fill in the OS zone. Scores 1–3 = transitional states with reduced opacity. The Efficiency Ratio itself uses the Kaufman formula: ER = |price − price | / sum(|price − price |, N), measuring how much of total price movement is directional.
6️⃣ Confluence Meter — 6-source weighted composite score.
Six independent subsystems vote bullish (+1), bearish (−1), or neutral (0):
— Oscillator position (>55 bull, <45 bear)
— Signal cross direction (osc > sig = bull)
— Volume Flow (>55 bull, <45 bear)
— Efficiency-confirmed direction (ER > 0.3 + oscillator side)
— KNN Bias (bull/bear state)
— HTF Bias (bull/bear state)
Net votes mapped: confRaw = (bullVotes − bearVotes + 6) / 12 × 100, smoothed with EMA(3). Above 70 = strong bullish confluence. Below 30 = strong bearish confluence. Displayed as a thin step-line on the oscillator pane.
7️⃣ Higher-Timeframe Bias — non-repainting HTF confirmation.
Fetches the oscillator and signal values from a user-selected higher timeframe using request.security() with offset + lookahead_on = previous closed HTF bar. This guarantees zero repainting. HTF is considered bullish when HTF oscillator > 50 and HTF oscillator > HTF signal; bearish when the reverse.
8️⃣ Momentum Fatigue Detection — consecutive weakening in extreme zones.
When the oscillator is above the OB level and declining for N consecutive bars (default 3), a fatigue label (✦ OB) appears — signaling that buying momentum is weakening even though the oscillator remains overbought. Mirror logic applies in the oversold zone (✦ OS). This early warning often precedes crossover signals by several bars.
9️⃣ Six smoothing algorithms with preset system.
The smoothing engine supports EMA, SMA, DEMA (double-exponential), TEMA (triple-exponential), WMA (weighted), and VWMA (volume-weighted). Four presets instantly configure period, smoothing, and zone levels:
— Scalping: period 8, OB 75, OS 25
— Default: period 14, OB 80, OS 20
— Swing: period 21, OB 80, OS 20
— Position: period 34, OB 85, OS 15
🔟 Full alert suite with webhook JSON support.
12 alert conditions covering every subsystem: bull/bear cross, OB/OS zone exit, regular/hidden divergence, volume flow inflow/outflow, fatigue OB/OS, KNN bias flip, confluence threshold cross. Each alert includes ticker, timeframe, price, and oscillator value. Toggle webhook mode to send JSON payloads for bot integration.
⚙️ HOW IT WORKS — CALCULATION FLOW
Step 1 — Warmup guard: The indicator requires 3× the engine period (minimum 60 bars) before producing any signals, divergences, or KNN output. This prevents false signals from insufficient data.
Step 2 — AMF oscillator computation: Three momentum components (NROC, EWI, SMP) are computed independently, each normalized to 0–100. The Efficiency Ratio determines the blend weights. The raw blend is smoothed with the selected algorithm over N/3 bars and clamped to 0–100.
Step 3 — Signal line: The oscillator is smoothed again with a separate method and period (default EMA 7) to produce the signal/trigger line. Crossovers between oscillator and signal generate dots and alerts.
Step 4 — Volume Flow: Each candle is scored using candle anatomy (body ratio + wick bias). Signed volume is normalized by ATR × average volume. A dual-EMA blend is rescaled to 0–100 via dynamic peak normalization.
Step 5 — Regime scoring: Four binary conditions (osc > sig, osc > 50, VF > 50, ER > 0.3) produce a regime score 0–4. This score drives zone fills.
Step 6 — Divergence scan: Pivot highs and lows are detected on the oscillator. Consecutive pivots are compared for regular and hidden divergence patterns. The Structural Filter (optional) suppresses weak signals.
Step 7 — Fatigue check: Consecutive declining bars in the OB zone (or rising bars in the OS zone) are counted. After N bars (default 3), a fatigue label fires.
Step 8 — KNN classification: Four features from the current bar are compared to the training window via Manhattan distance. The K nearest neighbors vote with inverse-distance weighting. Result: KNN bias 0–100.
Step 9 — HTF bias fetch: Oscillator and signal are fetched from the higher timeframe using previous-bar lookahead to prevent repainting.
Step 10 — Confluence aggregation: Six subsystems cast bull/bear/neutral votes. Net votes are mapped to 0–100 and smoothed.
📖 HOW TO USE
🎯 Quick start:
1. Add the indicator to your chart. It appears as a separate oscillator pane below price.
2. Select a preset matching your trading style: Scalping (fast), Default (balanced), Swing, or Position (slow).
3. If you trade a higher timeframe, set the HTF Bias timeframe (e.g., for a 15min chart, set HTF to 60).
4. Watch for the oscillator line crossing the signal line inside the OB/OS zones — these are the primary signals.
5. Check the dashboard (top-left by default) and KNN panel for confluence confirmation before acting.
👁️ Reading the chart:
— 🟢 Green oscillator line = momentum is in bullish territory (above midline) or in the overbought zone.
— 🔴 Red oscillator line = momentum is in bearish territory (below midline) or in the oversold zone.
— Thin gray signal line = trigger line for crossover signals.
— 🟢 Green dot on signal line = bullish crossover (oscillator crossed above signal).
— 🔴 Red dot on signal line = bearish crossover (oscillator crossed below signal).
— 🟢 Green fill between oscillator and midline = bullish momentum with gradient intensity.
— 🔴 Red fill between oscillator and midline = bearish momentum with gradient intensity.
— 🟢 Green volume flow fill (above 50) = net buying pressure.
— 🔴 Red volume flow fill (below 50) = net selling pressure.
— D▲ / D▼ labels with solid lines = regular (reversal) divergence.
— H▲ / H▼ labels with dashed lines = hidden (continuation) divergence.
— ✦ OB / ✦ OS labels = momentum fatigue warning in extreme zones.
— Regime fills in OB/OS zones = colored fills when regime score reaches 3–4 (bull) or 0–1 (bear).
— Thin step-line = confluence meter (above 70 = strong bullish, below 30 = strong bearish).
📊 Dashboard fields:
— Trend: Bullish (osc > 60) / Bearish (osc < 40) / Neutral.
— Signal: Latest signal event — Bull Cross, Bear Cross, Overbought, Oversold, or none.
— Strength: Strong (osc ≥ 70 or ≤ 30) / Medium / Weak.
— Oscillator: Current numeric oscillator value.
— Momentum: Acceleration state — Accel ▲ (gaining speed) / Decel ▼ (losing speed) / Steady.
— HTF Bias: Higher-timeframe direction — Bullish / Bearish / Neutral / OFF.
— Vol Flow: Inflow (VF > 60) / Outflow (VF < 40) / Neutral / N/A (no volume data).
— Regime: Trending (ER > 0.3) / Ranging.
— KNN Bias: KNN directional output — Bullish / Bearish / Neutral.
— Confluence: Composite reading with label — Strong Bull / Lean Bull / Mixed / Lean Bear / Strong Bear.
— ER: Current Efficiency Ratio value.
— Score: Regime score (0–4).
— Consensus: Raw bull vs bear vote count (e.g., 5B / 1S).
🔧 Tuning guide:
— Too many signals / whipsaw: Increase Engine Period (try 21 or 34), or switch to the Swing / Position preset. Enable the Structural Filter for divergences.
— Too few signals / too slow: Decrease Engine Period (try 8–10), or use the Scalping preset. Lower the Confirmation Bars for fatigue to 1–2.
— Divergences feel noisy: Enable the Structural Filter. Increase Min Osc Swing (try 8–10). Enable Require Volume Confirmation. Lower Max Pivot Age to 50–60.
— KNN seems random: Increase K (try 8–10) for more conservative voting. Increase Training Window to 200–300 for more historical data. KNN works best on liquid instruments with sufficient bar history.
— Volume flow shows N/A: The instrument has no volume data (some forex pairs, indices). Volume Flow and its contribution to regime/confluence will be inactive.
— HTF Bias always neutral: Make sure the HTF timeframe is actually higher than your current chart timeframe. An empty field = same timeframe (no filtering).
💡 Trading ideas:
— Crossover in extreme zone: Wait for the oscillator to enter the oversold zone (below 20), then watch for a bullish cross of the signal line. Confirm with volume flow turning green and KNN showing bullish. The reverse applies for overbought bearish crosses.
— Divergence + fatigue combo: A regular bullish divergence (D▲) appearing near or shortly after a ✦ OS fatigue label is a strong reversal setup. Both systems independently detect weakening bearish momentum.
— Confluence filter: Only take trades when the Confluence Meter is above 70 (for longs) or below 30 (for shorts). This ensures at least 4–5 out of 6 subsystems agree.
— Regime-aware strategy: When the dashboard shows "Trending" and the regime score is 3–4, favor trend-following entries (hidden divergences, pullbacks to midline). When "Ranging" with score 1–2, favor mean-reversion entries (regular divergences, OB/OS zone fades).
— Multi-timeframe alignment: Set the HTF to 4× your chart timeframe (e.g., 1H chart → 4H HTF). Only take long entries when HTF Bias = Bullish, and shorts when HTF Bias = Bearish. This one filter alone can significantly reduce false signals.
⚙️ KEY SETTINGS REFERENCE
⚙️ Main Settings:
— Engine Period (default 14): Core lookback for the AMF engine. 8–12 = scalping, 14 = balanced, 20–50 = swing/position.
— Source (default close): Price input. Close = standard, HLC3 = smoother, OHLC4 = smoothest.
— Smoothing (default DEMA): Algorithm for oscillator core. DEMA recommended for fast and smooth response.
— Preset (default Default): Quick configuration — Scalping / Default / Swing / Position.
— Signal Period (default 7): Smoothing for the trigger line. Keep below Engine Period.
— Signal Smoothing (default EMA): Method for the signal line.
— Show Cross Dots (default ON): Dots at oscillator–signal crossover points.
📐 Zones & Fills:
— Overbought Level (default 80): Upper extreme threshold.
— Oversold Level (default 20): Lower extreme threshold.
— OB/OS Fill Opacity (default 20): Zone fill transparency.
📊 Volume Flow:
— Show Volume Flow (default ON): Toggle the VNVF overlay.
— Volume Flow Opacity (default 18): Fill transparency. Keep 10–25 so the oscillator stays visible.
🔬 Regime Detection:
— Show Regime State (default ON): Toggle regime zone fills.
— Regime OB/OS Opacity (default 35): Fill transparency for regime fills.
🔀 Divergence:
— Regular Divergence (default ON): Reversal divergence detection.
— Hidden Divergence (default ON): Continuation divergence detection.
— Structural Filter (default OFF): Suppresses weak divergences. When ON, uses Min Osc Swing (default 5.0), Min Price Swing % (default 0.3%), and Volume Confirmation.
— Max Pivot Age (default 100 bars): Maximum distance between divergence pivots.
💨 Momentum Fatigue:
— Show Fatigue Labels (default ON): Toggle fatigue warnings.
— Confirmation Bars (default 3): Consecutive weakening bars required. 1 = fast, 5 = strict.
🧠 KNN Bias:
— Show KNN Panel (default ON): Toggle the AI panel.
— Neighbors (K) (default 5): Voting neighbors. 3 = fast, 10+ = conservative.
— Training Window (default 120): Historical bars for learning. 50 = short memory, 300+ = long memory.
🔭 Higher Timeframe:
— Show HTF Bias (default ON): Toggle HTF filter.
— Higher Timeframe (default empty = current TF): Select a higher TF for meaningful bias.
🎯 Confluence:
— Show Confluence Meter (default ON): Toggle the composite score line.
— High Confluence (default 70): Threshold for strong bullish confluence.
— Low Confluence (default 30): Threshold for strong bearish confluence.
🎨 Visual:
— Theme (default Auto): Auto-detects chart background. Force Dark or Light as needed.
— Adaptive Line Color (default ON): Oscillator color shifts with momentum direction.
— Bull/Bear Colors : Customizable green/red palette.
🔔 ALERTS
— 🟢 Bull Cross — oscillator crosses above signal line below the midline. Payload: ticker, TF, price, osc value.
— 🔴 Bear Cross — oscillator crosses below signal line above the midline. Payload: ticker, TF, price, osc value.
— 🟢 Exit Oversold — oscillator crosses above OS level.
— 🔴 Exit Overbought — oscillator crosses below OB level.
— 🟢 Regular Bull Divergence — D▲ detected (passes structural filter if enabled).
— 🔴 Regular Bear Divergence — D▼ detected.
— 🟢 Hidden Bull Divergence — H▲ detected.
— 🔴 Hidden Bear Divergence — H▼ detected.
— 🟢 Volume Inflow — volume flow crosses above 50.
— 🔴 Volume Outflow — volume flow crosses below 50.
— ⚠️ OB Fatigue — buying momentum weakening in overbought zone.
— ⚠️ OS Fatigue — selling momentum weakening in oversold zone.
— 🧠 KNN → Bull — KNN bias flips to bullish.
— 🧠 KNN → Bear — KNN bias flips to bearish.
— 🎯 Confluence High — confluence meter crosses above high threshold (default 70).
— 🎯 Confluence Low — confluence meter crosses below low threshold (default 30).
All alerts support plain text and JSON webhook format (toggle in settings). Alerts fire once per bar.
⚠️ IMPORTANT NOTES
— 🚫 Divergence timing. Pivots are detected with equal left/right lookback (N/2 bars). This means the divergence line and label appear at the confirmed pivot bar, which is N/2 bars in the past. This is delayed confirmation, not repainting — the signal does not change once it appears.
— 🚫 HTF bias does not repaint. The higher-timeframe values use the previous closed HTF bar ( offset + barmerge.lookahead_on). The HTF reading updates only when a new HTF bar closes.
— 📐 KNN is not a crystal ball. The KNN classifier finds similar historical conditions and votes on direction. It does not predict the future — it provides statistical context based on the training window. In low-liquidity or unusual market conditions, historical patterns may not repeat.
— 📐 Volume Flow requires volume data. On instruments without volume (some forex feeds, certain index CFDs), Volume Flow displays N/A and its contribution to regime scoring and confluence voting is inactive.
— ⚖️ Warmup period. The indicator needs 3× Engine Period (minimum 60 bars) of data before producing output. On very low-timeframe charts with limited history, some subsystems may not activate.
— 🛠️ This is an analysis tool, not an automated trading bot. It provides momentum analysis, volume confirmation, pattern recognition, and confluence scoring — trade decisions remain yours.
— 🌐 Works on all markets and all timeframes. Optimized for liquid instruments with volume data.
Version: v1.2.1 Indicator

Multi-Factor Regime Scoring & Alerts [HYPR-run]DESCRIPTION:
Composite regime scoring system that fuses eight independent market dimensions into a single normalized Regime Factor (-1 to +1). The sweet spot is the +/-0.2 zone: when the Regime Factor crosses through this zone (dim white circles on chart), the regime just shifted from one side to the other through neutral. That crossover, with the HMA-smoothed Regime Curve sloping in the same direction, is the highest-conviction entry the composite produces. The alerts are built around this: Regime Pivot fires at +/-0.25 with volatility band confirmation.
DISCOVERING EDGE
Pursuing a mechanical edge in entry/exit timing, confirmation and conviction sizing led us to developing an oscillating expression of most of the key criteria we use in building automated strategies. We discovered there is a sweet-spot for higher conviction trades in the +/-0.2 - .+/-0.3 zone. For example if a SFP presents, waiting for the REGIME Factor to enter the zone has a higher probability of trending than if taken earlier. In addition, for earlier reversion trades, XO/XU the outer most levels of +/-0.6 are excellent early entries when following a disciplined sizing methodology.
EIGHT SCORING DIMENSIONS
1. Macro Pivot (+/-10): ROC regime exhaustion into inflection
2. ROC Filter (+/-9): layered rate of change momentum states
3. ADXVMA (+/-9): adaptive trend direction with regime gradient
4. OBVIX (+/-5): on-balance volume, volatility, and trend composite
5. Convergence (+/-7): multi-timeframe alignment across 7 timeframes
6. Mean Reversion (+/-10): blow-off detection and spike revert signals
7. Levels (+/-8): positioning relative to 50d, 200d, 10w moving averages
8. Mechanical Hold (+/-5): price action hold signals with squeeze detection
Macro pivot and mean reversion (+/-10 each) are the heaviest. When both fire in the same direction, they swing the composite by nearly a third of its total range.
HOW TO USE
Add to chart, adjust ADXVMA and Turtle periods to match your setup. Read the Regime Factor, not the price. Above +0.6 = strong bullish; XO/XU these levels for early starter positions. Below -0.6 = strong bearish. The +/-0.2 zone is the sweet spot: crossovers here (dim white circles) mark high-probability entries or confirmation to other set-ups like an SFP. The Regime Curve shows the trend of the regime itself; when the curve slopes against the score, the regime is decelerating.
When the composite is ambiguous (between 0.2 and 0.6), the dashboard tells you why. Macro pivot green but ROC filter yellow = inflection detected, momentum hasn't confirmed. Convergence bright green but ADXVMA yellow = multi-TF aligned but local MA still flat.
CROSS-DIMENSIONAL READS
The power is reading 2-3 dashboard rows together:
- Macro pivot firing while ROC filter still green = earliest warning of trend exhaustion
- "Macro Lc confirmed" + convergence at +5 or higher = highest-conviction reversal entry
- ADXVMA "Early Bull" + convergence at +5 = trend birth signal
- Convergence at +7 = strongest trend confirmation AND trigger for mean reversion detection. Maximum agreement = maximum overextension risk
- "Blow-Off" + "Hodl S" = hold confirmed but reversion loading against you; tighten
- "Legit Squeeze" + "Chopperoni" + convergence +/-5 = compressed energy, directional break coming
- Regime Factor +0.7 but Curve flattening = regime decelerating; leading signal of rollover
ALERTS
Regime Pivot fires when the Regime Factor crosses +/-0.25 with volatility band confirmation; solid arrows on chart. Built around the sweet spot: fires at the regime shift, not after the move has run. Spike Revert fires on mean reversion after blow-off; counter-trend edge from extreme overextension. Toggle each independently. For notifications without webhooks: condition = this indicator, "Any alert() function call", select push/email/popup. For webhook execution: paste endpoint URL, set Open-ended, create.
REGIME FACTOR THRESHOLD ZONES
+0.6 to +1.0 strong bullish (solid green hline)
+0.2 to +0.6 moderate bullish (dotted line)
-0.2 to +0.2 sweet spot entries (dim white circles); XO/XU here
-0.6 to -0.2 moderate bearish (dotted line)
-1.0 to -0.6 strong bearish (solid red hline)
DASHBOARD (9 rows)
1. MACRO PIVOT - Green: Pivoting ↑, Lc ↗ (confirmed), L In Play ↗. Red: inverse. Black: neutral.
2. ROC FILTER - Bright Green: Momentum ↑. Green: Trending ↗ / Rolling Over ↓. Yellow: Continuation / Stage 1 / Reversion. Orange: Exhaustion. White: Sideways. Red/Bright Red: inverse.
3. ADXVMA - Green: D Trend ↗, Trending ↗, Early Bull. Yellow: Pivoting, Consolidation, Chopperoni. Red: inverse.
4. OBVIX - Green: positive. Red: negative. Black: flat.
5. CONVERGENCE - Bright Green: All Lined Up ↑ (7/7). Gradient green: +5 to +6. Dim: +3 to +4. Black: near 0. Red gradient: inverse.
6. MEAN REVERSION - Yellow: Blow-Off, High Potential, Possible. Green: Spike Revert ↑ / MR In Play ↗. Red: inverse.
7. LEVELS - Green: Bouncing key MAs, XO events. Red: Rejecting, XU events. MA combo: above/below 50d, 100d, 200d + 10w anchor.
8. MECHANICAL HOLD - Squeeze gradient: Legit Squeeze / Squeezing. Green: Hodl L. Red: Hodl S. Black: Get Ready / Neutral.
9. REGIME FACTOR - Composite score with gradient color and numeric display.
CREDITS
ADXVMA: Linnsoft
ADX: J. Welles Wilder (1978)
VIDYA: Tushar S. Chande, TASC March 1992
Advance/Decline gradient: LucF
Turtle breakout concept: Richard Donchian Indicator

Alpha Relative Strength & Performance [Pineify]Alpha Relative Strength & Performance
The Alpha Relative Strength & Performance (Alpha RSP) indicator is a dual-metric relative strength analysis tool that measures both an asset's outperformance ratio and its momentum trajectory against a user-defined benchmark — providing a complete, four-quadrant classification of relative strength state. Inspired by the Relative Rotation Graph (RRG) methodology developed by Julius de Kempenaer, Alpha RSP distills the two-dimensional RRG framework into a single-pane oscillator that traders can apply to any asset and any benchmark. Instead of simply comparing price returns, the indicator computes a double-smoothed RS Ratio (where the asset sits relative to its own trend of outperformance) and an RS Momentum reading (whether that outperformance is accelerating or decelerating). Together, these two metrics classify the asset into one of four states — Strong, Improving, Weakening, or Weak — with color-coded plotting, area fills, crossover signals, and a real-time dashboard table. This gives traders an objective, quantitative framework for sector rotation, pair trading, and relative performance timing.
Key Features
Double-smoothed RS Ratio oscillator — uses two layers of Weighted Moving Average (WMA) smoothing on the raw price ratio to produce a stable, noise-resistant measure of relative outperformance centered around the 100 equilibrium line.
RS Momentum (second derivative) — calculates the rate of change of the RS Ratio itself, revealing whether outperformance is accelerating or decelerating before the RS Ratio line visually turns.
Four-quadrant state classification — categorizes the asset into Strong (Leading), Improving, Weakening, or Weak (Lagging) based on the combination of RS Ratio and RS Momentum relative to 100, mirroring the proven RRG quadrant system.
Momentum-confirmed crossover signals — bullish entry signals require the RS Ratio to cross above 100 with pre-confirmed positive momentum; bearish exit signals require a cross below 100 with pre-confirmed negative momentum, filtering out low-conviction transitions.
Net Performance delta — independently calculates bar-by-bar alpha (asset return minus benchmark return) as a supplementary metric displayed in the info table.
Real-time dashboard table — a four-row info panel displays the current quadrant state, RS Ratio value, RS Momentum value, and net performance percentage, all color-coded for instant visual assessment.
Flexible benchmark selection — compare against any symbol available on PulseWire (SPY, QQQ, BTCUSD, sector ETFs, etc.), making the indicator applicable to equities, crypto, forex, and commodities.
Built-in alert conditions — four configurable alerts cover bullish entries, bearish exits, and sustained strong/weak state detection for hands-free monitoring.
How It Works
The indicator follows a multi-stage calculation pipeline that transforms a raw price ratio into a classified relative strength state:
Benchmark data sourcing: The benchmark's closing price is fetched using request.security() with a one-bar lookback and lookahead enabled. This ensures only confirmed (already closed) benchmark data is used, preventing repainting. A validity check guards against missing data, falling back to neutral values (1.0 for ratios, 100 for normalized metrics) when the benchmark is unavailable.
Relative Strength (RS) calculation: The raw RS is computed as Asset Close / Benchmark Close. A rising RS means the asset is gaining value faster (or losing value slower) than the benchmark. This raw ratio is then smoothed with a Weighted Moving Average (WMA) of configurable length to establish the asset's trend of relative performance.
RS Ratio normalization: The RS Ratio measures where the current RS sits relative to its own WMA trend: RS_Ratio = WMA(RS / WMA_RS) × 100. Values above 100 indicate the asset is outperforming its own recent relative trend (leading); values below 100 indicate underperformance (lagging). The double WMA smoothing — first on the raw RS, then on the ratio — significantly reduces noise while preserving responsiveness.
RS Momentum derivation: RS Momentum is the rate of change of the RS Ratio: RS_Mom = RS_Ratio / WMA(RS_Ratio) × 100. This "second derivative" of relative strength reveals whether the RS Ratio is accelerating (above 100) or decelerating (below 100). Momentum turns often precede RS Ratio turns, providing an early warning of quadrant transitions.
State classification and signal generation: The combination of RS Ratio and RS Momentum relative to the 100 baseline classifies the asset into one of four quadrants. Crossover signals are generated when the RS Ratio crosses the 100 line with momentum confirmation from the previous bar, ensuring entries and exits occur only during high-conviction quadrant transitions.
Trading Ideas and Insights
Sector rotation timing: Apply Alpha RSP to sector ETFs (XLK, XLF, XLE, etc.) against SPY as the benchmark. Assets in the Strong quadrant (green) are the current market leaders — favor long positions in these sectors. Assets in the Weak quadrant (red) are lagging — avoid or consider short positions. The quadrant rotation (Strong → Weakening → Weak → Improving → Strong) follows a predictable clockwise pattern that can be used to anticipate sector leadership changes.
Pair trading confirmation: When comparing two correlated assets, use Alpha RSP on one asset with the other as the benchmark. A sustained Strong state suggests going long the asset and short the benchmark; a sustained Weak state suggests the reverse. The crossover signals provide specific entry and exit timing for the pair trade.
Momentum-based entries: The bullish entry signal (green circle) fires when the RS Ratio crosses above 100 with positive momentum — this is the moment the asset transitions into the Strong quadrant. Historically, assets entering the Strong quadrant tend to continue outperforming for multiple bars, making this a high-probability entry point for relative outperformance trades.
Early warning via momentum divergence: Monitor the RS Momentum independently. When an asset is in the Strong quadrant but RS Momentum drops below 100, it transitions to Weakening (yellow) — outperformance is decelerating even though the asset still leads. This early warning allows traders to tighten stops or reduce position size before the RS Ratio itself crosses below 100.
Benchmark-relative alpha tracking: The Net Performance row in the info table shows the bar-by-bar return difference between the asset and benchmark. Use this to monitor whether your holdings are generating positive alpha on each bar, independent of the smoothed RS calculations.
How Multiple Indicators Work Together
Alpha RSP integrates several analytical components into a unified relative strength assessment system, each serving a distinct purpose:
Weighted Moving Average smoothing (trend extraction): WMA is applied twice in the calculation chain — first to smooth the raw RS ratio, then to normalize the RS Ratio and compute RS Momentum. WMA was chosen over SMA or EMA because its linear weighting scheme provides a good balance between responsiveness and smoothness. The double application creates a cascading filter that removes short-term noise while preserving the medium-term trend of relative performance.
RS Ratio (position measurement): The RS Ratio answers the question "is the asset currently outperforming or underperforming its own recent relative trend?" By normalizing the raw RS against its WMA, the indicator creates a mean-reverting oscillator centered at 100 that is comparable across different assets and timeframes — regardless of the absolute price levels of the asset and benchmark.
RS Momentum (direction measurement): The RS Momentum answers the question "is the relative outperformance getting better or worse?" This second derivative adds the critical directional dimension that the RS Ratio alone cannot provide. An asset can be above 100 (leading) but with momentum below 100 (weakening) — meaning it still outperforms but is losing its edge. This distinction is what enables the four-quadrant classification.
Crossover signals with momentum confirmation (timing mechanism): Raw crossovers of the RS Ratio above/below 100 would generate signals at every quadrant boundary. By requiring momentum confirmation from the previous bar, the signal filter ensures that only transitions into the Strong quadrant (bullish) or Weak quadrant (bearish) generate signals — skipping the ambiguous transitions into Improving or Weakening states.
The synergy is hierarchical: raw price ratio → WMA-smoothed trend → normalized RS Ratio (position) → RS Momentum (direction) → four-quadrant classification → momentum-confirmed crossover signals. Each layer adds a dimension of analysis, and the final signals require alignment across all layers — the asset must cross the outperformance threshold AND have confirmed momentum direction to trigger.
Unique Aspects
RRG methodology in a single pane: Traditional Relative Rotation Graphs require a two-dimensional scatter plot with RS Ratio on the x-axis and RS Momentum on the y-axis. Alpha RSP condenses this into a standard oscillator pane by plotting the RS Ratio as the primary line and encoding the momentum dimension through color (four-quadrant coloring). This makes the RRG framework accessible within PulseWire's standard indicator layout without losing the quadrant classification.
Double WMA smoothing architecture: Most relative strength indicators use a single smoothing pass (e.g., SMA or EMA of the price ratio). Alpha RSP's double WMA approach — smoothing the raw RS, then smoothing the normalized ratio — creates a more stable oscillator that filters out short-term noise while remaining responsive to genuine trend changes in relative performance.
Non-repainting benchmark data: The indicator fetches benchmark data with a one-bar offset (close ) and lookahead enabled, ensuring that only confirmed historical data is used. This prevents the common repainting issue where indicators using request.security() produce different historical signals depending on when they are loaded.
Momentum-confirmed signals: Unlike simple ratio crossover systems, Alpha RSP requires the previous bar's momentum to confirm the direction of the crossover. This dual-condition filter significantly reduces false signals during choppy, mean-reverting relative performance periods where the RS Ratio oscillates around 100 without establishing a clear trend.
How to Use
Add the indicator to your chart. It appears in a separate pane below the price chart, displaying the RS Ratio line, a dashed equilibrium baseline at 100, and a color-coded area fill.
Set the Benchmark Symbol to the index or asset you want to compare against. Use SPY for broad US equity comparison, QQQ for tech-weighted comparison, BTCUSD for crypto relative analysis, or any other symbol relevant to your trading universe.
Adjust the Calculation Window based on your trading timeframe. The default of 14 works well for daily charts. Use shorter values (7–10) for intraday or short-term swing trading; use longer values (21–50) for position trading or weekly charts.
Monitor the line color for the current quadrant state: green = Strong (outperforming with rising momentum), blue = Improving (underperforming but momentum turning positive), yellow = Weakening (outperforming but momentum fading), red = Weak (underperforming with falling momentum).
Watch for green circle signals — these mark Bullish Entry points where the RS Ratio crosses above 100 with confirmed positive momentum, indicating the asset is entering the Strong quadrant. Consider initiating or adding to long positions relative to the benchmark.
Watch for red circle signals — these mark Bearish Exit points where the RS Ratio crosses below 100 with confirmed negative momentum, indicating the asset is entering the Weak quadrant. Consider reducing exposure or exiting positions.
Check the info table in the bottom-right corner for a real-time summary of the current state, RS Ratio, RS Momentum, and net performance values.
Set up alerts using the four built-in alert conditions to receive notifications for bullish entries, bearish exits, or sustained strong/weak states without watching the chart.
Customization
Benchmark Symbol (default: SPY): The reference asset for relative strength comparison. Choose a benchmark that represents the market or sector you want to measure outperformance against. For equity traders, SPY or a sector ETF is typical. For crypto traders, BTCUSD provides a relative strength reading against the dominant cryptocurrency.
Calculation Window (default: 14): Controls the WMA smoothing period for both the RS Ratio and RS Momentum calculations. Lower values (7–10) produce a more volatile, responsive oscillator that captures short-term relative strength shifts — suitable for active trading. Higher values (21–50) produce a smoother oscillator that focuses on medium-term relative trends — suitable for position trading and sector rotation strategies.
Quadrant Colors: All four quadrant colors are fully customizable. The default scheme (green/blue/yellow/red) follows the standard RRG color convention, but you can adjust these to match your chart theme or personal preference. Colors are applied to the RS Ratio line, area fill, signal markers, and info table simultaneously.
Conclusion
The Alpha Relative Strength & Performance indicator brings the proven Relative Rotation Graph methodology into a streamlined, single-pane oscillator format. By computing both an RS Ratio (where the asset stands relative to its benchmark trend) and an RS Momentum (whether that standing is improving or deteriorating), it provides a complete four-quadrant classification of relative strength that goes far beyond simple price ratio comparison. The double WMA smoothing architecture delivers clean, noise-resistant readings, while momentum-confirmed crossover signals filter out low-conviction transitions. Whether you are timing sector rotations, managing pair trades, or simply tracking whether your holdings are generating alpha relative to a benchmark, Alpha RSP provides an objective, quantitative framework for relative performance analysis across any market and timeframe.
Indicator

Arbitrage Scanner Pro [Multi-Asset Dashboard]⚡ Arbitrage Scanner Pro
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📌 OVERVIEW
Arbitrage Scanner Pro is a multi-asset monitoring and arbitrage detection system that displays 3 assets simultaneously on one chart. It detects trend divergences between correlated assets, identifies arbitrage opportunities in real-time, and uses speed simulation to make indicators react as if running on sub-minute timeframes (10s, 15s, 30s).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🧠 HOW IT WORKS
🔹 Speed Simulation Engine
PulseWire's minimum timeframe is 1 minute. This indicator mathematically scales indicator parameters to simulate faster reactions:
• Normal (1m) → Standard indicator behavior
• Simulate 30s → Parameters divided by 2 (2x faster reactions)
• Simulate 15s → Parameters divided by 4 (4x faster reactions)
• Simulate 10s → Parameters divided by 6 (6x faster reactions)
Example in 15s mode: EMA 20 becomes EMA 5, RSI 14 becomes RSI 4, Supertrend Length 5 becomes 1.
🔹 Signal Logic
Each asset runs the same strategy independently using its own price data:
LONG conditions (all must be true):
✅ Supertrend = Bullish (green)
✅ Close > EMA of Highs (breakout above channel)
✅ RSI > 60 (strong momentum)
✅ RSI > RSI Moving Average (momentum accelerating)
✅ Supertrend outside EMA channel (trending, not choppy)
SHORT conditions (all must be true):
✅ Supertrend = Bearish (red)
✅ Close < EMA of Lows (breakdown below channel)
✅ Supertrend outside EMA channel (trending, not choppy)
The "Supertrend outside EMA channel" filter is the key innovation — it eliminates false signals during sideways consolidation by only allowing signals when the market shows a clean directional trend.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 MULTI-ASSET DISPLAY
The indicator creates a stacked 3-panel layout in a single pane:
• Asset A (Main) → Your chart's symbol with overlay indicators
• Asset B (Secondary) → Normalized candles in 0-100 range with full OHLC
• Asset C (Third) → Normalized candles shifted below with adjustable gap
Each secondary asset displays:
📊 Ticker name (e.g., ETHUSDT)
🏛️ Exchange/broker name (e.g., BINANCE) — auto-parsed from symbol
💲 Live price with up to 4 decimal precision
📈 Bar-to-bar percentage change with color coding
Price normalization formula:
Normalized = (Price - 200-bar Low) ÷ (200-bar High - 200-bar Low) × 100
All indicators (EMA channels, Supertrend) are also normalized to the same scale.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔍 ARBITRAGE DETECTION
The core feature — compares trend directions and signal timing across all 3 assets.
🔹 Signal Divergence (strongest signal):
Fires when two assets generate OPPOSITE signals on the same bar.
Example: Asset A = LONG while Asset B = SHORT → ⚠️ Arbitrage Opportunity
🔹 Trend Divergence (ongoing):
Tracks when assets have different Supertrend directions.
Measured as a Divergence Score from 0/3 (all aligned) to 3/3 (all different).
🔹 Convergence Detection:
Fires when ALL 3 assets trigger the same signal simultaneously.
All LONG → Maximum bullish confirmation.
All SHORT → Maximum bearish confirmation.
🔹 Visual Feedback:
• Yellow background flash → Signal divergence detected
• Green background flash → All assets triggered LONG
• Pink background flash → All assets triggered SHORT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📋 DASHBOARD
The professional dashboard table shows real-time data for all assets:
• ASSET → Parsed ticker name with emoji identifier
• EXCHANGE → Auto-detected exchange/broker (BINANCE, COINBASE, FX, etc.)
• PRICE → Live close price
• CHANGE → Bar-to-bar % change (green/red)
• TREND → Supertrend direction (▲ BULL / ▼ BEAR)
• SIGNAL → Current state (🚀 LONG! / 🔻 SHORT! / 🟢 Long / 🔴 Short / ⚪ Neutral)
Arbitrage Status Section:
• Overall divergence assessment with descriptive message
• Pair-by-pair comparison (A↔B, A↔C, B↔C) — DIVERGED or ALIGNED
• RSI values for all 3 assets side-by-side
• Divergence score (0/3 to 3/3)
Dashboard size, position, and label sizes are all adjustable.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚙️ SETTINGS
🔹 Speed Mode:
Scan Speed → Normal (1m) / Simulate 30s / Simulate 15s / Simulate 10s
🔹 Detection Settings:
Trend Detection Length → Supertrend ATR lookback (default: 5)
Sensitivity Factor → Supertrend ATR multiplier (default: 1.0)
Channel Length → EMA lookback for high/low channel (default: 20)
Momentum Length → RSI period (default: 14)
🔹 Asset Configuration:
Asset B and Asset C can be independently enabled/disabled with custom symbols and candle colors.
🔹 Display Settings:
Show Trend Overlays → Toggle EMA and Supertrend on secondary charts
Signal Style → Labels / Arrows / Both
Gap Between Charts → 80 to 500 (vertical spacing)
Signal Label Offset → Distance of signal labels from candles
🔹 Size Settings:
Dashboard Text Size → Tiny / Small / Normal / Large
Chart Label Size → Tiny / Small / Normal / Large / Huge
Signal Label Size → Tiny / Small / Normal / Large / Huge
Dashboard Position → 9 positions (Top/Mid/Bottom × Left/Center/Right)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔔 ALERTS (12 Total)
Individual (6):
• Asset A LONG / SHORT
• Asset B LONG / SHORT
• Asset C LONG / SHORT
Combined (2):
• ANY asset LONG
• ANY asset SHORT
Arbitrage-Specific (4):
• ⚠️ Signal Divergence detected (opposite signals on same bar)
• 🟢 All 3 assets LONG convergence
• 🔴 All 3 assets SHORT convergence
• 🔶 High divergence score (2+/3)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📈 USE CASES
🔹 Cross-Exchange Arbitrage:
Monitor BTC on BINANCE, COINBASE, and BYBIT simultaneously. When one exchange shows LONG while another shows SHORT, a price discrepancy exists.
🔹 Crypto Correlation Trading:
Watch BTC, ETH, and SOL together. BTC often leads — when BTC triggers LONG first, altcoins typically follow. Enter altcoins on confirmation.
🔹 Forex Multi-Pair Scanning:
Monitor EURUSD, GBPUSD, and USDJPY. When EUR and GBP both show LONG while JPY shows SHORT, it confirms broad USD weakness.
🔹 Index + Sector Rotation:
Track S&P 500 futures alongside QQQ (tech) and XLF (financials). Divergences between sectors reveal which is driving the market.
🔹 News Event Reaction:
Monitor Gold, Dollar Index, and 10-Year Yields during economic releases. The 10s simulation catches reactions within the first minute candle.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
⚠️ IMPORTANT NOTES
• This uses 1-minute OHLC data — it does NOT create actual sub-minute candles
• Signals fire at bar close, not mid-candle
• The 0-100 normalization can make small moves appear larger
• This is a detection tool — trade execution requires separate infrastructure
• Best used on 1-minute charts where the speed simulation is calibrated
• Always combine with proper risk management
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔧 RECOMMENDED SETTINGS
Crypto (High Volatility): Sim 15s, Length 5, Factor 1.0, Channel 20
Crypto (Low Volatility): Sim 30s, Length 7, Factor 1.5, Channel 25
Forex Majors: Sim 30s, Length 5, Factor 1.5, Channel 20
Stock Indices: Sim 30s, Length 5, Factor 1.0, Channel 15
News Events: Sim 10s, Length 3, Factor 0.5, Channel 10 Indicator

Indicator

Indicator

Stochastic BTC OptimizedEnhanced Stochastic for Bitcoin (BTC) – Optimized for Daily Timeframe
This enhanced Stochastic oscillator is specifically fine-tuned for BTC/USD on the 1D timeframe, leveraging historical data from Bitstamp (2011–2025) to minimize false signals and maximize reliability in Bitcoin's volatile swings.
Unlike the classic Stochastic (14, 3, 3), this version uses optimized parameters:
- K Period = 21 – smoother reaction, better suited for BTC’s macro cycles
- D Period = 3, Smooth K = 3 – reduces noise while preserving responsiveness
- Overbought = 85, Oversold = 15 – accounts for BTC’s tendency to trend strongly within extreme zones without immediate reversal
✅ Smart Signal Logic:
Buy/sell signals appear only when %K crosses %D inside the oversold (≤15) or overbought (≥85) zones, and only the first signal is shown to avoid whipsaws.
Visual Enhancements:
- Thick lines when %K/%D are in overbought/oversold zones
- Green/red background highlights on valid signals
- Optional up/down arrows for clear entry visualization
- Customizable colors, line widths, and transparency
🔒 No alerts included – clean, focused on price action and momentum.
💡 Pro Tip: For even higher accuracy, use this indicator in combination with a long-term trend filter (e.g., EMA 200). The oscillator excels in ranging or retracement phases but should not be used alone in strong parabolic moves.
Based on Mozilla Public License v2.0 – feel free to use, modify, and share. Perfect for swing traders and long-term Bitcoin analysts seeking high-probability reversal zones.
перевод на русский
Улучшенный Stochastic для Bitcoin (BTC) — оптимизирован для дневного таймфрейма
Этот улучшенный осциллятор Stochastic специально настроен под BTC/USD на дневном графике, с учётом исторических данных Bitstamp (2011–2025), чтобы минимизировать ложные сигналы и повысить надёжность в условиях высокой волатильности биткоина.
В отличие от классического Stochastic (14, 3, 3), эта версия использует оптимизированные параметры:
- Период K = 21 — более плавная реакция, лучше соответствует макроциклам BTC
- Период D = 3, Сглаживание K = 3 — снижает шум, сохраняя отзывчивость
- Уровень перекупленности = 85, перепроданности = 15 — учитывает склонность BTC к сильным трендам в экстремальных зонах без немедленного разворота
✅ Интеллектуальная логика сигналов:
Покупка/продажа отображается только при пересечении %K и %D внутри зоны перепроданности (≤15) или перекупленности (≥85), и только первый сигнал фиксируется, чтобы избежать «хлыстов».
Улучшенная визуализация:
- Жирные линии, когда %K/%D находятся в экстремальных зонах
- Зелёный/красный фон при появлении сигналов
- Опциональные стрелки для чёткого отображения точек входа
- Настройка цветов, толщины линий и прозрачности
🔒 Без алертов — чистый инструмент, сфокусированный на цене и импульсе.
💡 Совет профессионала: для ещё большей точности используйте этот индикатор вместе с трендовым фильтром (например, EMA 200). Осциллятор лучше всего работает в фазах консолидации или отката, но не стоит применять его в одиночку во время сильных параболических движений.
На основе Mozilla Public License v2.0 — свободно используйте, модифицируйте и делитесь. Идеален для свинг-трейдеров и аналитиков Bitcoin, ищущих зоны с высокой вероятностью разворота.
Indicator

Indicator

FluidFlow OscillatorFluidFlow Oscillator: Study Material for Traders
Overview
The FluidFlow Oscillator is a custom technical indicator designed to measure price momentum and market flow dynamics by simulating fluid motion concepts such as velocity, viscosity, and turbulence. It helps traders identify potential buy and sell signals along with trend strength, momentum direction, and volatility conditions.
This study explains the underlying calculation concepts, signal logic, visual cues, and how to interpret the professional dashboard table that summarizes key indicator readings.
________________________________________
How the FluidFlow Oscillator Works
Core Mechanisms
1. Price Flow Velocity
o Measures the rate of change of price over a specified flow length (default 40 bars).
o Calculated as a percentage change of closing price: roc=close−closelen_flowcloselen_flow×100\text{roc} = \frac{\text{close} - \text{close}_{len\_flow}}{\text{close}_{len\_flow}} \times 100roc=closelen_flowclose−closelen_flow×100
o Smoothed by an EMA (Exponential Moving Average) to reduce noise, generating a "flow velocity" value.
2. Viscosity Factor
o Analogous to fluid viscosity, it adjusts the flow velocity based on recent price volatility.
o Volatility is computed as the standard deviation of close prices over the flow length.
o The viscosity acts as a damping factor to slow down the flow velocity in highly volatile conditions.
o This results in a "flow with viscosity" value, that smooths out the velocity considering market turbulence.
3. Turbulence Burst
o Captures sudden changes or bursts in the flow by measuring changes between successive viscosity-adjusted flows.
o The turbulence value is a smoothed absolute change in flow.
o A burst boost factor is added to the oscillator to incorporate this rapid change component, amplifying signals during sudden shifts.
4. Oscillator Calculation
o The raw oscillator value is the sum of flow with viscosity plus burst boost, scaled by 10.
o Clamped between -100 and +100 to limit extremes.
o Finally, smoothed again by EMA for cleaner visualization.
________________________________________
Signal Logic
The oscillator works with complementary components to produce actionable signals:
• Signal Line: An EMA-smoothed version of the oscillator for generating crossover-based signals.
• Momentum: The rate of change of the oscillator itself, smoothed by EMA.
• Trend: Uses fast (21-period EMA) and slow (50-period EMA) moving averages of price to identify market trend direction (uptrend, downtrend, or sideways).
Signal Conditions
• Bullish Signal (Buy): Oscillator crosses above the oversold threshold with positive momentum.
• Bearish Signal (Sell): Oscillator crosses below the overbought threshold with negative momentum.
Statuses
The oscillator provides descriptive market states based on level and momentum:
• Overbought
• Oversold
• Buy Signal
• Sell Signal
• Bullish / Bearish (momentum-driven)
• Neutral (no clear trend)
________________________________________
Color System and Visualization
The oscillator uses a sophisticated HSV color model adapting hues according to:
• Oscillator value magnitude and sign (positive or negative)
• Acceleration of oscillator changes
• Smooth color gradients to facilitate intuitive understanding of trend strength and momentum shifts
Background colors highlight overbought (red tint) and oversold (green tint) zones with transparency.
________________________________________
How to Understand the Professional Dashboard Table
The FluidFlow Oscillator offers an integrated table at the bottom center of the chart. This dashboard summarizes critical indicator readings in 8 columns across 3 rows:
Column Description
SIGNAL Current signal status (e.g., Buy, Sell, Overbought) with color coding
OSCILLATOR Current oscillator value (-100 to +100) with color reflecting intensity and direction
MOMENTUM Momentum bias indicating strength/direction of oscillator changes (Strong Up, Up, Sideways, Down, Strong Down)
TREND Current trend status based on EMAs (Strong Uptrend, Uptrend, Sideways, Downtrend, Strong Downtrend)
VOLATILITY Volatility percentage relative to average, indicating market activity level
FLOW Flow velocity value describing price momentum magnitude and direction
TURBULENCE Turbulence level indicating sudden bursts or spikes in price movement
PROGRESS Oscillator's position mapped as a percentage (0% to 100%) showing proximity to extreme levels
Rows Explained
• Row 1 (Header): Labels for each metric.
• Row 2 (Values): Current numerical or descriptive values color-coded along a professional scheme:
o Green or lime tones indicate positive or bullish conditions.
o Red or orange tones indicate caution, sell signals, or bearish conditions.
o Blue tones indicate neutral or stable conditions.
• Row 3 (Status Indicators): Emoji-like icons and bars provide a quick visual gauge of each metric's intensity or signal strength:
o For example, "🟢🟢🟢" suggests very strong bullish momentum, while "🔴🔴🔴" suggests strong bearish momentum.
o Progress bar visually demonstrates oscillator movement toward oversold or overbought extremes.
________________________________________
Practical Interpretation Tips
• A Buy signal with green colors and strong momentum usually precedes upward price moves.
• An Overbought status with red background and red table colors warns of potential price corrections or reversals.
• Watch the Turbulence to gauge market instability; spikes may precede price shocks or volatility bursts.
• Confirm signals with the Trend and Momentum columns to avoid false entries.
• Use the Progress bar to anticipate oscillations approaching key threshold levels for timing trades.
________________________________________
Alerts
The oscillator supports alerts for:
• Buy and sell signals based on oscillator crossovers.
• Overbought and oversold levels reached.
These help traders automate awareness of important market conditions.
________________________________________
Disclaimer
The FluidFlow Oscillator and its signals are for educational and informational purposes only. They do not guarantee profits and should not be considered as financial advice. Always conduct your own research and use proper risk management when trading. Past performance is not indicative of future results.
________________________________________
This detailed explanation should help you understand the workings of the FluidFlow Oscillator, its components, signal logic, and how to analyze its professional dashboard for informed trading decisions.
Indicator

Kase Convergence Divergence [BackQuant]Kase Convergence Divergence
The Kase Convergence Divergence is a sophisticated oscillator designed to measure directional market strength through the lens of volatility-adjusted log return structures. Inspired by Cynthia Kase’s work on statistical momentum and price projection ranges, this unique indicator offers a hybrid framework that merges signal processing, multi-length sweep logic, and adaptive smoothing techniques.
Unlike traditional momentum oscillators like MACD or RSI, which rely on static moving average differences, KCD introduces a dual-process system combining:
Kase-style statistical range projection (via log returns and volatility),
A sweeping loop of lookback lengths for robustness,
First and second derivative modes to capture both velocity and acceleration of price movement.
Core Logic & Computation
The KCD calculation is centered on two volatility-normalized transforms:
KSDI Up: Measures how far the current high has moved relative to a past low, normalized by return volatility.
KSDI Down: Measures how far the current low has moved relative to a past high, also normalized.
For every length in a user-defined sweep range (e.g., 25–35), both KSDI_up and KSDI_dn are computed, and their maximum values across the loop are retained. The difference between these two max values produces the raw signal:
KPO (Kase Projection Oscillator): Measures directional skew.
KCD (Kase Convergence Divergence): Defined as KPO – MA(KPO) — similar in spirit to MACD but structurally different.
Users can choose to visualize either the first derivative (KPO) , or the second derivative (KCD) , depending on market conditions or strategy style.
Key Features
✅ Multi-Length Sweep Logic: Improves signal reliability by aggregating statistical range projections across a set of lookbacks.
✅ Advanced Smoothing Modes: Supports DEMA, HMA, TEMA, LINREG, WMA and more for dynamic adaptation.
✅ Dual Derivative Modes: Choose between speed (first derivative) or smoothness (second derivative) to fit your trading regime.
✅ Color-Encoded Signal Bands: Heatmap-style oscillator coloring enhances visual feedback on trend strength.
✅ Candlestick Painting: Optional bar coloring makes it easy to spot trend shifts on the main chart.
✅ Adaptive Fill Zones: Green and red fills between the oscillator and zero line help distinguish bullish and bearish regimes at a glance.
Practical Applications
📈 Trend Confirmation: Use KCD as a secondary confirmation layer after breakout or pullback entries.
📉 Momentum Shifts: Crossover and crossunder of the zero line highlight potential regime changes.
📊 Strategy Filters: Incorporate into algos to avoid trendless or mean-reverting environments.
🧪 Derivative Switching: Flip between KPO and KCD modes depending on whether you want to measure acceleration or deceleration of price flow.
Alerts & Signals
Two built-in alerts help you catch regime shifts in real time:
Long Signal: Triggered when the selected oscillator crosses above zero.
Short Signal: Triggered when it crosses below zero.
These events can be used to generate entries, exits, or trend validation cues in multi-layer systems.
Conclusion
The Kase Convergence Divergence goes beyond traditional oscillators by offering a volatility-normalized, derivative-aware signal engine with enhanced visual dynamics. Its sweeping architecture and dynamic fill logic make it especially powerful for identifying trending environments, filtering chop, and adding statistical rigor to your trading toolkit.
Whether you’re a discretionary trader seeking precision, or a quant looking to model more robust return structures, KCD offers a creative yet analytically grounded solution. Indicator

HOD/LOD/PMH/PML/PDH/PDL Strategy by @tradingbauhaus This script is a trading strategy @tradingbauhaus designed to trade based on key price levels, such as the High of Day (HOD), Low of Day (LOD), Premarket High (PMH), Premarket Low (PML), Previous Day High (PDH), and Previous Day Low (PDL). Below, I’ll explain in detail what the script does:
Core Functionality of the Script:
Calculates Key Price Levels:
HOD (High of Day): The highest price of the current day.
LOD (Low of Day): The lowest price of the current day.
PMH (Premarket High): The highest price during the premarket session (before the market opens).
PML (Premarket Low): The lowest price during the premarket session.
PDH (Previous Day High): The highest price of the previous day.
PDL (Previous Day Low): The lowest price of the previous day.
Draws Horizontal Lines on the Chart:
Plots horizontal lines on the chart for each key level (HOD, LOD, PMH, PML, PDH, PDL) with specific colors for easy visual identification.
Defines Entry and Exit Rules:
Long Entry (Buy): If the price crosses above the PMH (Premarket High) or the PDH (Previous Day High).
Short Entry (Sell): If the price crosses below the PML (Premarket Low) or the PDL (Previous Day Low).
Long Exit: If the price reaches the HOD (High of Day) during a long position.
Short Exit: If the price reaches the LOD (Low of Day) during a short position.
How the Script Works Step by Step:
Calculates Key Levels:
Uses the request.security function to fetch the HOD and LOD of the current day, as well as the highs and lows of the previous day (PDH and PDL).
Calculates the PMH and PML during the premarket session (before 9:30 AM).
Plots Levels on the Chart:
Uses the plot function to draw horizontal lines on the chart representing the key levels (HOD, LOD, PMH, PML, PDH, PDL).
Each level has a specific color for easy identification:
HOD: White.
LOD: Purple.
PDH: Orange.
PDL: Blue.
PMH: Green.
PML: Red.
Defines Trading Rules:
Uses conditions with ta.crossover and ta.crossunder to detect when the price crosses key levels.
Long Entry: If the price crosses above the PMH or PDH, a long position (buy) is opened.
Short Entry: If the price crosses below the PML or PDL, a short position (sell) is opened.
Long Exit: If the price reaches the HOD during a long position, the position is closed.
Short Exit: If the price reaches the LOD during a short position, the position is closed.
Executes Orders Automatically:
Uses the strategy.entry and strategy.close functions to open and close positions automatically based on the defined rules.
Advantages of This Strategy:
Based on Key Levels: Uses important price levels that often act as support and resistance.
Easy to Visualize: Horizontal lines on the chart make it easy to identify levels.
Automated: Entries and exits are executed automatically based on the defined rules.
Limitations of This Strategy:
Dependent on Volatility: Works best in markets with significant price movements.
False Crosses: There may be false crosses that generate incorrect signals.
No Advanced Risk Management: Does not include dynamic stop-loss or take-profit mechanisms.
How to Improve the Strategy:
Add Stop-Loss and Take-Profit: To limit losses and lock in profits.
Filter Signals with Indicators: Use RSI, MACD, or other indicators to confirm signals.
Optimize Levels: Adjust key levels based on the asset’s behavior.
In summary, this script is a trading strategy that operates based on key price levels, such as HOD, LOD, PMH, PML, PDH, and PDL. It is useful for traders who want to trade based on significant support and resistance levels. Strategy

Divergence Indicator Multi [TradingFinder] MACD AO RSI DIV Chart🔵 Introduction
🟣 What is Divergence in Financial Markets?
Divergence in technical analysis happens when the price of a stock moves in a direction opposite to certain indicators. This is a crucial concept in financial markets as it can signal either a trend reversal or a continuation of the current correction in the trend. Understanding divergence helps traders and analysts make more informed decisions.
🟣 Positive Regular Divergence (RD+)
A positive regular divergence occurs at the end of a downtrend, where two price lows form. This divergence appears when the price chart shows a new low, but the indicator does not follow, signaling potential buying opportunities.
Positive divergence indicates increased buying pressure and reduced selling pressure, making it a useful signal for forecasting price increases.
🟣 Negative Regular Divergence (RD-)
A negative regular divergence is seen during an uptrend when two price highs form. The price chart records a new high, but the indicator does not reflect this change, suggesting that a market downturn is likely.
This type of divergence shows strong selling pressure and weaker buying activity, which can help identify selling opportunities.
Both positive and negative divergences are powerful tools for identifying potential trend reversals and key support and resistance levels. For example, when an indicator trends upward while the price moves downward, this creates divergence, warning traders to reconsider their investment strategy.
🟣 Different Types of Divergence in Trading
1. Regular Divergence :
o Positive Regular Divergence (RD+)
o Negative Regular Divergence (RD-)
2. Hidden Divergence :
o Positive Hidden Divergence (HD+)
o Negative Hidden Divergence (HD-)
3.Time Divergence.
Note : This guide focuses specifically on Regular Divergence.
🟣 What is Regular Divergence?
Regular Divergence, often referred to as convergence, occurs when price action and indicators show conflicting patterns, usually signaling the end of a trend. Detecting regular divergence helps traders anticipate potential trend reversals or the formation of reversal patterns.
🔵 How to Use
To optimize the detection of divergence, you can adjust the Fractal Period to specify the length of time for identifying divergence patterns.
Additionally, with the Divergence Detection Method, you can select oscillators like the MACD, RSI, or AO to base divergence detection on.
Divergence in MACD :
MACD divergence occurs when the price chart forms an opposite pattern compared to the MACD line, indicating a potential price reversal.
Divergence in RSI :
In a downtrend, if the price chart forms two consecutive lows with the second lower than the first, but the RSI shows two lows with the second higher, this indicates positive regular divergence, which is a buy signal.
On the other hand, during an uptrend, if the price forms two highs with the second higher than the first, but the RSI shows the second high lower, this points to negative regular divergence, indicating a sell signal.
Divergence in AO (Awesome Oscillator) :
The AO indicator calculates histograms using the difference between 5-period and 34-period simple moving averages. It compares peaks and troughs of these histograms with price movements, detecting divergence and plotting lines and arrows to signal divergence.
🔵 Table
The following table breaks down the main features of the oscillator. It covers four critical categories: Exist, Consecutive, Divergence Quality, and Change Phase Indicator.
Exist : If divergence is detected, a "+" will appear in this row.
Consecutive: Shows the number of consecutive divergences that have formed in a short period.
Divergence Quality : Evaluates the quality of the divergence based on the number of occurrences. One is labeled "Normal," two are "Good," and three or more are considered "Strong."
Change Phase Indicator : If a phase change is detected between two oscillation peaks, this is marked in the table. Indicator

Divergence Detector [TradingFinder] RSI + MACD + AO Oscillator 🔵 Introduction
🟣 Understanding Divergence
As mentioned, divergence occurs in technical analysis when a stock's price behaves contrary to indicators on the price chart. Divergence can signify either a reversal of the stock's trend or a continuation of the previous trend correction.
Divergences can act as reversal patterns or continuation patterns. Moreover, divergences can be utilized to identify potential support and resistance levels.
For instance, when an indicator is trending upwards and positive, but the price is declining and trending downwards, divergence occurs. Divergence in a stock indicates trader indecision in buying and selling and warns traders to reconsider their decisions regarding buying or holding the stock.
Divergence aids analysts in identifying critical price points. In indicator divergences, it serves as a potent signal in the realm of technical analysis.
🟣 Types of Divergence
1.Regular Divergence
o Positive Regular Divergence (RD+)
o Negative Regular Divergence (RD-)
2.Hidden Divergence
o Positive Hidden Divergence (HD+)
o Negative Hidden Divergence (HD-)
3.Time Divergence
Key Note : This indicator is specifically designed to identify "Regular Divergence" only. Therefore, the following explanation pertains to this type of divergence.
🔵 Regular Divergence/Convergence
Regular Divergence(Convergence) occurs due to conflicting behavior between the indicator and the price chart, typically at the end of a trend. Recognizing Regular Divergence suggests an anticipation of a trend reversal or a pattern resembling a reversal.
🟣 Positive Regular Divergence (RD+)
In contrast to negative divergence, positive Regular Divergence occurs at the end of a downtrend and between two price lows. It manifests when the price forms a new low on the price chart, but the indicator fails to recognize it.
Positive Regular Divergence indicates strong buying pressure and weak selling pressure. Following the identification of positive divergence on the chart, one can anticipate a price increase for the examined stock.
🟣 Negative Regular Divergence (RD-)
This type of Regular Divergence emerges between two price highs during an uptrend. A new high is formed on the price chart, but the indicator fails to acknowledge it. This scenario indicates negative Regular Divergence.
The likelihood of a subsequent market downturn is high. Negative divergence signifies strong selling pressure and weak buying pressure, suggesting an unfavorable future for the stock.
🔵 How to use
By utilizing the "Fractal Period" input, you can specify your desired periods for identifying divergences.
Additionally, through the "Divergence Detect Method" feature, you can choose which oscillators (MACD, RSI, or AO) to base divergence identification on.
Divergence in MACD Oscillator :
Divergence in the MACD indicator occurs when the price chart and the MACD line form a noticeable opposing pattern, meaning the price moves contrary to the MACD line. In this scenario, one expects a reversal in price direction.
Divergence in RSI Oscillator :
If divergence occurs during a downtrend on the price chart (two consecutive lows, with the second low being lower) and on the corresponding RSI point (two consecutive lows, with the second low being higher), it signifies positive Regular Divergence and implies a buying signal.
Conversely, if divergence occurs during an uptrend on the price chart (two consecutive highs, with the second high being higher) and on the corresponding RSI point (two consecutive highs, with the second high being lower), it indicates negative Regular Divergence, signaling a selling opportunity.
Divergence in AO Oscillator :
The AO indicator calculates histograms similar to the AO base. It calculates the difference between the simple moving averages of 5 and 34 periods based on the median of each bar. Then, it plots the bars based on the difference.
It then compares the histograms to detect peaks and troughs in the AO histograms and compares the identified peaks and troughs to the price. Whenever divergence is detected, it plots lines and arrows.
🔵 Table
The table contains information on the functional features of this oscillator that you can utilize. Four categories of information are presented in the table: "Exist," "Consecutive," "Divergence Quality," and "Change Phase Indicator."
Exist :
If divergence exists, you'll see "+" in this row.
Consecutive :
Divergences may occur consecutively. If same-type divergences form within short intervals, you can observe the count in this row.
Divergence Quality : Based on the number of consecutive divergences, their quality can be evaluated. If one divergence exists, its quality is considered "Normal." If two divergences exist, the quality is "Good," and if three or more divergences exist, the quality is considered "Strong."
Change Phase Indicator : If a phase change occurs between two oscillation peaks formed based on divergence, this change is identified and displayed in this row.
Indicator

MACD Crossover with +/- FilterThis is to directly target when MACD crosses the Signal line. The purpose of this script is to target a +/- change of 3 in the MACD value after the most recent cross. It uses the value of the MACD line and holds it until a value of 3.00 + or - a crossover or crossunder happens. That's the significance of the red and green circles that appear on the chart. This is not financial advice, but I wanted to recreate what a friend of mine was doing manually and automate it for him.
The first circle that appears after MACD/SIGNAL lines cross would represent a potential trade idea. The circles after the first one match the intention of the first dot as they meet the condition of more than a value of -3 or +3 as the previous dot.
Inputs:
Standard Inputs as normal MACD (Moving Average Converging Divergence) within PulseWire
Fast Length: User can change it to any value they want
Slow Length: User can change it to any value they want
Standard 12, 26, 9 as normal MACD // 9 being signal smoothing
Oscillator and Signal Line moving average type is using EMA's
Timeframe is dependent on user chart.
Circles are used for signaling the change in values. Red indicates a short-term bearish trend. Green indicates a short-term bullish trend.
Tested on lower timeframes:
1m, 3m, 5m, 15m, 60m
Not used as much on higher timeframes. Used for trading futures. This is what I use it for. It can be used for other futures than just NQ or ES, but those 2 are the ones that I've tested. Code it shown below for users to tinker with.
Style of indication symbol can be changed via settings within the indicator in the "Style" tab, as well as location of the symbol(s). Additionally, color can be changed as well, if you prefer different colors.
Not financial advice. Just trade ideas. Indicator

TrendPivotsLibrary "TrendPivots"
This library provides functions to search for bullish and bearish divergences between pivots and indicators. Functions search for higher highs and lower lows, automating lines, labels and signals for technical analysis and strategies.
method maxBeforeLast(id)
Method function to get the maximum price before the last, stored in an array pivotPoint.
Namespace types: pivotPoint
Parameters:
id (pivotPoint ) : (array pivotPoint) The pivotPoint array to inspect.
Returns: pivotPoint
method minBeforeLast(id)
Method function to get the minimum price before the last, stored in an array pivotPoint.
Namespace types: pivotPoint
Parameters:
id (pivotPoint ) : (array pivotPoint) The pivotPoint array to inspect.
Returns: pivotPoint
method pivotLine(id, a, b, color)
Sets the coordinates of a given line using two pivotPoint variables.
Namespace types: series line
Parameters:
id (line) : (line) Existing line
a (pivotPoint) : (pivotPoint) First pivotPoint.
b (pivotPoint) : (pivotPoint) Second pivotPoint.
color (color) : (color) The desired color. Default is red.
Returns: void
bearishDivergence(pivotArray)
Look for bearish divergence in a pivotPoint array cointaining pivot highs.
Parameters:
pivotArray (pivotPoint ) : (array pivotPoint) The pivotPoint array to inspect.
Returns: bool True if bearish divergence was found.
bullishDivergence(pivotArray)
Look for bullish divergence in a pivotPoint array cointaining pivot lows.
Parameters:
pivotArray (pivotPoint ) : (array pivotPoint) The pivotPoint array to inspect.
Returns: bool True if bullish divergence was found.
uptrendPivot(leftBars, rightBars, indicator, reset, plotLabel, plotLine)
Detects higher highs, higher lows and bearish divergence in an uptrend. Creates a line when bearish divergence is found, and labels.
Parameters:
leftBars (int) : (int)
rightBars (int) : (int)
indicator (float) : (float) RSI, MACD or other value.
reset (bool) : (bool) A bool variable to reinitiates the pivot computation, such as time changes, crossovers, or another.
plotLabel (bool) : (bool) If true (default), plots labels to higher highs and for each pivot low. Default = true.
plotLine (bool) : (bool) If true (default), plots a line linking the lower lows with divergence. Default = true.
Returns:
downtrendPivot(leftBars, rightBars, indicator, reset, plotLabel, plotLine)
Detects lower lows, lower highs, and bullish divergence in a downtrend. Creates a line when bullish divergence is found, and labels.
Parameters:
leftBars (int) : (int)
rightBars (int) : (int)
indicator (float) : (float) RSI, MACD or other value.
reset (bool) : (bool) A bool variable to reinitiates the pivot computation, such as time changes, crossovers, or another.
plotLabel (bool) : (bool) If true (default), plots labels to lower lows, and for each pivot low.
plotLine (bool) : (bool) If true (default), plots a line linking the lower lows with divergence. Default = true.
Returns:
pivotPoint
The coordinates of a pivot point and corresponding indicator value.
Fields:
x (series int) : (int) Time.
y (series float) : (float) Price.
indicator (series float) : (float) Indicator value. Library

Bollinger RSI BandsIndicator Description:
The "Bollinger RSI Bands" is an advanced technical analysis tool designed to empower traders with comprehensive insights into market trends, reversals, and overbought/oversold conditions. This multifaceted indicator combines the unique features of candle coloration and Bollinger Bands with the Relative Strength Index (RSI), making it an indispensable tool for traders seeking to optimize their trading strategies.
Purpose:
The primary purpose of the "Bollinger RSI Bands" indicator is to provide traders with a holistic view of market dynamics by offering the following key functionalities:
Candle Coloration: The indicator's signature candle colors - green for bullish and red for bearish - serve as a visual representation of the prevailing market trend, enabling traders to quickly identify and confirm market direction.
RSI-Based Moving Average: A smoothed RSI-based moving average is plotted, facilitating the detection of trend changes and potential reversal points with greater clarity.
RSI Bands: Upper and lower RSI bands, set at 70 and 30, respectively, help traders pinpoint overbought and oversold conditions, aiding in timely entry and exit decisions.
Bollinger Bands: In addition to RSI bands, Bollinger Bands are overlaid on the RSI-based moving average, offering insights into price volatility and highlighting potential breakout opportunities.
How to Use:
To maximize the utility of the "Bollinger RSI Bands" indicator, traders can follow these essential steps:
Candle Color Confirmation: Assess the color of the candles. Green candles signify a bullish trend, while red candles indicate a bearish trend, providing a clear and intuitive visual confirmation of market direction.
Overbought and Oversold Identification: Monitor price levels relative to the upper RSI band (70) for potential overbought signals and below the lower RSI band (30) for potential oversold signals, allowing for timely adjustments to trading positions.
Trend Reversal Recognition: Observe changes in the direction of the RSI-based moving average. A transition from bearish to bullish, or vice versa, can serve as a valuable signal for potential trend reversals.
Volatility and Breakout Opportunities: Keep a watchful eye on the Bollinger Bands. Expanding bands signify increased price volatility, often signaling forthcoming breakout opportunities.
Why Use It:
The "Bollinger RSI Bands" indicator offers traders several compelling reasons to incorporate it into their trading strategies:
Clear Trend Confirmation: The indicator's distinct candle colors provide traders with immediate confirmation of the current trend direction, simplifying trend-following strategies.
Precise Entry and Exit Points: By identifying overbought and oversold conditions, traders can make more precise entries and exits, optimizing their risk-reward ratios.
Timely Trend Reversal Signals: Recognizing shifts in the RSI-based moving average direction allows traders to anticipate potential trend reversals and adapt their strategies accordingly.
Volatility Insights: Bollinger Bands offer valuable insights into price volatility, aiding in the identification of potential breakout opportunities.
User-Friendly and Versatile: Despite its advanced features, the indicator remains user-friendly and versatile, catering to traders of all experience levels.
In summary, the "Bollinger RSI Bands" indicator is an indispensable tool for traders seeking a comprehensive view of market dynamics. With its unique combination of candle coloration and Bollinger Bands, it empowers traders to make more informed and strategic trading decisions, ultimately enhancing their trading outcomes.
Note: Always utilize this indicator in conjunction with other technical and fundamental analysis tools and exercise prudence in your trading decisions. Past performance is not indicative of future results. Indicator

Moving Average Contrarian IndicatorThis indicator is designed to identify potential turning points in the market. By measuring the distance between the price and a moving average, and normalizing it, the MACI provides valuable insights into market sentiment and potential reversals. In this article, we will explore the calculation, interpretation, and practical applications of the MACI, along with its potential limitations.
The MACI is calculated in several steps. First, a moving average is computed using a user-defined length, representing the average price over the specified period. The distance between the current price and the moving average is then determined. This distance is normalized using the highest and lowest distances observed within the chosen length, resulting in a value between 0 and 100. Higher MACI values indicate that the price is relatively far from the moving average, potentially signaling an overextension, while lower values suggest price consolidation or convergence with the moving average.
Altering the parameters of the Moving Average Contrarian Indicator can provide traders with additional flexibility and adaptability to suit different market conditions and trading styles. By adjusting the length parameter, traders can customize the sensitivity of the indicator to price movements. A shorter length may result in more frequent and responsive signals, which can be useful for short-term traders aiming to capture quick price reversals. On the other hand, a longer length may provide smoother signals, suited for traders who prefer to focus on longer-term trends and are less concerned with minor fluctuations. Experimenting with different parameter values allows traders to fine-tune the indicator to align with their preferred trading timeframes and risk tolerance. However, it is essential to strike a balance and avoid excessive parameter adjustments that may lead to over-optimization or curve fitting. Regular evaluation and optimization based on historical data and real-time market observations can help identify the most suitable parameter values for optimal performance.
The coloration of the Moving Average Contrarian Indicator provides visual cues that assist traders in interpreting its signals. The background color, set based on the indicator's values, adds an additional layer of context to the chart. When the indicator is indicating bullish conditions, the background color is set to lime, suggesting a favorable environment for long positions. Conversely, when the indicator signals bearish conditions, the background color is set to fuchsia, indicating a potential advantage for short positions. In neutral or transitional periods, the background color is set to yellow, indicating caution and the absence of a clear bias.
The bar color complements the histogram and provides additional visual clarity. When the MACI value is greater than the MACI SMA value and exceeds the threshold of 30, the bars are colored lime, signaling potential bullish conditions. Conversely, when the MACI value is below the MACI SMA value and falls below the threshold of 70, the bars are colored fuchsia, indicating potential bearish conditions. For values that fall between these thresholds, the bars are colored yellow, highlighting a neutral or transitional state.
Practical Uses and Strategies:
The MACI offers traders and analysts valuable insights into market dynamics and potential reversal points. When the MACI is above its moving average and above a predefined threshold (e.g., 30), it suggests that prices have deviated significantly from the average and may be overbought. This could serve as an early indication for potential short-selling opportunities or taking profits on existing long positions. Conversely, when the MACI is below its moving average and below a predefined threshold (e.g., 70), it suggests oversold conditions, potentially signaling a buying opportunity. Traders can combine MACI with other technical indicators or price patterns to further refine their trading strategies.
The MACI can be a powerful tool for identifying potential market reversals. When the MACI reaches extreme levels, such as above 70 or below 30, it indicates overbought or oversold conditions, respectively. Traders can use these signals to anticipate price reversals and adjust their trading strategies accordingly. For example, when the MACI enters the overbought zone, traders may consider initiating short positions or tightening stop-loss levels on existing long positions. Conversely, when the MACI enters the oversold zone, it may indicate a buying opportunity, prompting traders to consider initiating long positions or loosening stop-loss levels.
The MACI can also be used in conjunction with price action to identify potential divergence patterns. Divergence occurs when the MACI and price move in opposite directions. For instance, if the price is making higher highs while the MACI is making lower highs, it suggests a bearish divergence, indicating a potential trend reversal. Conversely, if the price is making lower lows while the MACI is making higher lows, it suggests a bullish divergence, signaling a potential trend reversal to the upside. Traders can use these divergence patterns as additional confirmation signals when making trading decisions.
Limitations:
-- Sideways and Choppy Markets : The MACI performs best in trending markets where price movements are more pronounced. In sideways or choppy markets with limited directional bias, the MACI may generate false signals or provide less reliable indications. Traders should exercise caution when relying solely on the MACI in such market conditions and consider incorporating additional analysis techniques or filters to confirm potential signals.
-- Lagging Indicator : The MACI is a lagging indicator, as it relies on moving averages and historical price data. It may not provide timely signals for very short-term trading or capturing rapid price movements. Traders should be aware that there may be a delay between the occurrence of a signal and its confirmation by the MACI.
-- False Signals : Like any technical indicator, the MACI is not immune to false signals. It is essential to use the MACI in conjunction with other technical indicators, chart patterns, or fundamental analysis to increase the probability of accurate predictions. Combining multiple confirmation signals can help filter out false signals and enhance the overall reliability of trading decisions.
-- Market Conditions : It's important to consider that the effectiveness of the MACI may vary across different markets and asset classes. Each market has its own characteristics, and what works well in one market may not work as effectively in another. Traders should evaluate the performance of the MACI within their specific trading environment and adapt their strategies accordingly.
This indicator can be a valuable addition to a trader's toolkit, offering insights into potential entry and exit points. However, it should be used in conjunction with other analysis techniques and should not be relied upon as a standalone trading signal. Understanding its calculation, interpreting its values, and considering its limitations will empower traders to make more informed decisions in their pursuit of trading success. Indicator

Indicator

Indicator
