Gösterge

KNN Adaptive Cycles█ OVERVIEW
An adaptive Stochastic RSI whose lookback lengths are driven by the market's measured dominant cycle period, further refined in real time by a K-Nearest Neighbors machine learning layer. Rather than accepting a fixed RSI or Stochastic length, the indicator continuously measures the dominant cycle in price using two independent spectral methods, then uses KNN to anticipate where the cycle is heading and to condition the oscillator output against historical outcomes — so the indicator adapts to what the market is actually doing, not what a static setting assumes it should be.
█ CYCLE DETECTION
The indicator measures the dominant cycle period using two independent methods from the digital signal processing work of John Ehlers, who treated price as a waveform and applied engineering filters to extract its underlying structure.
Autocorrelation Periodogram
Computes Pearson correlation across lags from the minimum to maximum period range, identifying the lag at which price most strongly repeats. Returns a correlation coefficient used directly as a confidence score.
Goertzel / DFT Power Spectrum
A frequency-domain scan that computes spectral power at each candidate period and selects the one carrying the most energy. Independent of the autocorrelation method, giving two mathematically distinct perspectives on the same cycle.
Before measurement, price is conditioned with Ehlers' filter set: a Highpass filter to remove the trend component, a Super Smoother for anti-aliasing, and an optional Bandpass pre-filter to isolate the cycle band. In AC + DFT (Confirmed) mode the two estimates are cross-checked, with each method weighted by its agreement strength and the AC correlation coefficient before blending into a single confirmed period. Single-method modes run the selected method at full per-bar resolution.
█ KNN MACHINE LEARNING
Two independent KNN nearest-neighbor routines operate on top of the cycle and signal layers. Both use weighted Euclidean distance across feature vectors, a 1/distance-weighted outcome average across K neighbors, and ALMA smoothing on the output bias.
Period KNN
Searches history for bars whose cycle state most closely resembles the current bar — matching on current period, rate of change, stability streak, confidence score, and volatility regime. Observes what the period actually became Forward Bars later at each neighbor, then blends that prediction into the current period estimate before final smoothing. Helps the indicator anticipate cycle transitions rather than just react to them.
Signal KNN
Searches history for bars whose StochRSI context most closely resembles now — matching on K level, K−D histogram, K slope, volatility regime, OB/OS proximity, and D line. Observes the forward price outcome at each neighbor and blends the resulting bias into the K line before D smoothing, so D inherits the correction naturally.
█ FEATURES
Cycle detection
• Dual spectral cycle detection — AC and DFT run in parallel with a 0–100% confidence score reflecting method agreement
• Confidence-weighted period blending — each method weighted by agreement and correlation strength, smoothed into one adaptive period
• Single-method modes — Optional select Autocorrelation Only or DFT Only run for faster loading
• Optional Performance Throttle — cadence-limited spectral scans for the AC + DFT mode
KNN layer
• Period KNN — anticipates cycle transitions by learning from historical cycle states and their forward outcomes
• Signal KNN — conditions the K line against historically similar StochRSI contexts and their forward price outcomes
• Per-feature importance weights for both KNN routines — tunable to emphasize what matters most on a given instrument
• ALMA-smoothed bias output — configurable length, offset, and sigma Gösterge

Stochastic + RSI in oneStochastic + RSI Confluence Signal is a combined momentum oscillator that integrates the Stochastic Oscillator and Relative Strength Index (RSI) into one panel.
The indicator is designed to help traders identify potential exhaustion zones and moments when both momentum tools indicate similar market conditions.
Logic:
• Stochastic measures the position of the current closing price relative to the recent high-low range.
• RSI measures the strength and speed of price movements.
The default settings are based on the traditional parameters:
• Stochastic: K Period 5, D Period 3, Slowing 3
• RSI: Period 14
Potential bearish conditions:
• Stochastic reversal from an overbought area
• RSI above the overbought level
Potential bullish conditions:
• Stochastic reversal from an oversold area
• RSI below the oversold level
This indicator is intended as a confirmation tool and should not be used as a standalone trading system. Market context, trend direction, price action, and risk management should always be considered.
Users can adjust all parameters according to their trading style, timeframe, and market conditions.
--------------------------------------------------------------------------------
Stochastic + RSI Confluence Signal to połączony oscylator momentum, który integruje Oscylator Stochastic oraz Relative Strength Index (RSI) w jednym panelu.
Wskaźnik został zaprojektowany, aby pomagać traderom identyfikować potencjalne strefy wyczerpania ruchu oraz momenty, w których oba narzędzia momentum wskazują podobne warunki rynkowe.
Logika działania:
• Stochastic mierzy położenie aktualnego zamknięcia ceny względem ostatniego zakresu pomiędzy najwyższym High i najniższym Low.
• RSI mierzy siłę oraz dynamikę ruchów cenowych.
Domyślne ustawienia wykorzystują klasyczne parametry:
• Stochastic: K Period 5, D Period 3, Slowing 3
• RSI: Period 14
Potencjalne warunki spadkowe:
• Odwrócenie Stochastic ze strefy wykupienia
• RSI powyżej poziomu wykupienia
Potencjalne warunki wzrostowe:
• Odwrócenie Stochastic ze strefy wyprzedania
• RSI poniżej poziomu wyprzedania
Wskaźnik jest przeznaczony jako narzędzie potwierdzające i nie powinien być używany jako samodzielny system transakcyjny. Należy zawsze uwzględniać kontekst rynku, kierunek trendu, zachowanie ceny oraz zarządzanie ryzykiem.
Użytkownik może dostosować wszystkie parametry do własnego stylu handlu, interwału czasowego oraz warunków rynkowych. Gösterge

Gösterge

Smart Swing Trend Stochastic RSI - TPAbsolutely friend. Here is a **TradingView rule-abiding publication description** you can use.
---
## Smart Swing Trend Stochastic RSI
**Smart Swing Trend Stochastic RSI** is a trend-aware Stochastic RSI indicator designed to help traders interpret momentum extremes with better market context.
Traditional Stochastic RSI often treats readings above 80 as “overbought” and readings below 20 as “oversold.” However, in strong trends, these extreme zones can remain extended for a long time. This script adds swing-trend context so the 80/20 zones are interpreted differently depending on whether the market is in a swing uptrend or swing downtrend.
The goal is to help traders avoid automatically fading strong momentum and instead separate trend strength from potential turning points.
---
## Core Concept
This indicator combines:
1. **Stochastic RSI**
2. **Swing-based trend direction**
3. **Trend-aware shaded zones**
4. **Simple table interpretation**
5. **Momentum turn and warning signals**
The script does not treat every overbought or oversold reading as a reversal. Instead, it asks:
> Is this Stoch RSI extreme showing trend power, or is it starting to become a possible pullback/bounce warning?
---
## How the Trend Logic Works
The trend logic is based on swing direction, adapted from the swing logic concept used in Zeiierman’s Dynamic Swing Anchored VWAP.
The script identifies recent swing highs and swing lows using the selected **Swing Period**.
In simple terms:
* **Swing Uptrend** means the current swing structure favors the upside.
* **Swing Downtrend** means the current swing structure favors the downside.
* **Swing Neutral** can appear when the optional neutral mode is enabled after a recent direction change.
This allows the Stochastic RSI to be interpreted based on the current swing environment instead of using a fixed moving average trend filter.
---
## Signal Meanings
### Bullish Turn
A **Bullish Turn** appears when the swing trend is up and Stochastic RSI recently reached the lower zone, then starts turning upward.
This can suggest that short-term momentum may be turning back up after a pullback.
Simple meaning:
> Momentum may be turning up in a swing uptrend.
---
### Bearish Turn
A **Bearish Turn** appears when the swing trend is down and Stochastic RSI recently reached the upper zone, then starts turning downward.
This can suggest that short-term momentum may be turning back down after a bounce.
Simple meaning:
> Momentum may be turning down in a swing downtrend.
---
### Pullback Warning
A **Pullback Warning** appears when the market is in a swing uptrend, Stochastic RSI is in the upper zone, and momentum starts rolling over while price is extended.
This does not automatically mean the trend is over. It is a caution signal.
Simple meaning:
> Price may be stretched in an uptrend. Be careful chasing late.
---
### Bounce Warning
A **Bounce Warning** appears when the market is in a swing downtrend, Stochastic RSI is in the lower zone, and momentum starts turning upward while price is extended.
This does not automatically mean a new uptrend has started. It is a caution signal for shorts.
Simple meaning:
> Price may be stretched in a downtrend. Be careful shorting late.
---
## Shaded Zone Interpretation
The shaded areas are trend-aware:
* **Gray upper zone**: Stoch RSI is above 80, but in an uptrend this can still represent bullish power.
* **Red upper zone**: Momentum may be rolling over and pullback risk may be increasing.
* **Gray lower zone**: Stoch RSI is below 20, but in a downtrend this can still represent bearish power.
* **Green lower zone**: Momentum may be turning up and bounce potential may be increasing.
This helps avoid the common mistake of assuming:
* Above 80 always means sell.
* Below 20 always means buy.
In strong trends, extremes can remain extended.
---
## Read Table
The table provides a simplified summary of the current condition:
* **Trend**: Current swing trend direction.
* **Zone**: Current Stoch RSI zone interpretation.
* **Signal**: Recent valid signal, if one is active.
* **Interpretation**: Simple plain-English read of the current condition.
The signal can be held for a selected number of bars using the **Hold Signal For Bars** setting.
---
## Key Settings
### RSI Length / Stochastic Length
Controls the sensitivity of the Stochastic RSI calculation.
Lower values react faster.
Higher values are smoother but slower.
### Swing Period
Controls how large or small the swing structure should be.
Lower values react faster but can create more noise.
Higher values focus on larger swing moves.
### Price Extension ATR Multiplier
Used to help identify when price may be stretched away from its swing anchor.
### Shaded Zone Transparency
Allows users to adjust the brightness/opacity of the gray, red, and green shaded areas.
### Table Text Size
Allows users to adjust the size of the table text.
---
## How to Use
This indicator is best used as a momentum and timing tool, not as a standalone trading system.
A possible bullish interpretation:
> Swing trend is up, Stoch RSI pulled into the lower zone, then a Bullish Turn appears.
A possible bearish interpretation:
> Swing trend is down, Stoch RSI bounced into the upper zone, then a Bearish Turn appears.
A caution example:
> In an uptrend, Stoch RSI above 80 may remain bullish power. A Pullback Warning only appears when momentum starts rolling over and price is extended.
---
## Important Notes
This indicator is for educational and analytical purposes only.
It does not guarantee future price movement and should not be used as financial advice. Traders should combine it with price structure, volume, support/resistance, risk management, and broader market context.
When the **Confirm Signals On Closed Bar** option is enabled, signals are designed to confirm only after the candle closes. Live candles can still change before closing.
---
## Attribution
Swing-direction trend logic is adapted from the concept used in **Dynamic Swing Anchored VWAP by Zeiierman**.
Original work licensed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International:
(creativecommons.org)
Gösterge

