Cardwell Dual Confluence [MarkitTick]💡 A comprehensive momentum and trend-following framework built to identify high-probability market shifts. By synthesizing Andrew Cardwell's established Relative Strength Index (RSI) range rules with dynamic trend filtering and volatility metrics, this tool provides a unified analytical engine. It moves beyond standard oscillator readings to map the underlying momentum regime, ensuring that signals are structurally aligned with the dominant trend.
● ✨ Originality and Utility
Traditional momentum oscillators often produce premature reversal signals during strong trends, leading to false entries in directionless markets. This indicator solves that problem by integrating a dual-tier confluence model. It does not rely solely on an isolated RSI moving average crossover; instead, it demands structural validation through Cardwell's defined momentum ranges.
The primary utility lies in its objective structural filtering: a momentum cross is only validated if the broader market regime structurally supports the direction of the momentum.
By combining a base timeframe momentum cross with a Higher Timeframe (HTF) trend regime and Average Directional Index (ADX) volatility filtering, this tool prevents overtrading in choppy, non-directional environments.
This deliberate combination of an oscillator, a trend filter, and a volatility metric acts as a logical confluence engine. It avoids the pitfalls of disjointed indicator mashups by ensuring every component serves a distinct mathematical purpose in validating the signal before it is printed to the chart.
● 🔬 Methodology and Concepts
The logic engine of this tool evaluates multiple distinct criteria before registering a valid signal.
• Momentum Crossover
The script calculates a base RSI and smooths it using two Running Moving Averages (RMA): a Fast RMA and a Slow RMA. A baseline momentum shift occurs when the Fast RMA crosses the Slow RMA, indicating a localized surge in buying or selling pressure.
• Regime Mapping
A structural trend is evaluated by comparing the closing price to a Simple Moving Average (SMA). Simultaneously, a secondary RSI is evaluated against Cardwell's defined structural ranges. A Bullish Regime requires the price to be above the SMA and the RSI to hold within a specific upper tier (defaulting to 40-80). A Bearish Regime requires the price to be below the SMA and the RSI to hold within a lower tier (defaulting to 20-60).
• Confirmation and Confluence
Regimes must persist for a user-defined number of consecutive bars to filter out transient market noise. Confluence is achieved when an RMA momentum crossover occurs within a tight, predefined window of a regime shift, ensuring both immediate momentum and the structural trend are perfectly aligned.
• Higher Timeframe and Volatility Verification
An optional HTF module checks the regime state of a larger timeframe using a strict non-repainting historical offset. Furthermore, the ADX is calculated to measure pure trend strength. If the ADX is below the user-defined minimum threshold, the market is deemed too choppy, and all signals are suppressed.
• Dynamic Trade Architecture
Once a signal is validated strictly on a confirmed bar close, the script projects dynamic Stop Loss and Take Profit levels using a multiplier of the Average True Range (ATR), actively adapting the trade geometry to current market volatility.
● 🔍 Deconstruction of the Underlying Scientific and Academic Framework
The analytical foundation of this tool rests on advanced momentum physics and statistical distribution theories.
• Cardwell RSI Range Theory
Developed by Andrew Cardwell, this theory posits that the Relative Strength Index is not merely an overbought/oversold oscillator, but a powerful trend-identifying metric. In a mathematically robust uptrend, the RSI establishes a baseline support near the 40 level and frequently reaches 80. Conversely, in a downtrend, it establishes resistance near 60 and drops to 20. The indicator algorithmically enforces these limits to objectively classify market environments.
• Running Moving Average (RMA) Dynamics
The script utilizes the RMA, also known as the Modified Moving Average (MMA) or SMMA, to smooth the RSI base. The RMA applies an exponential smoothing weight defined exactly as 1 / length . This specific mathematical weighting retains a longer memory of past data compared to a standard SMA, preventing the abrupt drop-offs that occur when large data points exit a simple moving average window. This makes the RMA crossover highly sensitive to genuine shifts in cumulative momentum without the lag of a standard exponential moving average.
• Average Directional Movement Index (ADX)
Created by J. Welles Wilder, the ADX quantifies trend strength independent of directional vector. By calculating the smoothed moving averages of the +DI and -DI directional movement indicators, the ADX isolates the absolute magnitude of price expansion. The script uses this mathematical isolation to construct an absolute threshold; requiring ADX to exceed a base level ensures that the statistical probability of trend continuation is mathematically viable before capital is exposed.
• Volatility-Scaled Projection (ATR)
Take profit and stop loss coordinates are mapped using Wilder's Average True Range. The ATR measures the greatest of the current high minus the current low, the absolute value of the current high minus the previous close, and the absolute value of the current low minus the previous close. By scaling targets using ATR multipliers, the tool shifts from fixed-point geometry to dynamic, standard-deviation-aligned targeting, ensuring targets expand during high volatility and contract during consolidation.
● 🎨 Visual Guide
The tool employs a clean, visually dynamic chart interface to transmit complex data instantly without cluttering the workspace.
• Heatmap Candles
Candle bodies and wicks are dynamically colored based on the active regime. Teal indicates a confirmed Bullish Regime, Red indicates a Bearish Regime, and Gray indicates a Neutral market state.
• Signal Labels
When all confluence parameters are met on a confirmed bar close, a solid blue "BUY" label appears below the bar, or an orange "SELL" label appears above the bar, complete with strict execution markers.
• Dynamic Trade Levels
Upon signal generation, the tool plots projected trade levels extending to the right of the price action. A solid Red line indicates the Stop Loss threshold. A dashed Blue line denotes the Entry price. Dashed Teal lines represent Take Profit 1, 2, and 3. Labels accurately print the precise price levels directly on the chart axis.
• Risk and Reward Fills
A semi-transparent Red linefill is plotted between the Entry and Stop Loss lines to visualize risk exposure, while a Teal fill between Entry and TP3 visualizes the total projected reward structure, allowing for instant visual evaluation of the trade setup.
• Integrated Dashboard
A comprehensive table is positioned on the chart, displaying real-time operational metrics. It details the current Cross Trend, Regime State, Confirm Bar count, Signal Gap status, Last Signal source, Trade Status, live ATR value, TP3:SL ratio, and HTF/Chop Filter states in an easy-to-read grid.
● 📖 How to Use
Deploying this tool requires patience and strict adherence to structural confirmation.
Wait for the Heatmap Candles to shift from Gray (Neutral) to Teal (Bullish) or Red (Bearish). This indicates that the broader moving average trend and the internal RSI ranges have aligned into a confirmed structural regime.
Observe the chart for a printed BUY or SELL label. This confirms that the RMA momentum cross has achieved mathematical confluence with the active regime within the defined allowable window.
Check the Dashboard to ensure the HTF Regime and Chop Filter (ADX) read as PASS. If the market is blocked by the Chop Filter, do not force an entry, as the statistical probability of a sustained run is low.
Upon entry, utilize the plotted ATR lines to structure your risk. Place your stop loss exactly at the solid red line, and scale out of your position at the dashed TP1, TP2, and TP3 levels as price action develops.
Wait for the Signal Gap cooldown period to elapse before considering consecutive entries in the same direction. This engineered delay prevents overexposure during erratic, volatile spikes.
● ⚙️ Inputs and Settings
The script features highly customizable parameters grouped logically for maximum workflow efficiency.
• Core Settings
Adjust the lengths for the Cross RMA (Fast/Slow) and the primary RSI source. Modify the Trend MA length and explicitly set the boundaries for the Bull Range (default 40-80) and Bear Range (default 20-60). Configure the Confluence Window to define exactly how close a cross and regime shift must occur to trigger a valid signal, and set the Signal Gap cooldown timer.
• Filters
Toggle the HTF Confirmation logic and select the desired higher timeframe for broader structural alignment. Enable the ADX Chop Filter and set the minimum required trend strength to strip out low-probability environments.
• Trade Tools
Define the ATR lookback length and customize the specific multipliers for the Stop Loss and the three Take Profit targets to match your unique risk-to-reward requirements. Modify the Line Extend Bars input to control how far into the future the trade levels are drawn.
• Visuals and Dashboard
Toggle individual visual components, including candle coloring, signal labels, and trade level plotting. Position the dashboard to any corner of the chart to prevent the obstruction of live price action.
• Alerts
Input specific JSON string payloads for Long, Short, Close Long, Close Short, SL, and TP actions. This allows the indicator to integrate seamlessly with automated execution platforms or third-party webhooks without requiring manual code modifications.
⚠️ Disclaimer
All provided scripts and indicators are strictly for educational exploration and must not be interpreted as financial advice or a recommendation to execute trades. We expressly disclaim all liability for any financial losses or damages that may result, directly or indirectly, from the reliance on or application of these tools. Market participation carries inherent risk where past performance never guarantees future returns, leaving all investment decisions and due diligence solely at your own discretion. Indikator

