True Momentum IndexTrue Momentum Index (TMI) — Precision Trading by Trading_Tomm
The True Momentum Index (TMI) is a cutting-edge technical indicator developed for traders who demand accuracy, clarity, and consistency across all market conditions. Designed by Trading_Tomm , this indicator provides a reliable method to identify high-probability entry and exit points by analyzing real-time momentum shifts and volatility levels.
Key Benefits:
1. Multi-Timeframe Versatility: Whether you're scalping on a 1-minute chart or investing on the weekly, TMI adapts seamlessly to your strategy.
2. Enhanced Risk Management: By highlighting optimal trade zones, TMI helps improve your reward-to-risk ratio and reduce exposure to false signals.
3. Clear Trend Detection: Instantly distinguish between trending, ranging, or consolidating markets.
4. Breakout Confirmation: Spot true breakout opportunities with confidence, supported by Bollinger Band overlays.
5. Universal Applicability: Works effectively with stocks, forex, cryptocurrency, commodities, and indices.
TMI’s intuitive visual presentation and precision signals make it an essential tool for both new and experienced traders. Whether you're trading volatile crypto markets or steady equities, the True Momentum Index gives you the edge to trade with discipline, clarity, and confidence.
Start using the True Momentum Index and take your trading strategy to the next level -maximize potential, minimize uncertainty.
Osilatörler
Dual Stochastic Enhanced (with Presets giua64)Script Title: Dual Stochastic Enhanced (with Presets giua64)
Overview:
This indicator enhances the traditional Dual Stochastic strategy, aiming to provide more filtered and potentially reliable trading signals. By integrating dynamic overbought/oversold levels via Bollinger Bands on the slow stochastic, a trend filter based on a moving average, momentum confirmation via RSI, and user-friendly selectable presets, "Dual Stochastic Enhanced" seeks to offer a more robust approach to identifying potential entry points.
Key Features:
Dual Stochastics: Utilizes a slow stochastic (configurable, e.g., 14 periods) as a context filter and a fast stochastic (configurable, e.g., 5 periods) as a signal trigger.
Bollinger Bands on Slow Stochastic: Instead of fixed overbought/oversold levels (80/20), Bollinger Bands are applied to the %K line of the slow stochastic. This creates dynamic zones that adapt to the stochastic's own volatility.
Trend Filter: A moving average (configurable type and length, e.g., EMA 100 as seen in the example chart for general context) on the price helps filter signals, allowing only trades aligned with the prevailing trend.
RSI Confirmation: An RSI oscillator (configurable length, e.g., 14 periods) is used to confirm momentum. Signals require the RSI to cross certain thresholds to validate the strength of the move.
User Presets: Includes presets for "Scalping," "Intraday," and "Swing trading," which quickly set all key parameters to suit different styles and timeframes. A "Custom" option is also available for full manual configuration.
Clear Visual Signals: Long (green) and Short (red) arrows appear on the chart when all entry conditions are met.
Active Zone Highlighting: The background of the indicator panel changes color (green or red) when "active zone" conditions (a combination of stochastics, trend, and RSI) are favorable.
Information Panel: A table in the top-right corner of the indicator panel displays the current status of the selected preset, trend filter, RSI value, and stochastic levels.
Signal Logic:
A LONG signal is generated when:
The fast stochastic %K crosses above its %D line.
The slow stochastic %K line is below its lower Bollinger Band (dynamic oversold condition).
The fast stochastic %K line is also in a low area (e.g., <25) to confirm the trigger is not premature.
The closing price is above the trend moving average (uptrend).
The RSI is above its long confirmation level (e.g., >40), indicating sufficient bullish momentum.
A SHORT signal is generated when:
The fast stochastic %K crosses below its %D line.
The slow stochastic %K line is above its upper Bollinger Band (dynamic overbought condition).
The fast stochastic %K line is also in a high area (e.g., >75).
The closing price is below the trend moving average (downtrend).
The RSI is below its short confirmation level (e.g., <60), indicating sufficient bearish momentum.
How to Use:
Select a Preset suitable for your trading style and the timeframe you are analyzing (e.g., Scalping for M1-M15, Intraday for M5-H1, Swing for H4-D1).
Alternatively, choose "Custom" and manually adjust all parameters (stochastic lengths, smoothing, Bollinger Bands, Moving Average, RSI, confirmation thresholds).
Observe the Information Panel for a quick understanding of the current conditions.
Evaluate the arrow signals, always considering the broader market context, price action, and any other confluences (supports/resistances, chart patterns).
The background highlighting can help quickly identify periods where conditions are aligned for potential trades.
Disclaimer:
This script is provided for educational and informational purposes only. Trading involves significant risk, and past performance is not indicative of future results. Always thoroughly test any strategy or indicator on historical data and on a demo account before risking real capital. The author assumes no responsibility for any losses incurred from the use of this script.
Author: giua64
ADX mura visionOverview
The Enhanced ADX with Custom 40/60 Levels is a Pine Script™ v6 open-source indicator that builds on the classic Average Directional Index by adding two critical thresholds at 40 and 60. These extra levels give you early warning of trend exhaustion and precise exit signals when paired with the mura indicator.
Key Features & Originality
Custom Thresholds (40/60): Beyond the standard ADX levels (25/50), levels at 40 and 60 mark advanced trend strength phases and highlight when momentum is beginning to fade.
Trend Weakness Alerts: Configurable alerts trigger when ADX dips below 60 or 40, signaling ideal exit opportunities before a full reversal.
Color-Coded ADX Line: The ADX line dynamically changes color upon crossing 40 and 60, making trend strength transitions instantly visible.
mura Indicator Synergy: Specially designed to complement the mura indicator—when mura signals an exit and ADX falls below your chosen threshold, you get a high-confidence cue to close your position.
How It Works
Advanced Trend Phases: ADX above 25 confirms a trend, above 40 indicates strong momentum, and above 60 signals extreme strength. A drop below 60 or 40 warns of weakening momentum.
Exit Confirmation: Combine a mura exit signal (e.g., dot flip or reversal) with an ADX cross below 40/60 to capture optimal exit points.
Usage & Inputs
ADX Length (default 14): Period for ADX calculation.
Level Inputs: Customize your threshold levels (default: 25, 40, 50, 60).
Alert Toggles: Enable alerts on crosses above or below each level.
Style Settings: Adjust line colors and widths for ADX and threshold lines.
Why This Adds Value
Early Exit Signals: Identify momentum loss before major reversals, protecting profits.
Cleaner Trade Management: Visual cues reduce guesswork when exiting trades.
Modular Design: Use standalone or integrate with mura for robust entry/exit workflows.
Pine Script™ Version: v6
Open-Source License: MPL-2.0
Volume-Weighted SMI with Divergence Alerts📊 Volume-Weighted SMI with Divergence Alerts
This indicator is a modified version of the Stochastic Momentum Index (SMI) that incorporates volume-weighting to give more significance to price movements during high-volume periods. It also includes optional divergence alerts for improved signal precision.
🔍 Key Features:
Volume-Weighted SMI: Enhances the traditional SMI by amplifying signals during high-volume conditions.
WMA Smoothing: Applies a weighted moving average for clearer trend structure.
Custom Thresholds: Adjustable upper and lower bounds (default ±80) to identify overbought/oversold zones.
Divergence Alerts:
Detects bullish divergence (price makes lower lows, SMI makes higher lows).
Detects bearish divergence (price makes higher highs, SMI makes lower highs).
Sends alerts without plotting markers to keep your chart clean.
⚙️ Inputs:
SMI Length: Lookback for high/low range.
K Smoothing: Smooths the volume-weighted SMI signal.
WMA Length: Period of the WMA applied to the smoothed SMI.
Upper/Lower Threshold: Custom levels for signal zones.
Pivot Lookback: Defines the swing structure used in divergence detection.
🔔 Alerts:
Set a TradingView alert on:
“Any alert() function call”
to receive real-time divergence notifications (bullish or bearish) directly from the indicator.
🧠 How to Use:
Look for crossovers of the WMA with the SMI line to confirm shifts in momentum.
Use threshold levels for overbought/oversold identification.
Watch for divergence alerts to anticipate potential reversals or exhaustion.
Adaptive Multi-TF Indicator Table with Presets giua64📌 Script Name:
Adaptive Multi-Timeframe Indicator Table with Presets — giua64
📄 Description:
This script displays an adaptive multi-timeframe dashboard that summarizes the signals of three key technical indicators:
Moving Averages (MAs), Relative Strength Index (RSI), and MACD.
It provides a fast and visually intuitive overview of market conditions across five timeframes (5m, 15m, 30m, 1h, 4h), helping traders quickly identify potential directional biases (e.g., bullish, bearish, or neutral) based on either predefined presets or fully manual settings.
🧰 Preset Configurations:
You can choose between four trading styles, each with optimized indicator parameters:
Scalping
• MAs: 5 / 10 (Fast), 20 / 50 (Slow)
• RSI: 7 periods | Overbought: 70 | Oversold: 30
• MACD: 5 / 13 | Signal: 3
Intraday
• MAs: 9 / 21 (Fast), 50 / 100 (Slow)
• RSI: 14 periods | Overbought: 60 | Oversold: 40
• MACD: 12 / 26 | Signal: 9
Swing
• MAs: 10 / 20 (Fast), 50 / 200 (Slow)
• RSI: 14 periods | Overbought: 65 | Oversold: 35
• MACD: 12 / 26 | Signal: 9
Manual
• Full custom control over all indicator settings.
🛠️ All settings can be customized manually from the options panel, including the exact MA periods, RSI thresholds, and MACD structure.
🧠 How It Works:
For each timeframe, the script evaluates:
MA crossover status (two levels):
The first symbol refers to the crossover of the fast MAs
The second symbol refers to the crossover of the slow MAs
🟢 = Bullish crossover
🔴 = Bearish crossover
➖ = Flat or no clear signal
RSI Direction:
↑ = RSI above upper threshold (potential overbought)
↓ = RSI below lower threshold (potential oversold)
→ = RSI in neutral range
MACD Line vs Signal Line:
↑ = MACD line is above signal line (bullish)
↓ = MACD line is below signal line (bearish)
→ = Flat or neutral signal
Each signal is assigned a numerical score. These are aggregated per timeframe to compute a combined score that reflects the directional bias for that specific time window.
🧠 Adaptive Logic by Asset:
This script is designed to be universally compatible across all asset types — including forex, crypto, stocks, indices, and commodities.
Thanks to its multi-timeframe nature and flexible indicator presets, the script automatically adjusts its behavior based on the asset selected, ensuring relevant analysis without requiring manual recalibration.
🧾 Summary Table Output:
At the bottom of the dashboard, a combined sentiment is displayed for:
3TF → 5m, 15m, 30m
4TF → Adds 1h
5TF → Adds 4h
Each row shows:
Signal → LONG / SHORT / NEUTRAL
Confidence (%) → Based on score aggregation and signal consistency
📌 Customization Options:
Table Position: Left, Right, or Center
Text Size: Small, Normal, or Large
Full Manual Configuration: All MA, RSI, and MACD parameters can be adjusted as needed
⚠️ Disclaimer:
This script is for educational and analytical purposes only.
It does not constitute financial advice or guarantee any trading results.
Always do your own research and apply responsible risk management.
Big Mover Catcher BTC 4h🧠 Big Mover Catcher (BTC 4H Strategy) — Educational Tool
⚠️ Disclaimer: I am not a financial advisor. This script is for educational and testing purposes only. Cryptocurrency trading is highly volatile and involves significant risk. You can lose all of your invested capital.
📌 Overview
The Big Mover Catcher strategy is a work-in-progress trading system designed for Bitcoin (BTC) on the 4-hour chart. It aims to identify strong breakout moves by combining multiple technical indicators and conditions, allowing for high customization and filter-based confirmations.
This script is part of a personal project to learn Pine Script and backtesting on TradingView. It is currently in the testing and research phase.
🎯 Strategy Objective
Catch large, high-momentum breakout moves in the BTC market using:
Bollinger Band breakouts for entry signals
Momentum, volatility, and trend filters for trade confirmation
🧰 Features & Filters
The script provides a flexible set of filters that can be turned ON/OFF and adjusted directly from the settings panel:
✅ Entry Conditions
Price must break above or below Bollinger Bands
All selected filters must align before entry
🧪 Available Filters:
Relative Strength Index (RSI) with EMA/SMA smoothing
Average Directional Index (ADX) with EMA/SMA smoothing
Average True Range (ATR) with EMA/SMA smoothing
MACD Signal above or below zero
EMA 350 trend filter
ATR / ADX / RSI Threshold toggles for added control
🔥 Additional Feature:
Force Take Profit: Optionally closes the trade immediately if a candle closes with more than a defined % movement (default: 5%). This can help lock in quick profits during high volatility moves.
⚙️ Customizable Inputs
You can configure:
Stop loss percentage
All indicator lengths
Smoothing types (EMA/SMA)
Threshold activation toggles
Individual filter ON/OFF switches
This makes the strategy highly adaptable for educational exploration and optimization.
📊 Best Used For
Learning Pine Script and strategy structure
Testing filter combinations for BTC on the 4H timeframe
Understanding how different indicators interact in live markets
⚠️ Note: ❌ Short trades are currently disabled by default, as short-side logic is still under development.
❗ Final Reminder
This script is not financial advice. It is an educational tool. Use it to learn and explore trading logic. Trading cryptocurrencies carries high risk — only invest what you can afford to lose.
Fibo Normalized RSI & RSI RibbonPlots both standard and Z-score normalized RSI ribbons using Fibonacci-based periods. Supports adjustable normalization, optional 0–100 scaling, and multi-line visualizations for momentum and deviation analysis.
This tool is designed for traders who want to go beyond standard RSI by adding:
Statistical normalization (Z-score)
Multi-period analysis (Fibonacci structure)
Advanced divergence and exhaustion detection
It gives you both classical momentum context and mathematically rigorous deviation insight, making it ideal for:
Swing traders
Quant-inclined discretionary traders
Multi-timeframe analysts
Trend Confirmation
When both RSI and normalized RSI across short and long periods are stacked in the same direction (e.g., above 50 or with high Z-scores), the trend is likely strong.
Disagreement between the two ribbons (e.g., RSI high but normalized RSI flat) may indicate late-stage trend or false strength.
Mean Reversion Trades
Look for normalized RSI values > +2 or < -2 (i.e., ~2 standard deviations).
Cross-check with standard RSI to see if the move aligns with a traditional overbought/oversold level.
Great for fade/reversal setups when Z-score RSI is extreme but classic RSI is just beginning to turn.
Divergence Detection
Compare the slope of RSI vs. normalized RSI over same period:
If RSI is rising but normalized RSI is falling → momentum is fading despite apparent strength.
Excellent for early warnings before reversals.
Multi-Timeframe Confluence
Use short-period ribbons (e.g., 3–13) for tactical entries/exits.
Use long-period ribbons (e.g., 55–233) for macro trend bias.
Alignment across both = high-confidence zone.
RSI mura visionOverview
The Enhanced RSI with Custom 40/60 Zones is a Pine Script™ v6 open-source indicator that builds on the classic Relative Strength Index by adding two additional horizontal levels at 40 and 60, alongside the standard 30/70. These extra zones help you identify early momentum shifts and distinguish trending markets from ranging ones with greater precision.
Key Features & Originality
* Custom Mid-Zones (40/60): Standard RSI signals can be noisy around the 50 midpoint. By marking 40 as a “weak momentum” threshold and 60 as a “strong momentum” confirmation, you get clearer entry and exit cues.
* Color-Coded Zones: The RSI line changes color when crossing 40, 50, 60, 70, and 30, letting you visually spot momentum acceleration or deceleration.
* Configurable Alerts: Built-in alert conditions fire when RSI crosses 40 or 60 in either direction, so you never miss a potential trend onset or exhaustion.
* Lightweight & Clean: No external dependencies, no look-ahead bias, and minimal repainting—ideal for both novice and professional traders.
How It Works
1. Momentum Decomposition: The standard 14-period RSI measures overbought/oversold extremes. Adding 40/60 lets you see when momentum shifts from neutral to bullish (crossing above 60) or bearish (dropping below 40) earlier than the classic 70/30 thresholds.
2. Trend Confirmation vs. Pullbacks: Readings between 40–60 often correspond to healthy pullbacks within a trend. A bounce off 40 suggests continuation; a rejection at 60 warns of a deeper pullback or reversal.
Usage & Inputs
* RSI Length (default 14): Period for calculating RSI.
* Level Inputs: Customize levels for overbought (70), support (60), neutral (50), weak (40), and oversold (30).
* Alert Toggles: Enable/disable alerts on each cross.
Why This Adds Value
* Early Signals: Capture trend beginnings before the market reaches extreme overbought/oversold levels.
* Noise Reduction: Filter sideways chop by watching the 40–60 corridor.
* Flexibility: Works on any timeframe or ticker.
Pine Script™ Version: v6
Open-Source License: MPL-2.0
Feel free to fork, modify, and share.
Mimas buy and sellBollinger Bands: Calculated using a simple moving average (basis) and standard deviation (dev).
EMAs: Two exponential moving averages (EMA 5 and EMA 20) are plotted to identify short-term and long-term trends.
Price Action Patterns: The script detects higher highs and higher lows for bullish conditions, and lower highs and lower lows for bearish conditions.
Trend Strength: An exponential moving average of the price change is used to gauge the strength of the trend.
Trade Signals: Buy and sell signals are plotted on the chart when specific conditions are met, combining price action patterns, trend strength, Bollinger Bands, and EMA crossovers.
Take-Profit Levels: Dynamic take-profit levels are calculated based on recent swing highs and lows, adjusted by a user-defined multiplier. These levels are displayed on the chart using plot to draw horizontal lines.
Rainbow Trend [Mc]1. Momentum-Based Foundation
This indicator measures the velocity and strength of price changes.
Rising momentum indicates that price movement (upward or downward) has strength behind it.
When momentum weakens or reverses, it often signals a potential trend reversal.
2. Long-Term Time Frame
Unlike traditional indicators like RSI or Stochastic, which use shorter lookback periods (e.g., 14 days), this indicator uses a much longer period, such as 50 to 200 days.
This extended range helps smooth out volatility and provides a clearer view of the primary trend.
3. Multicolored Gradient Lines
The indicator displays multi-layered colored curves, often with a rainbow-like gradient.
Red or pink areas indicate strong selling pressure or peak momentum in an uptrend.
Green or bright green dots often suggest recovery or bottoming momentum.
Orange or yellow colors indicate neutral or transition zones, awaiting trend confirmation.
4. Horizontal Levels (Overbought/Oversold Zones)
The chart includes reference levels such as +160, 0, -40, and -120 (as shown in the image).
These levels help identify when momentum is reaching overbought or oversold conditions.
Reversals often begin near the upper or lower extremes of these zones.
5. Reversal Signal Markers
Red dots at the top indicate extreme bullish momentum and potential topping zones.
Green dots at the bottom suggest oversold conditions and potential bullish reversals.
RSI Divergences (Regular, Hidden, Exaggerated)RSI Divergences (Regular, Hidden, Exaggerated)
This indicator detects and visually highlights all major types of RSI divergences on your chart: Regular, Hidden, and Exaggerated divergences, both bullish and bearish.
Key Features:
Calculates RSI based on a user-defined length and timeframe that automatically matches your chart's timeframe.
Identifies pivot highs and lows on both price and RSI using customizable pivot left/right bars.
Detects divergences when RSI and price movements disagree, signaling potential trend reversals or continuation.
Differentiates between three types of divergences:
Regular Divergence: Classic signal for possible trend reversal.
Hidden Divergence: Often indicates trend continuation.
Exaggerated Divergence: A less common form signaling momentum changes.
Draws clear colored lines and labels on the RSI pane for each divergence, using green for bullish and red for bearish signals.
Includes RSI overbought (70) and oversold (30) bands with gradient fills to help visualize RSI zones.
Efficient use of arrays to track pivots and manage plotting history for smooth performance.
Usage:
Ideal for traders looking to leverage RSI divergences for better timing entries and exits in trending and range-bound markets. The script is fully customizable and works seamlessly across different timeframes
Mits Pixel BTCUSDStrategy
Using Rsi Stochastic, Hull Moving Average, Price Action and volume differences to get signals
HOW IT WORKS
Pixel parts :
- (U) The first pixel is a pixel that shows a trend during an uptrend, a trend when the market is considered bullish (above the MA line)
- (V) The second pixel is the volume pixel, showing the up and down movement of the buy / sell volume .
- (M) The third pixel is the momentum pixel, showing the market momentum whether it is overbought or oversold.
- (D) The fourth pixel is a pixel that shows a trend during a downtrend, a trend when the market is considered bearish (below the MA line)
When the price opens above the MA line, 3 pixels will appear, namely the first Pixel which is called the Trend up Pixel, Pixel Volume , and also the Momentum Pixel.
When the price opens below the MA line, 3 pixels will appear, namely Pixel Volume , Pixel Momentum, and the bottom one is the Pixel Down Trend.
* Pixel up trend (appears when the open is above the MA line)
- The pixel will show a solid green color when a gap up is opened or volume up, then the close price is greater than the open price.
- The pixel will show a light green color if there is normal strengthening (the close is bigger than the previous day's close without creating a gap up), then the close price is bigger than the open price.
- Pixel will show yellow color if it meets several criteria, for example, close is equal to open or close is bigger than the previous close but close is smaller than open.
- The pixel will show a dark red color when there is attenuation and a Gap down is created, then the close price is smaller than the open price.
- Pixel will show red color if there is normal weakening (close is smaller than the close of the previous day without creating a gap down), then the close price is smaller than the open price.
* Pixel down trend (appears when the open is below the Moving Average)
The pixel color indication is the same as the Trend up Pixel
* Volume Pixel
- The pixel is dark green when there is an increase and a gap up is created and the volume for that day is bigger than the volume of the previous day.
- The pixel will be green if there is a normal strengthening and also the volume for that day is greater than the volume of the previous day, or there is a gap up but the volume is smaller than the volume of the previous day.
- The pixel is yellow if it meets several conditions, for example, the volume of the day is the same as the volume of the previous day.
- The pixel is dark red when there is weakness and a Gap down is created and also the volume of the day's weakness is greater than the volume of the previous day.
- The pixel is red if there is normal weakening and also the volume of the day's weakness is bigger than the previous day's volume , or if there is a gap down but the volume is smaller than the previous day's volume .
* Momentum Pixel (basically StochRSI combined with other HMA , TopBox (Resistance), BottomBox(Support)).
- The pixel is dark green when it meets several conditions, for example the golden cross is below 50.
- The pixel is green if it meets several conditions, for example a golden cross below 50 without Gap up.
- Pixel will be yellow if it meets several conditions, for example k is greater than d and k has entered the overbought area (greater than 80).
- Pixel is dark red when it meets several conditions, for example k is smaller than d and k has entered the overbought area.
- Pixel is red when it meets several conditions, for example k is smaller than d and k is greater than 50 and k is less than 80.
Bar Color
Dark Green : Price Up + Volume Up
Green : Price Up + Volume Down
Dark Red : Price Down + Volume Up
Red : Price Down + Volume Down
Too many details that cannot be detailed one by one , but in broad outline as explained above.
HOW TO USE
* Signals Buy
- Strong Buy : All pixels are green, and Momentum Pixel is dark green.
- Normal Buy : All pixels are green or two dark green (one of them must momentum pixel) and one yellow.
- Spek Buy : * Two green pixels (one of them must momentum pixel) and one yellow or 1 green/dark green in momentum pixel, and other pixels yellow
* Signals Sell
- Strong Sell : All pixels are red, and Momentum Pixel is dark red.
- Normal Sell : All pixels are either red or two dark red (one of them must momentum pixel) and one yellow.
- Spek Sell : Two red pixels (one of them must momentum pixel) and one yellow or 1 dark red in momentum pixel, and other pixels yellow
- Warning Sell : Momentum pixels are dark red, regardless of the color of the other pixels.
* Best use for trading in BTCUSD markets
Thanks for Moderators
StochRSI Context EngineThe StochRSI Context Engine is a premium, logic-driven indicator built to provide comprehensive intraday momentum context using multi-timeframe Stochastic RSI analysis. Rather than issuing direct buy or sell signals, the tool is designed to give traders enhanced clarity on trend posture, overbought/oversold conditions, volatility states, and potential momentum reversals. It combines multiple layers of signal processing to deliver an intelligent overview of market conditions in real time.
What it does:
The indicator performs a multi-timeframe evaluation of the Stochastic RSI, sampling values from four customizable timeframes (default: 5m, 15m, 1h, 4h). These values are blended and processed through a series of analytical engines to provide the following:
1. StochRSI Multi-Timeframe Engine
* Computes a smoothed Stochastic RSI value on each selected timeframe.
* Applies user-defined smoothing (SMA, EMA, RMA, or WMA).
* Aggregates these into an average (sRSIavg) for further analysis.
2. Trend and Volatility Engine
* Uses EMA stacking logic (8, 21, 50) to determine directional alignment.
* Calculates linear regression slope for directional bias.
* Assesses volatility using ATR relative to price.
* Derives a trendScore based on EMA alignment, price position, and slope strength.
3. Bias and Slope Analysis
* Measures fast/slow EMA slope differentials to detect bias direction and strength.
* Computes slope deltas and volatility-weighted stacking to score bias conditions.
* Outputs a classification such as strong bullish, moderate bearish, or neutral.
4. Dynamic OB/OS Zone Detection
* Adapts overbought and oversold thresholds based on volatility and trend regime.
* Adjusts the zone boundaries if in a trending or high-volatility environment.
5. Microzone Proximity Detection
* Tracks whether the average StochRSI is approaching key OB/OS thresholds.
* Flags conditions like “Near Overbought,” “Near Oversold,” or “Mid Range.”
6. Velocity and Acceleration Detection
* Measures how quickly StochRSI values are changing.
* Uses delta calculations to gauge the momentum’s thrust or decay.
* Classifies shifts in RSI movement (e.g., flat, slow, fast, or thrusting).
7. Range Expansion / Compression Engine
* Evaluates whether StochRSI values across timeframes are diverging or compressing.
* Identifies regime changes in momentum coherence.
8. Momentum Scoring System
* Calculates a composite score based on bias, slope strength, volatility, and range.
* Labels momentum phases from dormant to full-throttle.
9. Confluence Detection
* Tallies how many of the 4 timeframes are currently overbought or oversold.
* High confluence increases the probability of valid reversal or continuation zones.
10. Support and Resistance Zone Memory
* Tracks and plots previous areas where StochRSI bounced or rejected near zones.
* Stores and updates these zones over time, acting as momentum-based S/R levels.
* Includes a proximity check to cluster zones that are close in value.
11. Divergence Detection Engine
* Detects classic bullish or bearish divergence between price and the aggregated StochRSI.
* Draws lines to show divergence structure and triggers real-time alerts.
12. Smart Background Highlighting
* Shades the background based on whether current StochRSI is in an overbought, oversold, or
neutral zone.
13. Real-Time Dashboard
* Displays trend, bias, confluence count, velocity, divergence state, momentum score, and
more.
* Dynamically updates and is optimized for top-right screen positioning with compact
formatting.
14. Smart Alerts
* Issues alerts for divergence detection and high-confluence reversal conditions.
15. Real-Time Labels on Curves
* Shows the selected timeframes alongside each plotted StochRSI line to clarify source data.
What it’s based on:
* Stochastic RSI as the core input signal, providing normalized momentum across timeframes.
* EMA stacking logic, adapted from institutional trend-following models.
* Volatility normalization using ATR to adapt thresholds in high vs. low volatility environments.
* Slope forecasting using linear regression to infer directional conviction.
* Bias analysis modeled on a composite of EMA distance, alignment, and directional thrust.
* Support/resistance zone memory derived from repeated interaction with dynamic OB/OS thresholds.
* Divergence logic based on localized price and oscillator peaks/troughs.
* Multi-factor confidence scoring, aggregating up to 6 inputs to rate market clarity.
This script is for educational and informational purposes only. It does not generate trade signals or provide financial advice. It is not intended to be used as a standalone system for trading or investment decisions. Use at your own discretion. Always confirm with your broader strategy and risk management practices.
RSI Divergence Indicator - Trading VidhyalayaThis indicator automatically identifies RSI-based bullish and bearish divergences and visually marks them directly on the candlestick chart, making it easier for traders to spot potential reversals.
✅ Key Features:
Bullish Divergence
When the price makes a lower low, but the RSI makes a higher low, the indicator highlights the candle with a green arrow or label to signal potential upward reversal.
Bearish Divergence
When the price makes a higher high, but the RSI forms a lower high, the indicator marks the candle with a red arrow or label to indicate a possible downside move.
Real-time Detection
Divergences are plotted in real-time, helping traders react quickly to changing market conditions.
Candlestick Overlay
Signals are shown directly on the chart, rather than below in a separate panel, allowing for faster and clearer decision-making.
📊 Benefits:
Helps in identifying early trend reversals
Works well with other indicators like MACD, Moving Averages, or Volume
Great for both beginners and advanced traders
Saves time by automating divergence spotting, reducing manual errors
RTH Session Range Position (0-100) with EMAA Pine Script indicator designed to help traders understand where the current price is located within the Regular Trading Hours (RTH) session range, from 0 (session low) to 100 (session high). It also plots a smoothed EMA of this position to provide insight into momentum or trend during the RTH session.
What the Indicator Does
Defines RTH (Regular Trading Hours):
Start: 9:30 AM
End: 4:00 PM
These are typical US equity market hours.
Tracks the session's high and low during RTH:
sessionHigh and sessionLow update only during RTH.
Calculates position of the current price within the RTH range:
Formula: ((close - sessionLow) / (sessionHigh - sessionLow)) * 100
Result is a percentage:
0 = at session low
100 = at session high
50 = middle of session range
Calculates an EMA of that position (posEMA):
Smooths out the raw position to help visualize momentum within the range.
Plots and table:
Plots pos and posEMA on a separate chart pane.
Adds horizontal lines at key levels (0, 30, 50, 70, 100).
Table shows current values for Position, EMA, and Range.
Visual cues:
bgcolor highlights when pos crosses over or under the EMA — potential momentum shifts.
Alerts:
Cross above/below 50 (session midpoint).
Cross above/below EMA.
How to Use It Effectively
1. Session Strength & Momentum
Position above 70: Price is near session highs — strong upward momentum.
Position below 30: Price is near session lows — strong downward momentum.
Use the EMA of position to filter out noise and identify trends.
2. Breakout or Reversal Detection
Cross above EMA: Momentum may be turning bullish.
Cross below EMA: Momentum may be turning bearish.
These crosses (especially near mid-levels like 50) can hint at session trend shifts.
3. Range Context for Entries
If you're a mean-reversion trader, look for:
Price > 70 + turning down below EMA → possible short.
Price < 30 + turning up above EMA → possible long.
For breakout traders, you might wait for:
Crosses above 70 with EMA support.
Crosses below 30 with EMA resistance.
4. Confirmation Tool
Use this indicator alongside others to confirm:
Whether price action has strength within the day.
Whether breakouts have real momentum or are extended already.
Ichimoku Cloud Breakout Only LongThis is a very simple trading strategy based exclusively on the Ichimoku Cloud. There are no additional indicators or complex rules involved. The key condition is that we only open long positions when the price is clearly above the cloud — indicating a bullish trend.
For optimal results, the recommended timeframes are 1D (daily) or 1W (weekly) charts. These higher timeframes help filter out market noise and provide more reliable trend signals.
We do not short the market under any circumstances. The focus is purely on riding upward momentum when the price breaks out or stays above the cloud.
This strategy works best when applied to growth stocks with strong upward trends and good fundamentals — such as Google (GOOGL), Tesla (TSLA), Apple (AAPL), or NVIDIA (NVDA).
PhenLabs - Market Fluid Dynamics📊 Market Fluid Dynamics -
Version: PineScript™ v6
📌 Description
The Market Fluid Dynamics - Phen indicator is a new thinking regarding market analysis by modeling price action, volume, and volatility using a fluid system. It attempts to offer traders control over more profound market forces, such as momentum (speed), resistance (thickness), and buying/selling pressure. By visualizing such dynamics, the script allows the traders to decide on the prevailing market flow, its power, likely continuations, and zones of calmness and chaos, and thereby allows improved decision-making.
This measure avoids the usual difficulty of reconciling multiple, often contradictory, market indications by including them within a single overarching model. It moves beyond traditional binary indicators by providing a multi-dimensional view of market behavior, employing fluid dynamic analogs to describe complex interactions in an accessible manner.
🚀 Points of Innovation
Integrated Fluid Dynamics Model: Combines velocity, viscosity, pressure, and turbulence into a single indicator.
Normalized Metrics: Uses ATR and other normalization techniques for consistent readings across different assets and timeframes.
Dynamic Flow Visualization: Main flow line changes color and intensity based on direction and strength.
Turbulence Background: Visually represents market stability with a gradient background, from calm to turbulent.
Comprehensive Dashboard: Provides an at-a-glance summary of key fluid dynamic metrics.
Multi-Layer Smoothing: Employs several layers of EMA smoothing for a clearer, more responsive main flow line.
🔧 Core Components
Velocity Component: Measures price momentum (first derivative of price), normalized by ATR. It indicates the speed and direction of price changes.
Viscosity Component: Represents market resistance to price changes, derived from ATR relative to its historical average. Higher viscosity suggests it’s harder for prices to move.
Pressure Component: Quantifies the force created by volume and price range (close - open), normalized by ATR. It reflects buying or selling pressure.
Turbulence Detection: Calculates a Reynolds number equivalent to identify market stability, ranging from laminar (stable) to turbulent (chaotic).
Main Flow Indicator: Combines the above components, applying sensitivity and smoothing, to generate a primary signal of market direction and strength.
🔥 Key Features
Advanced Smoothing Algorithm: Utilizes multiple EMA layers on the raw flow calculation for a fluid and responsive main flow line, reducing noise while maintaining sensitivity.
Gradient Flow Coloring: The main flow line dynamically changes color from light to deep blue for bullish flow and light to deep red for bearish flow, with intensity reflecting flow strength. This provides an immediate visual cue of market sentiment and momentum.
Turbulence Level Background: The chart background changes color based on calculated turbulence (from calm gray to vibrant orange), offering an intuitive understanding of market stability and potential for erratic price action.
Informative Dashboard: A customizable on-screen table displays critical metrics like Flow State, Flow Strength, Market Viscosity, Turbulence, Pressure Force, Flow Acceleration, and Flow Continuity, allowing traders to quickly assess current market conditions.
Configurable Lookback and Sensitivity: Users can adjust the base lookback period for calculations and the sensitivity of the flow to viscosity, tailoring the indicator to different trading styles and market conditions.
Alert Conditions: Pre-defined alerts for flow direction changes (positive/negative crossover of zero line) and detection of high turbulence states.
🎨 Visualization
Main Flow Line: A smoothed line plotted below the main chart, colored blue for bullish flow and red for bearish flow. The intensity of the color (light to dark) indicates the strength of the flow. This line crossing the zero line can signal a change in market direction.
Zero Line: A dotted horizontal line at the zero level, serving as a baseline to gauge whether the market flow is positive (bullish) or negative (bearish).
Turbulence Background: The indicator pane’s background color changes based on the calculated turbulence level. A calm, almost transparent gray indicates low turbulence (laminar flow), while a more vibrant, semi-transparent orange signifies high turbulence. This helps traders visually assess market stability.
Dashboard Table: An optional table displayed on the chart, showing key metrics like ‘Flow State’, ‘Flow Strength’, ‘Market Viscosity’, ‘Turbulence’, ‘Pressure Force’, ‘Flow Acceleration’, and ‘Flow Continuity’ with their current values and qualitative descriptions (e.g., ‘Bullish Flow’, ‘Laminar (Stable)’).
📖 Usage Guidelines
Setting Categories
Show Dashboard - Default: true; Range: true/false; Description: Toggles the visibility of the Market Fluid Dynamics dashboard on the chart. Enable to see key metrics at a glance.
Base Lookback Period - Default: 14; Range: 5 - (no upper limit, practical limits apply); Description: Sets the primary lookback period for core calculations like velocity, ATR, and volume SMA. Shorter periods make the indicator more sensitive to recent price action, while longer periods provide a smoother, slower signal.
Flow Sensitivity - Default: 0.5; Range: 0.1 - 1.0 (step 0.1); Description: Adjusts how much the market viscosity dampens the raw flow. A lower value means viscosity has less impact (flow is more sensitive to raw velocity/pressure), while a higher value means viscosity has a greater dampening effect.
Flow Smoothing - Default: 5; Range: 1 - 20; Description: Controls the length of the EMA smoothing applied to the main flow line. Higher values result in a smoother flow line but with more lag; lower values make it more responsive but potentially noisier.
Dashboard Position - Default: ‘Top Right’; Range: ‘Top Right’, ‘Top Left’, ‘Bottom Right’, ‘Bottom Left’, ‘Middle Right’, ‘Middle Left’; Description: Determines the placement of the dashboard on the chart.
Header Size - Default: ‘Normal’; Range: ‘Tiny’, ‘Small’, ‘Normal’, ‘Large’, ‘Huge’; Description: Sets the text size for the dashboard header.
Values Size - Default: ‘Small’; Range: ‘Tiny’, ‘Small’, ‘Normal’, ‘Large’; Description: Sets the text size for the metric values in the dashboard.
✅ Best Use Cases
Trend Identification: Identifying the dominant market flow (bullish or bearish) and its strength to trade in the direction of the prevailing trend.
Momentum Confirmation: Using the flow strength and acceleration to confirm the conviction behind price movements.
Volatility Assessment: Utilizing the turbulence metric to gauge market stability, helping to adjust position sizing or avoid choppy conditions.
Reversal Spotting: Watching for divergences between price and flow, or crossovers of the main flow line above/below the zero line, as potential reversal signals, especially when combined with changes in pressure or viscosity.
Swing Trading: Leveraging the smoothed flow line to capture medium-term market swings, entering when flow aligns with the desired trade direction and exiting when flow weakens or reverses.
Intraday Scalping: Using shorter lookback periods and higher sensitivity to identify quick shifts in flow and turbulence for short-term trading opportunities, particularly in liquid markets.
⚠️ Limitations
Lagging Nature: Like many indicators based on moving averages and lookback periods, the main flow line can lag behind rapid price changes, potentially leading to delayed signals.
Whipsaws in Ranging Markets: During periods of low volatility or sideways price action (high viscosity, low flow strength), the indicator might produce frequent buy/sell signals (whipsaws) as the flow oscillates around the zero line.
Not a Standalone System: While comprehensive, it should be used in conjunction with other forms of analysis (e.g., price action, support/resistance levels, other indicators) and not as a sole basis for trading decisions.
Subjectivity in Interpretation: While the dashboard provides quantitative values, the interpretation of “strong” flow, “high” turbulence, or “significant” acceleration can still have a subjective element depending on the trader’s strategy and risk tolerance.
💡 What Makes This Unique
Fluid Dynamics Analogy: Its core strength lies in translating complex market interactions into an intuitive fluid dynamics framework, making concepts like momentum, resistance, and pressure easier to visualize and understand.
Market View: Instead of focusing on a single aspect (like just momentum or just volatility), it integrates multiple factors (velocity, viscosity, pressure, turbulence) to provide a more comprehensive picture of market conditions.
Adaptive Visualization: The dynamic coloring of the flow line and the turbulence background provide immediate, adaptive visual feedback that changes with market conditions.
🔬 How It Works
Price Velocity Calculation: The indicator first calculates price velocity by measuring the rate of change of the closing price over a given ‘lookback’ period. The raw velocity is then normalized by the Average True Range (ATR) of the same lookback period. Normalization enables comparison of momentum between assets or timeframes by scaling for volatility. This is the direction and speed of initial price movement.
Viscosity Calculation: Market ‘viscosity’ or resistance to price movement is determined by looking at the current ATR relative to its longer-term average (SMA of ATR over lookback * 2). The further the current ATR is above its average, the lower the viscosity (less resistance to price movement), and vice-versa. The script inverts this relationship and bounds it so that rising viscosity means more resistance.
Pressure Force Measurement: A ‘pressure’ variable is calculated as a function of the ratio of current volume to its simple moving average, multiplied by the price range (close - open) and normalized by ATR. This is designed to measure the force behind price movement created by volume and intraday price thrusts. This pressure is smoothed by an EMA.
Turbulence State Evaluation: A equivalent ‘Reynolds number’ is calculated by dividing the absolute normalized velocity by the viscosity. This is the proclivity of the market to move in a chaotic or orderly fashion. This ‘reynoldsValue’ is smoothed with an EMA to get the ‘turbulenceState’, which indicates if the market is laminar (stable), transitional, or turbulent.
Main Flow Derivation: The ‘rawFlow’ is calculated by taking the normalized velocity, dampening its impact based on the ‘viscosity’ and user-input ‘sensitivity’, and orienting it by the sign of the smoothed ‘pressureSmooth’. The ‘rawFlow’ is then put through multiple layers of exponential moving average (EMA) smoothing (with ‘smoothingLength’ and derived values) to reach the final ‘mainFlow’ line. The extensive smoothing is designed to give a smooth and clear visualization of the overall market direction and magnitude.
Dashboard Metrics Compilation: Additional metrics like flow acceleration (derivative of mainFlow), and flow continuity (correlation between close and volume) are calculated. All primary components (Flow State, Strength, Viscosity, Turbulence, Pressure, Acceleration, Continuity) are then presented in a user-configurable dashboard for ease of monitoring.
💡 Note:
The “Market Fluid Dynamics - Phen” indicator is designed to offer a unique perspective on market behavior by applying principles from fluid dynamics. It’s most effective when used to understand the underlying forces driving price rather than as a direct buy/sell signal generator in isolation. Experiment with the settings, particularly the ‘Base Lookback Period’, ‘Flow Sensitivity’, and ‘Flow Smoothing’, to find what best suits your trading style and the specific asset you are analyzing. Always combine its insights with robust risk management practices.
Crystal Momentum Indicator📈 Crystal Momentum Indicator
The Crystal Momentum Indicator is designed to help traders identify momentum shifts and trend continuation opportunities across multiple timeframes. It's especially useful for scalpers on the M1 chart and intraday traders using the H1 timeframe.
🔍 How to Use:
When the momentum line turns green and finds support from the green zone, it suggests bullish conditions. Combine this signal with your trading strategy to look for buy opportunities or trend continuation setups.
When the momentum line turns red, especially after resistance near the red zone, it reflects bearish conditions. Use this to align with your strategy for sell opportunities or bearish momentum continuation.
✅ Key Features:
Multi-timeframe momentum detection
Clear visual cues (green = bullish, red = bearish)
Optimized for scalping and short-term trading
Automatically adjusts to selected timeframe
⚠️ Disclaimer:
Always trade with proper risk management. This tool is for educational and analytical purposes only. It works best when combined with your own strategy and a disciplined trading plan.
BS with PeriodThe “BS with Period” indicator visualizes the balance between buying and selling volume within each candle, and also tracks those volumes accumulated over a specified number of bars.
It first splits a candle’s total volume into two parts based on where the close sits: the closer the close is to the high, the larger the “buying” portion; the closer it is to the low, the larger the “selling” portion. This means that for any given volume you can see whether buyers or sellers were more active.
On the chart you see three column plots:
Gray for total volume
Red for the portion attributed to selling
Teal for the portion attributed to buying
Optionally, it also sums those buying and selling volumes over the last N bars and plots them as two lines. This gives you a medium-term view of which side is dominating: if the buying-volume line stays well above the selling-volume line, buyers are in control, and vice versa.
Traders use it to:
Spot sustained buying or selling pressure when one accumulated-volume line pulls ahead of the other.
Confirm trend accelerations or potential reversals when the balance shifts.
Adjust sensitivity by choosing a shorter period (more responsive, but noisier) or a longer period (smoother, but slower).
Overall, the indicator helps quantify the internal volume structure and the tug-of-war between buyers and sellers both within each candle and over your chosen look-back period.
[blackcat] L1 Multi-Component CCIOVERVIEW
The " L1 Multi-Component CCI" is a sophisticated technical indicator designed to analyze market trends and momentum using multiple components of the Commodity Channel Index (CCI). This script calculates and combines various CCI-related metrics to provide a comprehensive view of price action, offering traders deeper insights into market dynamics. By integrating smoothed deviations, normalized ranges, and standard CCI values, this tool aims to enhance decision-making processes. It is particularly useful for identifying potential reversal points and confirming trend strength. 📈
FEATURES
Multi-Component CCI Calculation: Combines smoothed deviation, normalized range, percent above low, and standard CCI for a holistic analysis, providing a multifaceted view of market conditions.
Threshold Lines: Overbought (200), oversold (-200), bullish (100), and bearish (-100) thresholds are plotted for easy reference, helping traders quickly identify extreme market conditions.
Visual Indicators: Each component is plotted with distinct colors and line styles for clear differentiation, making it easier to interpret the data at a glance.
Customizable Alerts: The script includes commented-out buy and sell signal logic that can be enabled for automated trading notifications, allowing traders to set up alerts based on specific conditions. 🚀
Advanced Calculations: Utilizes a combination of simple moving averages (SMA) and exponential moving averages (EMA) to smooth out price data, enhancing the reliability of the indicator.
HOW TO USE
Apply the Script: Add the script to your chart on TradingView by searching for " L1 Multi-Component CCI" in the indicators section.
Observe the Plotted Lines: Pay close attention to the smoothed deviation, normalized range, percent above low, and standard CCI lines to identify potential overbought or oversold conditions.
Use Threshold Levels: Refer to the overbought, oversold, bullish, and bearish threshold lines to gauge extreme market conditions and potential reversal points.
Confirm Trends: Use the standard CCI line to confirm trend direction and momentum shifts, providing additional confirmation for your trading decisions.
Enable Alerts: If desired, uncomment the buy and sell signal logic to receive automated alerts when specific conditions are met, helping you stay informed even when not actively monitoring the chart. ⚠️
LIMITATIONS
Fixed Threshold Levels: The script uses fixed threshold levels (200, -200, 100, -100), which may need adjustment based on specific market conditions or asset volatility.
No Default Signals: The buy and sell signal logic is currently commented out, requiring manual activation if you wish to use automated alerts.
Complexity: The multi-component approach, while powerful, may be complex for novice traders to interpret, requiring a solid understanding of technical analysis concepts. 📉
Not for Isolation Use: This indicator is not designed for use in isolation; it is recommended to combine it with other tools and indicators for confirmation and a more robust analysis.
NOTES
Smoothing Techniques: The script uses a combination of simple moving averages (SMA) and exponential moving averages (EMA) for smoothing calculations, which helps in reducing noise and enhancing signal clarity.
Multi-Component Approach: The multi-component approach aims to provide a more nuanced view of market conditions compared to traditional CCI, offering a more comprehensive analysis.
Customization Potential: Traders can customize the script further by adjusting the parameters of the moving averages and other components to better suit their trading style and preferences. ✨
THANKS
Thanks to the TradingView community for their support and feedback on this script! Special thanks to those who contributed ideas and improvements, making this tool more robust and user-friendly. 🙏
CCT Volatility Index📘 CCT Volatility Index
The CCT Volatility Index is a refined adaptation of the LS Volatility Index , originally presented by Brazilian traders Alexandre Wolwacz (Stormer), Fabrício Lorenz, and Fábio Figueiredo (Vlad) . This implementation respects the core logic of the original concept but introduces two important enhancements:
Bollinger Band Width Percentage (BBWP)
Average True Range (ATR)
These are incorporated into the traditional formula (price deviation from a moving average divided by historical volatility), producing a normalized and responsive oscillator.
🧠 Conceptual Summary
This is a volatility indicator, not a directional trend tool. It measures the degree of price dispersion and tension in the market. It can be applied in two primary contexts:
🔁 Reversal Scenarios
When the index approaches extreme levels (near 100), it may signal exhaustion of volatility and potential mean reversion, especially if price is far from the moving average (SMA21 by default).
📈 Trend Continuation
If price stays near the average and the index maintains an elevated or rising profile, it may suggest trend acceptance with ongoing momentum. In this case, volatility expansion aligns with continuation.
🎯 Strategy Guidelines
Trigger points may come from the index crossing its own moving average (white line), either as a breakout or via retest confirmation.
Overlay colors identify BBWP compression/expansion zones:
- Blue: BBWP is 2% above its historical mean.
- Red: BBWP is 98% above.
These zones can help identify breakout setups or mean-reverting conditions.
📊 Info Panel
The indicator includes a dynamic panel showing:
The current price
The moving average used as reference
The percentage deviation between them
This allows you to evaluate if the asset is currently "stretched" or "fair" under current volatility.
⚠️ Disclaimer
This tool is for educational and informational purposes only. It does not constitute investment advice and should not be used in isolation. Always combine it with other tools, market context, and proper risk management.
Stoch Quad Oscillator📘 Stoch Quad Oscillator – User Guide
✅ Purpose
The Stoch Quad Oscillator is a multi-timeframe stochastic oscillator tool that helps traders detect oversold and overbought conditions, momentum shifts, and quad rotation signals using four distinct stochastic configurations. It includes visual cues, customizable parameters, and background highlights to improve decision-making during trend reversals or momentum surges.
🛠️ Inputs & Parameters
⏱ Timeframe
Timeframe for Stochastic Calculation: Defines which chart timeframe to use for stochastic calculations (default is "1" minute). This enables multi-timeframe analysis while on a lower timeframe chart.
📈 Stochastic Parameters
Four different stochastic configurations are used:
Label %K Length %D Smoothing Notes
K9 D3 9 3 Fastest, short-term view
K14 D3 14 3 Moderately short-term
K40 D4 40 4 Medium-term trend view
K60 D10 60 10 Long-term strength
Smoothing Type: Choose between SMA or EMA to control how smoothed the %D line is.
🎯 Levels
Overbought Level: Default 80
Oversold Level: Default 20
These are used to indicate overextended price conditions on any of the stochastic plots.
🔄 Quad Rotation Detection Settings
When enabled, the script detects synchronized oversold/overbought conditions with strong momentum using all 4 stochastic readings.
Enable Quad Rotation: Toggles detection on or off
Slope Calculation Bars: Number of bars used to calculate slope of %D lines
Slope Threshold: Minimum slope strength for signal (higher = stronger confirmation)
Oversold Quad Level: Total of all four stochastic values that define a quad oversold zone
Overbought Quad Level: Total of all four stochastic values that define a quad overbought zone
Oversold Quad Highlight Color: Background color when oversold quad is triggered
Overbought Quad Highlight Color: Background color when overbought quad is triggered
Slope Averaging Method: Either Simple Average or Weighted Average (puts more weight on higher timeframes)
Max Signal Bar Window: Defines how recent the signal must be to be considered valid
📊 Plots & Visual Elements
📉 Stochastic %D Lines
Each stochastic is plotted separately:
K9 D3 – Red
K14 D3 – Orange
K40 D4 – Fuchsia
K60 D10 – Silver
These help visualize short to long-term momentum simultaneously.
📏 Horizontal Reference Lines
Overbought Line (80) – Red
Oversold Line (20) – Green
These help you identify threshold breaches visually.
🌈 Background Highlighting
The indicator provides background highlights to mark potential signal zones:
✅ All Oversold or Overbought Conditions
When all four stochastics are either above overbought or below oversold:
Bright Red if all are overbought
Bright Green if all are oversold
🚨 Quad Rotation Signal Zones (if enabled)
Triggered when:
The combined sum of all four stochastic levels is extremely low/high (below/above oversoldQuadLevel or overboughtQuadLevel)
The average slope of the 4 %D lines is sharply positive (> slopeThreshold)
Highlights:
Custom Red Tint = Strong overbought quad signal
Custom Green Tint = Strong oversold quad signal
These zones can indicate momentum shifts or reversal potential when used with price action or other tools.
⚠️ Limitations & Considerations
This indicator does not provide trade signals. It visualizes conditions and potential setups.
It is best used in confluence with price action, support/resistance levels, and other indicators.
False positives may occur in ranging markets. Reduce reliance on slope thresholds during low volatility.
Quad signals rely on slope strength, which may lag slightly behind sudden reversals.
🧠 Tips for Use
Combine with volume, MACD, or PSAR to confirm direction before entry.
Watch for divergences between price and any of the stochastics.
Use on higher timeframes (e.g., 5m–30m) to filter for swing trading setups; use shorter TFs (1m–5m) for scalping signals.
Adjust oversoldQuadLevel and overboughtQuadLevel based on market conditions (e.g., in trending vs ranging markets).
MTF Dashboard (Stoch,MACD,RSI) & Stochastic Signals
English Script Description:
Indicator Title: MTF Dashboard (Stoch,MACD,RSI) & Stochastic Signals
1. Overview
The "MTF Dashboard (Stoch,MACD,RSI) & Stochastic Signals" indicator is an advanced, multi-faceted analytical tool designed for comprehensive market analysis. It consolidates a detailed multi-timeframe (MTF) dashboard for Stochastic, MACD, and RSI, hierarchical Stochastic alignment signals (S3, S4, S5), PVSRA-based candle coloring, a customizable moving average, optional MA/VWAP filters for signals, and dynamic background coloring into a single, integrated Pine Script™ utility. This indicator aims to provide traders with a deeper market perspective by consolidating multiple layers of analysis onto the current chart.
2. Originality and Usefulness
This script’s originality stems from its comprehensive integration of several distinct analytical methodologies into a cohesive and highly customizable framework. While the core concept for the hierarchical Stochastic signals (S3-S5) was inspired by the work of f56eroon (ابو بتال - خطيرون), this indicator represents a significant original development by Saleh_ABO_RAED. Key original contributions include:
The specific implementation and extensive customization of the MTF dashboard displaying Stochastic, MACD, and RSI across five user-defined timeframes.
The seamless integration of PVSRA ( Volume) candle coloring, providing an immediate visual layer of volume confirmation.
The inclusion of a fully customizable general-purpose Moving Average.
The advanced and independent MA and VWAP filtering options for the S3-S5 Stochastic signals.
The overall script architecture that allows these diverse components to work synergistically.
Justification for Mashup:
This indicator is designed to provide a multi-dimensional view of the market, which is often necessary for robust trade decision-making. By combining:
MTF Analysis (Dashboard & Signals): To understand the broader context and identify signals aligning across multiple perspectives.
Momentum & Trend (Stoch, MACD, RSI, MA): To gauge the strength and direction of price movements.
Volume Analysis (PVSRA): To assess the conviction behind price action.
Signal Filtering (MA/VWAP): To enhance the reliability of generated signals.
This "mashup" is justified by its utility in helping traders identify higher-probability setups through the confluence of these varied analytical signals, all within a single tool, thus reducing chart clutter and streamlining the analytical process. The script is useful for traders who appreciate a detailed, layered approach to market analysis and seek to confirm signals from multiple non-correlated perspectives.
Practical Benefit for Traders:
This tool empowers traders to:
Quickly assess market conditions across multiple timeframes and key indicators.
Identify potential trade entries based on hierarchical Stochastic signals, confirmed by PVSRA and optional MA/VWAP filters.
Visually gauge market strength and conviction through PVSRA candle coloring.
Utilize a customizable MA for trend direction and dynamic support/resistance.
Make more informed decisions by considering a confluence of analytical factors.
3. Key Features
Multi-Timeframe Dashboard (Stochastic, MACD, RSI): Displays Stochastic (%K, %D, Status), MACD (Line, Signal, Status), and RSI (Value, SMA, Status) for up to five user-configurable timeframes (TF1 to TF5).
Hierarchical Stochastic Alignment Signals (S3, S4, S5): Generates signals based on a sequence of Stochastic confirmations across TF1-TF5, with user-defined K-level thresholds for initial crosses and subsequent confirmations.
PVSRA Candle Coloring: Integrates PVSRA logic to color candles based on volume and price action analysis (e.g., Bullish/Bearish 200% Volume, 150% Volume, Normal Volume candles). Option to override current symbol for PVSRA calculation.
Customizable Moving Average (MA): Plots a user-selectable MA (SMA or EMA) with configurable length, source, color, and width.
Dual Independent Optional Signal Filters (for S3-S5 signals):
MA Filter: Optionally filter S3-S5 signals using a separate configurable MA (SMA, EMA, WMA).
VWAP Filter: Optionally filter S3-S5 signals using VWAP with advanced anchoring options.
Customizable Background Coloring: Optionally colors the chart background when Stochastic indicators on TF3, TF4, and TF5 are in bullish or bearish alignment.
Extensive Customization: Configure all timeframes, all indicator parameters (Stoch, MACD, RSI, PVSRA colors, MA settings, VWAP settings), signal confirmation K-levels, table appearance, and alert conditions.
Alerts: Defines multiple alert conditions for S3, S4, and S5 Bullish/Bearish alignment signals, with alert messages indicating active filters.
4. How It Works
MTF Data & Dashboard: The script fetches and calculates Stochastic, MACD, and RSI data for each of the five user-defined timeframes using request.security with barmerge.lookahead_on to prevent future data leakage. This data populates the on-chart table.
PVSRA Candle Coloring: Analyzes each bar's volume and price range against historical averages (e.g., 10-period SMA of volume) to identify candles with significantly high volume (e.g., >=150% or >=200% of average) or high "value2" (volume * range), coloring them accordingly to denote strong buying or selling pressure.
Stochastic Signal Generation (S3-S5):
An initial Stochastic cross on TF1 (optionally filtered by K-level) serves as the trigger.
This cross is then confirmed sequentially by congruent Stochastic conditions (K above/below D, and K above/below user-defined confirmation levels) on TF2, TF3 (for an S3 signal), then TF4 (for S4), and finally TF5 (for S5).
MA & VWAP Signal Filtering: If enabled, generated S3-S5 signals are only plotted (and trigger alerts) if the price also satisfies the condition relative to the chosen MA (e.g., price > MA for longs) and/or VWAP. Both MA and VWAP lines can be plotted independently.
Background Coloring: Based on the consensus of Stochastic states (bullish/bearish) on TF3, TF4, and TF5.
5. How to Use
Configure Timeframes & Base Indicators: Set up your desired MTF levels (TF1-TF5) and the parameters for Stoch, MACD, and RSI via the script's "Settings/Inputs" dialogue.
Configure PVSRA & General MA: Enable/disable PVSRA candle coloring and the general MA plot; adjust their respective parameters (colors, lengths, types).
Set Stochastic Signal Parameters:
Adjust K-level thresholds for TF1 Stochastic crosses (set to 0 for bull/100 for bear to disable K-level entry filter).
Configure K-level confirmation thresholds for TF2-TF5.
Configure Optional MA/VWAP Signal Filters: Independently enable plotting and/or signal filtering for the MA and/or VWAP; choose their types, lengths, and anchor periods.
Interpret:
Dashboard: For an overview of market conditions.
PVSRA Candles: For volume confirmation of price movements.
S3-S5 Signals: As potential indications of strengthening multi-timeframe Stochastic alignment. The more filters a signal passes (MA, VWAP), the more confluent it might be considered.
MA/VWAP Lines: As dynamic support/resistance or trend indicators.
Background Color: For quick visual assessment of broader Stochastic momentum.
Setting Up Alerts: Add the indicator to your chart. Click the "Alert" button in TradingView, select this indicator under "Condition," and choose from the defined alert conditions (e.g., "Stoch TF3 Bullish Alignment"). Alert messages will indicate active filters.
6. Important Considerations / Disclaimer
This indicator provides analytical tools and potential signals; it is not a standalone trading system and does not guarantee profits.
Always use in conjunction with your trading strategy, risk management, and other analyses. Test thoroughly.
The effectiveness of filters and signals varies with market conditions and assets. Experimentation with settings is crucial.
This script is for educational/informational purposes only and is not financial advice. Trading involves substantial risk. The author, Saleh_ABO_RAED, is not responsible for any trading decisions based on this indicator.
7. Credits
The hierarchical Stochastic signal logic (S3-S5) and the initial strategic framework were inspired by the work of f56eroon (ابو بتال - خطيرون). This script, "MTF Dashboard (Stoch,MACD,RSI) & Stochastic Signals," represents an original development by Saleh_ABO_RAED, featuring the specific MTF dashboard implementation for Stochastic, MACD, and RSI, the integration of PVSRA candle coloring and a general Moving Average, advanced MA/VWAP signal filtering, background coloring, and the overall customizable script architecture.
Arabic Script Description (الوصف العربي للإسكريبت):
عنوان المؤشر: MTF Dashboard (Stoch,MACD,RSI) & Stochastic Signals
1. نظرة عامة
مؤشر "MTF Dashboard (Stoch,MACD,RSI) & Stochastic Signals" هو أداة تحليلية متقدمة ومتعددة الأوجه مصممة للتحليل الشامل للسوق. يدمج هذا المؤشر لوحة معلومات مفصلة متعددة الأطر الزمنية (MTF) لمؤشرات ستوكاستيك، الماكد (MACD)، ومؤشر القوة النسبية (RSI)، مع إشارات ستوكاستيك الهرمية التوافقية (S3, S4, S5)، وتلوين الشموع بناءً على PVSRA، ومتوسط متحرك قابل للتخصيص، وفلاتر اختيارية (MA و VWAP) للإشارات، وتلوين ديناميكي للخلفية، كل ذلك في أداة واحدة متكاملة مبرمجة بلغة Pine Script™. يهدف هذا المؤشر إلى تزويد المتداولين بمنظور أعمق للسوق من خلال دمج طبقات تحليل متعددة على الرسم البياني الحالي.
2. الأصالة والفائدة
تنبع أصالة هذا الإسكريبت من تكامله الشامل للعديد من المنهجيات التحليلية المتميزة ضمن إطار عمل متماسك وقابل للتخصيص بدرجة عالية. بينما المفهوم الأساسي لإشارات ستوكاستيك الهرمية (S3-S5) مستوحى من f56eroon (ابو بتال - خطيرون)، يمثل هذا المؤشر تطويراً أصيلاً وجوهرياً قام به Saleh_ABO_RAED. تشمل المساهمات الأصلية الرئيسية ما يلي:
التنفيذ المحدد والتخصيص الشامل للوحة معلومات MTF التي تعرض ستوكاستيك، الماكد، ومؤشر القوة النسبية عبر خمسة أطر زمنية يحددها المستخدم.
التكامل السلس لتلوين شموع PVSRA (، الحجم، )، مما يوفر طبقة تأكيد مرئية فورية للحجم.
إدراج متوسط متحرك عام قابل للتخصيص بالكامل.
خيارات التصفية المتقدمة والمستقلة باستخدام المتوسط المتحرك (MA) ومتوسط السعر المرجح بالحجم (VWAP) لإشارات ستوكاستيك S3-S5.
البنية البرمجية الشاملة التي تسمح لهذه المكونات المتنوعة بالعمل بشكل متآزر.
مبررات الدمج (Mashup Justification):
تم تصميم هذا المؤشر لتوفير رؤية متعددة الأبعاد للسوق، وهو أمر ضروري غالبًا لاتخاذ قرارات تداول قوية. من خلال الجمع بين:
تحليل MTF (لوحة المعلومات والإشارات): لفهم السياق الأوسع وتحديد الإشارات المتوافقة عبر وجهات نظر متعددة.
الزخم والاتجاه (ستوكاستيك، ماكد، RSI، المتوسط المتحرك): لقياس قوة واتجاه تحركات الأسعار.
تحليل الحجم (PVSRA): لتقييم قوة الاقتناع وراء حركة السعر.
تصفية الإشارات (MA/VWAP): لتعزيز موثوقية الإشارات المولدة.
هذا "الدمج" مبرر بفائدته في مساعدة المتداولين على تحديد إعدادات تداول ذات احتمالية أعلى من خلال التقاء هذه الإشارات التحليلية المتنوعة، كل ذلك ضمن أداة واحدة، مما يقلل من فوضى الرسم البياني ويبسط العملية التحليلية. الإسكريبت مفيد للمتداولين الذين يقدرون النهج التفصيلي متعدد الطبقات لتحليل السوق ويسعون لتأكيد الإشارات من وجهات نظر متعددة غير مترابطة.
الفائدة العملية للمتداولين:
تمكّن هذه الأداة المتداولين من:
تقييم ظروف السوق بسرعة عبر أطر زمنية متعددة ومؤشرات رئيسية.
تحديد إدخالات التداول المحتملة بناءً على إشارات ستوكاستيك الهرمية، المؤكدة بواسطة PVSRA وفلاتر MA/VWAP الاختيارية.
قياس قوة السوق والاقتناع بصريًا من خلال تلوين شموع PVSRA.
استخدام متوسط متحرك قابل للتخصيص لاتجاه الاتجاه والدعم والمقاومة الديناميكية.
اتخاذ قرارات أكثر استنارة من خلال النظر في التقاء العوامل التحليلية.
3. الميزات الرئيسية
لوحة معلومات متعددة الأطر الزمنية (ستوكاستيك، ماكد، RSI): تعرض قيم ستوكاستيك (K%, D%, الحالة)، الماكد (الخط، خط الإشارة، الحالة)، ومؤشر القوة النسبية (القيمة، المتوسط البسيط، الحالة) لما يصل إلى خمسة أطر زمنية قابلة للتخصيص (TF1 إلى TF5).
إشارات توافق ستوكاستيك الهرمية (S3, S4, S5): يتم إنشاء الإشارات بناءً على سلسلة من تأكيدات ستوكاستيك عبر الأطر TF1-TF5، مع عتبات مستوى K يحددها المستخدم للتقاطعات الأولية والتأكيدات اللاحقة.
تلوين شموع PVSRA: يدمج منطق PVSRA لتلوين الشموع بناءً على تحليل الحجم وحركة السعر (مثل شموع حجم صاعد/هابط 200%، حجم 150%، حجم عادي). خيار لتجاوز الرمز الحالي لحساب PVSRA.
متوسط متحرك قابل للتخصيص (MA): يرسم متوسطًا متحركًا (SMA أو EMA) يمكن للمستخدم اختياره مع طول ومصدر ولون وعرض قابل للتكوين.
فلتران اختياريان مستقلان للإشارات (لإشارات S3-S5):
فلتر MA: قم اختياريًا بتصفية إشارات S3-S5 باستخدام متوسط متحرك منفصل قابل للتكوين (SMA, EMA, WMA).
فلتر VWAP: قم اختياريًا بتصفية إشارات S3-S5 باستخدام VWAP مع خيارات إرساء متقدمة.
تلوين خلفية قابل للتخصيص: يقوم اختياريًا بتلوين خلفية الرسم البياني عندما تكون مؤشرات ستوكاستيك على الأطر TF3، TF4، و TF5 جميعها في توافق صاعد أو هابط.
تخصيص واسع النطاق: قم بتكوين جميع الأطر الزمنية، وجميع معلمات المؤشرات (ستوكاستيك، ماكد، RSI، ألوان PVSRA، إعدادات MA، إعدادات VWAP)، ومستويات تأكيد K للإشارات، ومظهر الجدول، وشروط التنبيه.
التنبيهات: يُعرّف المؤشر العديد من شروط التنبيه لتوافق إشارات S3 و S4 و S5 الصاعدة/الهابطة، مع إشارة رسائل التنبيه إلى الفلاتر النشطة.
4. كيف يعمل المؤشر
بيانات MTF ولوحة المعلومات: يقوم الإسكريبت بجلب وحساب بيانات ستوكاستيك، الماكد، و RSI لكل من الأطر الزمنية الخمسة التي يحددها المستخدم باستخدام request.security مع barmerge.lookahead_on لمنع تسرب البيانات المستقبلية. تملأ هذه البيانات الجدول على الرسم البياني.
تلوين شموع PVSRA: يحلل حجم كل شمعة ونطاق سعرها مقابل المتوسطات التاريخية (مثل متوسط متحرك بسيط لـ10 فترات للحجم) لتحديد الشموع ذات الحجم المرتفع بشكل كبير (مثل >=150% أو >=200% من المتوسط) أو "value2" مرتفعة (الحجم * النطاق)، وتلوينها وفقًا لذلك للدلالة على ضغط شراء أو بيع قوي.
توليد إشارات ستوكاستيك (S3-S5):
يعمل تقاطع ستوكاستيك أولي على TF1 (يمكن تصفيته اختياريًا بمستوى K) كمُشغِّل.
يتم بعد ذلك تأكيد هذا التقاطع بالتتابع بواسطة شروط ستوكاستيك متوافقة (K فوق/تحت D، و K فوق/تحت مستويات التأكيد المحددة من المستخدم) على TF2، ثم TF3 (لإشارة S3)، ثم TF4 (لـ S4)، وأخيرًا TF5 (لـ S5).
تصفية الإشارات بـ MA و VWAP: في حالة التمكين، لا يتم رسم إشارات S3-S5 المولدة (ولا تُطلق تنبيهات) إلا إذا كان السعر يستوفي أيضًا الشرط المتعلق بالمتوسط المتحرك المختار (مثال: السعر > MA للشراء) و/أو VWAP. يمكن رسم خطوط MA و VWAP بشكل مستقل.
تلوين الخلفية: بناءً على إجماع حالات ستوكاستيك (صاعدة/هابطة) على الأطر TF3، TF4، و TF5.
5. كيفية الاستخدام
تكوين الأطر الزمنية والمؤشرات الأساسية: قم بإعداد مستويات MTF المطلوبة (TF1-TF5) ومعلمات ستوكاستيك، الماكد، و RSI عبر مربع حوار "الإعدادات/المدخلات" الخاص بالإسكريبت.
تكوين PVSRA و MA العام: قم بتمكين/تعطيل تلوين شموع PVSRA ورسم المتوسط المتحرك العام؛ اضبط معلمات كل منهما (الألوان، الأطوال، الأنواع).
ضبط معلمات إشارة ستوكاستيك:
عدّل عتبات مستوى K لتقاطعات ستوكاستيك TF1 (اضبط على 0 للصاعد/100 للهابط لتعطيل فلتر دخول مستوى K).
قم بتكوين عتبات تأكيد مستوى K لـ TF2-TF5.
تكوين فلاتر MA/VWAP الاختيارية للإشارات: قم بتمكين الرسم و/أو تصفية الإشارات بشكل مستقل لـ MA و/أو VWAP؛ اختر أنواعها وأطوالها وفترات الإرساء.
التفسير:
لوحة المعلومات: للحصول على نظرة عامة على ظروف السوق.
شموع PVSRA: لقياس قوة الاقتناع وراء تحركات الأسعار.
إشارات S3-S5: كمؤشرات محتملة لتوافق ستوكاستيك متعدد الأطر يزداد قوة. كلما زاد عدد الفلاتر التي تجتازها الإشارة (MA, VWAP)، كلما أمكن اعتبارها أكثر قوة.
خطوط MA/VWAP: كدعم/مقاومة ديناميكية أو مؤشرات اتجاه.
لون الخلفية: لتقييم بصري سريع لزخم ستوكاستيك الأوسع.
إعداد التنبيهات: أضف المؤشر إلى الرسم البياني. انقر فوق زر "تنبيه" في TradingView، واختر هذا المؤشر ضمن "الشرط"، ثم اختر من شروط التنبيه المحددة (مثل "Stoch TF3 Bullish Alignment"). ستشير رسائل التنبيه إلى الفلاتر النشطة.
6. اعتبارات هامة / إخلاء مسؤولية
يوفر هذا المؤشر أدوات تحليلية وإشارات محتملة؛ إنه ليس نظام تداول قائم بذاته ولا يضمن الأرباح.
استخدمه دائمًا بالاقتران مع استراتيجية التداول الخاصة بك، إدارة المخاطر، والتحليلات الأخرى. اختبره جيدًا.
تختلف فعالية الفلاتر والإشارات باختلاف ظروف السوق والأصول. التجربة مع الإعدادات أمر بالغ الأهمية.
هذا الإسكريبت مخصص للأغراض التعليمية/المعلوماتية فقط وليس نصيحة مالية. ينطوي التداول على مخاطر كبيرة. المؤلف، Saleh_ABO_RAED، غير مسؤول عن أي قرارات تداول بناءً على هذا المؤشر.
7. الحقوق والتقدير
منطق إشارات ستوكاستيك الهرمية (S3-S5) والإطار الاستراتيجي الأولي مستوحيان من عمل f56eroon (ابو بتال - خطيرون). هذا الإسكريبت، "MTF Dashboard (Stoch,MACD,RSI) & Stochastic Signals"، يمثل تطويراً أصيلاً قام به Saleh_ABO_RAED، ويتميز بالتنفيذ المحدد للوحة معلومات MTF لمؤشرات ستوكاستيك، الماكد، و RSI، ودمج تلوين شموع PVSRA والمتوسط المتحرك العام، والتصفية المتقدمة للإشارات باستخدام MA/VWAP، وتلوين الخلفية، والبنية البرمجية الشاملة القابلة للتخصيص.