Gösterge

Strateji

Multi-Timeframe Trend Table (Weighted)**Multi-Timeframe Trend Table (Weighted) — Market Bias Dashboard**
This indicator is a **multi-timeframe trend analysis system** designed to evaluate overall market direction using a weighted combination of **ATR trend structure, Stochastic RSI momentum, and Moving Averages** across multiple timeframes.
It aggregates data from higher to lower timeframes into a single **bias scoring table**, giving traders a clear, structured view of market sentiment and directional strength.
---
### 🔍 Core Concept
Instead of relying on a single timeframe or indicator, this tool builds a **composite market bias model** by:
* Analysing trend strength across multiple timeframes (Monthly → 1M)
* Applying weighted importance to each timeframe
* Combining three key systems:
* ATR-based trend direction (volatility structure)
* Stochastic RSI momentum shifts
* Moving Average bias filter
---
### 📊 Key Features
• **Multi-Timeframe Structure**
* Monthly, Weekly, Daily, 4H, 1H, 30m, 15m, 1m analysis
* Hierarchical trend evaluation from macro → micro
• **Weighted Bias System**
* Assigns importance to each timeframe (customisable)
* Higher timeframes dominate overall market direction
* Produces a final **bullish / bearish bias score**
• **Triple Indicator Confirmation**
Each timeframe uses:
* ATR trend logic (volatility direction)
* Stochastic RSI (momentum confirmation)
* Moving Average filter (trend bias)
• **No Repainting Logic**
* Uses confirmed higher timeframe closes only
* Prevents false real-time signal shifts
* Ensures stable, reliable bias readings
• **Signal Threshold System**
* Custom X-signal trigger based on bias strength
* Highlights strong directional conviction zones
---
### 📊 How to Use
**Bullish Bias**
* Higher timeframes align bullish
* Weighted score exceeds threshold
→ Market favours long setups
**Bearish Bias**
* Higher timeframes align bearish
* Weighted score exceeds threshold
→ Market favours short setups
**Neutral / Mixed Bias**
* Conflicting multi-timeframe signals
→ Avoid directional trading or wait for alignment
---
### ⚠️ Best Practice
This is a **market context tool**, not a standalone entry system.
For best performance combine with:
* Liquidity zones
* Market structure (BOS / CHoCH)
* Support & resistance levels
* Entry triggers from lower timeframe setups
---
### 🚀 Ideal For
* Swing traders
* Position traders
* Smart money / structure-based trading
* Multi-timeframe confirmation strategies
* Crypto, Forex, indices
---
### 🧠 Trading Philosophy
**Higher timeframes define direction.
Lower timeframes define execution.
This tool bridges both into one bias model.**
---
**Trade with alignment, not randomness.** Gösterge

Gösterge

MTF MA & MACD & StochRSI (pro)Multi-Timeframe MA & MACD & StochRSI (Pro)
The Multi-Timeframe MA & MACD & StochRSI (Pro) is a professional multi-timeframe confluence dashboard built to help traders quickly identify trend direction, momentum strength, and cross-timeframe alignment in one clean visual layout.
This tool combines Moving Averages, MACD logic, and StochRSI cross conditions across multiple timeframes, allowing traders to reduce chart clutter and improve decision-making without constantly switching between charts.
Designed for traders who rely on confluence, top-down analysis, and momentum confirmation.
Core Purpose
This indicator answers one key trading question:
Are my moving averages, momentum, and oscillator signals aligned across multiple timeframes?
By tracking multiple confirmations together, traders can identify stronger trend setups while filtering weaker or conflicting market conditions.
Multi-Timeframe Dashboard
The dashboard scans and displays data across:
1 Minute
5 Minute
15 Minute
1 Hour
4 Hour
1 Day
1 Week
This provides both short-term and higher-timeframe market alignment.
Core Features
1) Multi-Timeframe Moving Average Analysis
The indicator tracks:
20 EMA
50 EMA
For each timeframe it checks whether price is:
Above EMA → Bullish bias
Below EMA → Bearish bias
This gives a quick directional read of market structure.
2) MACD Confirmation Logic (Enhanced)
Unlike a basic MACD crossover, this version uses stricter logic for stronger confirmation.
Buy Condition
Histogram > 0
MACD Line > 0
Signal Line > 0
Sell Condition
Histogram ≤ 0
MACD Line ≤ 0
Signal Line ≤ 0
Neutral
If momentum is mixed, the dashboard displays Neutral.
This helps remove weaker crossover noise and improves momentum quality.
3) StochRSI Cross Confirmation
The dashboard tracks StochRSI cross alignment using:
RSI calculation
Stochastic range
Smoothed %K line
Smoothed %D line
Buy
%K > %D
Sell
%K < %D
Neutral
Flat or undefined conditions
This adds momentum confirmation beyond moving averages.
4) Non-Repainting Multi-Timeframe Logic
The script uses stable request.security() calls with completed timeframe bars to reduce repainting behaviour and improve consistency.
Useful for traders who want cleaner higher-timeframe confirmation.
5) On-Chart Moving Average Overlay
In addition to the dashboard, the indicator plots:
Current timeframe 20 EMA
Current timeframe 50 EMA
These allow traders to visually track trend support/resistance directly on price.
6) Weekly MA Overlay
Optional higher-timeframe moving averages can also be shown directly on the active chart:
Weekly 20 EMA
Weekly 50 EMA
This helps identify:
Macro trend direction
Dynamic support/resistance
Higher timeframe bias
Confluence zones
Can be toggled ON/OFF in settings.
7) Adjustable Table Text Size
The dashboard supports text scaling for cleaner viewing:
Tiny
Small
Normal
Large
Huge
Useful for different monitor sizes and chart layouts.
Colour Logic
Green
Bullish / Buy
Price above EMA
Positive MACD alignment
StochRSI Buy condition
Red
Bearish / Sell
Price below EMA
Negative MACD alignment
StochRSI Sell condition
Grey
Neutral / Mixed
No strong directional bias
This allows fast visual scanning across all timeframes.
Best Used For
This indicator is ideal for:
Multi-timeframe trend analysis
Momentum confirmation
Confluence trading
Swing trading
Intraday trading
Scalping
Breakout confirmation
Trend-following systems
Works well on:
Crypto
Forex
Indices
Stocks
Commodities
How to Use It
Step 1 – Check EMA Alignment
Look for price above or below the 20 and 50 EMA across multiple timeframes.
Step 2 – Confirm MACD Strength
Check whether MACD is fully aligned (not just crossing).
Step 3 – Confirm StochRSI Direction
Look for %K vs %D agreement.
Step 4 – Find Confluence
The strongest setups often occur when:
MA structure aligns
MACD aligns
StochRSI aligns
Higher timeframe bias supports the trade
Trading Framework Example
A strong bullish setup might show:
Price above 20 EMA
Price above 50 EMA
MACD Buy
StochRSI Buy
Weekly MA acting as support
A strong bearish setup may show the inverse.
Summary
Multi-Timeframe MA & MACD & StochRSI (Pro) is a high-confluence dashboard built for traders who want cleaner multi-timeframe trend analysis, stronger momentum confirmation, and faster market alignment in one professional workflow. Gösterge