Momentum Cascade | Lyro RSOverview:
Momentum Cascade is a rate-of-change momentum tool that passes a single momentum reading through three sequential smoothing stages to filter out early, unconfirmed moves. Rather than reacting to the first sign of a shift, it waits for the momentum signal to "cascade" through instant, reactive, and committed stages before confirming a trend, giving a cleaner read on when a move has genuine follow-through.
Key Features
Three-Stage Cascade Engine: Calculates a rate-of-change momentum value, then passes it through two successive EMA smoothing stages. Stage 1 is the raw instant impulse, Stage 2 is the first reactive smoothing, and Stage 3 is the fully committed signal.
Trend Confirmation Score: Each stage contributes +1 or -1 depending on its direction. A trend only confirms when all three stages agree (score of +3 or -3), filtering out momentum blips that fade before they cascade through.
Gradient Strength Visualization: The committed Stage 3 line and candle coloring use a gradient blend based on how strong the current agreement is across all three stages, giving an at-a-glance read on conviction.
Multi-Layer Plotting: Displays all three cascade stages simultaneously (thin instant line, mid-weight reactive line, and a glow-effect committed line) so you can see momentum building in real time, not just the final confirmation.
Candle Coloring: Optionally recolors chart candles using the same gradient logic as the oscillator, aligning price action visually with the cascade's current trend strength.
Customizable Visuals: Choose from 4 preset palettes — Classic, Mystic, Accented, Royal — or define your own custom bullish/bearish colors.
Built-In Signals: Automatically plots long/short labels on confirmed trend flips (when the score crosses into full +3 or -3 agreement).
How It Works
Momentum Calculation – Computes rate-of-change of price over the chosen length as the raw momentum impulse (Stage 1).
Cascade Smoothing – Passes that momentum through an EMA to produce Stage 2 (reactive), then smooths again to produce Stage 3 (committed).
Scoring – Assigns +1/-1 per stage based on sign, summing to a score between -3 and +3.
Trend Confirmation – A trend state only flips when the score reaches full agreement (+3 or -3), meaning all three stages point the same direction.
Signal Plotting – Trend flips are marked with long/short labels, and candle/line coloring reflects both direction and agreement strength via gradient.
Practical Use
Trend Confirmation – Use full cascade agreement (score of ±3) as confirmation that a momentum shift has enough follow-through to be tradeable, rather than acting on Stage 1 alone.
Early Warning – Watch Stage 1 and Stage 2 for early signs of a potential shift before the full cascade confirms, useful for anticipating entries.
Conviction Reading – Use the gradient strength on Stage 3 and candles to gauge how strongly the current trend is holding versus weakening.
Combine with Structure – Pair cascade confirmations with support/resistance or market structure levels for higher-quality entries.
Customization
Adjust Momentum Length and Stage Smoothing independently to tune responsiveness vs. lag.
Toggle signal labels and candle coloring on/off.
Pick a preset palette or define fully custom bullish/bearish colors.
⚠️Disclaimer
This indicator is a tool for technical analysis and does not provide guaranteed results. It should be used in conjunction with other analysis methods and proper risk management practices. The creators of this indicator are not responsible for any financial decisions made based on its signals. Indikator

Indikator

RSI Multi Levels Pro (JPT)🔹 OVERVIEW
RSI Multi Levels Pro (JPT) is an enhanced Relative Strength Index (RSI) indicator that expands the traditional 70/30 approach by introducing multiple configurable RSI levels to help traders observe momentum shifts and potential reversal areas.
Instead of relying on a single overbought or oversold threshold, the indicator displays several RSI zones, allowing users to monitor how momentum develops as price moves through different strength levels.
The indicator also highlights potential exhaustion areas using optional visual markers when RSI reaches user-defined extreme level
🔹 HOW IT WORKS
The indicator calculates the standard RSI using a configurable period and plots it against multiple horizontal reference levels.
As RSI moves through these levels, traders can observe changes in market momentum and identify areas where price may begin slowing, reversing, or continuing its current move.
Optional markers are displayed when RSI reaches predefined upper or lower threshold values, helping users quickly identify extreme momentum conditions.
🔹 MULTI-LEVEL RSI STRUCTURE
Unlike a traditional RSI with only two reference levels, RSI ML Pro provides multiple zones including:
// RSI Levels
lvl90 = input.int(90, "Level 90")
lvl80 = input.int(80, "Level 80")
lvl70 = input.int(70, "Level 70")
lvl60 = input.int(60, "Level 60")
lvl50 = input.int(50, "Level 50")
lvl40 = input.int(40, "Level 40")
lvl30 = input.int(30, "Level 30")
lvl20 = input.int(20, "Level 20")
lvl10 = input.int(10, "Level 10")
These levels can help distinguish between moderate momentum and more extreme market conditions.
🔹 VISUAL FEATURES
• Standard RSI Line
• Configurable Multi-Level Reference Lines
• Upper Momentum Markers
• Lower Momentum Markers
• Customizable Colors
• Adjustable RSI Length
• Clean and Lightweight Display
• Compatible with Dark and Light Chart Themes
🔹 INDICATOR INPUTS
The indicator includes several customization options:
RSI Length
Adjust the RSI calculation period.
Reference Levels
Configure upper and lower RSI levels to match your trading style.
Signal Markers
Enable or disable momentum markers.
Colors
Customize the appearance of the RSI line, levels, and markers.
🔹 HOW TO USE
A common workflow is:
Observe the overall RSI trend.
Monitor how RSI reacts around the configured reference levels.
Watch for momentum markers when RSI reaches extreme values.
Combine RSI observations with your own price action or market structure analysis before making trading decisions.
🔹 SUITABLE MARKETS
RSI ML Pro can be used on:
• Forex
• Cryptocurrency
• Stocks
• Indices
• Commodities
• Gold
The indicator is designed to work across multiple timeframes depending on the user's trading approach.
🔹 COMBINING WITH OTHER TOOLS
Many traders choose to combine RSI ML Pro with other forms of technical analysis such as:
• Trend Analysis
• Support and Resistance
• Moving Averages
• Market Structure
• Volume Analysis
• Supply and Demand Zones
Using multiple forms of analysis may provide additional market context.
🔹 NOTES
RSI measures momentum and should not be interpreted as a standalone buy or sell signal. Strong trends can remain in higher or lower RSI regions for extended periods.
This indicator is intended as a technical analysis tool and should be used alongside appropriate risk management and independent market analysis. Indikator

