MO and Stoch GOLD H4 Full – Kim TradingMO and Stoch GOLD H4 Full – Kim Trading
Slogan: “Trading Is a Profession, Trading Is Life”
Market: XAUUSD • Timeframe: H4
Regime Gate (strong-trend filter) – turn on to suppress noise during strong trends; trade-off: you may miss some opportunities.
Cut & Reverse – use when you prefer to disable the strong-trend filter and react fast (cut the losing side and reverse with the new signal).
Entry/Exit Rules. When B/B1★/B2★/B3★ (buy) or S/S1★/S2★/S3★ (sell) labels appear, follow the prevailing trend and consider DCA (scale-in) with the trend. Combine with other confluences (levels, candlesticks, volume, timing) to form an optimal setup.
Signal Confidence Tiers:
B — S
B1★ — S1★
B2★ — S2★
B3★ — S3★
Enter only when one of the four labels appears. Use Alerts → Once Per Bar Close.
Notes. Educational tool, not financial advice. Source code remains Protected.
Author: Kim Trading • Version: V1 • Date: 2025-08-25
#XAUUSD #Gold #H4 #MO #Stoch #KimTrading
متذبذبات
DK RSI [NMTUAN]The RSI Lines in RSI DK
A basic RSI DK indicator typically consists of the following components:
The Main RSI Line: Usually set to a period of 14, this is the most common line for most traders. It provides an overall view of market momentum.
The Short-Term RSI Line: Usually set to a period of 7, 5, or even 3. This line moves faster and is more sensitive to short-term fluctuations. It can be used to identify early entry/exit points.
The Long-Term RSI Line: Typically set to a period of 21, 28, or 30. This line moves more slowly, providing a stable view of the long-term trend. It helps filter out "noise" and confirm the main trend.
How to Use RSI DK
Combining multiple RSI lines offers several advantages:
Signal Confirmation: When different RSI lines confirm a signal (e.g., all are in the overbought or oversold zone), the reliability of that signal increases significantly.
Divergence: This is one of the strongest signals of the RSI. With RSI DK, traders can easily spot potential divergence signals when a short-term RSI line diverges from price, while the long-term RSI line is still confirming the trend.
Crossovers: Similar to other momentum indicators, crossovers between RSI lines in RSI DK are also very useful. For example, when the short-term RSI line crosses above the long-term one, it could be a signal that upward momentum is gaining strength.
Multi-Timeframe Analysis: RSI DK lets you analyze momentum across different timeframes right on one chart, which saves time and improves analysis efficiency.
MO and Stoch GOLD H4 V1 – Kim Trading (with Regime Gate ML)MO and Stoch GOLD H4 – Kim Trading (with Regime Gate ML)
Slogan: “Trading Is a Profession, Trading Is Life”
Market: XAUUSD (spot gold) • Timeframe: H4 (4 hours)
Overview. The script combines a Momentum Oscillator (MO) cross with Stochastic RSI context and evaluates signals on bar close to reduce repaint. An optional Regime Gate (ML) filter classifies market conditions (e.g., strong-trend vs. choppy) from historical patterns to suppress counter-trend noise and highlight powerful waves.
Entry/Exit Rules
When a B, B1★ … (buy) or S, S1★ … (sell) label appears, first reference the prevailing trend and consider applying DCA (scale-in) in the direction of that trend. You’re encouraged to combine this tool with other methods (price levels, candlesticks, volume/timing) to build an optimal setup.
Signal Confidence Tiers
B — S
B1★ — S1★
B2★ — S2★
B3★ — S3★
Enter trades only when one of the four signal types above is printed.
Notes. Use Once Per Bar Close alerts. This is an educational tool and not financial advice. Source code remains protected.
Author: Kim Trading • Version: V1 • Date: 2025-08-25
#XAUUSD #Gold #H4 #MO #Stoch #KimTrading
ZLEMA Trend IndexZTI — ZLEMA Trend Index (0–100, 20/80 Bands)
Overview
ZTI is a trend-following oscillator built on the Zero‑Lag EMA (ZLEMA) and displayed in a consistent 0–100 pane. It’s designed to help prepare for participation in developing trends: readings below 20 highlight conditions to prepare for longs; readings above 80 highlight conditions to prepare for shorts. Color coding clarifies state at a glance: yellow inside the 20–80 band, maroon above 80, teal below 20.
How it works
Core: ZLEMA length 20 (configurable) reduces lag versus classic moving averages while maintaining smoothness.
Centering/scale: the ZLEMA line is recentered and scaled to fit a 0–100 view without distorting direction.
Bands: 80/20 act as trend preparation zones, not automatic reversal triggers.
Variables accessible in your scripts: overbought, oversold, zti, 0 - 100, center line is always 50
How to use it
Trend preparation:
Below 20 (teal): prepare to go long. Look for follow‑through back into the band (e.g., a hook up or a close returning above 20) before committing risk.
Above 80 (maroon): prepare to go short. Look for follow‑through back into the band (e.g., a hook down or a close returning below 80).
Example:
bullish_crossing_1 := ta.crossover(zti, overbought)
bullish_crossing_2 := ta.crossunder(zti, 70)
bullish_crossing_3 := ta.crossunder(zti, 60)
bullish_crossing_4 := ta.crossunder(zti, 50)
bearish_crossing_1 := ta.crossunder(zti, oversold)
bearish_crossing_2 := ta.crossover(zti, 30)
bearish_crossing_3 := ta.crossover(zti, 40)
bearish_crossing_4 := ta.crossover(zti, 50)
The zti line mirrors the flow of price action which is ideal if you need to follow trend snapshots between the overbough and oversold lines.
Continuation entries:
In uptrends, favor pullbacks where ZTI dips toward 20–40 and turns up again.
In downtrends, favor bounces where ZTI rises toward 60–80 and turns down again.
Exits and risk management:
Consider scaling out when maroon/teal fades back to yellow.
Use a return through the opposite band as a de‑risk or stop signal per system rules.
Multi‑timeframe workflow:
Define bias with a higher timeframe ZTI (e.g., H4/D1).
Execute on a lower timeframe only when it aligns with the higher timeframe’s 20/80 context.
Settings guidance:
ZLEMA length: 20 default. Lower (14–16) = faster, more sensitive; higher (24–30) = smoother, slower.
Center/scale windows: Larger = steadier amplitude; smaller = more responsive visualization.
Bands: 80/20 default. For very strong trenders, try 85/15; for choppier assets, 70/30.
Best practices
Treat 20/80 as preparation zones and require a confirm trigger (price structure, momentum cross, or a candle close back inside the band).
Avoid counter‑trend entries when the line is firmly maroon/teal; wait for a state change back into yellow with a confirming hook.
Combine with risk controls: predefined stop, trailing logic, and partial profit rules.
Limitations
As a moving‑average‑based tool, ZTI will still exhibit some lag and can compress/expand in extreme volatility. Tune length and windows to the instrument and timeframe.
Credits
ZLEMA techniques widely attributed to John Ehlers.
Disclaimer
This tool is for educational purposes only and is not financial advice. Backtest and forward‑test before live use, and always manage risk.
RSI Multi Length + Normalized BBW (Butrait)RSI + BB: este indicador muestra cuando el valor esta en sobre venta o sobre compra.
BTC Dominance & Price RSI Analyzer by Sajad BagheriThis indicator analyzes the Relative Strength Index (RSI) for three key cryptocurrency metrics:
Bitcoin Price (BTC/USDT)
Bitcoin Dominance (BTC.D)
Tether Dominance (USDT.D)
It provides a comprehensive view of market momentum by displaying three RSI lines in a single pane, allowing traders to identify overbought and oversold conditions across these important metrics simultaneously.
RSI with Moving Averages[UO] EnhancedWhat This Indicator Does
Displays the RSI (Relative Strength Index) with two customizable moving averages to help identify trend direction and momentum shifts.
Key Features
RSI Line: Shows momentum (overbought above 70, oversold below 30)
Two Moving Averages: Smooth RSI signals and show trend direction
Color-Coded Fills: Visual areas between lines indicate bullish/bearish conditions
Support/Resistance Lines: Bull market support (40) and bear market resistance (60)
Customization Options
Moving Average Types: Choose SMA or EMA for each line
Periods: Adjust RSI (14), First MA (13), Second MA (33)
Visual Elements: Toggle background shading and fills on/off
Colors & Styles: Customize all line colors and widths in Style tab
How to Read It
Green Fill: Second MA below first MA (bullish momentum)
Red Fill: Second MA above first MA (bearish momentum)
RSI Above 70: Potentially overbought
RSI Below 30: Potentially oversold
Perfect for traders wanting enhanced RSI analysis with flexible moving average confirmation signals.
Constance Brown Composite Index EnhancedWhat This Indicator Does
Implements Constance Brown's copyrighted Composite Index formula (1996) from her Master's thesis - a breakthrough oscillator that solves the critical problem where RSI fails to show divergences in long-horizon trends, providing early warning signals for major market reversals.
The Problem It Solves
Traditional RSI frequently fails to display divergence signals in Global Equity Indexes and long-term charts, leaving asset managers without warning of major price reversals. Brown's research showed RSI failed to provide divergence signals 42 times across major markets - failures that would have been "extremely costly for asset managers."
Key Components
Composite Line: RSI Momentum (9-period) + Smoothed RSI Average - the core breakthrough formula
Fast/Slow Moving Averages: Trend direction confirmation (13/33 periods default)
Bollinger Bands: Volatility envelope around the composite signal
Enhanced Divergence Detection: Significantly improved trend reversal timing vs standard RSI
Research-Proven Performance
Based on Brown's extensive study across 6 major markets (1919-2015):
42 divergence signals triggered where RSI showed none
33 signals passed with meaningful reversals (78% success rate)
Only 5 failures - exceptional performance in monthly/2-month timeframes
Tested on: German DAX, French CAC 40, Shanghai Composite, Dow Jones, US/Japanese Government Bonds
New Customization Features
Moving Average Types: Choose SMA or EMA for fast/slow lines
Optional Fills: Toggle composite and Bollinger band fills on/off
All Periods Adjustable: RSI length, momentum, smoothing periods
Visual Styling: Customize colors and line widths in Style tab
Default Settings (Original Formula)
RSI Length: 14
RSI Momentum: 9 periods
RSI MA Length: 3
SMA Length: 3
Fast SMA: 13, Slow SMA: 33
Bollinger STD: 2.0
Applications
Long-term investing: Monthly/2-month charts for major trend changes
Elliott Wave analysis: Maximum displacement at 3rd-of-3rd waves, divergence at 5th waves
Multi-timeframe: Pairs well with MACD, works across all timeframes
Global markets: Proven effective on equities, bonds, currencies, commodities
Perfect for serious traders and asset managers seeking the proven mathematical edge that traditional RSI cannot provide.
HEIKEN ASHI MULTI + ADXDescription:
This custom indicator combines multiple Heiken Ashi blocks and ADX (Average Directional Index) to provide a comprehensive market analysis tool within a single time frame. It is designed to assist traders in identifying potential buy and sell signals based on Heiken Ashi trends and trend strength.
Key Features:
Multiple Heiken Ashi Blocks:
1-Minute Heiken Ashi: Displays trends in a very short time frame, ideal for scalping strategies.
5-Minute Heiken Ashi: Offers a balanced view for day traders looking for medium-term trends.
15-Minute Heiken Ashi: Provides insights into slightly longer-term trends, helping to confirm signals from shorter time frames.
ADX Functionality:
The ADX line measures the strength of the trend. It helps traders identify whether the market is trending or ranging.
Configurable settings for the ADX period and threshold allow users to tailor this tool to their specific trading style.
Customizable Appearance:
Users can customize the visibility of the Heiken Ashi blocks and ADX plot.
Dot thickness and colors can be adjusted to fit user preferences visually.
Signal Alerts:
Provides alerts when all indicators align (green for buy, red for sell), ensuring traders don't miss significant market opportunities.
Alerts are triggered only on changes to prevent repetitive notifications.
Usage:
Use this indicator for day trading, scalping, or even swing trading strategies by analyzing multiple time frames concurrently.
Customize the settings to suit your trading style for the best results.
How to Use:
Add the indicator to your chart on TradingView.
Configure the settings according to your trading preferences.
Monitor the signals generated by the alignment of the Heiken Ashi blocks and ADX.
Set alerts to be notified of potential trading opportunities based on the indicator's signals.
This indicator is perfect for traders looking for a consolidated view of market trends with a focus on Heiken Ashi candlesticks and trend strength.
Disclaimer:
This indicator is for educational purposes only and should not be construed as financial advice. Always conduct your own research before making trading decisions.
Relative Weighted Rate of Change (WROC) vs Nifty 50Relative Weighted Rate of Change (WROC) vs Nifty 50
Donchian Squeeze Oscillator# Donchian Squeeze Oscillator (DSO) - User Guide
## Overview
The Donchian Squeeze Oscillator is a technical indicator designed to identify periods of low volatility (squeeze) and high volatility (expansion) in financial markets by measuring the distance between Donchian Channel bands. The indicator normalizes this measurement to a 0-100 scale, making it easy to interpret across different timeframes and instruments.
## How It Works
The DSO calculates the width of Donchian Channels as a percentage of the middle line, smooths this data, and then normalizes it using historical highs and lows over a specified lookback period. The result is inverted so that:
- **High values (80+)** = Narrow channels = Low volatility = Squeeze
- **Low values (20-)** = Wide channels = High volatility = Expansion
## Key Parameters
### Core Settings
- **Donchian Channel Period (20)**: The number of bars used to calculate the highest high and lowest low for the Donchian Channels
- **Smoothing Period (5)**: Applies moving average smoothing to reduce noise in the oscillator
- **Normalization Lookback (200)**: Historical period used to normalize the oscillator between 0-100
### Threshold Levels
- **Over Squeeze (80)**: Values above this level indicate strong squeeze conditions
- **Over Expansion (20)**: Values below this level indicate strong expansion conditions
## Reading the Indicator
### Color Coding
- **Red Line**: Squeeze condition (above 80 threshold) - Markets are consolidating
- **Orange Line**: Neutral/trending condition with upward momentum
- **Green Line**: Expansion condition or downward momentum
### Visual Elements
- **Red Dashed Line (80)**: Squeeze threshold - potential breakout zone
- **Gray Dotted Line (50)**: Middle line - neutral zone
- **Green Dashed Line (20)**: Expansion threshold - high volatility zone
- **Red Background**: Highlights active squeeze periods
## Trading Applications
### 1. Breakout Trading
- **Setup**: Wait for DSO to reach 80+ (squeeze zone)
- **Entry**: Look for breakouts when DSO starts declining from squeeze levels
- **Logic**: Prolonged low volatility often precedes significant price movements
### 2. Volatility Cycle Trading
- **Squeeze Phase**: DSO > 80 - Prepare for potential breakout
- **Breakout Phase**: DSO declining from 80 - Trade the direction of breakout
- **Expansion Phase**: DSO < 20 - Expect trend continuation or reversal
### 3. Trend Confirmation
- **Orange Color**: Suggests bullish momentum during expansion
- **Green Color**: Suggests bearish momentum or consolidation
- Use in conjunction with price action for trend confirmation
## Best Practices
### Timeframe Selection
- **Higher Timeframes (Daily, 4H)**: More reliable signals, fewer false breakouts
- **Lower Timeframes (1H, 15M)**: More frequent signals but higher noise
- **Multi-timeframe Analysis**: Confirm squeeze on higher TF, enter on lower TF
### Parameter Optimization
- **Volatile Markets**: Increase Donchian period (25-30) and smoothing (7-10)
- **Range-bound Markets**: Decrease Donchian period (15-20) for more sensitivity
- **Trending Markets**: Use longer normalization lookback (300-400)
### Signal Confirmation
Always combine DSO signals with:
- **Price Action**: Support/resistance levels, chart patterns
- **Volume**: Confirm breakouts with increasing volume
- **Other Indicators**: RSI, MACD, or momentum oscillators
## Alert System
The indicator includes built-in alerts for:
- **Squeeze Started**: When DSO crosses above the squeeze threshold
- **Expansion Started**: When DSO crosses below the expansion threshold
## Common Pitfalls to Avoid
1. **False Breakouts**: Don't trade every squeeze - wait for confirmation
2. **Parameter Over-optimization**: Stick to default settings initially
3. **Ignoring Market Context**: Consider overall market conditions and news
4. **Single Indicator Reliance**: Always use additional confirmation tools
## Advanced Tips
- Monitor squeeze duration - longer squeezes often lead to bigger moves
- Look for squeeze patterns at key support/resistance levels
- Use DSO divergences with price for potential reversal signals
- Combine with Bollinger Band squeezes for enhanced accuracy
## Conclusion
The Donchian Squeeze Oscillator is a powerful tool for identifying volatility cycles and potential breakout opportunities. Like all technical indicators, it should be used as part of a comprehensive trading strategy rather than as a standalone signal generator. Practice with the indicator on historical data before implementing it in live trading to understand its behavior in different market conditions.
Ninja Indicator, Crypto, Forex, IndicesIndicator Description:
It is the version 2.0 of Ninja Entry Indicator. It has all the features of Ninja, added new POI support/resistance feature.
If it takes support from POI and on retest you can take long entry.
If it takes resistance from POI and on retest you can take short side entry.
Inside Candle DivergenceStudy Material: Inside Candle Divergence Indicator (aiTrendview)
1. Introduction
The Inside Candle Divergence Indicator is a custom tool built on TradingView using Pine Script. It is designed to help traders identify potential reversal points or trend continuations using a mix of candlestick analysis, RSI (Relative Strength Index), VWAP (Volume Weighted Average Price), Pivot Points, and Volume analytics. The tool also provides a dashboard table on the chart, summarizing all key values in a single glance for traders and analysts.
This indicator is not just a signal generator but also an educational framework—explaining how different concepts in technical analysis combine to build a systematic approach for market entries and exits.
________________________________________
2. Core Concepts Behind the Tool
A. Inside Candle Pattern
An Inside Candle forms when the current candle’s high is lower than or equal to the previous candle’s high, and the low is higher than or equal to the previous candle’s low.
• This means the entire price action of the current candle is "inside" the range of the previous candle.
• A bullish inside candle occurs when the close is higher than the open.
• A bearish inside candle occurs when the close is lower than the open.
This pattern shows market indecision but also sets up potential breakouts or trend reversals.
________________________________________
B. RSI (Relative Strength Index)
The indicator calculates RSI using the formula from the ta.rsi() function in TradingView. RSI helps measure momentum in the market.
• A low RSI (below 25) signals an oversold zone → possible buy.
• A high RSI (above 75) signals an overbought zone → possible sell.
By combining RSI with the Inside Candle, the indicator ensures that signals are triggered only when momentum and price patterns confirm each other.
________________________________________
C. Buy & Sell Signals
• Buy Signal: Triggered when RSI < Buy Level (default 25) and a bullish inside candle forms.
• Sell Signal: Triggered when RSI > Sell Level (default 75) and a bearish inside candle forms.
When triggered, the chart displays a BUY (green label below candle) or SELL (red label above candle) marker. The indicator also saves the entry price and signal bar for future reference inside the dashboard.
________________________________________
D. VWAP (Volume Weighted Average Price)
VWAP is calculated using the typical price (H+L+C)/3 and weighting it by volume.
• VWAP shows the average trading price weighted by volume, widely used by institutions.
• The tool calculates the distance of price from VWAP in % terms.
• If price is far above VWAP, the market may be overheated (overbought). If far below, it may be undervalued (oversold).
________________________________________
E. Volume Analysis
The tool splits volume into Buy Volume and Sell Volume:
• Buy Volume: If close > open.
• Sell Volume: If close ≤ open.
• Cumulative totals are maintained, and percentages are calculated to show what proportion of total market volume is bullish vs bearish.
• A progress bar style visual (using blocks █) shows the dominance of buyers or sellers.
This allows traders to quickly measure whether buyers or sellers are controlling the market trend.
________________________________________
F. Daily Pivot Points
Pivot Points are calculated using the previous day’s high, low, and close:
• Pivot = (High + Low + Close) / 3
• R1, S1, R2, S2, R3, S3 levels are derived from this pivot.
• These levels act as support and resistance zones.
The script plots Pivot, R1, and S1 lines on the chart for easy reference.
________________________________________
G. Trend Direction
The indicator checks where the price is compared to R1 and S1:
• If price > R1 → Bullish Trend
• If price < S1 → Bearish Trend
• Otherwise → Neutral Trend
The trend direction is displayed in the dashboard with arrows (↑, ↓, →).
________________________________________
H. Price Change Calculation
The tool calculates:
• Price Change = Current Close – Previous Close
• Percentage Change = (Change / Previous Close) × 100
• Displays ▲ (green upward) or ▼ (red downward) with the exact percentage.
This gives traders a quick snapshot of intraday price movement.
________________________________________
I. Dashboard Table
One of the most powerful features is the real-time dashboard table shown on the chart. It contains:
1. Symbol & Price Info (Current ticker, price, change %)
2. RSI Reading (with color coding: green for oversold, red for overbought)
3. VWAP and Distance from VWAP
4. Volume Analysis with Progress Bar (Buy vs Sell %)
5. Pivot Levels (Pivot, R1, S1)
6. Trend Direction (Bullish, Bearish, Neutral)
7. Signal Status (Last Buy/Sell signal with entry price)
This reduces the need for multiple indicators and gives traders a command-center view directly on the chart.
________________________________________
J. Alerts
The tool generates alerts whenever a Buy or Sell condition is met. Traders can set up TradingView alerts to be notified instantly when:
• Buy Signal Alert → RSI oversold + Bullish inside candle
• Sell Signal Alert → RSI overbought + Bearish inside candle
This ensures no opportunity is missed even if you’re not actively monitoring the chart.
________________________________________
K. Background Highlights
The chart background also changes faintly (light green or light red) when a Buy or Sell condition is triggered. This gives traders visual confirmation along with signals and alerts.
________________________________________
3. Practical Use of This Tool
• Scalpers & Intraday Traders can use it for quick momentum-based entries.
• Swing Traders can use the RSI + Inside Candle + Pivot Points to find medium-term reversals.
• Analysts can use the dashboard for real-time summaries in reports.
• Volume Analysis helps understand institutional activity.
Remember: This is not a standalone holy grail. It must be used with proper risk management and confirmation from higher timeframes.
________________________________________
4. Strict Disclaimer (aiTrendview)
⚠️ Disclaimer from aiTrendview:
This indicator is designed for educational and analytical purposes only. It is not financial advice or a guaranteed trading strategy. Markets are inherently risky and unpredictable; past performance of indicators does not ensure future results. Trading involves risk of financial loss, and traders must use proper risk management, stop-loss, and independent judgment.
aiTrendview strictly follows TradingView.com rules and compliance guidelines.
Any misuse of this tool, its code, or analytical features for unauthorized commercial purposes, false promises, or misleading activities is strictly discouraged. The creators of this script and aiTrendview will not be responsible for any losses, damages, or misuse arising from its application. Always trade responsibly and only with money you can afford to lose.
________________________________________
MACD Bullish Divergence + Multi-TF RSI Buy SignalsNew script to overlap MACD Bullish Divergence and RSI signals to give confluence.
EMA Oscillator [Alpha Extract]A precision mean reversion analysis tool that combines advanced Z-score methodology with dual threshold systems to identify extreme price deviations from trend equilibrium. Utilizing sophisticated statistical normalization and adaptive percentage-based thresholds, this indicator provides high-probability reversal signals based on standard deviation analysis and dynamic range calculations with institutional-grade accuracy for systematic counter-trend trading opportunities.
🔶 Advanced Statistical Normalization
Calculates normalized distance between price and exponential moving average using rolling standard deviation methodology for consistent interpretation across timeframes. The system applies Z-score transformation to quantify price displacement significance, ensuring statistical validity regardless of market volatility conditions.
// Core EMA and Oscillator Calculation
ema_values = ta.ema(close, ema_period)
oscillator_values = close - ema_values
rolling_std = ta.stdev(oscillator_values, ema_period)
z_score = oscillator_values / rolling_std
🔶 Dual Threshold System
Implements both statistical significance thresholds (±1σ, ±2σ, ±3σ) and percentage-based dynamic thresholds calculated from recent oscillator range extremes. This hybrid approach ensures consistent probability-based signals while adapting to varying market volatility regimes and maintaining signal relevance during structural market changes.
// Statistical Thresholds
mild_threshold = 1.0 // ±1σ (68% confidence)
moderate_threshold = 2.0 // ±2σ (95% confidence)
extreme_threshold = 3.0 // ±3σ (99.7% confidence)
// Percentage-Based Dynamic Thresholds
osc_high = ta.highest(math.abs(z_score), lookback_period)
mild_pct_thresh = osc_high * (mild_pct / 100.0)
moderate_pct_thresh = osc_high * (moderate_pct / 100.0)
extreme_pct_thresh = osc_high * (extreme_pct / 100.0)
🔶 Signal Generation Framework
Triggers buy/sell alerts when Z-score crosses extreme threshold boundaries, indicating statistically significant price deviations with high mean reversion probability. The system generates continuation signals at moderate levels and reversal signals at extreme boundaries with comprehensive alert integration.
// Extreme Signal Detection
sell_signal = ta.crossover(z_score, selected_extreme)
buy_signal = ta.crossunder(z_score, -selected_extreme)
// Dynamic Color Coding
signal_color = z_score >= selected_extreme ? #ff0303 : // Extremely Overbought
z_score >= selected_moderate ? #ff6a6a : // Overbought
z_score >= selected_mild ? #b86456 : // Mildly Overbought
z_score > -selected_mild ? #a1a1a1 : // Neutral
z_score > -selected_moderate ? #01b844 : // Mildly Oversold
z_score > -selected_extreme ? #00ff66 : // Oversold
#00ff66 // Extremely Oversold
🔶 Visual Structure Analysis
Provides a six-tier color gradient system with dynamic background zones indicating mild, moderate, and extreme conditions. The histogram visualization displays Z-score intensity with threshold reference lines and zero-line equilibrium context for precise mean reversion timing.
snapshot
4H
1D
🔶 Adaptive Threshold Selection
Features intelligent threshold switching between statistical significance levels and percentage-based dynamic ranges. The percentage system automatically adjusts to current volatility conditions using configurable lookback periods, while statistical thresholds maintain consistent probability-based signal generation across market cycles.
🔶 Performance Optimization
Utilizes efficient rolling calculations with configurable EMA periods and threshold parameters for optimal performance across all timeframes. The system includes comprehensive alert functionality with customizable notification preferences and visual signal overlay options.
🔶 Market Oscillator Interpretation
Z-score > +3σ indicates statistically significant overbought conditions with high reversal probability, while Z-score < -3σ signals extreme oversold levels suitable for counter-trend entries. Moderate thresholds (±2σ) capture 95% of normal price distributions, making breaches statistically significant for systematic trading approaches.
snapshot
🔶 Intelligent Signal Management
Automatic signal filtering prevents false alerts through extreme threshold crossover requirements, while maintaining sensitivity to genuine statistical deviations. The dual threshold system provides both conservative statistical approaches and adaptive market condition responses for varying trading styles.
Why Choose EMA Oscillator ?
This indicator provides traders with statistically-grounded mean reversion analysis through sophisticated Z-score normalization methodology. By combining traditional statistical significance thresholds with adaptive percentage-based extremes, it maintains effectiveness across varying market conditions while delivering high-probability reversal signals based on quantifiable price displacement from trend equilibrium, enabling systematic counter-trend trading approaches with defined statistical confidence levels and comprehensive risk management parameters.
Penguin Trend with RSI on DiffVisualizes volatility regime via the percent spread between the upper Bollinger Band and the upper Keltner Channel, with bar colors from a lightweight trend engine and an RSI computed on the Diff signal. Supports SMA/EMA/WMA/RMA/HMA/VWMA/VWAP and an optional calculation timeframe. Defaults preserve the original look and behavior.
Penguin Trend with RSI on Diff shows expansion vs. compression in price action by comparing two classic volatility envelopes. It computes:
Diff% = (UpperBB − UpperKC) / UpperKC × 100
• Diff > 0: Bollinger Bands are wider than Keltner Channels → expansion / momentum regime
• Diff < 0: BB narrower than KC → compression / squeeze regime
A white “Average Diff” line smooths Diff% (default: SMA(5)) to highlight regime shifts. Bars are colored only when Diff > 0 to focus on expansion phases. A lightweight trend engine defines four states from a fast/slow MA bias and a short “thrust” MA on ohlc4:
• Green: Bullish bias and thrust > fast MA (healthy upside thrust)
• Red: Bearish bias and thrust < fast MA (healthy downside thrust)
• Yellow: Bullish bias but thrust ≤ fast MA (pullback/weakness)
• Blue: Bearish bias but thrust ≥ fast MA (bear rally/short squeeze)
RSI on Diff:
The indicator adds an RSI applied to Diff% to gauge momentum of the expansion/compression signal itself. Choose between Built-in RSI or a manual RMA-based computation, and optionally smooth it. Default OB/OS lines are 70/30.
How it works:
• Bollinger Bands (BB): Basis = selected MA of src (default SMA(20)); Width = StdDev × Mult (default 2.0)
• Keltner Channels (KC): Basis = selected MA of src (default SMA(20)); Width = ATR(kcATR) × Mult (defaults 20 and 2.0)
• Diff%: Safe division guards against division-by-zero
• MA engine: Select SMA / EMA / WMA / RMA / HMA / VWMA / VWAP for BB/KC bases, Average Diff, and trend components (VWAP is session-anchored)
• Calculation timeframe: Compute internals on a chosen TF via request.security() while viewing any chart TF
Inputs (key):
• Calculation timeframe: Empty = chart TF; set e.g., 60/240 to compute on that TF
• BB: Length, StdDev Mult, MA Type
• KC: Basis Length, ATR Length, Multiplier, MA Type
• Average Diff: Length and MA Type
• RSI on Diff: RSI Length, Method (Built-in or Manual RMA), Smoothing Length, OB/OS levels, show/hide
• Trend Engine: Fast/Slow lengths & MA type, Signal (kept for completeness), Thrust MA length & type
• Display/Visibility: Paint bars only when Diff > 0; show zero line; “true Blue” color toggle; show/hide Diff columns and Average Diff
How to use:
1. Regime changes: Watch Diff% or Average Diff crossing 0. Above zero favors momentum/continuation setups; below zero suggests compression and potential breakout conditions.
2. State confirmation: During expansion (Diff > 0), prioritize Green/Red for aligned thrust; treat Yellow/Blue as cautionary/contrarian.
3. RSI on Diff: Use OB/OS and crossovers for timing entries/exits or for confirming/negating expansion strength.
Alerts:
• Diff crosses above/below 0
• Average Diff crosses above/below 0
• RSI(Diff) crosses above OB / below OS
• State changes: GREEN / RED / YELLOW / BLUE
Notes & limitations:
• VWAP is session-anchored and best on intraday data. If not applicable on the selected calculation TF, the script automatically falls back to EMA.
• Defaults (SMA(20) for BB/KC, multipliers 2.0, SMA(5) Average Diff, original trend coloring and bar painting) preserve the original appearance.
• RSI on Diff is plotted in the same pane for a compact workflow; you can hide it or split into a separate indicator if desired.
Release notes:
v6.0 — Upgraded to Pine v6. Added multi-MA options (SMA/EMA/WMA/RMA/HMA/VWMA/VWAP), calculation timeframe, RSI on Diff (Built-in or Manual RMA) with smoothing, safe division guard, optional zero line, and optional true Blue color. Defaults retain the original behavior.
License / disclaimer:
© waranyu.trkm — MIT License. Educational use only; not financial advice.
Reverse RSI Signals [AlgoAlpha]🟠 OVERVIEW
This script introduces the Reverse RSI Signals system, an original approach that inverts traditional RSI values back into price levels and then overlays them directly on the chart as dynamic bands. Instead of showing RSI in a subwindow, the script calculates the exact price thresholds that correspond to common RSI levels (30/70/50) and displays them as upper, lower, and midline bands. These are further enhanced with an adaptive Supertrend filter and divergence detection, allowing traders to see overbought/oversold zones translated into actionable price ranges and trend signals. The script combines concepts of RSI inversion, volatility envelopes, and divergence tracking to provide a context-driven tool for spotting reversals and regime shifts.
🟠 CONCEPTS
The script relies on inverting RSI math: by solving for the price that would yield a given RSI level, it generates real chart levels tied to oscillator conditions. These RSI-derived price bands act like support/resistance, adapting each bar as RSI changes. On top of this, a Supertrend built around the RSI midline introduces directional bias, switching regimes when the midline is breached. Regular bullish and bearish divergences are detected by comparing RSI pivots against price pivots, highlighting early reversal conditions. This layered approach means the indicator is not just RSI on price but a hybrid of oscillator translation, volatility-tracking midline envelopes, and divergence analysis.
🟠 FEATURES
Inverted RSI bands: upper (70), lower (30), and midline (50), smoothed with EMA for noise reduction.
Supertrend overlay on the RSI midline to confirm regime direction (bullish or bearish).
Gradient-filled zones between outer and inner RSI bands to visualize proximity and exhaustion.
Non-repainting bullish and bearish divergence markers plotted directly on chart highs/lows.
🟠 USAGE
Apply the indicator to any chart and use the plotted RSI price bands as adaptive support/resistance. The midline defines equilibrium, while upper and lower bands represent classic RSI thresholds translated into real price action. In bullish regimes (green candles), long trades are stronger when price approaches or bounces from the lower band; in bearish regimes (red candles), shorts are favored near the upper band. Divergence markers (▲ for bullish, ▼ for bearish) flag potential reversal points early. Traders can combine the band proximity, divergence alerts, and Supertrend context to time entries, exits, or to refine ongoing trend trades. Adjust smoothing and Supertrend ATR settings to match the volatility of the instrument being analyzed.
NPM Rsi DivergenceNPM RSI Divergence Indicator
The NPM RSI Divergence Indicator is a closed-source tool designed to help traders identify potential reversals and high-probability trade setups using divergence between price action and the Relative Strength Index (RSI). It highlights areas where momentum is weakening or strengthening, giving traders early signals of potential trend changes.
What it does
Detects divergences between RSI and price movement, indicating potential trend reversals or continuation.
Shows the strength or reliability of each divergence signal to help traders gauge probability.
Plots visual markers directly on the chart for easier recognition of potential setups.
Helps traders spot early exhaustion points in trends before price reverses or continues strongly.
How it works (concept-level)
Compares price highs/lows with RSI highs/lows to detect hidden or regular divergences.
Applies adaptive filtering to reduce false signals in choppy or low-volatility markets.
Aggregates divergence signals into clear visual markers and strength indicators.
Incorporates momentum context to highlight divergences that are more likely to produce actionable moves.
How to use it
1. Apply the indicator to your chosen symbol and timeframe.
2. Observe divergence markers and their strength indicators on the chart.
3. Confirm potential trade opportunities by considering trend direction and market context.
4. Use divergence signals to assist with trade entry, exit, or risk management decisions.
Alerts
Optionally set alerts when divergence signals appear or when the strength indicator exceeds a user-defined threshold.
Notes
Suitable for multiple markets, including forex, indices, crypto, and equities.
Can be used on intraday or swing trading timeframes depending on your trading strategy.
⚠️ Disclaimer: This script is for educational purposes only and is not financial advice. Trading involves risk, and you can lose money. Always test strategies on a demo account and practice proper risk management.
NPM Trend Dashboard NPM Trend Dashboard
The NPM Trend Dashboard is a closed-source tool designed to help traders quickly assess market conditions and make informed decisions. It combines trend detection, momentum, and volatility awareness into a clear interface, showing the current trend direction and strength for selected symbols.
What it does
Displays trend direction (uptrend, downtrend, or neutral) for each selected symbol.
Shows a confidence score or strength indicator to help gauge reliability.
Highlights potential areas of market exhaustion or reversal based on aggregated trend signals.
How it works (concept-level)
Combines multiple trend-detection methods such as moving average structure, momentum filters, and volatility assessment to generate an overall trend signal.
Uses adaptive filters to reduce noise and avoid false signals in choppy markets.
Incorporates zone awareness to account for areas where price may pause or reverse.
Aggregates signals into a single dashboard view to provide traders with a quick, actionable overview.
How to use it
1. Select symbols to monitor.
2. Switch to your desired timeframe to view trend information.
3. Observe trend direction and confidence score for each symbol.
4. Use the dashboard to supplement trade entries, exits, and risk management strategies.
Alerts
Optionally set alerts when trend direction changes or when confidence exceeds a user-defined threshold.
Notes
Suitable for multiple markets, including forex, indices, crypto, and equities.
Can be used for intraday scalping, swing trading, or longer-term trend analysis depending on the selected timeframe.
⚠️ Disclaimer: This script is for educational purposes only and is not financial advice. Trading involves risk, and you can lose money. Always test strategies on a demo account and practice proper risk management.
BRN TENDENCIAL (Alta / Baixa / Neutro) — com PerfisObjectively classify the market into 3 states: Bullish, Bearish, or Neutral.
Classic Ribbon Detection:
Bullish = MA1 > MA2 > MA3 > MA4 > MA5 > MA6
Bearish = MA1 < MA2 < MA3 < MA4 < MA5 < MA6
Neutral = when the alignment is not met (crossovers/disorder).
Optional simple mode (toggle): consider only MA1 and MA6 (Bullish = MA1 > MA6, Bearish = MA1 < MA6).
Pre-configured profiles (A/B/C) to recognize only large movements with one click.
Full manual configuration: choose the type of average (SMA/EMA/HMA/VWMA) and the periods for each of the 6 MAs.
Optional "big moves" filters:
Minimum Ribbon width (%) to require "fan opening";
Minimum MA1 slope (%) to require strong direction.
Clean visuals for quick reading: 6 Ribbon lines, background mask by state, optional bar color, and fill between MA1 and MA6.
Trademark start markers (UP/DOWN/NEUTRAL) to identify transitions on the chart.
Practical use: Serves as a trend filter for your strategies/signals (e.g., only trade Long on Highs, Short on Lows).
Focus on controlled neutrality: With profiles and filters, it prioritizes Neutral in noise and only marks a trend when the movement is truly significant.
Fear index by Clarity ChartsFear Index – Market Sentiment Strength Meter
The Fear Index is a unique, custom-built indicator designed to visualize market sentiment shifts by highlighting periods of fear (red) and confidence (green) directly on your chart. Unlike traditional oscillators, this tool combines price action dynamics with volume intensity to detect when participants are aggressively selling or confidently buying.
How to Use:
Red spikes indicate rising fear, panic, or heavy selling pressure – potential trend reversals or breakdown signals.
Green spikes highlight confidence, strength, or accumulation – signaling possible recovery or continuation.
Best used with trend analysis, support/resistance zones, and volume confirmation for high-probability setups.
Why this is different:
Not a copy of any existing indicator – this is a brand-new formula.
Helps you anticipate market mood before major price swings.
Works across multiple timeframes and instruments (indices, stocks, crypto, forex).
Pro Tip: Combine this with EMA/Trend filters for powerful trade entries and exits.
Support the Work
If you find this indicator valuable, please boost by like, comment, and share it so I can continue creating more powerful and innovative tools for traders like you. Your support keeps this research alive!
SAR Oscillator [Bellsz]Converts Parabolic SAR into a normalized oscillator with crossover signals, gradient fills, and trend strength levels. A cleaner way to read SAR momentum. Making it easier to read momentum shifts, trend strength, and reversals directly in the sub-chart. Instead of dots on price only, this tool converts SAR dynamics into a smooth oscillator that highlights bias and turning points.
What it shows
Normalized Price Line — scaled view of price relative to SAR.
Normalized SAR Line — SAR value normalized across the high/low range.
SAR Dots — visual cue when crossovers occur (potential reversal or trend acceleration).
Gradient Fill — color-coded background for quick read of momentum direction/intensity.
Guide Levels — ±50 baseline to track trend strength and overextension.
Why use it
Converts SAR into an oscillator format, easier to compare across instruments & timeframes.
Highlights momentum shifts early (crossovers, gradient flips).
Adds structure with gradient fill and baselines, making SAR more actionable than standard dot plots.
Works as a trend bias filter or confirmation tool alongside other indicators.
Inputs
Acceleration / Increment / Maximum — adjust SAR sensitivity.
Custom Colors — choose your scheme for price, SAR, and gradients.
Best practices
Use on intraday or swing TFs as a trend bias filter.
Look for Normalized Price crossing Normalized SAR as potential entry signals.
Watch how SAR dots cluster near ±100 for exhaustion or reversal signals.
Notes
This is a visual enhancement of SAR; it does not repaint.
Combine with volume, FVGs, or session models for added context.