RSI Divergence (Bull/Bear) RSI Divergence (Bull/Bear) is an advanced momentum analysis indicator that automatically detects bullish and bearish RSI divergence between price action and the Relative Strength Index (RSI). These divergence signals can help traders identify potential market reversals, trend exhaustion, and high-probability trading opportunities across multiple financial markets.
The indicator continuously analyzes swing highs and swing lows in both price and RSI, highlighting areas where momentum no longer confirms the current price movement. These conditions often appear before significant trend reversals or corrective moves.
Features
• Automatic Bullish RSI Divergence Detection
• Automatic Bearish RSI Divergence Detection
• Swing High & Swing Low Analysis
• Visual Buy & Sell Signal Labels
• Divergence Confirmation Zones
• Optional RSI Sensitivity Settings
• Clean & Lightweight Chart Layout
• Multi-Timeframe Compatible
• Non-Repainting Divergence Detection
• Customizable Signal Display
How It Works
The indicator monitors price swings alongside RSI momentum.
When price forms a **Lower Low** while RSI forms a **Higher Low**, a **Bullish Divergence** is detected, suggesting weakening selling pressure and a possible bullish reversal.
When price forms a **Higher High** while RSI forms a **Lower High**, a **Bearish Divergence** is detected, indicating weakening buying momentum and a potential bearish reversal Signals are displayed directly on the chart, allowing traders to quickly identify possible turning points.
Signal Types
🟢 Bullish Divergence
• Price makes a Lower Low
• RSI makes a Higher Low
• Possible bullish reversal
• Momentum strengthening
🔴 Bearish Divergence
• Price makes a Higher High
• RSI makes a Lower High
• Possible bearish reversal
• Momentum weakening
Best Markets
• Forex • Gold (XAUUSD) • Silver (XAGUSD)
• Crypto • Indices • Stocks • Futures
Recommended Timeframes
Scalping • M5 • M15
Intraday • M30 • H1
Swing Trading • H4 • Daily
Indicator Highlights
• Automatic RSI Divergence Detection
• Early Reversal Identification
• Visual Buy & Sell Signals
• High-Probability Momentum Analysis
• Non-Repainting Logic
• Adjustable RSI Parameters
• Beginner Friendly
• Professional Trading Tool
• Works in Trending and Ranging Markets
Suggested Trading Workflow
1. Identify the overall market trend.
2. Wait for a Bullish or Bearish RSI Divergence signal.
3. Confirm the setup using market structure, support/resistance, or candlestick confirmation.
4. Enter the trade with proper risk management and position sizing.
Notes
This indicator is designed to assist traders in identifying potential momentum shifts through RSI divergence analysis. It should be used alongside market structure, price action, and sound risk management principles. Like all technical analysis tools, it does not predict future price movements or guarantee profitable trades. Gösterge

MTF Stoch RSI Snapshot 9 Timeframe OverviewThis indicator provides a compact multi-timeframe view of the Stochastic RSI across 9 different timeframes:
1m, 5m, 15m, 30m, 45m, 1h, 2h, 6h, 1D
Instead of switching between charts, the script displays all selected timeframes side by side in a clean column layout. Each column represents one timeframe and shows the current position of the two Stoch RSI lines, making it easier to quickly understand momentum conditions across multiple market structures.
Main Features
Multi-timeframe Stoch RSI visualization
9 fixed timeframe columns
K and D lines shown inside each column
Gradient background based on oscillator level
Quick visual identification of overbought and oversold areas
20 / 50 / 80 reference levels
Optional numeric K and D values
Compact layout designed for fast market reading
How to Read It
Each column represents a timeframe.
The vertical position of the lines shows where the Stoch RSI currently is:
Near the bottom: oversold / weak momentum area
Around the middle: neutral zone
Near the top: overbought / strong momentum area
The background gradient helps identify the oscillator zone immediately, while the two plotted lines allow you to see the current relationship between K and D.
This is useful when you want to compare short-term and higher-timeframe momentum at a glance.
Typical Use Cases
Scalping confirmation
Multi-timeframe momentum alignment
Spotting overbought / oversold conditions across timeframes
Filtering entries based on higher-timeframe context
Quickly checking whether short-term movement agrees with broader market structure
Notes
This indicator does not generate buy or sell signals by itself.
It is intended as a visual decision-support tool and should be used together with price action, trend analysis, support and resistance, and proper risk management.
Disclaimer
This script is for educational and informational purposes only.
It is not financial advice. Always test any trading approach carefully before using it in live markets. Gösterge