Enhanced RSIWhy this Enhanced RSI is better than the classic RSI
The classic RSI is a powerful momentum oscillator, but it has some limitations in real trading. This Enhanced RSI improves on the standard version by adding several useful visual and analytical features.
1. Momentum Fill (The Biggest Improvement)
The classic RSI only shows one line, so you have to mentally compare its slope and position. This Enhanced RSI plots both the RSI and its moving average (SMA or EMA), then fills the space between them with color. Green fill means the RSI is above its MA (bullish momentum is strong), while red fill means the RSI is below its MA (bearish momentum is strong). This gives you an instant visual read of momentum strength and direction.
2. RSI + Signal Line (Like a Mini MACD for RSI)
The moving average of the RSI acts as a signal line. Crossovers between the RSI and its MA often give cleaner and earlier signals than just waiting for the RSI to cross 50 or the classic 30/70 levels. It also helps filter out some of the noise and whipsaws that the raw RSI produces.
3. Better Overbought / Oversold Zones
The classic RSI uses thin horizontal lines at 70 and 30. This Enhanced version draws filled bands with adjustable width (default width = 10). This shows you how deeply price has moved into overbought or oversold territory, not just whether it crossed a line. It gives a better sense of exhaustion strength.
4. Much Better Visual Clarity
The Enhanced RSI offers significantly better visual clarity compared to the classic version. The colored momentum fill between the RSI and its moving average makes it very easy to instantly see whether momentum is bullish or bearish. The filled OB/OS bands are more informative than simple thin lines. Overall, the combination of the RSI line, its MA, the dynamic fill, and the visible zones allows traders to read the indicator much faster and with less effort than the standard RSI.
5. Practical Trading Advantages
Divergences are easier to spot because you have two lines instead of one. The colored fill helps you quickly see when momentum is accelerating or fading. It works well for both mean-reversion strategies (fading extremes) and trend-following (following strong momentum). Overall, it reduces noise compared to the raw RSI and provides more actionable information at a glance.
Summary – When to use which
Use the Enhanced RSI when you want faster visual interpretation of momentum, cleaner signals with fewer whipsaws, and better visualization of overbought/oversold strength. The classic RSI can still be useful if you prefer a simpler and more minimal chart. For most discretionary traders and those who like clear visual feedback, the Enhanced version is generally superior.
Bottom line
This Enhanced RSI doesn’t replace the classic RSI — it enhances it. By adding a signal line, a visual momentum fill, and better zone visualization, it allows traders to read momentum and potential reversals faster and with greater confidence. Indikator

