Constance Brown RSI with Composite IndexConstance Brown RSI with Composite Index
Overview
This indicator combines Constance Brown's RSI interpretation methodology with a Composite Index and ATR Distance to VWAP measurement to provide a comprehensive trading tool. It helps identify trends, momentum shifts, overbought/oversold conditions, and potential reversal points.
Key Features
Color-coded RSI zones for immediate trend identification
Composite Index for momentum analysis and divergence detection
ATR Distance to VWAP for identifying extreme price deviations
Automatic divergence detection for early reversal warnings
Pre-configured alerts for key trading signals
How to Use This Indicator
Trend Identification
The RSI line changes color based on its position:
Blue zone (RSI > 50): Bullish trend - look for buying opportunities
Purple zone (RSI < 50): Bearish trend - look for selling opportunities
Gray zone (RSI 40-60): Neutral/transitional market - prepare for potential breakout
The 40-50 area (light blue fill) acts as support during uptrends, while the 50-60 area (light purple fill) acts as resistance during downtrends.
// From the code:
upTrendZone = rsiValue > 50 and rsiValue <= 90
downTrendZone = rsiValue < 50 and rsiValue >= 10
neutralZone = rsiValue > 40 and rsiValue < 60
rsiColor = neutralZone ? neutralRSI : upTrendZone ? upTrendRSI : downTrendRSI
Momentum Analysis
The Composite Index (fuchsia line) provides momentum confirmation:
Values above 50 indicate positive momentum
Values below 40 indicate negative momentum
Crossing above/below these thresholds signals potential momentum shifts
// From the code:
compositeIndexRaw = rsiChange / ta.stdev(rsiValue, rsiLength)
compositeIndex = ta.sma(compositeIndexRaw, compositeSmoothing)
compositeScaled = compositeIndex * 10 + 50 // Scaled to fit 0-100 range
Overbought/Oversold Detection
The ATR Distance to VWAP table in the top-right corner shows how far price has moved from VWAP in terms of ATR units:
Extreme positive values (orange/red): Potentially overbought
Extreme negative values (purple/red): Potentially oversold
Near zero (gray): Price near average value
// From the code:
priceDistance = (close - vwapValue) / ta.atr(atrPeriod)
// Color coding based on distance value
Divergence Trading
The indicator automatically detects divergences between the Composite Index and price:
Bullish divergence: Price makes lower low but Composite Index makes higher low
Bearish divergence: Price makes higher high but Composite Index makes lower high
// From the code:
divergenceBullish = ta.lowest(compositeIndex, rsiLength) > ta.lowest(close, rsiLength)
divergenceBearish = ta.highest(compositeIndex, rsiLength) < ta.highest(close, rsiLength)
Trading Strategies
Trend Following
1. Identify the trend using RSI color:
Blue = Uptrend, Purple = Downtrend
2. Wait for pullbacks to support/resistance zones:
In uptrends: Buy when RSI pulls back to 40-50 zone and bounces
In downtrends: Sell when RSI rallies to 50-60 zone and rejects
3. Confirm with Composite Index:
Uptrends: Composite Index stays above 50 or quickly returns above it
Downtrends: Composite Index stays below 50 or quickly returns below it
4. Manage risk using ATR Distance:
Take profits when ATR Distance reaches extreme values
Place stops beyond recent swing points
Reversal Trading
1. Look for divergences
Bullish: Price makes lower low but Composite Index makes higher low
Bearish: Price makes higher high but Composite Index makes lower high
2. Confirm with ATR Distance:
Extreme readings suggest potential reversals
3. Wait for RSI zone transition:
Bullish: RSI crosses above 40 (purple to neutral/blue)
Bearish: RSI crosses below 60 (blue to neutral/purple)
4. Enter after confirmation:
Use candlestick patterns for precise entry
Place stops beyond the divergence point
Four pre-configured alerts are available:
Momentum High: Composite Index above 50
Momentum Low: Composite Index below 40
Bullish Divergence: Composite Index higher low
Bearish Divergence: Composite Index lower high
Customization
Adjust these parameters to optimize for your trading style:
RSI Length: Default 14, lower for more sensitivity, higher for fewer signals
Composite Index Smoothing: Default 10, lower for quicker signals, higher for less noise
ATR Period: Default 14, affects the ATR Distance to VWAP calculation
This indicator works well across various markets and timeframes, though the default settings are optimized for daily charts. Adjust parameters for shorter or longer timeframes as needed.
Happy trading!
Pengayun
CCT Dynamic Stoch KDJCCT Dynamic Stoch KDJ
The CCT Dynamic Stoch KDJ is an advanced momentum oscillator designed to enhance trend identification, overbought/oversold (OB/OS) zone detection, and volatility analysis. By integrating Stochastic RSI with the KDJ framework, this indicator provides a precise and adaptive approach to market dynamics across multiple timeframes.
Core Methodology: Understanding the KDJ Indicator
The KDJ indicator expands upon the traditional Stochastic Oscillator by introducing the J Line, a calculated momentum component that offers enhanced responsiveness to market fluctuations. The three primary components of this indicator are:
%K Line
– Measures price momentum relative to recent highs and lows.
%D Line
– A smoothed version of %K, acting as a signal confirmation tool.
J Line
– A highly sensitive momentum extension, capable of detecting volatility spikes and early trend reversals before standard indicators react.
By incorporating the J Line, the indicator offers a more refined reading of price acceleration and deviation, making it particularly effective in high-volatility environments.
Adaptive Timeframe-Based Parameters
Unlike static oscillators, the CCT Dynamic Stoch KDJ dynamically adjusts its length parameters based on the chart’s timeframe, optimizing readings for different trading styles:
Scalping Mode (Short-term) –
Applied for timeframes up to 60 minutes, prioritizing quick momentum shifts. In those TF, the standard length is 8
Intraday Mode (Medium-term) –
Optimized for timeframes between 1 hour and 1 day, balancing responsiveness with trend confirmation. In this cases the standard length of the indicator is 14
Swing/Position Mode (Long-term) –
For daily and higher timeframes, filtering out short-term noise to focus on broader market movements. Here, the standard length is 50.
This adaptive parameterization ensures that traders receive relevant and context-specific momentum signals, whether executing short-term scalps or analyzing macro trends.
Key Features & Usability Enhancements
1) Overbought & Oversold Zones with Extreme Levels
Standard OB/OS thresholds at 80 and 20, identifying potential trend exhaustion and reversal points.
Extended extreme zones enhance detection of high probability mean-reversion opportunities in overextended markets.
2) J Line as a Volatility Detector
The J Line excels at capturing sharp price movements, making it a powerful tool for momentum acceleration analysis.
When the J Line sharply diverges from the %K and %D lines, it signals an impending trend shift or breakout.
3) Divergence Detection for Momentum Shifts
Automatic bullish and bearish divergences indicate momentum weakening or trend continuation potential, even when price action seems stable.
Hidden divergences help confirm trend strength during retracements.
4) Smart Alerts for Key Market Events
Alerts trigger when the %K Line enters Overbought/Oversold zones, providing actionable trade setups.
Crossovers between %K and %D Lines highlight potential trend reversals or continuation signals.
5) Customizable Smoothing for Precision Trading
Users can adjust %K and %D smoothing settings, fine-tuning the indicator’s sensitivity based on market conditions and individual trading preferences.
Technical Implementation
Developed in Pine Script V6, ensuring compatibility with TradingView’s standard functions and calculations.
This guarantees accuracy and reliability, with all indicator values reflecting real-time market conditions without external data dependencies.
Disclaimer
This indicator is intended for technical analysis purposes only and does not constitute financial advice. Markets are inherently unpredictable, and past performance is not indicative of future results. Traders should perform independent analysis and apply risk management strategies when utilizing this tool.
ScalpSwing Pro SetupScript Overview
This script is a multi-tool setup designed for both scalping (1m–5m) and swing trading (1H–4H–Daily). It combines the power of trend-following , momentum , and mean-reversion tools:
What’s Included in the Script
1. EMA Indicators (20, 50, 200)
- EMA 20 (blue) : Short-term trend
- EMA 50 (orange) : Medium-term trend
- EMA 200 (red) : Long-term trend
- Use:
- EMA 20 crossing above 50 → bullish trend
- EMA 20 crossing below 50 → bearish trend
- Price above 200 EMA = uptrend bias
2. VWAP (Volume Weighted Average Price)
- Shows the average price weighted by volume
- Best used in intraday (1m to 15m timeframes)
- Use:
- Price bouncing from VWAP = reversion trade
- Price far from VWAP = likely pullback incoming
3. RSI (14) + Key Levels
- Shows momentum and overbought/oversold zones
- Levels:
- 70 = Overbought (potential sell)
- 30 = Oversold (potential buy)
- 50 = Trend confirmation
- Use:
- RSI 30–50 in uptrend = dip buying zone
- RSI 70–50 in downtrend = pullback selling zone
4. MACD Crossovers
- Standard MACD with histogram & cross alerts
- Shows trend momentum shifts
- Green triangle = Bullish MACD crossover
- Red triangle = Bearish MACD crossover
- Use:
- Confirm swing trades with MACD crossover
- Combine with RSI divergence
5. Buy & Sell Signal Logic
BUY SIGNAL triggers when:
- EMA 20 crosses above EMA 50
- RSI is between 50 and 70 (momentum bullish, not overbought)
SELL SIGNAL triggers when:
- EMA 20 crosses below EMA 50
- RSI is between 30 and 50 (bearish momentum, not oversold)
These signals appear as:
- BUY : Green label below the candle
- SELL : Red label above the candle
How to Trade with It
For Scalping (1m–5m) :
- Focus on EMA crosses near VWAP
- Confirm with RSI between 50–70 (buy) or 50–30 (sell)
- Use MACD triangle as added confluence
For Swing (1H–4H–Daily) :
- Look for EMA 20–50 cross + price above EMA 200
- Confirm trend with MACD and RSI
- Trade breakout or pullback depending on structure
3CRGANG - Histogram (Basic)This indicator provides traders with a unified view of momentum by combining multiple classic oscillators into a single histogram. By aggregating momentum signals into one visual output, it simplifies trend analysis, helping traders identify momentum shifts without managing multiple indicators separately.
What It Does
The 3CRGANG - Histogram (Basic) calculates a momentum-based histogram using a user-selected oscillator (e.g., RSI, MACD, MFI, RVI, Stochastic, Stochastic RSI, or TMASlope). The histogram is plotted with color-coded bars to indicate bullish, bearish, or neutral momentum, alongside predefined alert levels and a trend status table for quick reference.
Why It’s Useful
This script addresses the challenge of monitoring multiple momentum indicators by consolidating them into a single histogram. Each oscillator measures momentum differently (e.g., RSI tracks price strength, MACD focuses on moving average convergence, MFI incorporates volume), but the script normalizes these signals into a unified output. This reduces chart clutter and provides a clear, actionable signal for identifying trend direction, making it easier for traders to focus on key momentum shifts across various market conditions.
How It Works
The script follows these steps to generate the histogram:
Oscillator Selection: Traders choose one oscillator to base the histogram on. For example: RSI measures the speed and change of price movements, MACD tracks the relationship between two exponential moving averages, and MFI combines price and volume to measure buying/selling pressure. The choice of oscillator affects the histogram’s sensitivity to price movements.
Fast Oscillator Calculation: A fast-moving oscillator is computed using the selected method over a user-defined period (default: 8 bars). For instance, RSI calculates the relative strength of price gains versus losses, while MACD computes the difference between short and long EMAs. The result is normalized to a range centered around zero.
Histogram Plotting: The oscillator’s output is adjusted by a modification factor (default: 1) for sensitivity tuning and plotted as a histogram. Positive values indicate bullish momentum, negative values indicate bearish momentum, and values near zero suggest a lack of clear trend.
Color Coding: Bars are colored based on momentum and price direction: green for bullish momentum (price moving upward, histogram value typically positive), red for bearish momentum (price moving downward, histogram value typically negative), and grey for neutral momentum (ranging conditions or unclear trend).
Alert Levels: Predefined buy and sell levels are plotted as dotted lines to mark significant momentum thresholds. For most oscillators, levels are set at 20 (buy) and -20 (sell), representing overbought/oversold conditions based on historical performance. For TMASlope, levels are adjusted to 0.04 and -0.04, as it measures the slope of a triangular moving average relative to the average true range (ATR).
Trend Table: A table in the top-right corner displays the current timeframe’s trend status ("Buy Only," "Sell Only," or "Ranging") based on the histogram value, price direction, and alert levels, along with the histogram’s numerical value.
Underlying Concepts
The script is built on the concept of momentum aggregation, aiming to capture short-term price dynamics while filtering noise. By using a fast-moving oscillator, it emphasizes recent price action, and the histogram format provides a visual summary of momentum strength. The alert levels are derived from typical overbought/oversold thresholds for each oscillator, adjusted to ensure consistency across different methods. The trend table adds a layer of interpretation, helping traders quickly assess whether the momentum aligns with the broader trend.
Use Case
Trending Markets: In a bullish trend, green bars above the buy alert level (e.g., 20) indicate strong upward momentum, suggesting potential long entries. In a bearish trend, red bars below the sell alert level (e.g., -20) suggest short opportunities.
Ranging Markets: Grey bars or values between alert levels indicate a lack of clear momentum, prompting caution or scalping strategies.
Confirmation Tool: Use the histogram to confirm price action signals, such as breakouts or reversals, by ensuring momentum aligns with the direction of the move. For example, a breakout with green bars above the buy level may signal a stronger trend.
Settings
Choose Type: Select the oscillator to use (default: RSI - CLASSIC).
Source: Choose between Close or HL2 price data (default: Close).
Histogram Length: Set the period for oscillator calculation (options: 5, 8, 13; default: 8).
Modification Factor: Adjust the sensitivity of the histogram (default: 1).
Notes
The script supports classic oscillators only and operates on the current timeframe.
If volume data is unavailable for your ticker, MFI calculations may not work; select another oscillator to continue plotting.
Disclaimer
This indicator is a tool for analyzing market trends and does not guarantee trading success. Trading involves risk, and past performance is not indicative of future results. Always use proper risk management.
Swingnals - RSI Candle + EMA + StochasticSwingnals with RSI + EMA + Stochastic
This indicator combines the three most elemental indicators for volatility and manipulation in the markets so you can see whether this is a solid trend, manipulation or pullback
RSI in pane and 3 EMAs on chartCustom RSI in Pane + 3 EMAs on Chart — with Optional RSI Divergence Detection
Combines RSI in a separate pane with 3 EMAs on the chart and optional RSI-based divergence detection. Useful for analyzing both momentum and trend structure.
Features
RSI Pane
Custom RSI calculation (not built-in ta.rsi) with adjustable source and length
Overlay optional moving average (SMA, EMA, SMMA/RMA, WMA, VWMA, or Bollinger Bands) Overbought/oversold gradient fill for visual clarity (70 / 30 zones)
Midline (50) for neutral RSI territory
RSI Divergence Detection
Optional: toggle on/off with one input
Regular Bullish Divergence : Price makes a lower low, RSI makes a higher low
Regular Bearish Divergence : Price makes a higher high, RSI makes a lower high
Customizable lookback for pivot detection
Visual markers and labels plotted on RSI
Built-in alert conditions for both divergence types
3 EMA Trend Indicators on Price Chart
Three customizable EMAs (default: 20, 50, 200)
Color-coded and clearly plotted on main chart
Use to determine short/mid/long-term trend bias
No repainting or smoothing artifacts
Why use this script?
Gives a full view of trend + momentum without cluttering the main price chart, and it helps confirm entries and exits by observing RSI behavior alongside EMAs. The optional divergence detection can act as a signal for potential exhaustion or reversal (not entry signals on their own). It is a Good fit for traders who use RSI zones, divergences, and EMA structure in their decision-making, both for intra-day and swing trades (where it performs best).
How to use
Add this script to your chart. EMAs will appear on the main price chart; RSI and divergence will appear in a separate pane.
Adjust RSI and MA settings to fit your trading style (e.g., fast RSI for scalping, slower for swing)
Enable "Show Divergence" if you want visual alerts and markers
Use alerts to get notified when a divergence occurs without watching the chart
Always check the divergences on different time frames to validate the setup, and do not consider them valid on small time frames (<15 minutes).
Built for traders who want both momentum and trend context in a single tool — without clutter, repainting, or noise. I created this script to streamline my own analysis and avoid switching between multiple indicators. It's not meant to be a "signal generator" but a visual assistant for making better decisions. If you find it useful or have feedback, feel free to reach out.
📈 Reversal Radar v1 (SMI + WVF + ADX + RSI + MACD)📈 Reversal Radar v1
Advanced Oversold Entry Scanner – SMI, WVF, ADX, RSI, MACD
🔍 What it does:
Reversal Radar is a powerful tool designed to identify potential market bottoms during sharp corrections, panic phases, or deeply oversold conditions. It combines five technical filters to detect early reversal points in stocks and indices, using signals from:
✅ ADX/DI to detect strong downtrends
✅ SMI (Squeeze Momentum Indicator) to catch momentum shifts from negative
✅ WVF (Williams VIX Fix) to identify market panic or capitulation
✅ RSI to confirm oversold territory
✅ MACD to spot weak but stabilizing momentum
Each filter can be activated or deactivated individually, and the RSI threshold can be adjusted manually to suit your risk tolerance or trading style.
📊 Ideal for:
🕒 Swing trades
📉 Buying dips after corrections
📈 Long-term entries in oversold stocks
🔍 Finding mean-reversion opportunities
⚠️ Important Notice:
This indicator is not meant for intraday or short-term trading.
It is designed specifically for swing or long-term entries in stocks or indices, particularly after heavy drawdowns or panic moves.
Use of this tool is at your own risk.
No signal should be interpreted as a buy/sell recommendation or financial advice. Always combine it with your own analysis and risk management.
✅ Tip:
Use it together with price levels, volume, and trend structure to identify optimal entries after a significant decline.
Mingo Smart Entry Master 1H-15M - HTF BOS Zones + TP/SL📛 Script Title:
Smart Entry Master 1H–15M – HTF BOS Zones + TP/SL + Dashboard
🧠 What This Script Does:
This script is a higher-timeframe smart entry strategy designed to:
Detect Break of Structure (BOS) on the 1-hour timeframe
Draw Buy/Sell zones automatically on the chart
Provide clear SL & TP lines for trades
Use optional Smart Sell Detection to improve signal quality
Show a dashboard with live signal status
Keep the chart clean by removing old zones and labels
Ideal for intraday swing traders and confirmation-based scalpers looking to trade based on HTF structure + clean zone visualization.
📊 How the Strategy Works:
1. 🧱 Break of Structure (BOS) Detection (1H)
Script uses 1-hour swing highs/lows (swingLen) to define structure
If the 1H candle closes above a swing high → Buy Setup
If the 1H candle closes below a swing low → Sell Setup
🧠 Optional: Smart Sell Detection
Adds a buffer: compares close to lowest low in a lookback window (to reduce fake sells)
🔥 How to Use This Script in Real Trading:
Use on 15M chart to trade, but zones are based on 1H structure
When a Buy or Sell zone appears, check:
Is price tapping into the zone?
Did a clean BOS occur?
SL/TP lines give a ready-made trade plan
Wait for confirmation (price reaction, candle pattern, volume spike)
Set your alert for auto-trading or manual entry
Regarded Cycle OscillatorOscillator that indicates the cycle high and low and provides a prediction for the next cycle using averages.
ICT Judas + Silver Bullet🔰 ICT Judas + Silver Bullet Indicator (SMC-based)
Built for Prop Firm and High Win Rate Intraday Traders
This indicator identifies key institutional setups from Inner Circle Trader (ICT) and Smart Money Concepts (SMC) strategies, optimized for XAUUSD, EURUSD, and other high-volume pairs on the 5-minute chart.
📌 Core Features:
✅ Asian Range Box (02:00–08:00 SGT) – used as manipulation anchor
✅ London Killzone (14:00–16:00 SGT) – Judas Swing detection
✅ New York Killzone (22:30–23:30 SGT) – Silver Bullet setups
✅ Automatic Fair Value Gap (FVG) detection
✅ Liquidity sweep detection based on 20-bar EQH/EQL
✅ Entry + Stop Loss + Take Profit visualization with adjustable RR
✅ Alerts for Judas and Silver setups
✅ Perfect for prop firm scalping and intraday swing logic
🛠️ How It Works:
- Judas Swing: triggers when liquidity above the Asian high is swept during London Killzone
- Silver Bullet: triggers when liquidity below recent lows is swept during NY Killzone
- Entry shown via circle, SL and TP lines based on user-defined RR and stop-loss pip distance
- Designed to be paired with SMC/ICT OB/FVG confirmation entries
⚙️ Settings:
- Adjustable session times
- Toggle FVG display
- Set RR and SL pips to match prop firm rules
- Compatible with alert webhooks for Telegram
🕰️ Note:
All times are fixed to **SGT (GMT+8)**. If you're in another timezone, adjust your TradingView timezone accordingly or update the session inputs manually during Daylight Saving Time changes.
🔔 Alert-Ready:
Use alerts for live signals and pair with webhooks for automation.
🔍 Recommended Pairings:
XAUUSD, EURUSD, GBPUSD, NAS100 on M5 chart
📈 Win Rate Potential:
Backtested with high-probability setups aligned with prop firm daily goals. Best used with strict discipline and 1-2 setups per day.
—
Built with ❤️ by a trader, for traders looking for precision-based executions using ICT logic.
[Stop!Loss] ADR Signal ADR Signal - a technical indicator based on the well-known ATR (Average True Range) indicator.
👉 What does this indicator do?
Firstly, this indicator tracks the standard ATR indicator on the daily chart, in other words, ADR (Average Daily Range) . Like ATR, ADR calculates the average true range for a specified period. In this case, the distance in points from the maximum of each day to the minimum is calculated, after which the arithmetic mean is calculated - this is ADR .
👉 Visualization:
ADR Signal is located in a separate window on the chart and has 3 levels :
1) ADR level - the same parameter, the calculations of which are briefly described above.
2) Current level - this is the current price passage within the day, calculated in points. At the start of a new day, this parameter is reset.
3) Signal level - this is an individually customized value that demonstrates a certain part of the ADR parameter.
👉 Settings "Arguments" and "Style":
1) Arguments:
-> - is responsible for the ATR indicator period, the value of which will always be calculated on the daily chart. The default value is "10", that is, ATR is calculated for the last 10 days (not including the current one).
-> - signal level (in %). The default value is "0.8", that is, 80% of the ADR parameter (set earlier) is calculated.
2) Style:
-> - by default, this level is colored "blue".
-> - by default, this level is colored "red".
-> - by default, this level is colored "green".
We will continue to discuss the method of using this indicator and strategies based on it here. All you need to do is support this idea 🚀 and leave a comment 💬.
Momentum OSCOverview:
Momentum OSC is a dual-layered momentum oscillator that blends multi-timeframe momentum readings with moving average crossovers for deeper insight into trend acceleration and exhaustion. Perfect for confirming trend strength or spotting early shifts in momentum.
Features:
✅ Two separate momentum streams with customizable timeframes
✅ Smoothing via moving averages for both momenta
✅ Cross-timeframe momentum structure for confirmation and divergence
✅ Color-coded areas for intuitive visual interpretation
✅ Optional crossover markers to signal bullish/bearish momentum shifts
How It Works:
The script calculates two momentum values by comparing current price sources against lagged values across separate timeframes. Each is smoothed with a moving average to filter noise. The difference between momentum and its moving average forms a core component of trend strength confirmation. Optional visual circles mark bullish or bearish crossovers.
Customizable Inputs:
Timeframes, sources, lengths, and MA periods for both momentum streams
Toggle to display momentum cross signals (circles)
Works on any asset or timeframe
RR Trail MA-Osc Strategy (entry-based TP/SL)RR Trail MA-Osc Strategy (Invite-Only | With Moving Average Shift Oscillator)
Overview
The RR Trail MA-Osc Strategy is an invite-only premium trading system that combines trend-following entry logic with a three-layered exit mechanism: fixed TP/SL, trailing stop, and divergence-based exit using a custom Moving Average Shift oscillator.
It eliminates discretion and enforces consistent, rule-based execution.
Key Features
Entry-based fixed TP/SL calculated from recent highs/lows (structural exits)
Dynamic trailing stop updated from highest/lowest price since entry
Divergence exit triggered when MA and oscillator indicate opposing directions
Long-term trend confirmation using 200-period EMA
Modular structure ideal for customization and integration
About the Moving Average Shift Oscillator
This custom oscillator normalizes the distance between price and a selected moving average, then smooths it using HMA.
Intuitively reflects trend strength and direction
Oscillates around the zero line
Used for both entry filters and divergence-based exits
Entry Logic
Long Entry Conditions
Price is above the selected short-term MA
Moving Average Shift Oscillator is above 0 and rising
200 EMA is trending upward
Short Entry Conditions
Price is below the selected short-term MA
Moving Average Shift Oscillator is below 0 and falling
200 EMA is trending downward
Exit Conditions
Fixed TP or SL is hit
Trailing stop is triggered
Divergence between oscillator and MA
Risk Management & Backtest Info
Pair: ETH/USD
Timeframe: 4H
Starting Capital: $3,000
Risk per trade: 2% (fully configurable)
Commission: 0.02%, Slippage: 2 pips
Total Trades: 651 (as of April 2025 backtest)
Customizable Parameters
MA types: SMA, EMA, SMMA, WMA, VWMA
RR ratio: Adjustable from 1.0 to 2.0+
Trailing stop range: % based
Lookback window for recent high/low (TP/SL reference)
Inspiration & Development Notes
This strategy was inspired by the concept of “Moving Average Shift” popularized by ChartPrime.
However, no original code was reused . The logic is independently developed and extended with features such as multi-layered exit control, divergence logic, and entry-based price tracking for automated TP/SL management.
Disclaimer
This script is for educational and research purposes only. It does not constitute financial advice.
Always backtest and optimize parameters according to your personal risk tolerance and trading environment before applying in live markets.
Moving Average Shift WaveTrend StrategyMoving Average Shift WaveTrend Strategy
🧭 Overview
The Moving Average Shift WaveTrend Strategy is a trend-following and momentum-based trading system designed to be overlayed on TradingView charts. It executes trades based on the confluence of multiple technical conditions—volatility, session timing, trend direction, and oscillator momentum—to deliver logical and systematic trade entries and exits.
🎯 Strategy Objectives
Enter trades aligned with the prevailing long-term trend
Exit trades on confirmed momentum reversals
Avoid false signals using session timing and volatility filters
Apply structured risk management with automatic TP, SL, and trailing stops
⚙️ Key Features
Selectable MA types: SMA, EMA, SMMA (RMA), WMA, VWMA
Dual-filter logic using a custom oscillator and moving averages
Session and volatility filters to eliminate low-quality setups
Trailing stop, configurable Take Profit / Stop Loss logic
“In-wave flag” prevents overtrading within the same trend wave
Visual clarity with color-shifting candles and entry/exit markers
📈 Trading Rules
✅ Long Entry Conditions:
Price is above the selected MA
Oscillator is positive and rising
200-period EMA indicates an uptrend
ATR exceeds its median value (sufficient volatility)
Entry occurs between 09:00–17:00 (exchange time)
Not currently in an active wave
🔻 Short Entry Conditions:
Price is below the selected MA
Oscillator is negative and falling
200-period EMA indicates a downtrend
All other long-entry conditions are inverted
❌ Exit Conditions:
Take Profit or Stop Loss is hit
Opposing signals from oscillator and MA
Trailing stop is triggered
🛡️ Risk Management Parameters
Pair: ETH/USD
Timeframe: 4H
Starting Capital: $3,000
Commission: 0.02%
Slippage: 2 pips
Risk per Trade: 2% of account equity (adjustable)
Total Trades: 224
Backtest Period: May 24, 2016 — April 7, 2025
Note: Risk parameters are fully customizable to suit your trading style and broker conditions.
🔧 Trading Parameters & Filters
Time Filter: Trades allowed only between 09:00–17:00 (exchange time)
Volatility Filter: ATR must be above its median value
Trend Filter: Long-term 200-period EMA
📊 Technical Settings
Moving Average
Type: SMA
Length: 40
Source: hl2
Oscillator
Length: 15
Threshold: 0.5
Risk Management
Take Profit: 1.5%
Stop Loss: 1.0%
Trailing Stop: 1.0%
👁️ Visual Support
MA and oscillator color changes indicate directional bias
Clear chart markers show entry and exit points
Trailing stops and risk controls are transparently managed
🚀 Strategy Improvements & Uniqueness
In-wave flag avoids repeated entries within the same trend phase
Filtering based on time, volatility, and trend ensures higher-quality trades
Dynamic high/low tracking allows precise trailing stop placement
Fully rule-based execution reduces emotional decision-making
💡 Inspirations & Attribution
This strategy is inspired by the excellent concept from:
ChartPrime – “Moving Average Shift”
It expands on the original idea with advanced trade filters and trailing logic.
Source reference:
📌 Summary
The Moving Average Shift WaveTrend Strategy offers a rule-based, reliable approach to trend trading. By combining trend and momentum filters with robust risk controls, it provides a consistent framework suitable for various market conditions and trading styles.
⚠️ Disclaimer
This script is for educational purposes only. Trading involves risk. Always use proper backtesting and risk evaluation before applying in live markets.
Machine Learning RSI ║ BullVisionOverview:
Introducing the Machine Learning RSI with KNN Adaptation – a cutting-edge momentum indicator that blends the classic Relative Strength Index (RSI) with machine learning principles. By leveraging K-Nearest Neighbors (KNN), this indicator aims at identifying historical patterns that resemble current market behavior and uses this context to refine RSI readings with enhanced sensitivity and responsiveness.
Unlike traditional RSI models, which treat every market environment the same, this version adapts in real-time based on how similar past conditions evolved, offering an analytical edge without relying on predictive assumptions.
Key Features:
🔁 KNN-Based RSI Refinement
This indicator uses a machine learning algorithm (K-Nearest Neighbors) to compare current RSI and price action characteristics to similar historical conditions. The resulting RSI is weighted accordingly, producing a dynamically adjusted value that reflects historical context.
📈 Multi-Feature Similarity Analysis
Pattern similarity is calculated using up to five customizable features:
RSI level
RSI momentum
Volatility
Linear regression slope
Price momentum
Users can adjust how many features are used to tailor the behavior of the KNN logic.
🧠 Machine Learning Weight Control
The influence of the machine learning model on the final RSI output can be fine-tuned using a simple slider. This lets you blend traditional RSI and machine learning-enhanced RSI to suit your preferred level of adaptation.
🎛️ Adaptive Filtering
Additional smoothing options (Kalman Filter, ALMA, Double EMA) can be applied to the RSI, offering better visual clarity and helping to reduce noise in high-frequency environments.
🎨 Visual & Accessibility Settings
Custom color palettes, including support for color vision deficiencies, ensure that trend coloring remains readable for all users. A built-in neon mode adds high-contrast visuals to improve RSI visibility across dark or light themes.
How It Works:
Similarity Matching with KNN:
At each candle, the current RSI and optional market characteristics are compared to historical bars using a KNN search. The algorithm selects the closest matches and averages their RSI values, weighted by similarity. The more similar the pattern, the greater its influence.
Feature-Based Weighting:
Similarity is determined using normalized values of the selected features, which gives a more refined result than RSI alone. You can choose to use only 1 (RSI) or up to all 5 features for deeper analysis.
Filtering & Blending:
After the machine learning-enhanced RSI is calculated, it can be optionally smoothed using advanced filters to suppress short-term noise or sharp spikes. This makes it easier to evaluate RSI signals in different volatility regimes.
Parameters Explained:
📊 RSI Settings:
Set the base RSI length and select your preferred smoothing method from 10+ moving average types (e.g., EMA, ALMA, TEMA).
🧠 Machine Learning Controls:
Enable or disable the KNN engine
Select how many nearest neighbors to compare (K)
Choose the number of features used in similarity detection
Control how much the machine learning engine affects the RSI calculation
🔍 Filtering Options:
Enable one of several advanced smoothing techniques (Kalman Filter, ALMA, Double EMA) to adjust the indicator’s reactivity and stability.
📏 Threshold Levels:
Define static overbought/oversold boundaries or reference dynamically adjusted thresholds based on historical context identified by the KNN algorithm.
🎨 Visual Enhancements:
Select between trend-following or impulse coloring styles. Customize color palettes to accommodate different types of color blindness. Enable neon-style effects for visual clarity.
Use Cases:
Swing & Trend Traders
Can use the indicator to explore how current RSI readings compare to similar market phases, helping to assess trend strength or potential turning points.
Intraday Traders
Benefit from adjustable filters and fast-reacting smoothing to reduce noise in shorter timeframes while retaining contextual relevance.
Discretionary Analysts
Use the adaptive OB/OS thresholds and visual cues to supplement broader confluence zones or market structure analysis.
Customization Tips:
Higher Volatility Periods: Use more neighbors and enable filtering to reduce noise.
Lower Volatility Markets: Use fewer features and disable filtering for quicker RSI adaptation.
Deeper Contextual Analysis: Increase KNN lookback and raise the feature count to refine pattern recognition.
Accessibility Needs: Switch to Deuteranopia or Monochrome mode for clearer visuals in specific color vision conditions.
Final Thoughts:
The Machine Learning RSI combines familiar momentum logic with statistical context derived from historical similarity analysis. It does not attempt to predict price action but rather contextualizes RSI behavior with added nuance. This makes it a valuable tool for those looking to elevate traditional RSI workflows with adaptive, research-driven enhancements.
OBV & AD Oscillators with Dual Smoothing OptionsOn Balance Volume and Accumulation/Distribution
Overlaid into 1 and then some,
Now it is an oscillator!
3 customizable moving average types
- Ehlers Deviation Scaled Moving Average
- Volatility Dynamic Moving Average
- Simple Moving Average
Each with customizable periods
And with the ability to overlay a second set too
Default Settings have a longer period MA of 377 using Ehlers DSMA to better capture the standard view of OBV and A/D.
An extra overlay of a shorter period using a Volatility DMA uses Average True Range with its own custom settings, seeks to act more as an RSI
VWAP SlicesVWAP Slices – Period-Based VWAP Insights
VWAP Slices is a powerful visualization tool designed to help traders analyze price action relative to volume-weighted average price (VWAP) across up to three custom time periods. Whether you're tracking earnings windows, accumulation phases, or seasonal market behavior, this tool slices your chart into meaningful segments for data-driven decision-making.
What It Does
Calculates VWAP for up to 3 user-defined time periods.
Displays data visually using either a floating label, a table, or both.
Highlights the selected periods on your chart with customizable colors and transparency.
Summarizes each slice with:
VWAP
Total volume (in millions)
Number of bars in the range
Combines all active periods to provide a weighted VWAP summary.
Key Features
Flexible Time Slices: Define start and end timestamps for each of the 3 periods.
Custom Visuals: Choose individual colors and transparency levels for each period.
Dynamic Labeling: Place summary labels at a fixed vertical position relative to price.
Table Output: View period-by-period metrics in a compact, position-adjustable table.
Smart Aggregation: Combined VWAP is volume-weighted across enabled slices.
Settings Overview
Period Settings: Enable or disable each period with independent start and end times.
Visualization Style: Choose between "Label", "Table", or "Both".
Label Positioning: Adjust vertical placement of labels for better chart readability.
Table Positioning: Choose from four corners of the chart to place the results table.
Use Cases
Compare pre- and post-event VWAP (e.g., earnings, news drops).
Analyze accumulation or distribution over specific historical ranges.
Evaluate seasonal or monthly patterns using VWAP anchoring.
Stochastic Overlay - Regression Channel (Zeiierman)█ Overview
The Stochastic Overlay – Regression Channel (Zeiierman) is a next-generation visualization tool that transforms the traditional Stochastic Oscillator into a dynamic price-based overlay.
Instead of leaving momentum trapped in a lower subwindow, this indicator projects the Stochastic oscialltor directly onto price itself — allowing traders to visually interpret momentum, overbought/oversold conditions, and market strength without ever taking their eyes off price action.
⚪ In simple terms:
▸ The Bands = The Stochastic Oscillator — but on price.
▸ The Midline = Stochastic 50 level
▸ Upper Band = Stochastic Overbought Threshold
▸ Lower Band = Stochastic Oversold Threshold
When the price moves above the midline → it’s the same as the oscillator moving above 50
When the price breaks above the upper band → it’s the same as Stochastic entering overbought.
When the price reaches the lower band →, think of it like Stochastic being oversold.
This makes market conditions visually intuitive. You’re literally watching the oscillator live on the price chart.
█ How It Works
The indicator layers 3 distinct technical elements into one clean view:
⚪ Stochastic Momentum Engine
Tracks overbought/oversold conditions and directional strength using:
%K Line → Momentum of price
%D Line → Smoothing filter of %K
Overbought/Oversold Bands → Highlight potential reversal zones
⚪ Volatility Adaptive Bands
Dynamic bands plotted above and below price using:
ATR * Stochastic Scaling → Creates wider bands during volatile periods & tighter bands in calm conditions
Basis → Moving average centerline (EMA, SMA, WMA, HMA, RMA selectable)
This means:
→ In strong trends: Bands expand
→ In consolidations: Bands contract
⚪ Regression Channel
Projects trend direction with different models:
Logarithmic → Captures non-linear growth (perfect for crypto or exponential stocks)
Linear → Classic regression fit
Adaptive → Dynamically adjusts sensitivity
Leading → Projects trend further ahead (aggressive mode)
Channels include:
Midline → Fair value trend
Upper/Lower Bounds → Deviation-based support/resistance
⚪ Heatmap - Bull & Bear Power Strength
Visual heatmeter showing:
% dominance of bulls vs bears (based on close > or < Band Basis)
Automatic normalization regardless of timeframe
Table display on-chart for quick visual insight
Dynamic highlighting when extreme levels are reached
⚪ Trend Candlestick Coloring
Bars auto-color based on trend filter:
Above Basis → Bullish Color
Below Basis → Bearish Color
█ How to Use
⚪ Trend Trading
→ Use Band direction + Regression Channel to identify trend alignment
→ Longs favored when price holds above the Basis
→ Shorts favored when price stays below the Basis
→ Use the Bull & Bear heatmap to asses if the bulls or the bears are in control.
⚪ Mean Reversion
→ Look for price to interact with Upper or Lower Band extremes
→ Stochastic reaching OB/OS zones further supports reversals
⚪ Momentum Confirmation
→ Crossovers between %K and %D can confirm continuation or divergence signals
→ Especially powerful when happening at band boundaries
⚪ Strength Heatmap
→ Quickly visualize current buyer vs seller control
→ Sharp spikes in Bull Power = Aggressive buying
→ Sharp spikes in Bear Power = Heavy selling pressure
█ Why It Useful
This is not a typical Stochastic or regression tool. The tool is designed for traders who want to:
React dynamically to price volatility
Map momentum into volatility context
Use adaptive regression channels across trend styles
Visualize bull vs bear power in real-time
Follow trends with built-in reversal logic
█ Settings
Stochastic Settings
Stochastic Length → Period of calculation. Higher = smoother, Lower = faster signals.
%K Smoothing → Smooths the Stochastic line itself.
%D Smoothing → Smooths the moving average of %K for slower signals.
Stochastic Band
Band Length → Length of the Moving Average Basis.
Volatility Multiplier → Controls band width via ATR scaling.
Band Type → Choose MA type (EMA, SMA, WMA, HMA, RMA).
Regression Channel
Regression Type → Logarithmic / Linear / Adaptive / Leading.
Regression Length → Number of bars for regression calculation.
Heatmap Settings
Heatmap Length → Number of bars to calculate bull/bear dominance.
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Bollinger Bands Strategy Direction & VWAP This is an updated version of classic Bollinger bands. It adds the VWAP line for reference but does not include the bands usually associated with that. It also allows for the turning on and off of longs or shorts, and limiting the duration of trades by the number of days with the default being set to 4(2 seems to be the optimal) I tested this against crypto currency perpetual markets and it consistently wins more than 60 percent of the trades against the majors ( BTC, ETH, SOL) but doesn't seems to do well against some small cap Alts. Id love to hear your feedback
Price Position Percentile (PPP)
Price Position Percentile (PPP)
A statistical analysis tool that dynamically measures where current price stands within its historical distribution. Unlike traditional oscillators, PPP adapts to market conditions by calculating percentile ranks, creating a self-adjusting framework for identifying extremes.
How It Works
This indicator analyzes the last 200 price bars (customizable) and calculates the percentile rank of the current price within this distribution. For example, if the current price is at the 80th percentile, it means the price is higher than 80% of all prices in the lookback period.
The indicator creates five dynamic zones based on percentile thresholds:
Extremely Low Zone (<5%) : Prices in the lowest 5% of the distribution, indicating potential oversold conditions.
Low Zone (5-25%) : Accumulation zone where prices are historically low but not extreme.
Neutral Zone (25-75%) : Fair value zone representing the middle 50% of the price distribution.
High Zone (75-95%) : Distribution zone where prices are historically high but not extreme.
Extremely High Zone (>95%) : Prices in the highest 5% of the distribution, suggesting potential bubble conditions.
Mathematical Foundation
Unlike fixed-threshold indicators, PPP uses a non-parametric approach:
// Core percentile calculation
percentile = (count_of_prices_below_current / total_prices) * 100
// Threshold calculation using built-in function
p_extremely_low = ta.percentile_linear_interpolation(source, lookback, 5)
p_low = ta.percentile_linear_interpolation(source, lookback, 25)
p_neutral_high = ta.percentile_linear_interpolation(source, lookback, 75)
p_extremely_high = ta.percentile_linear_interpolation(source, lookback, 95)
Key Features
Dynamic Adaptation : All zones adjust automatically as price distribution changes
Statistical Robustness : Works on any timeframe and any market, including highly volatile cryptocurrencies
Visual Clarity : Color-coded zones provide immediate visual context
Non-parametric Analysis : Makes no assumptions about price distribution shape
Historical Context : Shows how zones evolved over time, revealing market regime changes
Practical Applications
PPP provides objective statistical context for price action, helping traders make more informed decisions based on historical price distribution rather than arbitrary levels.
Value Investment : Identify statistically significant low prices for potential entry points
Risk Management : Recognize when prices reach historical extremes for profit taking
Cycle Analysis : Observe how percentile zones expand and contract during different market phases
Market Regime Detection : Identify transitions between accumulation, markup, distribution, and markdown phases
Usage Guidelines
This indicator is particularly effective when:
- Used across multiple timeframes for confirmation
- Combined with volume analysis for validation of extremes
- Applied in conjunction with trend identification tools
- Monitored for divergences between price action and percentile ranking
Guntavnook Katta - Price Action PROOverview:
This script is designed to provide traders with a structured, multi-layered view of market behavior. It combines three key components - trend direction analysis, oscillator-based pattern recognition, and projected candle visualization - to help identify meaningful setups and anticipate potential price movements. Additionally, it includes an automated system for plotting multi-level support and resistance zones using swing logic, making it valuable for both discretionary traders and those developing rule-based or semi-systematic frameworks.
Purpose:
The primary purpose of this tool is to empower traders with a structured, multi-dimensional analysis tool that combines both quantitative signals and visual interpretation. Rather than relying on fixed indicators or static strategies, this script allows users to understand the evolving nature of price action through a lens of historical behavior, oscillator dynamics, and market trend context.
It is especially useful for traders who value context-driven decision making - those who prefer to look beyond raw signals and study the sequence of conditions that preceded past price moves, enabling them to better anticipate future possibilities.
Core Logic:
The script brings together three independently developed analytical engines, each built on custom logic and refined through real-market application. Unlike traditional tools that rely on fixed indicator crossovers or rigid rules, this script focuses on pattern dynamics, contextual interpretation, and forward-looking structure - giving it a distinct edge in adapting to different market conditions.
Trend Engine (Volatility-Adjusted Slope Framework):
A moving average alone doesn't reveal much - it’s the slope of the moving average compared against a volatility-normalized threshold that gives meaning. This engine calculates the SMA slope across a user-defined window and dynamically adjusts the threshold using ATR-based volatility. The result: a more adaptive classification of trend into Uptrend, Downtrend, or Sideways, designed to reduce noise and align with real momentum shifts.
Pattern Detection Engine (Zone-Based Signature Matching):
Rather than comparing raw oscillator values, this system maps them into discrete behavioral zones, then tracks their sequential patterns. The most recent pattern is then scanned across historical data to detect exact zone signatures - a method that captures rhythm and structure rather than simple threshold breaks. When a match is found, the script projects what happened next by scaling and rendering those historical candles as projected candle visuals on the current chart - offering a clear and proportionate view of possible price behavior.
Support & Resistance Engine (Tiered Swing-Based Projection):
This module detects significant turning points using user-defined swing lengths, and automatically extends multi-level support and resistance zones (1x, 2x, 3x) into the future. These levels are not based on arbitrary highs/lows, but on tiered confirmation across timeframes, making them highly useful for anticipating potential reaction zones in both trending and consolidating phases.
Together, these components work in sync to offer a layered, context-rich view of price behavior - allowing traders to make better-informed decisions, whether they’re seeking confirmation, confluence, or clarity.
This script is not a signal generator - it is a decision-support tool that allows traders to study market structure in a deeper, more structured way.
It helps answer three essential trading questions:
* What is the current market trend?
* Have similar oscillator-based patterns occurred before, and what followed?
* Where are the likely support and resistance zones based on recent swings?
Key Functional Blocks:
1 - Trend Analysis Using SMA Slope Logic
The script calculates a Simple Moving Average (SMA) over a user-defined period. It compares the slope of this SMA over a second window of candles.
The slope is measured as a percentage and compared against a dynamic threshold derived from price volatility (using ATR).
The market is categorized into:
Uptrend
Downtrend
Sideways
This classification appears in a dedicated trend table at the top-right of the chart, along with the selected oscillator and relevant settings.
2 - Oscillator Pattern Matching Engine
You can select from a variety of studies:
RSI
CCI
Stochastic
Ultimate Oscillator
Money Flow Index
Chande Momentum Oscillator
Relative Volatility Index
The selected oscillator values are converted into different zones. The system continuously monitors the recent pattern of these zones and checks if it matches any past sequence.
Once a historical match is detected:
A message appears in the trend table confirming a match.
The script then activates the projected candle visualization, showing how price behaved after that historical pattern.
3 - Projected Candle Visualization Engine
This feature helps you visualize how price moved historically after a matching oscillator pattern.
How it works:
It retrieves the actual candles that followed the matching pattern in history.
These candles are then scaled relative to the current price to maintain proportional movement.
Candles are drawn using box objects to replicate historical price bars with visual clarity.
Candle color logic is based on oscillator zone at that moment in history -
Green: When the selected oscillator was in an overbought zone (e.g., RSI > 70)
Red: When the selected oscillator was in an oversold zone (e.g., RSI < 30)
Gray: When the selected oscillator was in a neutral zone
This lets traders see:
What happened previously after a similar condition
The general path price followed
Where potential turning points or continuation zones may lie
4 - Multi-Level Dynamic Support & Resistance
Support and resistance levels are drawn based on swing highs and lows across three levels:
You enter an initial swing length (e.g., 10 candles)
The system calculates:
Swing 2 = 2x
Swing 3 = 3x
From there, the indicator detects recent high/low turning points and draws horizontal lines that extend into the future:
R1, R2, R3 (if available) for resistance
S1, S2, S3 (if available) for support
This creates a forward-looking price structure, helping you prepare for reaction zones.
Example Use Cases
Intraday Traders (Best suited for lower timeframes):
This script is particularly effective for intraday traders operating on lower timeframes. It identifies repeating oscillator zone patterns that often precede short-term price movements. When a historical match is found, the projected candles display how price moved in similar situations, offering an immediate visual reference for possible price behavior. Combined with dynamically generated support and resistance zones, the tool adds structure to fast-paced decision-making — helping traders define entries, exits, and stop placements more confidently.
While lower timeframes offer the best responsiveness, the script can be applied across other intraday intervals depending on trading style.
Positional Traders (Best suited for higher timeframes):
For positional traders, this script provides a powerful framework to evaluate whether the current setup mirrors past conditions that led to extended moves. The projected candles show how price evolved after similar oscillator patterns in the past, allowing traders to assess potential directional strength. The trend classification engine and swing-based support/resistance zones further assist in planning position entries, managing holding periods, and identifying key structural levels.
Although higher timeframes offer deeper context for positional trading, the tool remains effective across other multi-day or weekly views as well.
Disclaimer
This script is intended for educational and informational purposes only. It does not provide any form of investment advice, trade recommendations, or performance guarantees. All tools and projections included are meant to support learning and market analysis.
The word “PRO” in the script title refers to a professional-grade analytical tool and should not be interpreted as a claim of profitability or advisory capability.
This script has been developed for use within structured educational environments and is not intended to function as a trading signal or advisory service. Please consult a qualified financial advisor or licensed professional before making any investment decisions.
RSI Full [Titans_Invest]RSI Full
One of the most complete RSI indicators on the market.
While maintaining the classic RSI foundation, our indicator integrates multiple entry conditions to generate more accurate buy and sell signals.
All conditions are fully configurable, allowing complete customization to fit your trading strategy.
⯁ WHAT IS THE RSI❓
The Relative Strength Index (RSI) is a technical analysis indicator developed by J. Welles Wilder. It measures the magnitude of recent price movements to evaluate overbought or oversold conditions in a market. The RSI is an oscillator that ranges from 0 to 100 and is commonly used to identify potential reversal points, as well as the strength of a trend.
⯁ HOW TO USE THE RSI❓
The RSI is calculated based on average gains and losses over a specified period (usually 14 periods). It is plotted on a scale from 0 to 100 and includes three main zones:
Overbought: When the RSI is above 70, indicating that the asset may be overbought.
Oversold: When the RSI is below 30, indicating that the asset may be oversold.
Neutral Zone: Between 30 and 70, where there is no clear signal of overbought or oversold conditions.
⯁ ENTRY CONDITIONS
The conditions below are fully flexible and allow for complete customization of the signal.
______________________________________________________
🔹 CONDITIONS TO BUY 📈
______________________________________________________
• Signal Validity: The signal will remain valid for X bars .
• Signal Sequence: Configurable as AND/OR .
📈 RSI Conditions:
🔹 RSI > Upper
🔹 RSI < Upper
🔹 RSI > Lower
🔹 RSI < Lower
🔹 RSI > Middle
🔹 RSI < Middle
🔹 RSI > MA
🔹 RSI < MA
📈 MA Conditions:
🔹 MA > Upper
🔹 MA < Upper
🔹 MA > Lower
🔹 MA < Lower
📈 Crossovers:
🔹 RSI (Crossover) Upper
🔹 RSI (Crossunder) Upper
🔹 RSI (Crossover) Lower
🔹 RSI (Crossunder) Lower
🔹 RSI (Crossover) Middle
🔹 RSI (Crossunder) Middle
🔹 RSI (Crossover) MA
🔹 RSI (Crossunder) MA
🔹 MA (Crossover) Upper
🔹 MA (Crossunder) Upper
🔹 MA (Crossover) Lower
🔹 MA (Crossunder) Lower
📈 RSI Divergences:
🔹 RSI Divergence Bull
🔹 RSI Divergence Bear
______________________________________________________
______________________________________________________
🔸 CONDITIONS TO SELL 📉
______________________________________________________
• Signal Validity: The signal will remain valid for X bars .
• Signal Sequence: Configurable as AND/OR .
📉 RSI Conditions:
🔸 RSI > Upper
🔸 RSI < Upper
🔸 RSI > Lower
🔸 RSI < Lower
🔸 RSI > Middle
🔸 RSI < Middle
🔸 RSI > MA
🔸 RSI < MA
📉 MA Conditions:
🔸 MA > Upper
🔸 MA < Upper
🔸 MA > Lower
🔸 MA < Lower
📉 Crossovers:
🔸 RSI (Crossover) Upper
🔸 RSI (Crossunder) Upper
🔸 RSI (Crossover) Lower
🔸 RSI (Crossunder) Lower
🔸 RSI (Crossover) Middle
🔸 RSI (Crossunder) Middle
🔸 RSI (Crossover) MA
🔸 RSI (Crossunder) MA
🔸 MA (Crossover) Upper
🔸 MA (Crossunder) Upper
🔸 MA (Crossover) Lower
🔸 MA (Crossunder) Lower
📉 RSI Divergences:
🔸 RSI Divergence Bull
🔸 RSI Divergence Bear
______________________________________________________
______________________________________________________
🤖 AUTOMATION 🤖
• You can automate the BUY and SELL signals of this indicator.
______________________________________________________
______________________________________________________
⯁ UNIQUE FEATURES
______________________________________________________
Signal Validity: The signal will remain valid for X bars
Signal Sequence: Configurable as AND/OR
Condition Table: BUY/SELL
Condition Labels: BUY/SELL
Plot Labels in the Graph Above: BUY/SELL
Automate and Monitor Signals/Alerts: BUY/SELL
Signal Validity: The signal will remain valid for X bars
Signal Sequence: Configurable as AND/OR
Condition Table: BUY/SELL
Condition Labels: BUY/SELL
Plot Labels in the Graph Above: BUY/SELL
Automate and Monitor Signals/Alerts: BUY/SELL
______________________________________________________
📜 SCRIPT : RSI Full
🎴 Art by : @Titans_Invest & @DiFlip
👨💻 Dev by : @Titans_Invest & @DiFlip
🎑 Titans Invest — The Wizards Without Gloves 🧤
✨ Enjoy the Spell!
______________________________________________________
o Mission 🗺
• Inspire Traders to manifest Magic in the Market.
o Vision 𐓏
• To elevate collective Energy 𐓷𐓏
Stoch_RSI_ChartEnhanced Stochastic RSI Divergence Indicator with VWAP Filter for Charts
This custom indicator builds upon the classic Stochastic RSI to automatically detect both regular and hidden divergences. It’s designed to help traders spot potential market reversals or continuations using two methods for divergence detection (fractal‑ and pivot‑based) while offering optional VWAP filtering for confirmation.
Key Features
Stoch RSI Calculation
The indicator computes a smoothed Stoch RSI using configurable parameters for RSI length, stochastic length, and smoothing periods. An option to average the K and D lines provides a cleaner momentum view.
Divergence Detection via Fractals & Pivots
Fractal-Based Divergences:
Looks for 4-candle patterns to identify higher-highs or lower-lows in the price that are not confirmed by the oscillator, signaling potential reversals.
Pivot-Based Divergences:
Utilizes TradingView’s built-in pivot functions to find divergence conditions over adjustable pivot ranges.
Regular vs. Hidden Divergences:
Regular Divergence: Occurs when price makes a new extreme (higher high or lower low) while the Stoch RSI fails to follow suit.
Hidden Divergence: Indicates potential trend continuations when the oscillator diverges against the established price trend.
Optional VWAP Filtering
The script includes two optional VWAP filters that work as follows:
VWAP Filter on Regular Divergences:
Only confirms regular divergence signals if the current price satisfies the VWAP condition (e.g., price is above VWAP for bullish signals, below VWAP for bearish signals).
VWAP Filter on Hidden Divergences:
Similarly, hidden divergence signals are validated only when the price meets specific VWAP conditions, adding an extra layer of trend confirmation.
Customizable Alerts and Visual Labels
Easily configure divergence labels (“B” for bullish, “S” for bearish) and enable up to four alert conditions for real‑time notifications when a divergence occurs.
Credits & History:
Log RSI by @fskrypt
Divergence Detection originally by @RicardoSantos (with edits from @JustUncleL)
Further Edits by @NeoButane on August 8, 2018
Latest Edits by @FYMD on June 1, 2024