MACD & Stoch RSI Confluence S/RMACD & Stoch RSI Confluence S/R
MACD & Stoch RSI Confluence S/R draws horizontal support and resistance
levels from MACD and Stochastic RSI crossover points, then automatically
merges levels that cluster close together into a single confluence zone.
Instead of treating every crossover as an isolated signal, it highlights
the price areas where two independent momentum oscillators historically
agreed on a turning point.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
BACKGROUND — WHY CROSSOVER-BASED LEVELS?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MACD and Stochastic RSI are both momentum oscillators, but they measure
momentum differently — MACD from the relationship between two EMAs,
Stochastic RSI from the position of RSI within its own recent range.
Because of this difference, the two oscillators don't always cross at the
same time or the same price, but when they do cross near the same price
level, it suggests that two independent calculations both detected a
shift in momentum at that point.
Traditional crossover indicators only mark the moment of the crossover
itself and then move on — the price level where it happened is rarely
preserved or revisited. This indicator instead treats every crossover
price as a potential support or resistance level going forward, on the
logic that price has already shown a reaction (a momentum shift) at that
level once, and may do so again if it returns there.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW IT WORKS — TECHNICAL DETAIL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CROSSOVER DETECTION
The indicator calculates a standard MACD (fast EMA, slow EMA, signal line)
and a standard Stochastic RSI (RSI smoothed through a Stochastic
calculation, then K/D smoothing) independently. Bullish crossovers occur
when MACD crosses above its signal line, or when Stochastic RSI's K line
crosses above its D line. Bearish crossovers are the inverse.
Each time a valid crossover occurs, the indicator looks back a
user-defined number of bars (How many bars before crossover?) and records
the low of that bar for bullish crossovers, or the high for bearish
crossovers. This offset exists because the actual turning point in price
often occurs slightly before the oscillator confirms it — anchoring the
line to the prior bar's extreme captures the reaction point more
accurately than the bar where the crossover is technically confirmed.
PROXIMITY FILTERING (PER OSCILLATOR)
Before a new level is recorded, it's checked against existing levels from
the same oscillator and same direction using an ATR-based distance
threshold. If a new crossover price falls too close to an already-recorded
level, it's discarded. This prevents a single trending move that triggers
several crossovers in quick succession from flooding the chart with
near-identical lines.
CONFLUENCE MERGING (ACROSS OSCILLATORS)
After proximity filtering, all surviving levels from both oscillators —
MACD support, MACD resistance, Stoch RSI support, Stoch RSI resistance —
are pooled together. Any levels within a percentage threshold of each
other are merged into a single line, positioned at their average price.
The merged line is labeled with the count of crossovers that contributed
to it, so a label showing "⬡3" indicates three separate crossover events —
potentially from different oscillators — all landed within the merge
threshold of one another.
This merge threshold is calculated automatically based on the chart's
timeframe: wider on higher timeframes (where price ranges are naturally
larger) and tighter on lower timeframes. A manual override is available if
you prefer a fixed percentage regardless of timeframe.
DYNAMIC COLORING
Every line — merged or single — is colored based on its position relative
to the current close. A line below price is colored as support; a line
above price is colored as resistance. Because lines extend forward in
time, a single line can change from resistance to support (or vice versa)
as price crosses through it, and the color updates automatically.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
INFO TABLE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
A table in the corner of your choice displays, for the most recent bar:
— The number of support and resistance lines currently shown for each
oscillator separately
— The nearest support and nearest resistance level to current price,
calculated from the same merged lines drawn on the chart — not a
separate calculation, so the table always matches what you see
— Whether the MACD zero-line filter and Stoch RSI overbought/oversold
filter are currently active
— Whether each oscillator is enabled
— The current merge threshold percentage and whether it was set
automatically or manually
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
HOW TO USE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. CHOOSE WHICH OSCILLATORS TO USE
Both MACD and Stochastic RSI are enabled by default. You can disable
either one independently if you only want levels from a single
oscillator, or run both for confluence.
2. SET THE BAR OFFSET
How many bars before crossover? controls how far back from the
confirmed crossover the indicator anchors the level. Start with the
default and increase it if you find levels are consistently anchored
slightly too late relative to the actual price reaction.
3. TUNE THE PROXIMITY FILTER
The ATR Multiplier controls how close a new crossover has to be to an
existing level of the same type before it's discarded. Increase this on
choppy assets to reduce clutter; decrease it if you feel valid levels
are being filtered out.
4. APPLY OPTIONAL FILTERS IF NEEDED
The MACD Zero Line Filter restricts bullish crossovers to above the
zero line and bearish crossovers to below it, filtering out weaker
signals that occur against the broader momentum direction. The Stoch
RSI Overbought/Oversold Filter restricts crossovers to occur only in
oversold or overbought territory, focusing on reversal-type signals
rather than mid-range noise. Both are off by default — enable them if
you want fewer, more selective levels.
5. ADJUST THE MERGE THRESHOLD IF NEEDED
The automatic threshold works well across most timeframes, but if you
trade a single timeframe consistently and want more control, switch to
Manual Threshold and set a fixed percentage that matches your
instrument's typical price behavior.
6. READ THE LABELS
Single-oscillator lines are labeled "M" (MACD) or "S" (Stoch RSI).
Merged lines are labeled with a count (e.g. "⬡2", "⬡3") showing how many
crossovers — and potentially how many different oscillators — agreed on
that level. Higher counts represent stronger confluence.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
WHERE TO USE IT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The indicator works on any asset class and any timeframe, since both
oscillators and the merge threshold are calculated directly from the
chart you have open. It's particularly useful for:
— Identifying support/resistance levels that are backed by momentum
shifts rather than purely price-action-based pivots
— Spotting confluence zones where MACD and Stoch RSI crossovers
historically aligned, which may carry more weight than a level
identified by either oscillator alone
— Confirming reactions at prior turning points — if price returns to a
level where a crossover previously occurred, the level provides context
for whether momentum may shift again
— Combining with other structure or volume-based tools as part of a
broader confluence-based approach, rather than as a standalone signal
generator
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
SETTINGS REFERENCE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MACD: Fast/Slow/Signal EMA lengths, source, bar offset, max support/
resistance lines kept, line width, colors, extend mode, ATR-based
proximity filter, zero-line filter
Stochastic RSI: RSI period, Stochastic period, K/D smoothing, source, and
the same set of line/extend/proximity/zone options as MACD
Merging: enable/disable, automatic or manual threshold, merged line color
and width
Table: show/hide, position
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ORIGINALITY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MACD and Stochastic RSI crossovers are both well-established concepts
individually, but this script's specific contribution is treating
crossover prices as persistent support/resistance levels rather than
one-off signals, combined with a cross-oscillator confluence merge that
identifies where two independently-calculated momentum tools agreed on
the same price area. The ATR-based proximity filter and timeframe-adaptive
merge threshold are the author's own approach to keeping this practical
and readable on a live chart rather than producing chart clutter.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
DISCLAIMER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is intended for educational and analytical purposes only.
No indicator can predict future market movements with certainty. Always
use proper risk management and combine multiple forms of analysis before
making trading decisions. Gösterge

Ehlers Dominant Cycle Stochastic RSI v2Ehlers Dominant Cycle Stochastic RSI
Summary
An adaptive Stochastic RSI whose lengths are set by the market's measured dominant cycle rather than by a fixed input. The indicator continuously estimates the dominant cycle period in price and feeds that period directly into the RSI and Stochastic calculations, so the oscillator's lookback adjusts as the underlying cycle shortens or lengthens across symbols and timeframes.
The Inspiration — John Ehlers
The indicator is built on the digital signal processing work of John Ehlers, who treated price as a waveform and applied engineering filters to extract its underlying cycle. Rather than rely on a single cycle estimate, it runs three independent measurement methods in parallel:
Hilbert Transform homodyne discriminator — Ehlers' classic dominant-cycle estimator
Autocorrelation Periodogram — Pearson correlation across lags to identify the repeating period
Goertzel / DFT power spectrum — a frequency-domain scan for the strongest cycle
Before measurement, price is conditioned with Ehlers' filter set: a Super Smoother filter, a Highpass filter to remove the trend (DC) component, and an optional Bandpass "spectral dilation" pre-filter to isolate the cycle band. The three estimates are then cross-checked. When they agree, their values are blended into a single confirmed period; when they diverge, outliers are down-weighted before the result is smoothed.
Features
Triple cycle detection with confirmation — Hilbert, Autocorrelation, and DFT run together, with a 0–100% confidence score reflecting how closely they agree
Confidence-weighted period blending — each method is weighted by agreement and correlation strength, then smoothed into one cycle period
Adaptive RSI & Stochastic lengths — both derive from the detected cycle, with independent multipliers (e.g. 0.5× for half-cycle, 1.0× for full-cycle)
Spectral dilation pre-filter — optional bandpass with adjustable bandwidth for tighter cycle isolation
Momentum histogram — normalized K−D centered on the midline, with bars that fade as momentum stalls
OB/OS zone shading
Performance controls — recalc interval and DFT window settings to manage the spectral scans
Gösterge