TSI in Dynamic Zones with Divergence v2.2HOW TO READ IT
A momentum companion oscillator built around the True Strength Index (TSI), with adaptive overbought/oversold zones, automatic divergence detection, and a volatility-context dashboard. Designed to ride underneath a price-chart framework (MA stack / squeeze / trigger systems) as the momentum second opinion: the price chart tells you where, this tells you how much force is behind it. Adapted from the open-source GPL-3.0 "TSI in Dynamic Zones with Divergence" with Pine v6 fixes and display work; published under the same license.
THE 30-SECOND VERSION
Cyan line = TSI (momentum). Orange line = its signal. Cyan above orange = bulls in control; below = bears. The shaded orange band on top and aqua band on the bottom are NOT fixed levels — they're dynamic zones that adapt to the last 70 bars, so "overbought" on a quiet day sits lower than on a wild one. Momentum reaching into a zone is stretched; turning back out of one is the actionable part. Green/red labels on the oscillator are divergences: price and momentum disagreeing, which is an early-warning sign, not an entry by itself.
WHAT EACH ELEMENT MEANS
TSI + signal cross — The basic momentum read. Crosses above zero carry more weight than crosses below it for longs, and vice versa.
Dynamic zones (orange top / aqua bottom) — Percentile-based adaptive OB/OS. Entering a zone = stretched. Exiting back through it = momentum actually turning.
Divergence labels — Green (bullish): price made a lower low but TSI made a higher low — selling force is fading. Red (bearish): price higher high, TSI lower high — buying force is fading. Hidden divergences (aqua/orange, off by default) are continuation signals rather than reversal signals.
White triangles — TSI pivot highs/lows at stretched readings; minor structure inside the oscillator.
Orange / aqua cross markers (top and bottom rows) — A sequence of signal-line cross-bounces that's deteriorating (orange, possible top) or improving (aqua, possible bottom). "Maybe" signals — context, not triggers.
Column colors behind the TSI — Kumo-based implied volatility heat: white/silver/aqua = quiet, yellow/orange = elevated, red/dark red = extreme. Divergences and zone touches mean more when volatility is waking up.
DASHBOARD
TSI — Current value and regime (BULL/BEAR, above/below zero).
Zones — Today's adaptive buy/sell thresholds, so you know what counts as stretched right now.
BB % — Where price sits inside its Bollinger Bands (0 = lower band, 1 = upper).
BBW % — Bollinger Band Width percentile. Under 7 = SQUEEZE (compression — pair this with your price chart's squeeze state). Over 70 = EXPANDED.
MFI — Money Flow Index: volume-weighted momentum, OB above 80 / OS below 20.
Kumo IV — The volatility regime in words, MINIMAL through EXTREME.
SMALL SCREENS — TINY AND COMPACT MODES
Settings → Inputs → Dashboard:
• Dashboard text size — Tiny / Small / Normal. Tiny roughly halves the footprint; recommended on phones and small laptops.
• Dashboard mode — Full shows all 6 rows. Compact merges everything into 3 short rows: TSI value + regime, the two zone thresholds, and a one-line volatility readout (BBWP · IV · MFI). Phone recipe: Compact + Tiny + a corner position.
• Dashboard position — six anchor choices to keep it out of the oscillator's way.
KEY SETTINGS
TSI lengths (5/12/10) — Faster than the textbook 25/13 on purpose; built for intraday timeframes.
Cross signal threshold (±) — Gates the orange/aqua cross-bounce markers to crosses beyond ± this value. Default 0 (any cross past zero); raise toward 30 to only flag crosses at stretched readings.
Divergence pivot lookbacks — Lower left-lookback = more signals, more noise. 5 is aggressive; 8–10 is conservative.
Filter crossovers by BBWP — On by default: zero-line crossover alerts are suppressed during squeezes, when chop makes them unreliable.
Hidden divergences — Off by default; turn on if you trade continuation setups.
HONEST LIMITATIONS
Divergence labels confirm one bar after the pivot — the label appears with a delay by design, and acting on an unconfirmed wiggle is how divergence trading goes wrong. Divergences fail routinely in strong trends; momentum can stay "wrong" far longer than a position can. The dynamic zones need their full lookback (70 bars) of history to mean anything — ignore them in the first bars of a newly listed symbol or a fresh session on low-history tickers. This oscillator describes momentum; it knows nothing about structure, levels, or news. Read it alongside a price framework, not instead of one.
This is a study tool, not trade advice, and not an executor. Nothing here is a recommendation to buy or sell anything. Test it, judge the signals against what actually happened, and size your own risk. Indikator

SMI + Bollinger Bands## SMI + Bollinger Bands
SMI + Bollinger Bands is an overlay indicator that projects the Stochastic Momentum Index directly into the price space defined by Bollinger Bands.
Traditional SMI indicators are displayed in a separate oscillator pane. This script instead transforms the SMI value into a price-relative flow line, allowing momentum, volatility, and price structure to be viewed together on the main chart.
### Core concept
The indicator calculates two related systems:
1. A standard Bollinger Band structure based on a configurable moving average and standard deviation.
2. A double-smoothed Stochastic Momentum Index calculated from the relationship between the closing price and its recent high-low range.
The SMI is then normalized using the selected SMI Threshold and projected around the Bollinger basis:
* An SMI value equal to the positive threshold aligns with the primary upper Bollinger Band.
* An SMI value equal to the negative threshold aligns with the primary lower Bollinger Band.
* Values between the thresholds appear inside the primary Bollinger range.
* Momentum exceeding the threshold can extend beyond the primary bands and into the optional extended-band zones.
This projection makes it possible to compare momentum behavior directly with current price and volatility rather than interpreting an oscillator in a separate pane.
### Plotted elements
**Bollinger basis**
The center line of the Bollinger structure. The moving-average type can be selected from SMA, EMA, SMMA/RMA, WMA, or VWMA.
**Primary Bollinger Bands**
The upper and lower volatility boundaries calculated from the selected standard-deviation multiplier.
**Extended Bollinger Bands**
Optional outer volatility zones using a separately configurable standard-deviation multiplier. These areas can help visualize unusually extended price or momentum conditions.
**SMI Flow**
The yellow line represents the projected Stochastic Momentum Index. Its position shows where momentum currently sits relative to the Bollinger structure.
**SMI Flow-Base**
The white line is an EMA-smoothed version of the projected SMI Flow. It provides a slower reference line that can be used to observe momentum direction, compression, expansion, and crossings.
### Inputs
**Bollinger Band settings**
* Length: Lookback period used for the Bollinger basis and standard deviation.
* Basis MA Type: Moving-average calculation used for the basis.
* Source: Price source used for the Bollinger calculations.
* StdDev: Multiplier used for the primary Bollinger Bands.
* Extended StdDev: Multiplier used for the optional outer bands.
* Use Extended Bands: Enables or disables the extended volatility zones.
**SMI settings**
* %K Length: Lookback period used to determine the recent high-low momentum range.
* %D Length: Double-EMA smoothing applied during the SMI calculation.
* EMA Length: Smoothing applied to the projected SMI Flow-Base line.
* SMI Threshold: Defines which positive and negative SMI values align with the primary upper and lower Bollinger Bands.
### General interpretation
The indicator is intended as a visual analysis framework rather than a standalone entry system.
Traders may use it to study:
* Momentum changes relative to volatility.
* SMI Flow and Flow-Base crossings.
* Momentum expansion beyond the primary bands.
* Momentum rejection from extended zones.
* Divergence between price movement and projected momentum.
* Compression around the Bollinger basis.
* Confluence with trend, structure, volume, support, resistance, or other analysis.
A movement outside a band does not automatically indicate a reversal. Strong trends can remain extended, and crossings can occur repeatedly during sideways or volatile conditions. Market context and risk management remain necessary.
### Calculation behavior
This script does not use future data, lookahead calculations, or higher-timeframe requests. Values on the active candle may continue changing as the candle’s high, low, and close update. Historical values are finalized after their respective candles close.
### Disclaimer
This indicator is provided for research, education, and chart analysis. It does not provide guaranteed trade signals, financial advice, or predictions of future market performance. Users are responsible for independently evaluating all trading decisions and managing their own risk.
Indikator

Research-Based RSI Threshold ConfigurationResearch-Based RSI Threshold Configuration is an empirical RSI decision-support indicator based on the findings of research by Hatem Mabrouk, Federico Trigos, and Francisco Valderrey.
The underlying study systematically evaluated nine RSI threshold configurations across nine major cryptocurrencies and the S&P 500 using weekly RSI(14) data. The findings challenge the conventional assumption that the standard 30/70 configuration is universally optimal and identify asset-specific dominant threshold configurations based on win rate, geometric weekly return, and average holding period.
This indicator operationalizes those empirical findings directly within TradingView. For assets included in the study, it automatically displays the research-based RSI threshold configuration identified by the empirical analysis.
The indicator provides three display modes:
• Research-Based: Displays the empirically identified threshold configuration for the selected asset.
• Conventional 30/70: Displays the traditional RSI 30/70 configuration.
• Compare Both: Displays the research-based and conventional configurations simultaneously for direct comparison.
The indicator uses weekly RSI(14) regardless of the chart timeframe and provides visual entry and exit zones, threshold-entry markers, alerts, and an information dashboard.
Assets currently supported by the empirical research: BTC, ETH, ADA, AVAX, BNB, DOGE, SOL, TRX, XRP, and the S&P 500.
This indicator is intended for research, educational, and decision-support purposes. Historical empirical performance does not guarantee future results, and the indicator does not constitute financial or investment advice. Indikator

MRB Cycle Oscillator Alpha**Overview**
The "MRB Cycle Oscillator Alpha" is a highly advanced, multi-dimensional momentum and trend-analysis tool. It is not just another MACD; it upgrades traditional momentum concepts by combining Triple Exponential Smoothing (TES), mathematically derived momentum "Cycle Candles," RSI-confluent Bollinger Bands, and an ADX/DMI-driven background. This provides traders with a unified dashboard for trend direction, momentum strength, and mean-reversion zones without cluttering the main chart.
**What makes it original? (Core Concepts)**
This script brings originality to the Community Scripts by fusing several independent mathematical concepts into a single cohesive oscillator:
1. **TES-MACD (Triple Exponential Smoothing):** Instead of standard EMAs, this indicator calculates the MACD utilizing a custom Triple Exponential Smoothing (TES) algorithm. This significantly reduces market noise and lag compared to a traditional MACD.
2. **Momentum Cycle Candles:** Instead of displaying a raw oscillator line, the script extracts the open, high, low, and close values directly from the TES-MACD's historical delta. It then applies a custom smoothing algorithm to generate "Cycle Candles." This unique transformation visualizes momentum shifts and trend persistence much more clearly than a standard line or histogram.
3. **RSI-Dynamic Bollinger Bands:** Bollinger Bands are applied directly to the oscillator (users can choose to base it on the MACD Line EMA or the Signal Line TES). Furthermore, the outer bands dynamically change color based on the traditional chart's RSI values (e.g., turning green when RSI is overbought, red when oversold). This provides a dual-confirmation for extreme conditions.
4. **ADX/DMI Background Matrix:** The indicator calculates ADX and ±DI in the background. If the ADX crosses a user-defined threshold, the chart background changes color based on the dominant DI (green for uptrends, red for downtrends). This acts as a macro-trend filter.
**How to use it**
* **Trend Confirmation:** Use the background color (driven by ADX/DMI) to filter your trades. Only look for long setups when the background is green, and short setups when red.
* **Momentum Shifts:** Watch the color and body of the Cycle Candles in the oscillator pane. A transition from red to green indicates a shift to bullish momentum.
* **Overextended Zones (Mean Reversion):** When the Cycle Candles pierce the outer Bollinger Bands, AND the bands themselves change color (triggered by RSI extremes), it signals a highly overextended market, warning of a potential reversal or pullback.
**Customization**
Every element is modular. Traders can disable the Cycle Candles view in favor of a standard line, toggle the Bollinger Bands, adjust the RSI thresholds for band coloring, and fine-tune the ADX/DMI periods for background filtering. Indikator

Currency Strength Meter [ForexCracked]🔵 OVERVIEW
A currency strength meter that ranks the eight major currencies against each other in real time, and then tells you the one thing you actually opened it for: which pair to trade right now.
It reads all 28 major crosses, so every currency is measured across all seven of its pairs, not just against the dollar.
🔵 WHAT MAKES THIS ONE DIFFERENT
Almost every strength meter measures each pair's percent change and averages it. That has a flaw nobody talks about: a 40 pip move in a quiet pair and a 40 pip move in a violent one are treated as the same event, when they are not remotely the same event.
This meter measures every move in ATR units instead. A currency only scores highly if it has moved far relative to how far that pair normally moves. Quiet pairs stop being drowned out by naturally volatile ones, and the ranking stops flattering whichever currency happens to be paired with the wildest counterpart that week.
🔵 WHAT IT SHOWS
• A live ranking of USD, EUR, GBP, JPY, CHF, AUD, NZD and CAD, strongest to weakest
• Each currency's strength in ATR units, so the numbers mean something rather than being an index
• Whether each currency is strengthening or weakening against its own recent reading, not just where it sits
• The Best Pair line: long the strongest currency, short the weakest
• The Spread: the distance between strongest and weakest
🔵 THE SPREAD (read this one first)
The spread is the gap between the strongest and the weakest currency. It answers a question most traders skip: is anything actually happening?
A wide spread means currencies are genuinely diverging and a strength-based trade has something to work with. A narrow spread means everything is drifting together, the ranking is mostly noise, and the best trade is usually no trade. Check the spread before you trust the ranking.
🔵 HOW TO USE
• Read the spread. If it is small, the ranking is not telling you much, so wait.
• Take the Best Pair as a starting point, not an entry. It tells you where the divergence is, not when to get in.
• Prefer a currency that is both highly ranked and still strengthening over one that is highly ranked and already fading, since the second one has usually made its move.
• Confirm the pair on the chart with your own entry method. A strength meter frames the trade. It does not time it.
• Lengthen the Lookback for swing trading and shorten it for intraday.
🔵 SETTINGS
• Strength Lookback: how many bars back the move is measured over (default 24)
• ATR Length: the volatility yardstick every move is divided by (default 14)
• Symbol Prefix: leave blank on most charts. If the pairs do not load, set it to your data provider, for example OANDA: or FX:
• Show Ranking Table: toggles the strongest-to-weakest table in the top right (default on)
• Plot Strength Lines: toggles the eight strength curves in the pane (default on)
⚠️ DISCLAIMER
Relative strength tells you which currencies are moving and which are not. It does not tell you when to enter, and strong currencies reverse. Results depend on market conditions, settings, and your own execution and risk management. Shared for educational and research purposes. Not financial advice. Indikator

EGADE Research-Based RSI Threshold ConfigurationEGADE Research-Based RSI Threshold Configuration is an empirical RSI decision-support indicator based on the findings of research by Hatem Mabrouk , Federico Trigos , and Francisco Valderrey , Tecnologico de Monterrey, EGADE Business School, Mexico
The underlying study systematically evaluated nine RSI threshold configurations across nine major cryptocurrencies and the S&P 500 using weekly RSI(14) data. The findings challenge the conventional assumption that the standard 30/70 configuration is universally optimal and identify asset-specific dominant threshold configurations based on win rate, geometric weekly return, and average holding period.
This indicator operationalizes those empirical findings directly within TradingView. For assets included in the study, it automatically displays the research-based RSI threshold configuration identified by the empirical analysis.
The indicator provides three display modes:
• Research-Based: Displays the empirically identified threshold configuration for the selected asset.
• Conventional 30/70: Displays the traditional RSI 30/70 configuration.
• Compare Both: Displays the research-based and conventional configurations simultaneously for direct comparison.
The indicator uses weekly RSI(14) regardless of the chart timeframe and provides visual entry and exit zones, threshold-entry markers, alerts, and an information dashboard.
Assets currently supported by the empirical research: BTC, ETH, ADA, AVAX, BNB, DOGE, SOL, TRX, XRP, and the S&P 500.
Disclaimer: The findings and information presented through this indicator are intended exclusively for academic, research, educational, and decision-support purposes. Nothing contained in the underlying study or this indicator constitutes financial or investment advice, an investment recommendation, or a solicitation to buy or sell any financial instrument. Historical empirical performance does not guarantee future results. Users should conduct their own analysis and exercise independent judgment when making financial or investment decisions. Indikator

BTC DCA Strategy [3Commas & QuantPilot]BTC Smart DCA Strategy
🔷 What it does:
This is a long-only DCA (Dollar-Cost Averaging) strategy for BTC / USDT that opens a position only in oversold conditions and then averages down on a fixed safety-order ladder. A base order fires when 4h RSI(14) drops below the entry threshold; if price keeps falling, five averaging orders add to the position at fixed deviations from the base entry, each larger than the last. The full position is closed at a fixed take-profit above the blended average entry. There is no trailing exit and no stop loss — the position is structurally bounded by the five-order ladder.
- Single entry filter: 4h RSI(14) below 38 (oversold).
- Five averaging orders at fixed deviations (−2%, −5%, −9.5%, −16%, −25%) with 1.8× size scaling per rung.
- Fixed take-profit (5.5%) on the blended average entry; no trailing, no stop loss.
- Every fill and close emits a webhook-ready JSON alert payload for a DCA Bot.
🔷 What changed — two parameters, tuned with QuantPilot:
This strategy started from a baseline configuration (RSI entry below 28, 3% take-profit). Running the same script, on the same market, over the same period through the QuantPilot Pine Script optimizer, two parameters were swept and re-selected: the RSI entry threshold moved from 28 to 38, and the take-profit moved from 3% to 5.5%. Everything else was left untouched — same five-order ladder, same deviations, same 1.8× sizing, same fees.
- Baseline (RSI < 28, TP 3%): Net +3,078.29 USDT (+3.08%), Max Drawdown 3.79%, 62 closed trades, 70.97% profitable, Profit Factor 4.028.
- Optimized (RSI < 38, TP 5.5%): Net +9,250.25 USDT (+9.25%), Max Drawdown 3.67%, 93 closed trades, 76.34% profitable, Profit Factor 10.454.
The result: net profit roughly 3× higher (+3.08% → +9.25%), profit factor up from 4.0 to 10.5, win rate up from 71% to 76% — all while maximum drawdown stayed essentially flat (3.79% → 3.67%). The looser RSI entry (38) lets the strategy engage the dip earlier and more often, while the wider 5.5% target lets each recovery run further before the position is banked. The published defaults use the optimized values; the baseline metrics are shown here purely so the effect of the two parameter changes is transparent.
🔷 Who is it for:
- Swing traders accumulating BTC on RSI pullbacks rather than chasing momentum.
- Bot operators who want a chart-driven signal source with base / safety-order / close webhook JSON ready to drive a DCA Bot.
- Traders comfortable with martingale-style averaging who size their capital to the worst-case ladder fill.
- Range / mean-reversion traders who prefer mechanical oversold entries over discretionary timing.
🔷 How does it work:
Entry (Base Order): On each closed 4h bar the strategy reads RSI(14). When RSI falls below 38 and there is no open position, it opens the base order at market (or limit, optionally) and dispatches the entry webhook.
Averaging Orders: Once in a position, the strategy watches price relative to the original base entry. The five safety orders are armed at fixed deviations from that base entry — not cumulatively — at −2%, −5%, −9.5%, −16%, and −25%. As each threshold is crossed on bar close, the corresponding averaging order fires. Order sizes scale 1.8× per rung ($900 → $1,620 → $2,916 → $5,249 → $9,448 from a $500 base), pulling the blended average entry down toward the latest fill.
Exit (Take Profit): While in a position, the strategy computes a take-profit price 5.5% above the current average entry. When price closes at or above that level, the entire position is closed at market and the close webhook fires. There is no trailing and no stop loss.
Capital Bounds: Total deployed capital cannot exceed the base order plus the five safety orders. Once all five averaging orders are filled, no further adds occur — the position simply waits for the take-profit. This ladder cap is the strategy's primary risk control.
🔷 Why it's unique:
- Optimizer-Tuned Parameters: The RSI threshold (38) and take-profit (5.5%) are not arbitrary — they are the values the QuantPilot Pine Script optimizer selected as best-performing on the historical sample, with every other parameter held constant.
- Fixed-Deviation Martingale Ladder: Safety orders are placed at fixed percentages from the base entry with deliberate 1.8× size scaling, so each rung has progressively more influence on the average — a transparent, fully-specified averaging schedule rather than an opaque adaptive grid.
- Full Webhook Chain: Base order, each safety order, and the close all emit dedicated JSON payloads, driving a DCA Bot end-to-end with no glue layer.
- On-Chart Transparency: The AO ladder, average entry, and take-profit target are plotted live, and the status table reports RSI, AOs filled, base/average entry, TP target, and max deployable capital.
🔷 Considerations Before Using the Strategy:
Optimization / Overfitting Risk: The RSI threshold and take-profit were selected by sweeping those parameters over the same historical window shown in the results. Values that were best in-sample are not guaranteed to be best out-of-sample — this is the standard caveat for any optimized parameter. Treat the optimized metrics as the ceiling of what this configuration achieved historically, not as a forward expectation, and re-validate on fresh data before committing capital.
Trade Volume — Near the Statistical Floor: The optimized configuration produced 93 closed trades over ~30 months (62 on the baseline). This is approaching but still below the ~100-trade threshold often used as a floor for statistical relevance, so treat the win rate and the high profit factor as indicative rather than conclusive.
Martingale Tail Risk: Order sizes scale 1.8× per rung, so the deepest fills are by far the largest. If BTC trends hard below the −25% AO5 level without recovering to take-profit, the position sits fully loaded with no further adds and no stop — unrealized loss can grow until price reverts.
No Stop Loss Justification: There is no exit on adverse moves. Per-order risk is bounded by the fixed ladder allocation; aggregate exposure is capped at base + five AOs (≈ $20,633 on the default $100k account, ~20.6% of equity). Size the base/AO inputs down to match the worst-case exposure you are willing to hold.
Fees: The default commission (0.06% per trade) should be matched to your exchange's actual taker fees.
Demo Testing: Always demo-test before going live. Past results do not guarantee future performance, particularly for martingale-style averaging strategies whose risk profile is dominated by rare deep drawdowns.
🔷 STRATEGY PROPERTIES
Symbol: BYBIT:BTCUSDT.P (Perpetual) — strategy is portable to any BTC / USDT pair.
Timeframe: 4H (RSI sampled on 4h).
Test Period: January 1, 2024 — July 17, 2026 (~30 months).
Initial Capital: 100,000 USDT.
Base Order Size: 500 USDT.
Averaging Orders: 5, at −2% / −5% / −9.5% / −16% / −25% from base entry.
AO Sizing: 1.8× per rung — 900 / 1,620 / 2,916 / 5,249 / 9,448 USDT.
Max Deployed Capital: ≈ 20,633 USDT (~20.6% of equity, all AOs filled).
Commission: 0.06% per trade.
Slippage: 3 ticks.
Entry Filter: 4h RSI(14) below 38 (optimizer-tuned from 28).
Take Profit: 5.5% above average entry (optimizer-tuned from 3%).
Stop Loss: None — ladder allocation is the structural risk cap.
Trailing: None.
Strategy: Long Only.
🔷 STRATEGY RESULTS (Optimized — RSI < 38, TP 5.5%)
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +9,250.25 USDT (+9.25%)
Max Equity Drawdown: 3,980.36 USDT (3.67%)
Total Closed Trades: 93
Percent Profitable: 76.34% (71 / 93)
Profit Factor: 10.454
🔷 STRATEGY RESULTS (Baseline — RSI < 28, TP 3%, for comparison)
Net Profit: +3,078.29 USDT (+3.08%)
Max Equity Drawdown: 3,852.12 USDT (3.79%)
Total Closed Trades: 62
Percent Profitable: 70.97% (44 / 62)
Profit Factor: 4.028
🔷 How to Use It:
🔸 Adjust Settings: Open the strategy inputs and confirm the RSI level (default 38), the five AO deviations and sizes, and the Take Profit (default 6%) match your risk profile. Scale the base/AO sizes down for lower exposure.
🔸 Results Review: Run a full-period backtest and confirm Max Drawdown stays within your personal risk band — note the optimized configuration reached 3.67%. Keep in mind the 93-trade sample is just below the ~100-trade floor for statistical confidence, and the high profit factor reflects that small, optimized sample.
🔸 Create alerts to trigger the DCA Bot: Add one alert on the strategy using "Any alert() function call". Paste your DCA Bot's webhook URL into the alert's Webhook field, and fill the Bot ID, Email Token, and Pair inputs on the script. The base order, each safety order, and the close will each emit a dedicated JSON payload.
🔷 INDICATOR SETTINGS
Base Order Size: Capital committed on the first (base) entry.
AO Deviations: Fixed percentage distances from the base entry where each safety order fires.
AO Sizes: Capital per safety order (1.8× scaling by default).
RSI Timeframe / Length / Level: Oversold filter for the base entry (default 4h, 14, below 38 — optimizer-tuned).
Take Profit (%): Distance above average entry where the full position closes (default 5.5%, optimizer-tuned).
Bot ID / Email Token / Pair: Webhook fields injected into every alert payload.
Visualization: Toggle the AO ladder, fill labels, avg/TP lines, and status table.
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Strategie

Indikator

Indikator

Adaptive Confluence Oscillator [ForexCracked]🔵 OVERVIEW
The Adaptive Confluence Oscillator scores four independent read-outs of the market on a continuous scale, weights them according to the current market regime, and plots the result as a single 0 to 100 line. Instead of asking "do my indicators agree, yes or no," it asks "how strongly does each one agree, and which of them should I be listening to right now."
It has no fixed overbought or oversold levels. The bands are calculated from the oscillator's own recent behaviour, so they widen when the market gets volatile and tighten when it goes quiet.
Signals confirm on candle close and do not repaint.
🔵 WHY THIS IS BUILT THE WAY IT IS
Most multi-indicator tools take a vote. RSI is oversold or it is not. That throws away most of the information: an RSI of 29 and an RSI of 12 are not the same signal, but a vote counts them identically. It also treats every indicator as equally relevant at all times, which is plainly false. Stochastic exhaustion means one thing in a strong trend and the opposite thing in a range.
This oscillator fixes both problems. Every component returns a continuous score, and the market regime decides how much each score is worth.
🔵 THE FOUR COMPONENTS (each scored from -1 to +1)
• Trend: how far price sits from its baseline EMA, measured in ATR units rather than in price. Distance matters, not just which side of the line you are on. Because it is measured in ATR, it reads the same on gold as it does on EURUSD.
• Momentum: RSI recentred around 50, so it contributes proportionally instead of flipping at a threshold.
• Impulse: the MACD histogram converted to a z-score against its own rolling deviation. This makes MACD comparable across symbols and timeframes without ever re-tuning it, which raw MACD values are not.
• Stretch: the Stochastic, recentred. This is the component that changes behaviour with regime (see below).
🔵 THE REGIME SWITCH (the part that makes it adaptive)
ADX decides whether the market is trending or ranging, and that changes two things.
First, the weights re-balance:
• Trending: Trend 0.35, Momentum 0.25, Impulse 0.30, Stretch 0.10
• Ranging: Trend 0.15, Momentum 0.25, Impulse 0.20, Stretch 0.40
Second, and more importantly, the Stretch component flips sign. In a trend, a stretched Stochastic confirms the move and pushes the score further in that direction. In a range, the same reading argues for a fade and pushes the score the other way. This is the behaviour a discretionary trader applies without thinking about it, and it is what a fixed vote cannot express.
🔵 ADAPTIVE BANDS
There are no 70/30 lines here. The upper and lower bands are the rolling mean of the oscillator plus and minus a multiple of its own standard deviation. A reading of 68 can be an extreme in a quiet market and completely unremarkable in a volatile one, and the bands reflect that.
• BUY: the score crosses above the upper adaptive band
• SELL: the score crosses below the lower adaptive band
🔵 DIVERGENCE
The script finds pivots on the score itself and compares them against price at those same bars. When price makes a higher high but the score makes a lower high, that is marked as a bearish divergence, and the mirror case as bullish. Divergences are labelled and have their own alerts. Because a divergence is anchored to a confirmed pivot, it prints a few bars after that pivot forms and never moves once printed.
🔵 THE DASHBOARD
The panel shows each component's live score, its current weight, the detected regime with the ADX value, and the oscillator against its adaptive bands. You can see exactly which component is driving the reading and why, rather than trusting a black box.
🔵 SETTINGS
• Baseline EMA 34, ATR 14, Trend Span 2.0 x ATR
• RSI 14, MACD 12/26/9, Stochastic 14
• ADX 14, trending above 22
• Band lookback 100, band width 1.0 x standard deviation
🔵 HOW TO USE
• Take signals where the dashboard regime agrees with the direction. A BUY in a trending regime is a continuation. A BUY in a ranging regime is a fade off the bottom of the range.
• Treat a divergence as a warning to tighten or take partials, not as a standalone entry.
• Raise the band width above 1.0 for fewer and stronger signals, lower it for more.
• Widen Trend Span on noisy symbols so ordinary volatility does not read as trend.
⚠️ DISCLAIMER
This is an analysis tool, not a prediction. A confluence score is a measure of agreement, and indicators can agree and still be wrong. Results depend on market conditions, settings, and your own execution and risk management. Shared for educational and research purposes. Not financial advice. Indikator

Indikator

TDI 3.0 by VZSFX🇭🇺 TDI 3.0 by VZSFX - Fejlett Traders Dynamic Index
🌟 Főbb funkciók és Újdonságok:
Beépített Beállítás Profilok: Nincs többé hosszas állítgatás! Egyetlen kattintással válthatsz a speciális LIT (50-50-7-2) profil, a hagyományos TDI alap (14-34-7-2), vagy a teljesen Egyedi beállításaid között.
Dinamikus Színlogika: * A Slow vonal (Szimulált árfolyam) dinamikusan változtatja a színét annak függvényében, hogy hol tartózkodik (pl. LET körüli piros, SLET körüli sárga, BB-n kívüli extrém kék).
A Mid vonal (Liquid Equilibrium) szintén a trend lendületének megfelelően váltja a színét (emelkedő, csökkenő vagy oldalazó/flat).
Okos Zónák: Profilhoz kötött, dinamikus felső (piros) és alsó (zöld) zónák, melyek kiterjedése és középvonala szabadon paraméterezhető (pl. 57-43 ±3).
Beépített Divergencia Kereső: Az indikátor automatikusan megtalálja és a charton vonalakkal/alakzatokkal jelöli a hagyományos (Regular) és rejtett (Hidden) Bullish és Bearish divergenciákat az árfolyam és az oszcillátor (Slow MA) között.
LET & SLET Logika: Beépített feltételrendszer és vizuális visszajelzés a Liquid Equilibrium Touch (LET) és a Statikus LET (50-es szint) azonosítására.
Letisztult Felület (UI): A TradingView megszokott "Style" (Stílus) füle teljesen le lett tiltva a letisztultság érdekében. Minden színt, opacitást, vonalvastagságot és ki/bekapcsoló gombot kényelmesen, egy helyen találsz a Bemenetek (Inputs) fülön!
Alert-ek (Riasztások): Beépített riasztási feltételek az extrém kilépésekre, LET/SLET jelzésekre és az összes divergenciára.
🇬🇧 TDI 3.0 by VZSFX - Advanced Traders Dynamic Index
🌟 Key Features & Innovations:
Built-in Settings Profiles: No more tedious manual adjustments! Switch instantly between the specialized LIT (50-50-7-2) profile, the classic Base TDI (14-34-7-2), or your own fully Custom (Manual) setup with a single click.
Dynamic Color Logic: * The Slow Line (Simulated Price) dynamically changes color based on its position (e.g., Red when near the Mid line/LET, Yellow near the 50 level/SLET, Blue when extreme/outside BB).
The Mid Line (Liquid Equilibrium) also changes color depending on the trend momentum (rising, falling, or flat).
Smart Zones: Profile-linked dynamic Top (Red) and Bottom (Green) zones with adjustable centers and widths (e.g., 57-43 ±3).
Built-in Divergence Scanner: The indicator automatically detects and plots Regular and Hidden Bullish and Bearish divergences between the price and the oscillator (Slow MA).
LET & SLET Logic: Built-in conditions and visual feedback for identifying Liquid Equilibrium Touch (LET) and Static LET (50-level) conditions.
Clean User Interface (UI): The standard TradingView "Style" tab has been completely disabled for a cleaner look. You can find all toggles, colors, opacity levels, and line widths neatly organized in the Inputs tab!
Custom Alerts: Pre-built alert conditions for Extreme zone breakouts, LET/SLET signals, and all divergence types. Indikator

Indikator

Indikator

Indikator

ATK/DEF KDJ Rewind ContextRewind KDJ Context is a visual KDJ analysis indicator designed to provide a clearer understanding of momentum structure through the relationship between the K, D, and J lines.
Traditional KDJ analysis often focuses on fixed overbough and oversol levels. This indicator expands the interpretation by analyzing the interaction between KDJ components, including line arrangement, directional changes, momentum development, and structural transitions.
The script transforms KDJ movement into different context states, helping users observe how momentum conditions develop, slow down, weaken, and recover over time.
Instead of treating K, D, and J as isolated values, Rewind KDJ Context focuses on the relationship between the three components and presents their current condition through a structured visual approach.
KDJ Context Framework
▶️ Momentum Push
Identifies conditions where K, D, and J show coordinated upward momentum development.
This context represents a phase where KDJ structure is aligned with increasing momentum activity and stronger directional movement.
⏸️ Momentum Pause
Highlights situations where momentum remains active but begins to slow or entr a temporary balance condition.
This state focuses on changes in momentum speed and the relationship between K, D, and J during a slowing phase.
⏪ Reversal Context
Highlights changes in KDJ structure where J-line movement and the relationship between K and D indicate a possible transition in short-term momentum conditions.
This context focuses on structural changes rather than predicting future pric direction.
⬇️ Weakness Context
Displays conditions where KDJ structure shows reduced momentum strength and weaker directional movement.
This state helps visualize when previous momentum conditions begin losing strength.
🔄 Recovery Context
Highlights situations where KDJ structure begins improving after a weaker phase.
This context observes changes in J-line behavior and KDJ alignment during potential momentum recovery conditions.
⚪ Neutral Context
Represents situations where K, D, and J do not form a strong directional structure and momentum remains relatively balanced.
Main Features
• Customizable KDJ calculation parameters
• Dynamic K, D, and J value visualization
• KDJ line relationship and structure analysis
• Momentum context classification
• Historical context table display
• Recent bar comparison
• Visual markers for important KDJ transitions
• KDJ arrangement monitoring
• Adjustable display range and historical reference position
How It Works
Rewind KDJ Context uses the traditional KDJ calculation method based on RSV, followed by smoothing calculations for the K and D lines.
The J line is derived from the relationship between K and D:
• K line represents the smoothed RSV movement
• D line represents the smoothed K line movement
• J line represents an extended momentum relationship between K and D
The indicator evaluates several aspects of KDJ behavior, including:
• Relative position between K, D, and J
• Directional movement of each component
• Changes in momentum expansion and contraction
• KDJ structural transitions
• Recent historical context
These calculations are organized into visual context states to make KDJ behavior easier to interpret.
Intended Use
Rewind KDJ Context is designed as a technical analysis tool for observing momentum conditions and KDJ structure.
It can be used together with price action analysis, trend evaluation, support and resistance analysis, volatility analysis, and other technical methods to build a broader market view.
The indicator is intended to provide additional context about momentum behavior rather than replace complete market analysis.
Notes
Rewind KDJ Context is based on mathemat calculations derived from historical pric data.
The displayed context states represent current and historical KDJ conditions based on the selected settings and market data available on the chart.
Different assets, timeframes, and market environments may produce different interpretations of the same indicator behavior.
Disclaimer
Rewind KDJ Context is provided for informational and technical analysis purposes only.
This indicator does not provide finacl advice, personalized recommendations, autm trading decisions, or guaranteed results.
The displayed KDJ context states, momentum conditions, and visual markers are generated from mathematical calculations and should not be interpreted as predictions of future pric movements.
Users are responsible for conducting their own analysis, making their own decisions, and applying appropriate risk management methods.
Past market behavior and technical indicator performance do not guaran future outcomes. Indikator

Indikator

INJ DCA Long Strategy [3Commas & QuantPilot]INJ DCA Long Strategy
🔷 What it does:
This is a long-only DCA (Dollar-Cost Averaging) strategy for INJ / USDT that opens a position only in deep-oversold conditions and then averages down on a fixed safety-order ladder. A base order fires when 4h RSI(14) drops below 28; if price keeps falling, five averaging orders add to the position at fixed deviations from the base entry, each larger than the last. The full position is closed at a fixed take-profit above the blended average entry. There is no trailing exit and no stop loss — the position is structurally bounded by the five-order ladder.
- Single entry filter: 4h RSI(14) below 28 (deep oversold).
- Five averaging orders at fixed deviations (−2%, −5%, −9.5%, −16%, −25%) with 1.8× size scaling per rung.
- Fixed take-profit (9%) on the blended average entry; no trailing, no stop loss.
- Every fill and close emits a webhook-ready JSON alert payload for a DCA Bot.
🔷 The one change that mattered — Take Profit tuning:
This strategy started from a baseline configuration with a 3% fixed take-profit. Running the same script, on the same market, over the same period through the QuantPilot Pine Script optimizer, the take-profit parameter was swept and the best-performing value landed at 9%. Nothing else was touched — same RSI entry, same five-order ladder, same deviations, same 1.8× sizing, same fees. Only the Take Profit input changed from 3% to 9%.
- Baseline (Take Profit 3%): Net +6,888.76 USDT (+6.89%), Max Drawdown 4.39%, 84 closed trades, 71.43% profitable, Profit Factor 4.925.
- Optimized (Take Profit 9%): Net +15,830.72 USDT (+15.83%), Max Drawdown 5.65%, 90 closed trades, 82.22% profitable, Profit Factor 17.886.
Widening the target lets each recovery run further before the position is banked, capturing the fuller mean-reversion bounce instead of exiting on the first small pop. The trade-off is a modestly higher drawdown (4.39% → 5.65%) and longer average hold time. The published defaults use the optimized 9% value; the baseline metrics are shown here purely so the effect of the single parameter change is transparent.
🔷 Who is it for:
- Swing traders accumulating INJ on deep RSI flushes rather than chasing momentum.
- Bot operators who want a chart-driven signal source with base / safety-order / close webhook JSON ready to drive a DCA Bot.
- Traders comfortable with martingale-style averaging who size their capital to the worst-case ladder fill.
- Range / mean-reversion traders who prefer mechanical oversold entries over discretionary timing.
🔷 How does it work:
Entry (Base Order): On each closed 4h bar the strategy reads RSI(14). When RSI falls below 28 and there is no open position, it opens the base order at market (or limit, optionally) and dispatches the entry webhook.
Averaging Orders: Once in a position, the strategy watches price relative to the original base entry. The five safety orders are armed at fixed deviations from that base entry — not cumulatively — at −2%, −5%, −9.5%, −16%, and −25%. As each threshold is crossed on bar close, the corresponding averaging order fires. Order sizes scale 1.8× per rung ($900 → $1,620 → $2,916 → $5,249 → $9,448 from a $500 base), pulling the blended average entry down toward the latest fill.
Exit (Take Profit): While in a position, the strategy computes a take-profit price 9% above the current average entry. When price closes at or above that level, the entire position is closed at market and the close webhook fires. There is no trailing and no stop loss.
Capital Bounds: Total deployed capital cannot exceed the base order plus the five safety orders. Once all five averaging orders are filled, no further adds occur — the position simply waits for the take-profit. This ladder cap is the strategy's primary risk control.
🔷 Why it's unique:
- Optimizer-Tuned Exit: The 9% take-profit is not an arbitrary round number — it is the value the QuantPilot Pine Script optimizer selected as best-performing on the historical sample, with every other parameter held constant.
- Deep-Oversold-Only Entries: A single, strict RSI(14) < 28 filter on 4h keeps the strategy out of the market in normal conditions and only commits capital after a meaningful flush.
- Fixed-Deviation Martingale Ladder: Safety orders are placed at fixed percentages from the base entry with deliberate 1.8× size scaling, so each rung has progressively more influence on the average — a transparent, fully-specified averaging schedule rather than an opaque adaptive grid.
- Full Webhook Chain: Base order, each safety order, and the close all emit dedicated JSON payloads, driving a DCA Bot end-to-end with no glue layer.
🔷 Considerations Before Using the Strategy:
Optimization / Overfitting Risk: The 9% take-profit was selected by sweeping the parameter over the same historical window shown in the results. A value that was best in-sample is not guaranteed to be best out-of-sample — this is the standard caveat for any optimized parameter. Treat the optimized metrics as the ceiling of what this configuration achieved historically, not as a forward expectation, and re-validate on fresh data before committing capital.
Trade Volume — Below the Statistical Floor: The optimized configuration produced 90 closed trades over ~30 months (84 on the baseline). Both are below the ~100-trade threshold often used as a floor for statistical relevance, so treat the win rate and the high profit factor as indicative rather than conclusive. The strict RSI < 28 filter is what keeps the trade count low.
Martingale Tail Risk: Order sizes scale 1.8× per rung, so the deepest fills are by far the largest. If INJ trends hard below the −25% AO5 level without recovering to take-profit, the position sits fully loaded with no further adds and no stop — unrealized loss can grow until price reverts. A wider 9% target also means positions are held longer, so the grid can sit loaded through deeper dips before the exit is reached.
No Stop Loss Justification: There is no exit on adverse moves. Per-order risk is bounded by the fixed ladder allocation; aggregate exposure is capped at base + five AOs (≈ $20,633 on the default $100k account, ~20.6% of equity). Size the base/AO inputs down to match the worst-case exposure you are willing to hold.
Fees: The default commission (0.06% per trade) should be matched to your exchange's actual taker fees.
Demo Testing: Always demo-test before going live. Past results do not guarantee future performance, particularly for martingale-style averaging strategies whose risk profile is dominated by rare deep drawdowns.
🔷 STRATEGY PROPERTIES
Symbol: BYBIT:INJUSDT.P (Perpetual) — strategy is portable to any INJ / USDT pair.
Timeframe: 4H (RSI sampled on 4h).
Test Period: January 1, 2024 — July 16, 2026 (~30 months).
Initial Capital: 100,000 USDT.
Base Order Size: 500 USDT.
Averaging Orders: 5, at −2% / −5% / −9.5% / −16% / −25% from base entry.
AO Sizing: 1.8× per rung — 900 / 1,620 / 2,916 / 5,249 / 9,448 USDT.
Max Deployed Capital: ≈ 20,633 USDT (~20.6% of equity, all AOs filled).
Commission: 0.06% per trade.
Slippage: 3 ticks.
Entry Filter: 4h RSI(14) below 28.
Take Profit: 9% above average entry (optimizer-tuned from a 3% baseline).
Stop Loss: None — ladder allocation is the structural risk cap.
Trailing: None.
Strategy: Long Only.
🔷 STRATEGY RESULTS (Optimized — Take Profit 9%)
⚠️ Remember, past results do not guarantee future performance.
Net Profit: +15,830.72 USDT (+15.83%)
Max Equity Drawdown: 6,426.47 USDT (5.65%)
Total Closed Trades: 90
Percent Profitable: 82.22% (74 / 90)
Profit Factor: 17.886
🔷 STRATEGY RESULTS (Baseline — Take Profit 3%, for comparison)
Net Profit: +6,888.76 USDT (+6.89%)
Max Equity Drawdown: 4,429.13 USDT (4.39%)
Total Closed Trades: 84
Percent Profitable: 71.43% (60 / 84)
Profit Factor: 4.925
🔷 How to Use It:
🔸 Adjust Settings: Open the strategy inputs and confirm the RSI level (28), the five AO deviations and sizes, and the Take Profit (default 9%) match your risk profile. Scale the base/AO sizes down for lower exposure.
🔸 Results Review: Run a full-period backtest and confirm Max Drawdown stays within your personal risk band — note the optimized configuration reached 5.65%. Keep in mind the 90-trade sample is below the ~100-trade floor for statistical confidence, and the high profit factor reflects that small, optimized sample.
🔸 Create alerts to trigger the DCA Bot: Add one alert on the strategy using "Any alert() function call". Paste your DCA Bot's webhook URL into the alert's Webhook field, and fill the Bot ID, Email Token, and Pair inputs on the script. The base order, each safety order, and the close will each emit a dedicated JSON payload.
🔷 INDICATOR SETTINGS
Base Order Size: Capital committed on the first (base) entry.
AO Deviations: Fixed percentage distances from the base entry where each safety order fires.
AO Sizes: Capital per safety order (1.8× scaling by default).
RSI Timeframe / Length / Level: Oversold filter for the base entry (default 4h, 14, below 28).
Take Profit (%): Distance above average entry where the full position closes (default 9%, optimizer-tuned).
Bot ID / Email Token / Pair: Webhook fields injected into every alert payload.
Visualization: Toggle the AO ladder, fill labels, avg/TP lines, and status table.
Brand Watermark: Configurable text, position, size, and transparency.
👨🏻💻💭 We hope this tool helps enhance your trading. Your feedback is invaluable, so feel free to share any suggestions for improvements or new features you'd like to see implemented.
__
The information and publications within the 3Commas TradingView account are not meant to be and do not constitute financial, investment, trading, or other types of advice or recommendations supplied or endorsed by 3Commas and any of the parties acting on behalf of 3Commas, including its employees, contractors, ambassadors, etc. Strategie