MACD RSI Stochastic Buy/Sell Timing TableBuy/Sell MACD RSI Stochastics v6
This Pine Script v6 oscillator-pane indicator focuses on timing signals using RSI, Stochastic, MACD, optional EMA trend confirmation, and optional volume confirmation.
The script combines RSI levels and threshold crosses, Stochastic %K / %D relationships and crosses, MACD line / signal / histogram logic, buy and sell setup markers, strong buy and strong sell markers, a compact oscillator decision table, alerts, and Data Window values.
It calculates a numeric oscillator score on every bar. Bullish confirmations add points, bearish confirmations subtract points, and the final score is converted into Strong Buy, Buy / Watch Long, Neutral / Wait, Sell / Watch Short, or Strong Sell.
Strong BUY markers appear when the score first reaches Strong Buy territory. Strong SELL markers appear when the score first reaches Strong Sell territory. Smaller Buy and Sell setup markers appear when the score first reaches watch-long or watch-short territory.
This tool is designed for timing context and trade planning. It is not financial advice and does not guarantee trade results.
Scoring Logic
Condition | Score
--- | ---
RSI is at or above the bull bias level | +2
RSI is at or below the bear bias level | -2
RSI crosses above the buy level | +1
RSI crosses below the sell level | -1
Stochastic K is above D and K is above 50 | +2
Stochastic K is below D and K is below 50 | -2
Stochastic K crosses above D before the sell level | +1
Stochastic K crosses below D after the buy level | -1
Stochastic crosses above the buy level | +1
Stochastic crosses below the sell level | -1
MACD is above signal and histogram is above 0 | +2
MACD is below signal and histogram is below 0 | -2
MACD bullish crossover | +1
MACD bearish crossover | -1
EMA trend filter is bullish when enabled | +1
EMA trend filter is bearish when enabled | -1
Volume confirmation is bullish when enabled | +1
Volume confirmation is bearish when enabled | -1
Decision Output
Score Range | Decision | Pane Background | Decision Table Background
--- | --- | --- | ---
>= 6 | Strong Buy | Bright green | Bright lime
3 to 5 | Buy / Watch Long | Light green | Green
-2 to 2 | Neutral / Wait | No background | Gray
-3 to -5 | Sell / Watch Short | Light maroon/red | Maroon
<= -6 | Strong Sell | Bright red | Bright red
The pane background and decision table background use the same oscillator score ranges. The pane background is more transparent so the oscillator lines remain readable.
RSI Logic
RSI Level | Meaning
--- | ---
30 | Buy threshold
45 | Bear bias threshold
55 | Bull bias threshold
70 | Sell threshold
RSI contributes bullish score when it is above the bull bias level and bearish score when it is below the bear bias level.
An RSI cross above the buy level adds a smaller bullish timing point. An RSI cross below the sell level adds a smaller bearish timing point.
Stochastic Logic
Stochastic is bullish when %K is above %D and %K is above 50.
Stochastic is bearish when %K is below %D and %K is below 50.
Stochastic Event | Meaning
--- | ---
%K crosses above %D before the sell level | Bullish timing confirmation
%K crosses below %D after the buy level | Bearish timing confirmation
Stochastic crosses above the buy level | Bullish threshold confirmation
Stochastic crosses below the sell level | Bearish threshold confirmation
MACD Logic
MACD is bullish when the MACD line is above the signal line and the histogram is positive.
MACD is bearish when the MACD line is below the signal line and the histogram is negative.
A MACD line crossover above the signal line adds a bullish timing point. A cross below the signal line adds a bearish timing point.
MACD can be normalized for display so it fits in the same oscillator pane as RSI and Stochastic. The raw MACD values remain available in the Data Window.
EMA Trend Filter Logic
When enabled, the EMA trend filter checks the fast EMA, slow EMA, and long trend EMA.
Filter State | Condition
--- | ---
Bullish | Fast EMA above slow EMA and price above long trend EMA
Bearish | Fast EMA below slow EMA and price below long trend EMA
Disabled | Does not affect the score
Volume Logic
When enabled, volume confirmation compares current volume against average volume.
Volume State | Condition
--- | ---
Bullish confirmation | Above-average volume with a bullish candle
Bearish confirmation | Above-average volume with a bearish candle
No confirmation | Normal or low-volume candle
Disabled | Does not affect the score
Visual Output
The oscillator pane can show RSI, Stochastic %K, Stochastic %D, optional normalized MACD line and signal line, optional normalized MACD histogram, green or red background based on the decision score, Buy / Sell setup markers, and Strong BUY / SELL markers.
Green background means the oscillator score is bullish. Red background means the oscillator score is bearish. Stronger color appears when the score reaches strong buy or strong sell territory.
Decision Table Rows
Row | What It Shows | How To Read It
--- | --- | ---
Osc Decision | Final oscillator decision and oscillator score | Main timing summary. Strong Buy / Buy means momentum confirmations are bullish. Strong Sell / Sell means momentum confirmations are bearish. Neutral means timing is mixed.
Stoch K/D | Current Stochastic %K and %D relationship, plus both values | Bullish means %K is above %D and %K is above 50. Bearish means %K is below %D and %K is below 50. Mixed means the condition is not directional enough.
Stoch Signal | Whether Stochastic created a buy cross, sell cross, or no fresh cross | Buy Cross appears when %K crosses above %D or above the buy level. Sell Cross appears when %K crosses below %D or below the sell level. None means no fresh Stochastic cross is active.
RSI Signal | Whether RSI crossed the configured buy or sell threshold | Buy Cross appears when RSI crosses above the buy level. Sell Cross appears when RSI crosses below the sell level. None means no fresh RSI threshold cross is active.
MACD Cross | Whether MACD crossed its signal line, plus raw MACD and signal values | Bull Cross means MACD crossed above signal. Bear Cross means MACD crossed below signal. None means no fresh MACD crossover is active.
Setup | Trade-watch state produced by the oscillator score | Strong Buy and Strong Sell are the strongest timing states. Buy Watch and Sell Watch are earlier setup states. Wait means there is not enough directional agreement.
Use the table as a timing tool. It is strongest when the oscillator decision agrees with broader chart-level trend context.
Data Window Values
When enabled, the script exposes Decision Score, Decision Code, MACD Raw, MACD Signal Raw, and MACD Histogram Raw.
Code | Meaning
--- | ---
2 | Strong Buy
1 | Buy
0 | Neutral
-1 | Sell
-2 | Strong Sell
Alert Logic
The script includes alerts for Strong Buy Decision, Strong Sell Decision, Buy Setup, Sell Setup, RSI Buy Cross, RSI Sell Cross, Stochastic Buy Cross, Stochastic Sell Cross, MACD Bullish Cross, and MACD Bearish Cross.
Strong decision alerts come from the oscillator score entering strong buy or strong sell territory. Setup alerts come from the score entering watch-long or watch-short territory. Indicator cross alerts are based on their individual RSI, Stochastic, or MACD crossover conditions.
Reading The Output
This script is mainly a timing tool. Bullish output is strongest when RSI, Stochastic, MACD, trend filter, and volume all align. Bearish output is strongest when those same components align to the downside.
When used with the EMA MACD Decision Table script, the chart-level table gives broader trend context and this oscillator gives timing confirmation.
Gösterge

Strateji

Gösterge

Rsi centaurRSI centaur is a visual RSI-based oscillator designed to make momentum extremes, mean reversion zones, midline shifts, and confirmed divergences easier to read on one clean panel.
The indicator uses an adaptive RSI calculation based on Gaussian-weighted price changes. Instead of treating every past bar with the same importance, the RSI core applies a smooth weighting curve to recent gains and losses. This gives the oscillator a slightly different feel from a standard RSI while keeping the logic familiar for traders who already use momentum tools.
A signal line can be enabled to help read short-term smoothing. The panel also includes multiple dashed reference levels at 90, 85, 80, 75, 70, 50, 30, 25, 20, 15, and 10. These levels are not meant to be automatic buy or sell zones by themselves. They are visual areas where momentum may be extended, exhausted, or returning toward balance.
Main features:
- Adaptive Gaussian-weighted RSI oscillator
- Optional RSI-based signal line
- Configurable overbought and oversold guide levels
- Entry circles when RSI enters extreme zones
- Exit circles when RSI leaves extreme zones
- Midline dots when RSI crosses the 50 level
- Confirmed bullish and bearish RSI divergences
- Classic, hidden, and exaggerated divergence modes
- Alerts for entries, exits, midline crosses, divergences, and any signal
How to read it:
When RSI moves above 70, momentum is usually strong on the upside. If it continues into 75, 80, 85, or 90, the market is becoming more extended. A circle appearing when RSI comes back under one of these upper levels can be used as a warning that upside momentum is cooling.
When RSI moves below 30, downside momentum is usually strong. If it continues into 25, 20, 15, or 10, the market is becoming more extended to the downside. A circle appearing when RSI comes back above one of these lower levels can be used as a warning that bearish pressure is weakening.
The 50 line is used as a simple momentum balance level. Crosses above 50 suggest that the oscillator is moving back into bullish momentum territory. Crosses below 50 suggest that the oscillator is moving back into bearish momentum territory.
Beginner example 1:
Price has been falling and the RSI drops below 20. This does not automatically mean the market should be bought. A more conservative read is to wait until RSI crosses back above 20 or 25, then check whether price is also reacting from a support zone, previous low, or other market structure level.
Beginner example 2:
Price makes a new high, but the RSI makes a lower high. If a bearish divergence is confirmed, it can warn that the upward move is losing momentum. This is not a sell signal by itself, but it can help traders become more cautious with long positions or look for confirmation from price action.
Beginner example 3:
RSI crosses above 50 after spending time below it. This can show that momentum is shifting back toward the upside. If price is also above a key moving average or breaking a local structure level, the midline cross may support a bullish scenario.
About divergences:
Divergences are based on confirmed RSI pivots. Because pivots require confirmation, divergence labels appear only after the confirmation bars have closed. This makes them cleaner, but it also means they are not intended to mark the exact top or bottom in real time.
Suggested use:
Centaur RSI is best used as a momentum and context tool. It can help identify overextended conditions, momentum recovery, and possible divergence areas. It should be combined with price structure, trend direction, volume, or support and resistance analysis before making trading decisions.
Limitations:
No RSI tool can predict future price movement. Strong trends can keep RSI overbought or oversold for a long time. Divergences can also fail during high momentum markets. The indicator is designed to provide visual context, not guaranteed entries or exits. Gösterge

Multi-Engine MatrixTitle: Multi-Engine Matrix
Description:
The Multi-Engine Matrix is an advanced, all-in-one trading suite designed to bring institutional concepts and momentum oscillators directly onto your main chart. By combining session or timeframe-based liquidity ranges with customizable oscillator projections and a real-time data dashboard, this indicator eliminates the need for multiple chart panes, keeping your workspace clean and highly informative.
🌟 Core Features
1. Dynamic Range & Liquidity Sweeps
The indicator automatically boxes price action based on your chosen mode, tracking the Highest High (HH), Lowest Low (LL), and the
Volume Point of Control (POC).
Session Mode: Tracks the Asian, London, and New York sessions using customizable time inputs.
Timeframe Mode: Tracks ranges based on a selected Higher Timeframe (e.g., Daily or 4H).
Liquidity Sweeps: When price breaks out of a historical session/timeframe box and sweeps the HH or LL, the level turns red and is clearly marked with an "X", highlighting potential liquidity grabs and reversal zones.
Volume POC: Displays the Point of Control for each active and historical range, acting as a magnet or support/resistance level.
2. On-Chart Multi-Engine Oscillators
Forget opening separate indicator panes at the bottom of your chart. The Multi-Engine Matrix projects up to two momentum oscillators (Top Engine and Bottom Engine) directly above and below the active price ranges.
Available Engines: RSI, Stochastic RSI, WaveTrend, and DMI.
Customizable Size: Adjust the projection height (Small, Medium, Large) and the distance from the price action.
Real-time Visualization: Watch momentum diverge or align with price action within the same visual context. WaveTrend momentum histograms, RSI overbought/oversold zones, and DI crossover dynamics are beautifully rendered as on-chart polylines.
3. Real-Time Bias Dashboard
A sleek, adaptive dashboard is positioned on your chart (top right by default) to give you an immediate macroeconomic and momentum overview.
Active Session: Instantly know which market session you are currently trading.
Daily & Weekly Bias: Automatically calculates if the current price is Bullish or Bearish relative to the Daily and Weekly open levels.
Live Metrics: Displays the exact current values for RSI, WaveTrend Momentum, and Directional Movement (DI+ / DI-).
Daily CVD (Cumulative Volume Delta): Tracks intraday buying and selling pressure to gauge true market intent.
4. Quality of Life Features
Moving Averages & VWAP: Optional overlays for session VWAP and your choice of Moving Average (SMA, EMA, WMA, RMA).
Adaptive UI: Fully supports TradingView's Light and Dark modes. Text colors, labels, and borders automatically adapt to your chart's background for optimal visibility.
⚙️ How to Use
Set Your Mode: Choose whether you want to trade based on specific Time Sessions (Asian/London/NY) or Fixed Timeframes.
Select Your Engines: Choose your preferred momentum oscillators for the Top and Bottom engines.
Watch for Sweeps: Look for price sweeping the historical highs (HH) or lows (LL) marked by a red "X". Combine this with extreme readings on the projected oscillators to spot high-probability reversal setups.
Confirm with the Dashboard: Use the Daily/Weekly bias and CVD metrics to ensure you are trading in the direction of the underlying momentum.
Disclaimer:
The information provided by this script is for educational and informational purposes only and does not constitute financial advice. Trading in financial markets involves a high degree of risk and may not be suitable for all investors. Past performance is not indicative of future results. Always conduct your own research and backtest thoroughly before risking real capital. Gösterge

Strateji

RSI DNARSI dna Oscillator is a momentum analysis tool built around RSI, divergence detection, multi-timeframe RSI readings, volume context, failure swings, higher timeframe bias, and RSI compression behavior.
The purpose of this indicator is to help traders read momentum conditions in a structured way. It is designed to show when RSI is bullish, bearish, overbought, oversold, compressed around the midline, or showing divergence against price action.
This script is an indicator only. It does not place trades, does not provide financial advice, and does not guarantee future results. It should be used together with price action, market structure, support and resistance, volume, and personal risk management.
────────────────────────────
MAIN FEATURES
────────────────────────────
RSI Engine
The core of the indicator is a standard RSI calculation. The RSI line, histogram, midline, overbought zone, and oversold zone help identify bullish or bearish momentum conditions.
Divergence Detection
The indicator can detect regular and hidden bullish or bearish divergences between price and RSI. Divergence lines and labels can be displayed directly inside the oscillator panel.
Volume-Confirmed Divergences
An optional volume filter can be used to validate divergences only when volume conditions are present. The filter can use volume spike, absorption wick behavior, volume fade, or a combination of these conditions.
Heiken Ashi RSI Mode
The script includes an optional Heiken Ashi smoothing mode calculated from RSI values. This can help reduce visual noise in the oscillator. Opposite RSI candles can also be masked when they conflict with the smoothed HA direction.
Failure Swing Engine
The indicator includes an optional RSI failure swing module. This is separated from classical divergence detection. It looks for RSI reversal structures based on RSI pivots, break levels, and confirmation.
MTF RSI Matrix
The dashboard can display RSI values from multiple timeframes. This helps compare short-term and higher-timeframe momentum from the same panel.
HTF Bias Filter
Signals can optionally be filtered by a higher timeframe bias using EMA, RSI, or EMA plus RSI. This can help avoid signals that go against the selected higher timeframe condition.
RSI Squeeze Mode
The indicator can detect when RSI compresses around the midline. A squeeze condition suggests that momentum is tight or undecided. Release signals can appear when RSI expands away from the compression area.
Volume Profile Display
A small volume profile-style column display is included in the oscillator panel. It shows relative volume strength compared to its moving average.
Candle Color Mode
The script can optionally color chart candles using different logic modes, including RSI midline, higher timeframe bias, or high/low structure. The high/low structure mode is designed to provide a simple bullish or bearish reading based on price making higher highs and higher lows, or lower highs and lower lows.
Alerts
The script includes alerts for RSI midline crosses, overbought and oversold entries/exits, divergences, Heiken Ashi RSI flips, volume spikes, failure swings, RSI squeeze, and squeeze releases.
────────────────────────────
INPUTS EXPLAINED
────────────────────────────
RSI ENGINE
RSI Length
Controls the RSI calculation period. A lower value makes RSI more reactive. A higher value makes RSI smoother.
Overbought
Defines the upper RSI level used to mark overbought conditions. The default value is commonly set around 70.
Oversold
Defines the lower RSI level used to mark oversold conditions. The default value is commonly set around 30.
Midline
Defines the center level used to separate bullish and bearish RSI zones. The default value is 50.
────────────────────────────
HEIKEN ASHI MODE
Enable HA Smoothing
Turns RSI Heiken Ashi smoothing on or off.
HA Smooth Length
Controls the smoothing length used in the RSI Heiken Ashi calculation.
Mask Opposite Candles
When enabled, the indicator softens or hides RSI candles that move against the current HA RSI direction. This can make the oscillator easier to read in trend conditions.
────────────────────────────
DIVERGENCE
Divergence Lookback
Controls the pivot length used to detect price and RSI pivot points. A smaller value detects more divergences. A larger value is stricter and produces fewer signals.
Show Regular Div
Shows or hides regular bullish and bearish divergences.
Show Hidden Div
Shows or hides hidden bullish and bearish divergences.
Show Divergence Lines
Shows or hides the lines connecting RSI pivot points during divergence signals.
Require Volume-Confirmed Divergence
When enabled, divergences must also match the selected volume confirmation condition.
Volume Confirmation Mode
Selects the type of volume behavior required:
* Spike
* Absorption
* Volume Fade
* Spike or Absorption
* Any
Divergence Volume Spike x MA
Defines how much volume must exceed its moving average to be considered a spike.
Absorption Wick Ratio
Defines the wick size required for absorption-style confirmation.
────────────────────────────
VOLUME PROFILE
Show Volume Profile
Shows or hides the relative volume columns in the oscillator panel.
Volume Profile Length
Controls the volume moving average length used to calculate relative volume.
Profile Bar Width
Controls the visual width of the volume profile columns.
────────────────────────────
DNA VISUAL
Show DNA Strands
Shows or hides the wave-style visual strands in the oscillator panel. This is disabled by default for a cleaner layout.
DNA Wave Frequency
Controls how fast the visual strands oscillate.
DNA Amplitude
Controls how far the visual strands move around the midline.
────────────────────────────
FAILURE SWING ENGINE
Enable Failure Swing Engine
Turns RSI failure swing detection on or off.
Show Failure Swing Break Lines
Shows or hides the break level line used by the failure swing engine.
RSI Failure Swing Pivot
Controls the pivot sensitivity used for failure swing detection.
Require OB/OS Origin
When enabled, bullish failure swings must begin from oversold conditions and bearish failure swings must begin from overbought conditions.
Failure Swing Label Size
Controls the size of failure swing labels.
────────────────────────────
MTF RSI MATRIX
Show MTF RSI Matrix In Dashboard
Shows or hides the multi-timeframe RSI values in the dashboard.
Matrix TF 1
First RSI timeframe displayed in the matrix.
Matrix TF 2
Second RSI timeframe displayed in the matrix.
Matrix TF 3
Third RSI timeframe displayed in the matrix.
Matrix TF 4
Fourth RSI timeframe displayed in the matrix.
Matrix TF 5
Fifth RSI timeframe displayed in the matrix.
These timeframes can be adjusted to match scalping, intraday, swing, or higher-timeframe analysis.
────────────────────────────
HTF BIAS FILTER
Enable HTF Bias Filter
Turns higher timeframe filtering on or off.
HTF Bias Timeframe
Selects the higher timeframe used for bias filtering.
HTF Bias Mode
Selects the filter method:
* EMA
* RSI
* EMA + RSI
HTF EMA Length
Controls the EMA length used for higher timeframe trend bias.
HTF RSI Bull Level
Defines the RSI level required for bullish higher timeframe confirmation.
HTF RSI Bear Level
Defines the RSI level required for bearish higher timeframe confirmation.
────────────────────────────
RSI SQUEEZE MODE
Enable RSI Squeeze Mode
Turns RSI compression detection on or off.
Squeeze Length
Controls the lookback length used to measure RSI compression.
Compression Distance Around Mid
Defines how close RSI must stay around the midline to be considered compressed.
Max RSI StdDev In Squeeze
Defines the maximum RSI standard deviation allowed during compression.
Release Distance From Mid
Defines how far RSI must move away from the midline to mark a release.
Post-Squeeze Release Window
Defines how many bars after compression can still qualify as a squeeze release.
────────────────────────────
CANDLE COLOR MODE
Candle Color Mode
Allows chart candles to be colored using the selected logic.
RSI Midline Mode
Colors candles based on whether RSI is above or below the midline.
HTF Bias Mode
Colors candles based on the selected higher timeframe bias.
High/Low Structure Mode
Colors candles using simple structure logic:
* Bullish when price makes a higher high and higher low
* Bearish when price makes a lower high and lower low
This mode is designed to be easy to read for beginners.
────────────────────────────
MINI TUTORIAL
────────────────────────────
1. Add the indicator to the chart.
2. Start with default settings.
3. Look at the RSI line:
* Above the midline means bullish RSI pressure.
* Below the midline means bearish RSI pressure.
* Above the overbought level means RSI is in an upper extreme zone.
* Below the oversold level means RSI is in a lower extreme zone.
4. Check the dashboard:
The dashboard shows the current RSI value, trend state, zone state, divergence status, volume behavior, higher timeframe bias, and multi-timeframe RSI values.
5. Watch for divergences:
A bullish divergence can appear when price makes a lower low while RSI makes a higher low.
A bearish divergence can appear when price makes a higher high while RSI makes a lower high.
6. Use volume confirmation carefully:
If volume-confirmed divergence is enabled, the divergence must also match the selected volume condition. This can reduce the number of signals.
7. Use the MTF RSI Matrix:
If most timeframes show RSI above the midline, momentum is generally stronger on the bullish side.
If most timeframes show RSI below the midline, momentum is generally weaker or bearish.
Mixed readings usually mean the market is less clear.
8. Use the HTF Bias Filter:
When this filter is enabled, signals are filtered by the selected higher timeframe condition. This can help focus only on signals aligned with the larger context.
9. Use RSI Squeeze Mode:
When RSI compresses around the midline, momentum is quiet. A release can show when RSI expands away from the compression zone.
10. Use candle color mode as a visual guide:
For beginners, High/Low Structure mode can make the chart easier to read by coloring candles based on simple structure behavior.
────────────────────────────
EXAMPLE USE CASES
────────────────────────────
Example 1: Momentum continuation
RSI is above the midline, the dashboard shows bullish momentum on multiple timeframes, and the HTF filter is bullish. This can help identify conditions where bullish continuation is stronger.
Example 2: Bearish divergence
Price makes a higher high, but RSI makes a lower high. A bearish divergence label appears. If volume confirmation is enabled, the signal must also match the selected volume behavior.
Example 3: Bullish reversal from oversold
RSI moves into oversold territory, then forms a bullish divergence or failure swing. The trader can use this as a warning that downside momentum may be weakening.
Example 4: RSI compression
RSI stays close to the midline and the squeeze background appears. A release signal can appear when RSI moves away from the compression zone.
Example 5: Beginner structure reading
Candle Color Mode is set to High/Low Structure. Candles become easier to read because bullish candles are based on higher highs and higher lows, while bearish candles are based on lower highs and lower lows.
────────────────────────────
BEST PRACTICES
────────────────────────────
Use this indicator as a momentum and context tool, not as a standalone trading system.
Use divergences together with support, resistance, trendlines, liquidity zones, or market structure.
Use higher timeframe confirmation when trading lower timeframes.
Use volume confirmation if you want fewer but more filtered divergence signals.
Avoid relying on signals during low-volume or highly volatile news-driven conditions.
Always test settings on the symbol and timeframe you trade.
────────────────────────────
LIMITATIONS
────────────────────────────
This script is an indicator, not a strategy.
It does not place orders.
It does not guarantee profitable results.
Divergences and failure swings can fail.
Pivot-based signals are confirmed only after the required number of bars.
Multi-timeframe readings depend on the selected timeframes.
Alerts depend on the alert settings selected by the user in TradingView.
Market context remains important. No oscillator should be used alone.
Gösterge

daPisa MA + RSIdaPisa + Simple RSI Div: Multi-Confluence Trend & Reversal Suite
The daPisa + Simple RSI Div (Pine Script v6) is an all-in-one technical analysis dashboard designed to blend structural trend-following with high-probability momentum exhaustion signals. By housing Dual Moving Averages, Bollinger Bands, an optimized RSI Divergence engine, and a Stochastic Oscillator within a single script, it provides traders with a clean, clutter-free workspace to identify confluence zones, trend reversals, and volatility breakouts.
🛠️ Key Components & Architecture
1. Primary Chart Elements (Force Overlay)
Dual Moving Averages: Tracks structural market direction utilizing a Fast MA (50) and a Slow MA (120). Trend shifts are explicitly highlighted on your main chart using Blue Intersection Marks at crossover/crossunder points.
Price Bollinger Bands: Displays standard volatility bands (20 Length, 2 StdDev) directly on the price chart to gauge squeeze phases and extension targets.
2. Advanced RSI Engine (Sub-Chart)
Native-Style RSI line: Built using TradingView's default algorithm for seamless continuity.
Flexible RSI-Based MA Options: Replicates default TV features by allowing you to choose between SMA, EMA, or Bollinger Bands applied directly to the RSI value. This helps filter out momentum noise and signals line crossovers or volatility bands expansion within the oscillator panel itself.
Filtered Divergence Alerts: Triggers clean Bullish and Bearish divergence markers.
3. Secondary Momentum Panel
Stochastic Oscillator: A fully adjustable Stochastic (%K, %D) line designed to act as a secondary trigger engine for fine-tuning entry windows when price interacts with major support/resistance or structural MA lines.
🎯 What Makes This Script Unique?
Anti-Clutter Divergence Logic: Traditional divergence indicators often suffer from "signal crowding" or over-plotting. This script utilizes precise, micro-pivot lookbacks (pivothigh/low 1, 1). Signals are evaluated exactly at the moment of pivot validation and plotted using a -1 bar offset to align perfectly with the exact price peak/trough.
Strict Exhaustion Filters: Divergences are only displayed if they occur within Overbought (≥70) or Oversold (≤30) territories. This drastically reduces false signals during choppy, sideways markets.
Customizable UI Toggles: Keep your chart workspace clean. You can toggle off the visual displays for the RSI or Stochastic panels individually with simple tick boxes in the settings menu.
💡 How to Trade with This Indicator
Trend Alignment: Identify the macro trend using the Fast and Slow MA crossovers. Look for price pullbacks toward the MA lines or the lower/upper Bollinger Bands.
Reversal Confirmation: Spot potential tops or bottoms when price prints higher highs/lower lows while the RSI plots a strict, overbought/oversold Divergence Arrow.
Execution Trigger: Use the Stochastic crossover (%K crossing %D) inside extreme zones to find the exact execution candle once the macro trend and RSI divergence have aligned.
🔔 Integrated Real-Time Alerts
This indicator comes pre-packaged with 6 essential alert conditions to keep you ahead of the market without constantly staring at the screen:
MA Golden Cross (Fast MA crosses above Slow MA)
MA Death Cross (Fast MA crosses below Slow MA)
RSI Bearish Divergence (Confirmed top reversal setup)
RSI Bullish Divergence (Confirmed bottom reversal setup)
Stoch Bullish Cross (%K crossing above %D)
Stoch Bearish Cross (%K crossing below %D)
Disclaimer: Past performance does not guarantee future results. Always practice proper risk management and utilize this script alongside your broader trading framework. Gösterge

SOL RSI DCA - Long IndicatorSOL RSI DCA - Long Indicator
🔷 What it does:
This is a signal-only indicator that mirrors a long-only DCA workflow on SOL. It tracks one virtual long position at a time, opened while higher-timeframe momentum is depressed, then averages the position down on a measured geometric price-deviation ladder with up to three averaging orders. The base entry arms whenever the 1-hour RSI(14) sits below a configurable level (default 44). Averaging is price-driven only — no extra momentum gate — matching the source bot configuration. Exit is a fixed Take Profit at 2.4% above average entry. Every event emits a webhook-ready JSON payload for a DCA Bot.
- HTF RSI entry gate: base order arms while 1h RSI(14) is below the threshold (Less Than condition).
- Geometric averaging ladder: deviations −2.50%, −5.75%, −9.98%; sizes 87.5, 109.4, 136.7 USDT on a 1.3× deviation step × 1.25× size step.
- Fixed Take Profit: 2.4% above running average entry, no trailing.
- Honest virtual bookkeeping: total cost and qty updated incrementally on every fill — avg entry, deployed capital, open PnL, and cumulative realized PnL displayed live.
- Five discrete events per cycle (entry + 3 AO fills + TP), each with its own webhook payload.
🔷 Who is it for:
- Swing traders running a DCA Bot on SOL who want systematic long exposure when momentum is soft, scaling in if the dip deepens.
- Bot operators who want a chart-driven signal source that emits per-event JSON ready for a DCA Bot.
- DCA-style traders who prefer a measured geometric ladder over an aggressive doubling schedule.
- Traders who want to monitor an evolving DCA position — base entry, owned AO levels, deployed capital, open PnL, realized PnL, live RSI reading — directly on the chart without the strategy-tester overhead.
🔷 How does it work:
Entry RSI Filter (HTF Oversold): A 1-hour RSI(14) is sampled via request.security with lookahead disabled (no repaint). The base order arms whenever this RSI is below the configured level (default 44). At host-bar close, if the indicator is flat, the virtual long position opens.
Averaging Order Ladder (Price-Driven): After the base fill, the indicator watches price deviation against the position. The k-th averaging order fires when close ≤ base entry × (1 − cumulative deviation). Cumulative deviation grows by the 1.3× step multiplier: 2.50%, 5.75%, 9.98%. Each averaging order's virtual size grows by the 1.25× size multiplier: 87.5, 109.4, 136.7 USDT. Averaging is gated by price only — no extra RSI condition, matching the source bot configuration.
Honest Virtual Bookkeeping: Total cost and qty are updated incrementally on every fill, so the avg entry, deployed capital, open PnL, and cumulative realized PnL displayed in the status table reflect the actual broker-equivalent position state — no shortcut from base entry, no synthetic averaging.
Exit: A fixed Take Profit at 2.4% above the running average entry. When close hits the TP target, the close webhook fires, the realized PnL accumulator banks the gain, and the virtual position resets.
🔷 Why it's unique:
- HTF RSI Entry Gate: The base order keys off a 1-hour RSI(14) rather than the chart timeframe, so entries are anchored to the higher-timeframe momentum picture instead of intrabar noise.
- Measured Geometric Ladder: A 1.3× deviation step paired with a 1.25× size step keeps the average entry compounding controlled — the position deepens gradually rather than ballooning, which keeps maximum deployment near 5% of equity.
- Fill-by-Fill Avg Entry: The orange avg-entry line is derived from running totals updated on every event — what you see is what the broker-equivalent position would actually have.
- Realized PnL Readout: The status table shows cumulative realized PnL banked across closed cycles, so the chart reflects how the workflow has performed over the visible history, not just the open position.
- Per-Event Webhook Ledger: Five distinct events per cycle, each with its own JSON alert payload. The indicator drives a DCA Bot end-to-end through a single TradingView alert.
🔷 Considerations Before Using the Indicator:
Market & Timeframe: Designed for liquid crypto pairs. Default thresholds are calibrated for BINANCE:SOLUSDT spot, with the RSI filter on 1h. Run on a 1h chart (or lower for finer averaging-order fills). Different pairs may need RSI level and deviation ladder tuning.
Entry Is a Level, Not a Cross: The base order uses a Less Than condition (RSI < 44), matching the source bot. After a Take Profit, if RSI is still below 44 the indicator can immediately reopen a new virtual deal. This produces more frequent re-entries than a cross-down trigger — intended behavior, but review it against your risk appetite.
Cross Detection Granularity: Entries and AO fills are evaluated on bar close. A bar that spikes through a level and returns within the same bar may be missed by design — this matches realistic polling behavior and avoids over-signaling on intra-bar wicks.
Live vs Historical State: The virtual position state is rebuilt from chart history each time the indicator is recompiled. If the indicator is added mid-deployment or the live bot diverges from the signal stream (manual interventions, partial fills), the indicator state may not match the live bot. Toggle the indicator off and on to reset.
Capital Deployment: If all three averaging orders fill, the virtual position scales from 200 USDT base to ~534 USDT total. Match the indicator's per-order allocation to your bot's configuration to keep the avg-entry display honest.
No Stop Loss: There is no exit signal on adverse moves beyond the 3-AO ladder. Risk is structurally capped on the bot side by the bounded position-size ladder. If a hard exchange-side stop is required, configure it on the bot directly.
Strong Downtrends: Like any dip-buying setup, this is positioned for mean reversions, not waterfall declines. In a sustained downtrend the ladder fills out and the position holds underwater until price recovers to the 2.4% TP above average. The bounded ladder limits the size of that exposure, but underwater hold time can still extend.
Backtesting Note: This is an indicator, not a strategy. There is no built-in P&L tester. For performance metrics over a ~3.5-month sample (29 closed trades, 86.21% win rate, 0.63% max drawdown, profit factor 22.256, +0.83% net return), use the companion strategy version on identical parameters. The 29-trade sample is well below the typical ≥100 floor for statistical confidence, and the high-win/low-frequency profile rests on a fixed 2.4% TP being hit most of the time — re-run on a 12+ month window for a more robust validation before drawing firm conclusions.
🔷 How to Use It:
🔸 Add the indicator to a 1h chart on the crypto pair you want to trade.
🔸 Review the entry RSI filter (timeframe / length / level), the 3-AO ladder parameters, and the Take Profit percentage. Defaults are calibrated for SOLUSDT 1h — recalibrate per asset before deploying.
🔸 Set Base Order Size and AO sizes to match your bot's configuration (the indicator's avg-entry display becomes meaningful when virtual sizing matches real sizing).
🔸 In the DCA Bot Webhook group, paste the Bot ID, Email Token, and Pair (QUOTE_BASE format, e.g., USDT_SOL).
🔸 Create an alert on the indicator with "Any alert() function call". Paste the DCA Bot's webhook URL into the alert's Webhook field. The indicator will emit JSON payloads for entry, each averaging order, and TP exit — formatted for direct DCA Bot consumption.
🔷 INDICATOR SETTINGS
Base Order Size (USDT): Virtual order size for the avg-entry / open-PnL computation.
Averaging Orders per Trade: Maximum number of averaging orders per cycle (default 3).
First AO Size (USDT): Virtual size of the first averaging order; subsequent AOs scale by the Size Multiplier.
Deviation to First AO (%): Distance from base entry at which AO1 becomes eligible.
Deviation Step Multiplier: Ladder factor that widens each subsequent deviation step.
Order Size Multiplier: Factor that grows each subsequent averaging order's USDT size.
Entry RSI Timeframe / Length / Level: Higher-timeframe RSI filter that arms the base entry (Less Than condition).
Take Profit (%): Fixed distance above the running average entry where the virtual long closes.
DCA Bot Webhook: Bot ID, Email Token, and Pair fields injected into every alert payload.
Visualization: Toggle AO Ladder, Avg / TP plot lines, fill labels, signal triangles, status table (including cumulative realized PnL).
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Gösterge
