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.
Indicators and strategies
Ultimate Volatility CloudUltimate Volatility Cloud
The Ultimate Volatility Cloud is a powerful and highly customizable indicator designed to help traders visualize market volatility, easily identify trend, and overextended moves in price with adaptive bands. It combines the strengths of the Arnaud Legoux Moving Average, Kaufman's Adaptive Moving Average, ATR Channels, and Standard Deviation bands, offering multiple pre-configured profiles and extensive customization options.
Key Features:
Dynamic Volatility Bands: The indicator plots multiple layers of volatility bands around a central basis line, providing a comprehensive view of price deviation.
Hybrid Band Calculation: Bands are a sophisticated blend of Keltner Channels, KAMA ATR Channels and Standard Deviation, allowing for a nuanced representation of volatility.
Adaptive Smoothing: Bands are smoothed using either Exponential Moving Average (EMA) or Kaufman's Adaptive Moving Average (KAMA) based on the selected profile, ensuring responsiveness tailored to market conditions.
Layered Fills: The cloud uses distinct color fills for different volatility levels, making it easy to visually interpret price action relative to its typical range.
Customizable Color Themes: Choose from a variety of pre-set color themes, including "Rainbow," "Wild," and "Monochrome," or stick with classic options to suit your visual preference.
Optional Basis Line Plots: Display the EMA or KAMA basis lines (used in Keltner Channel calculations) separately on the chart for additional analysis.
Understanding the Profiles:
The indicator comes with several pre-configured "Settings Profiles" that adjust the internal parameters (Keltner Channel/KAMA Channel/Standard Deviation band blend, and band smoothing) to suit different trading styles or market environments.
1. Standard Profile:
Blend: 60% Keltner Channel, 40% Standard Deviation.
Smoothing: EMA smoothing of 3 periods.
Purpose: A balanced, general-purpose profile suitable for a wide range of market conditions. It offers a good blend of trend following and volatility awareness.
2. Responsive Profile:
Blend: 40% Keltner Channel, 60% Standard Deviation.
Smoothing: EMA smoothing of 2 period.
Purpose: Designed for traders who need quick reactions to price changes. The higher Standard Deviation blend and minimal smoothing make it highly sensitive to immediate volatility shifts, ideal for short-term analysis or identifying early moves.
3. Ranging Market Profile:
Blend: 80% KAMA ATR Channel, 20% Standard Deviation.
Smoothing: KAMA smoothing.
Purpose: Optimized for sideways or consolidating markets. By utilizing KAMA-based ATR bands and KAMA for band smoothing, this profile adapts its responsiveness to reduce whipsaws in choppy conditions, providing clearer boundaries for range-bound price action.
4. Trend Following Profile:
Blend: 90% Keltner Channel, 10% Standard Deviation.
Smoothing: EMA smoothing of 5 periods.
Purpose: Tailored for riding strong trends. The heavy emphasis on the Keltner Channel and slightly smoother bands help filter out minor fluctuations, allowing traders to focus on the dominant directional movement.
5. Conservative Profile:
Blend: 65% KAMA ATR Channel, 35% Standard Deviation.
Smoothing: EMA smoothing of 10 periods.
Purpose: Aims to provide more filtered signals and reduce noise. The KAMA basis for the Keltner Channel combined with a longer EMA smoothing period offers a slower, more confirmed view of volatility, suitable for traders seeking higher conviction entries or exits.
Example of the Ranging Market Profile
How to Use:
The volatility cloud can be interpreted in various ways:
Price within the inner bands: May indicate consolidation or a period of lower volatility.
Price pushing into outer bands: Suggests increasing volatility and potential for a strong move.
Price breaking out of extreme outer bands: Can signal significant momentum and the start or continuation of a strong trend.
Cloud expansion/contraction: Visually indicates periods of increasing or decreasing market energy.
Experiment with different profiles and settings to find the combination that best suits your trading strategy and the instruments you trade.
Float, Daily % Change & Short %This TradingView Pine Script displays a compact table on your chart showing four key metrics for any stock:
📊 What It Shows:
Float – Number of publicly available shares, formatted in K/M/B.
Daily % Change – Price change from yesterday’s close to the current price.
Intraday % Change – Price change from today’s open to the current price.
Short Volume % – Estimated short volume as a percentage of total daily volume.
⚙️ How to Use:
Add the script to your TradingView chart.
Choose table size and screen position from the settings panel.
The values update in real-time on the latest candle only, so they stay out of the way but always visible.
Ideal for momentum traders, short float hunters, and day traders who need quick access to real-time float, price action, and short volume stats.
SOFR Spread (proxy: FEDFUNDS - US03MY)📊 SOFR Spread (Proxy: FEDFUNDS - US03MY) – Monitoring USD Money Market Liquidity
In 2008, the spread exhibits a sharp vertical spike, signaling a severe liquidity dislocation: investors rushed into short-term U.S. Treasuries, pushing their yields down dramatically, while the FEDFUNDS rate remained relatively high.
This behavior indicates extreme systemic stress in the interbank lending market, preceding massive Federal Reserve interventions such as rate cuts, emergency liquidity operations, and the launch of quantitative easing (QE).
Description:
This indicator plots the spread between the Effective Federal Funds Rate (FEDFUNDS) and the 3-Month US Treasury Bill yield (US03MY), used here as a proxy for the SOFR spread.
It serves as a simple yet powerful tool to detect liquidity dislocations and stress signals in the US short-term funding markets.
Interpretation:
🔴 Spread > 0.20% → Possible liquidity stress: elevated repo rates, cash shortage, interbank distrust.
🟡 Spread ≈ 0% → Normal market conditions, balanced liquidity.
🟢 Spread < 0% → Excess liquidity: strong demand for T-Bills, “flight to safety”, or distortion due to expansionary monetary policy.
Ideal for:
Monitoring Fed policy impact
Anticipating market-wide liquidity squeezes
Correlation with DXY, SPX, VIX, MOVE Index, and risk sentiment
🧠 Note: As SOFR is not directly available on TradingView, FEDFUNDS is used as a reliable proxy, closely tracking the same trends in most macro conditions.
Linear Volume MACD | Lyro RS📊 Linear Volume MACD | Lyro RS is an advanced momentum and trend detection tool that fuses price action with volume-weighted MACD logic and linear regression analysis . Designed for traders seeking deeper insights into market strength and directional conviction, this indicator highlights trend shifts, volume anomalies, and potential reversal zones with precision.
✨ Key Features :
🔁 Multi-Mode Analysis: Switch between Linear Regression , Strong/Weak Trend , or Volume MACD logic.
📐 Volume-Adjusted MACD: Incorporates volume for a more realistic momentum view.
📊 Linear Regression Signal: Smoother and more reactive trend analysis.
🎯 Dynamic Stdev Bands: Visualize ±1 and ±2 standard deviation thresholds for anomaly detection.
🌈 Custom Color Themes: Choose from built-in palettes or define your own bullish/bearish signal colors.
⚠️ Alert Conditions: Built-in alerts notify you of potential trend shifts across all signal modes.
📈 How It Works :
🧮 MACD Core: Uses volume-weighted price to generate fast and slow EMAs, forming the MACD and signal lines.
📉 Histogram Logic: Histogram is either the traditional MACD histogram or its linear regression version.
📊 Signal Modes:
• Linear Regression: Detect trend based on smoothed MACD behavior.
• Strong/Weak Trend: Identifies accelerating/decelerating trend strength.
• Volume MACD: Classic volume MACD behavior for divergence spotting.
📏 Stdev Bands: Calculated over a long period (default 200) to highlight statistically significant moves.
🎨 Color-coded Feedback: Bar and background colors adjust dynamically with market condition.
⚙️ Customization Options :
🔄 Choose your Signal Type from three unique analysis modes.
📏 Modify Fast/Slow/Signal lengths and Regression parameters to suit your strategy.
📈 Enable or disable Stdev Bands and adjust multiplier.
🎨 Select from Classic, Mystic, Accented, or Royal color palettes — or create your own.
📌 Use Cases :
🟢 Identify trend continuation or reversal zones with volume-adjusted signals.
🔴 Detect volatility breakouts using standard deviation bands.
🧭 Use in confluence with price structure, RSI, or market sentiment.
⚠️ Disclaimer :
This indicator is for educational purposes only. It is not financial advice. Always use in conjunction with your own research and risk management strategy.
Hull-Exponential Moving Average (HEMA)The Hull Exponential Moving Average (HEMA) is an experimental technical indicator that uses a sequence of Exponential Moving Averages (EMAs) with the same logic as HMA - except with EMAs and not WMAs. It aims to create a responsive yet smooth trend indicator than HMA.
HEMA applies a multi-stage EMA process. Initial EMAs are calculated using alphas derived from logarithmic relationships and the input period. Their outputs are then combined in a de-lagging step, which itself uses a logarithmically derived ratio. A final EMA smoothing pass is then applied to this de-lagged series. This creates a moving average that responds quickly to genuine price changes while maintaining effective noise filtering. The specific alpha calculations and the de-lagging formula contribute to its balance between responsiveness and smoothness.
▶️ **Core Concepts**
Logarithmically-derived alphas: Alpha values for the three EMA stages are derived using natural logarithms and specific formulas related to the input period **N**.
Three-stage EMA process: The calculation involves:
An initial EMA (using **αS**) on the source data.
A second EMA (using **αF**) also on the source data.
A de-lagging step that combines the outputs of the first two EMAs using a specific ratio **r**.
A final EMA (using **αFin**) applied to the de-lagged series.
Specific de-lagging formula: Utilizes a constant ratio **r = ln(2.0) / (1.0 + ln(2.0))** to combine the outputs of the first two EMAs, aiming to reduce lag.
Optimized final smoothing: The alpha for the final EMA (**αFin**) is calculated based on the square root of the period **N**.
Warmup compensation: The internal EMA calculations include a warmup mechanism to provide more accurate values from the initial bars. This involves tracking decay factors (**eS**, **eF**, **eFin**) and applying a compensation factor **1.0 / (1.0 - e_decay)** during the warmup period. A shared warmup duration is determined by the smallest alpha among the three stages.
HEMA achieves its characteristics through this multi-stage EMA process, where the specific alpha calculations and the de-lagging step are key to its responsiveness and smoothness.
▶️ **Common Settings and Parameters**
Period (**N**): Default: 10 | Base lookback period for all alpha calculations | When to Adjust: Increase for longer-term trends and more smoothness, decrease for shorter-term signals and more responsiveness
Source: Default: Close | Data point used for calculation | When to Adjust: Change to HL2, HLC3, or OHLC4 for different price representations
Pro Tip: The HEMA's behavior is sensitive to the **Period** setting due to the non-linear relationships in its alpha calculations. Experiment with values around your typical MA periods. Small changes in **N** can have a noticeable impact, especially for smaller **N** values.
▶️ **Calculation and Mathematical Foundation**
Simplified explanation:
HEMA calculates its value through a sequence of three Exponential Moving Averages (EMAs) with specially derived smoothing factors (alphas).
Two initial EMAs are calculated from the source price, using alphas **αS** and **αF**.
The outputs of these two EMAs are combined into a "de-lagged" series.
This de-lagged series is then smoothed by a third EMA, using alpha **αFin**, to produce the final HEMA value.
All internal EMAs use a warmup compensation mechanism for improved accuracy on early bars.
Technical formula (let **N** be the input period):
1. Alpha for the first EMA (slow component related):
αS = 3.0 / (2.0 * N - 1.0)
2. Lambda for **αS** (intermediate value):
λS = -ln(1.0 - αS)
Note: **αS** must be less than 1, which implies 2N-1 > 3 or N > 2 for **λS** to be well-defined without NaN from ln of non-positive number. The code uses nz() for robustness but the formula implies this constraint.
3. De-lagging ratio **r**:
r = ln(2.0) / (1.0 + ln(2.0))
(This is a constant, approximately 0.409365)
4. Alpha for the second EMA (fast component related):
αF = 1.0 - exp(-λS / r)
5. Alpha for the final EMA smoothing:
αFin = 2.0 / (sqrt(N) / 2.0 + 1.0)
6. Applying the stages:
**OutputS = EMA_internal(source, αS, eS_state, emaS_state)**
**OutputF = EMA_internal(source, αF, eF_state, emaF_state)**
8. Calculate the de-lagged series:
DeLag = (OutputF / (1.0 - r)) - (r * OutputS / (1.0 - r))
9. Calculate the final HEMA:
HEMA = EMA_internal(DeLag, αFin, eFin_state, emaFin_state)
🔍 Technical Note: The HEMA implementation uses a shared warmup period controlled by **aMin** (the minimum of **αS**, **αF**, **αFin**). During this period, each internal EMA stage still tracks its own decay factor (**eS**, **eF**, **eFin**) to apply the correct compensation. The **nz()** function is used in the code to handle potential NaN values from alpha calculations if **N** is very small (e.g., **N=1** would make **αS=3**, **1-αS = -2**, **ln(-2)** is NaN).
▶️ **Interpretation Details**
HEMA provides several key insights for traders:
When price crosses above HEMA, it often signals the beginning of an uptrend
When price crosses below HEMA, it often signals the beginning of a downtrend
The slope of HEMA provides insight into trend strength and momentum
HEMA creates smooth dynamic support and resistance levels during trends
Multiple HEMA lines with different periods can identify potential reversal zones
HEMA is particularly effective for trend following strategies where both responsiveness and noise reduction are important. It provides earlier signals than traditional EMAs while exhibiting less whipsaw than standard HMA in choppy market conditions. The indicator excels at identifying the underlying trend direction while filtering out minor price fluctuations.
▶️ **Limitations and Considerations**
Experimental nature: As an experimental indicator, HEMA may behave differently from established HMA in certain market conditions
Lag characteristics: While designed to reduce lag, HEMA may exhibit slightly more lag than HMA in some scenarios due to the long tail of EMA
Mathematical complexity: The multi-stage calculation with specialized alpha parameters makes the behavior less intuitive to understand
Parameter sensitivity: Performance can vary significantly with different period settings
Complementary tools: Works best when combined with volume analysis or momentum indicators for confirmation
▶️ **References**
Hull, A. (2005). "Hull Moving Average," Technical Analysis of Stocks & Commodities .
RetryClaude can make mistakes. Please double-check responses.
OHLC 0.5 @SplintsThis indicator provides a dynamic visualization of OHLC levels, allowing traders to analyze price action across multiple candles with enhanced clarity. It features customizable options for timeframe selection, candle count, and mid-level calculations (High/Low 50% and Open/Close 50%). The script utilizes gradient-based coloring for a clear distinction between levels and supports dynamic extension for better visibility.
Key Features:
Displays Open, High, Low, and Close levels with adjustable extension lengths
Supports mid-level calculations for enhanced trade decision-making
Gradient coloring for improved visual clarity across multiple candles
Configurable labels for quick reference to key price points
Efficient object management using arrays for optimized performance
Perfect for traders seeking structured insights into candle dynamics and session-based analysis.
Swing Highs and Lows Detector🔍 Swing Highs and Lows Detector
The Swing Highs and Lows Detector is a powerful tool for traders looking to identify meaningful structural shifts in price action, based on swing point logic and internal trend shifts.
📈 What It Does
This indicator automatically identifies and labels:
HH (Higher High) – Price broke above the previous swing high
LH (Lower High) – Price failed to break the previous high, signaling potential weakness
LL (Lower Low) – Price broke below the previous swing low
HL (Higher Low) – Price maintained a higher support level, indicating strength
The script distinguishes between bullish and bearish internal shifts and tracks the highest/lowest points between those shifts to determine the swing structure.
⚙️ How It Works
You can choose between two shift detection modes:
"Open": Compares closing price to the first open of the opposite streak
"High/Low": Uses the high of bearish or low of bullish candles
Once a shift is confirmed, the indicator scans the bars between shifts to find the most significant swing high or low
When a valid swing is detected, it’s labeled directly on the chart with color-coded markers
🛎️ Built-in Alerts
Set alerts for:
Higher High
Lower High
Lower Low
Higher Low
These alerts help you catch key structural shifts in real time — great for breakout traders, structure-based analysts, and smart money concepts (SMC) strategies.
✅ How to Use
Confirm Trend Strength or Reversals – Use HH/HL to confirm an uptrend, LL/LH to confirm a downtrend
Combine with Liquidity Sweeps or Zones – Ideal for SMC or Wyckoff-style setups
Entry/Exit Triggers – Use swing breaks to time entries or exits near key structural points
Opening Range BreakoutOPENING RANGE BREAKOUT (ORB) INDICATOR
DESCRIPTION
The Opening Range Breakout indicator is a powerful technical analysis tool designed specifically for US equity markets. It identifies and visualizes the opening range established during the first configurable minutes of each trading day (starting at 9:30 AM EST), then provides clear signals when price breaks out of or rejects from these key levels.
This indicator combines multiple timeframe analysis capabilities with precise breakout detection to help traders identify high-probability trading opportunities based on opening range dynamics.
KEY FEATURES
Configurable Opening Range:
• Set opening range duration from 5 minutes to 4 hours
• Automatically adjusts calculations based on your chart timeframe
• Works on any timeframe (1m, 5m, 15m, 1h, etc.)
Multi-Day Range Display:
• Shows up to 50 days of historical opening ranges
• Each day's range properly contained within its trading session
• Range lines extend from market open (9:30 AM) to market close (4:00 PM EST)
Clear Signal System:
• Green arrows (⬆): Bullish breakouts and rejections
• Red arrows (⬇): Bearish breakouts and rejections
• Two signal types: Close breakouts (normal size) and wick rejections (small size)
Visual Range Highlighting:
• Opening range period highlighted with colored box
• Customizable colors for range fill, borders, and midline
• Clean, professional appearance with configurable line styles
SIGNAL TYPES
Bullish Signals (Green ⬆):
1. Close Breakout Above Range (Normal Size): 5-minute candle closes above the opening range high
2. Wick Rejection from Below (Small Size): Price wicks below the opening range low but closes back inside the range
Bearish Signals (Red ⬇):
1. Close Breakout Below Range (Normal Size): 5-minute candle closes below the opening range low
2. Wick Rejection from Above (Small Size): Price wicks above the opening range high but closes back inside the range
CONFIGURATION OPTIONS
Range Settings:
• Opening Range Minutes: Duration of opening range (default: 30 minutes)
• Lookback Days: Number of historical days to display (default: 20 days)
Visual Customization:
• Range Color: Fill color for the opening range area
• Border Color: Color for range high/low lines
• Midline Color: Color for the range midpoint line
• Opening Range Highlight Color: Color for the opening period box
• Line Style: Solid, Dashed, or Dotted lines
• Line Width: 1-4 pixel width options
Display Options:
• Show Midline: Toggle midpoint line display
• Show Range Labels: Toggle price level labels
• Arrow Distance: Adjust arrow positioning (0.1-2.0%)
USAGE GUIDE
Basic Setup:
1. Add the indicator to your chart (works best on 5-minute timeframe)
2. Configure your preferred opening range duration (15m, 30m, or 60m are popular choices)
3. Adjust lookback days based on your analysis needs
4. Customize colors and line styles to match your chart theme
Trading Applications:
Breakout Trading:
• Long Entry: Green arrow (close breakout above range) + confirmation
• Short Entry: Red arrow (close breakout below range) + confirmation
• Stop Loss: Opposite side of the opening range
• Target: 1-2x the range size or key support/resistance levels
Range Rejection Trading:
• Reversal Setups: Small arrows indicate failed breakouts
• Mean Reversion: Trade back toward range midline
• Support/Resistance: Use range levels as key price zones
Multi-Day Analysis:
• Identify recurring support/resistance levels
• Analyze range expansion/contraction patterns
• Compare current day's activity to recent history
BEST PRACTICES
1. Timeframe Selection: 5-minute charts provide optimal signal clarity
2. Range Duration: 30-minute opening range is most commonly used, but adjust based on:
- Market volatility
- Stock characteristics
- Trading style preference
3. Confirmation: Use additional indicators or price action for trade confirmation
4. Risk Management: Always use appropriate position sizing and stop losses
MARKET SESSIONS
The indicator is specifically designed for US equity markets:
• Market Open: 9:30 AM EST
• Market Close: 4:00 PM EST
• Opening Range: Calculated from market open
• Range Lines: Extend throughout the trading day only
PERFORMANCE NOTES
• Optimized for real-time trading with minimal lag
• Automatically manages memory by cleaning old ranges
• Efficiently handles multiple timeframes and range calculations
KNOWN ISSUES & WORKAROUNDS
Historical Buffer Error:
Issue: Occasionally, you may encounter an error: "The requested historical offset (XXX) is beyond the historical buffer's limit (770)"
Workaround:
1. Switch to a different timeframe temporarily
2. Switch back to your original timeframe
3. The indicator will reload and function normally
This is a Pine Script limitation related to historical data access and doesn't affect the indicator's core functionality.
COMPATIBILITY
• Pine Script Version: v6
• Chart Types: All chart types supported
• Timeframes: All timeframes (optimized for 1m-1h)
• Markets: Designed for US equity markets during regular trading hours
TIPS FOR MAXIMUM EFFECTIVENESS
1. Combine with Volume: High volume on breakouts increases reliability
2. Market Context: Consider overall market direction and volatility
3. News Awareness: Be cautious around earnings and major announcements
4. Range Quality: Wider ranges often provide better breakout opportunities
5. Time of Day: Early breakouts (first 1-2 hours) often have higher follow-through
This indicator is provided for educational and informational purposes. Always conduct your own analysis and manage risk appropriately.
Weighted Regression Bands (Zeiierman)█ Overview
Weighted Regression Bands is a precision-engineered trend and volatility tool designed to adapt to the real market structure instead of reacting to price noise.
This indicator analyzes Weighted High/Low medians and applies user-selectable smoothing methods — including Kalman Filtering, ALMA, and custom Linear Regression — to generate a Fair Value line. Around this, it constructs dynamic standard deviation bands that adapt in real-time to market volatility.
The result is a visually clean and structurally intelligent trend framework suitable for breakout traders, mean reversion strategies, and trend-driven analysis.
█ How It Works
⚪ Structural High/Low Analysis
At the heart of this indicator is a custom high/low weighting system. Instead of using just the raw high or low values, it calculates a midline = (high + low) / 2, then applies one of three weighting methods to determine which price zones matter most.
Users can select the method using the “Weighted HL Method” setting:
Simple
Selects the single most dominant median (highest or lowest) in the lookback window. Ideal for fast, reactive signals.
Advanced
Ranks each bar based on a composite score: median × range × recency. This method highlights structurally meaningful bars that had both volatility and recency. A built-in Kalman filter is applied for extra stability.
Smooth
Blends multiple bars into a single weighted average using smoothed decay and range. This provides the softest and most stable structural response.
⚪ Smoothing Methods (ALMA / Linear Regression)
ALMA provides responsive, low-lag smoothing for fast trend reading.
Linear Regression projects the Fair Value forward, ideal for trend modeling.
⚪ Kalman Smoothing Filter
Before trend calculations, the indicator applies an optional Kalman-style smoothing filter. This helps:
Reduce choppy false shifts in trend,
Retain signal clarity during volatile periods,
Provide stability for long-term setups.
⚪ Deviation Bands (Dynamic Volatility Envelopes)
The indicator builds ±1, ±2, and ±3 standard deviation bands around the fair value line:
Calculated from the standard deviation of price,
Bands expand and contract based on recent volatility,
Visualizes potential overbought/oversold or trending conditions.
█ How to Use
⚪ Trend Trading & Filtering
Use the Fair Value line to identify the dominant direction.
Only trade in the direction of the slope for higher probability setups.
⚪ Volatility-Based Entries
Watch for price reaching outer bands (+2σ, +3σ) for possible exhaustion.
Mean reversion entries become higher quality when far from Fair Value.
█ Settings
Length – Lookback for Weighted HL and trend smoothing
Deviation Multiplier – Controls how wide the bands are from the fair value line
Method – Choose between ALMA or Linear Regression smoothing
Smoothing – Strength of Kalman Filter (1 = none, <1 = stronger smoothing)
-----------------
Disclaimer
The content provided in my scripts, indicators, ideas, algorithms, and systems is for educational and informational purposes only. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments. I will not accept liability for any loss or damage, including without limitation any loss of profit, which may arise directly or indirectly from the use of or reliance on such information.
All investments involve risk, and the past performance of a security, industry, sector, market, financial product, trading strategy, backtest, or individual's trading does not guarantee future results or returns. Investors are fully responsible for any investment decisions they make. Such decisions should be based solely on an evaluation of their financial circumstances, investment objectives, risk tolerance, and liquidity needs.
Customizable 10‑MA SuiteCustomizable 10‑Moving‑Average Suite
OverviewPlot up to 10 independent moving averages on a single chart. Every line can be tailored to your trading style with adjustable length, timeframe, MA type (SMA, EMA, WMA, RMA, VWMA, HMA, LinReg), data source, colour, width, and plot style.
Key Features
True multi‑time‑frame support via request.security(): mix intraday and higher‑time‑frame MAs effortlessly.
Fine‑grained visibility control: toggle each MA on/off to keep charts clean and script performance high.
Versatile display options: choose between line, step, histogram, or area plots for every MA.
Typical Use‑Cases
Quickly compare short‑, medium‑, and long‑term trends.
Identify dynamic support/resistance and moving‑average crossovers.
Add confluence to existing strategies or discretionary setups.
Pro TipHighlight your primary trend MA with a thicker line and bolder colour, while setting secondary MAs to thinner or dashed styles—this keeps focus where it matters and prevents visual clutter.
Enjoy!
Order Blocks📈 Order Blocks Only (With Mitigation Alerts)
This indicator identifies bullish and bearish order blocks on your chart and alerts you when they are formed or mitigated . Order blocks are key institutional price levels where strong buying or selling has previously occurred, often leading to significant future price reactions.
🔍 How It Works:
-Bullish Order Block: Formed when price closes above the high of a recent bearish candle. This suggests buyers have taken control.
-Bearish Order Block: Formed when price closes below the low of a recent bullish candle. This signals seller dominance.
-Once an order block is formed, a box is drawn on the chart to highlight the zone.
-These boxes last for a user-defined number of bars (default is 20) and can be automatically removed when price mitigates (retests and closes beyond) the zone.
🛠 User Settings:
-Show Bullish Order Blocks – Toggle green zones on/off.
-Show Bearish Order Blocks – Toggle red zones on/off.
-Order Block Duration – How many bars the boxes should remain on the chart.
-Delete Mitigated Boxes – If enabled, mitigated zones are automatically removed.
-Custom Colors – Personalize the fill and border colors of bullish and bearish blocks.
🔔 Alerts:
This tool supports four built-in alert types:
-Bullish Order Block Formed
-Bearish Order Block Formed
-Bullish Order Block Mitigated
-Bearish Order Block Mitigated
Set these alerts to stay on top of key price reactions.
✅ How to Use It:
1. Apply the indicator to any chart and timeframe.
2. Watch for new order blocks to form after strong price breaks.
3. Use these zones as potential entry points, stop placement areas, or take profit zones.
4. Enable alerts to catch key institutional levels as they form or are retested.
Supply and Demand Zones🔍 Supply and Demand Zones
by The_Forex_Steward
This indicator automatically identifies Supply and Demand Zones based on aggregated synthetic candles, helping traders pinpoint potential reversal or breakout levels with clarity and precision.
🧠 How It Works:
This tool aggregates price data over a set number of candles (defined by the Aggregation Factor ) to create "synthetic candles" that smooth out noise and highlight significant institutional price activity. These candles are then analyzed to detect bullish or bearish order blocks , which are visualized as zones:
-Demand Zones (Green) : Formed when price breaks above the high of a previous bearish synthetic candle.
-Supply Zones (Red) : Formed when price breaks below the low of a previous bullish synthetic candle.
These areas often represent key institutional interest where price is likely to react.
⚙️ Key Features:
-Aggregation Factor : Groups candles to form larger, synthetic ones. Higher values smooth price and reduce noise.
-Custom Zone Length : Define how far zones extend forward (up to 500 bars).
-Mitigation Logic : Choose whether to auto-delete zones once price breaks through them.
-Visual Customization : Customize zone colors and borders to suit your charting style.
-Alerts : Get notified when new Supply or Demand zones are formed.
📈 How to Use It:
1. Trend Trading : Use zones as dynamic support/resistance to enter with trend pullbacks.
2. Reversals : Look for price reactions at untested zones for potential counter-trend setups.
3. Breakouts : Monitor for zone breaks that signal strong momentum or shifts in market structure.
4. Confluence : Combine with other indicators (like RSI or volume) for more robust trade setups.
🔔 Alerts:
Receive alerts when new demand or supply zones are formed so you can take action in real time.
✅ Recommended Settings:
For intraday trading : Use lower aggregation values (e.g., 3–5).
For swing/position trading : Higher values (e.g., 6–10) may give better structure.
Perp R/R Toolcalculate lot size and automatically plot SL and TP and entry for quicker execution when scalping. SL is currently set to high of candle for shorts and low of candle for longs +1 ATR. can change ATR, risk per trade and r/r ratio in settings. change trade direction to show info for long, short or both.
Statistical Pairs Trading IndicatorZ-Score Stat Trading — Statistical Pairs Trading Indicator
📊🔗
---
What is it?
Z-Score Stat Trading is a powerful indicator for statistical pairs trading and quantitative analysis of two correlated assets.
It calculates the Z-Score of the log-price spread between any two symbols you choose, providing both long-term and short-term Z-Score signals.
You’ll also see real-time correlation, volatility, spread, and the number of long/short signals in a handy on-chart table!
---
How to Use 🛠️
1. Add the indicator to your chart.
2. Select two assets (symbols) to analyze in the settings.
3. Watch the Z-Score plots (blue and orange lines) and threshold levels (+2, -2 by default).
4. Check the info table for:
- Correlation
- Volatility
- Spread
- Number of long (NL) and short (NS) signals in the last 1000 bars
5. Set up alerts for signal generation or threshold crossings if you want to be notified automatically.
---
Trading Strategy 💡
- This indicator is designed for statistical arbitrage (mean reversion) strategies.
- Long Signal (🟢):
When both Z-Scores drop below the negative threshold (e.g., -2), a long signal is generated.
→ Buy Symbol A, Sell Symbol B, expecting the spread to revert to the mean.
- Short Signal (🔴):
When both Z-Scores rise above the positive threshold (e.g., +2), a short signal is generated.
→ Sell Symbol A, Buy Symbol B, again expecting mean reversion.
- The info table helps you quickly assess the frequency of signals and the current statistical relationship between your chosen assets.
---
Best Practices & Warnings 🚦
- Avoid high leverage! Pairs trading can be risky, especially during periods of divergence. Use conservative position sizing.
- Check for cointegration: Before using this indicator, make sure both assets are cointegrated or have a strong historical relationship. This increases the reliability of mean reversion signals.
- Check correlation: Only use asset pairs with a high correlation (preferably 0.8–0.9 or higher) for best results. The correlation value is shown in the info table.
- Scale in and out gradually: When entering or exiting positions, consider doing so in parts rather than all at once. This helps manage slippage and risk, especially in volatile markets.
---
⚠️ Note on Performance:
This indicator may work a bit slowly, especially on large timeframes or long chart histories, because the calculation of NL and NS (number of long/short signals) is computationally intensive.
---
Disclaimer ⚠️
This script is provided for educational and informational purposes only .
It is not financial advice or a recommendation to buy or sell any asset.
Use at your own risk. The author assumes no responsibility for any trading decisions or losses.
Volume Spike 20%+This indicator highlights volume spikes that exceed the 20% threshold above the 20-period simple moving average of volume.
🔹 Gray bars: Normal volume
🔹 Green bars: Volume is at least 20% higher than the 20-period average
🔸 Orange line: The 20-period volume moving average
Use case:
This tool helps traders quickly spot abnormal trading activity or increased interest in a stock, which may precede a price breakout or reversal.
Simple, clean, and effective – perfect for momentum, breakout, or volume-based strategies.
Auto Price Action SR Levels by Chaitu50cAuto Price Action SR Levels by Chaitu50c:
This is a session-based support and resistance indicator that identifies price levels based on actual candle activity, without relying on traditional indicators. It works by clustering open, high, low, or close values of past candles that frequently occur within a defined price range, making it a reliable price action-based tool for intraday traders.
The indicator calculates these levels at the start of each new trading session (based on NSE 09:15 time) and keeps them static throughout the session. This avoids unnecessary noise or flickering due to live price action, giving traders consistent zones to work with during the day.
FEATURES:
* Automatic detection of support and resistance levels based on candle price hits
* Cluster formation using high/low or open/close logic
* Static levels: calculated once per session and remain unchanged until the next session
* Adjustable settings for:
* Cluster range (in points)
* Number of lookback candles
* Line width
* Line color (default: black)
* Minimalist design for a clean chart experience
HOW IT WORKS:
The indicator looks back over a defined number of candles at the beginning of each session. It clusters prices that fall within a specified range (e.g., 250 points) and counts how many times they appear as open, high, low, or close values. If a price level is hit at least once (default), it is considered significant and a line is plotted.
Because clustering is done once per session, the lines do not shift during the session. This allows traders to base decisions on fixed, stable levels formed by prior market structure.
RECOMMENDED FOR:
* Intraday traders
* Price action traders
* Traders who prefer clean charts with logical SR zones
* Nifty, BankNifty, and stock-based day trading
Created by Chaitu50c for traders who rely on logic and structure, not signals.
Disclaimer:
This indicator is intended for educational and informational purposes only. It does not constitute financial advice or trading recommendations. Use at your own discretion and always manage risk responsibly.
---
Let me know if you’d like to include use-case examples or screenshots before publishing.
HVC Daily LevelsDaily High Volume Candle Levels Marked on all Timeframes
HVC Level Sentinel v6 — High Volume Candle Levels
HVC Level Sentinel v6 automatically detects and highlights “High Volume Candles” (HVCs) — bars with the highest trading volume in a rolling, user-defined window (e.g., 30 days). This tool helps you spot key price levels where significant trading activity occurred, which can act as important support or resistance zones.
Features
Customizable Lookback: Choose how many bars to look back for HVC detection (default: 30 days, adjustable).
Automatic Highlighting: HVC candles are highlighted on your chart with a customizable color.
Level Lines: Draws horizontal lines at the Open, High, Low, and Close of each recent HVC, so you can easily track these key levels.
Line Fading: Only the most recent N HVCs (user-adjustable) have lines, with older lines fading out or disappearing for clarity.
Per-Line Control: Turn on/off Open, High, Low, and Close lines individually in the settings.
Fully Customizable: Adjust colors, line styles, widths, and opacity to fit your chart style.
How It Works
On each new bar, the script checks if the current bar’s volume is the highest in the last N bars.
If so, it marks the bar as an HVC and draws lines at its O/H/L/C (if enabled).
You can highlight all HVCs historically, but only the most recent N will have lines for a clean, focused chart.
Use Cases
Identify major breakout or reversal points driven by high volume.
Track where institutional or “smart money” activity may have occurred.
Use HVC levels as dynamic support/resistance for entries, exits, or stop placement.
Tip :
Adjust the lookback window and number of HVCs with lines to match your trading style—shorter for active trading, longer for swing/position trading.
High Low Levels by JZCustom High Low Levels Indicator - features
Clearly plotted high and low levels for specific trading sessions. This indicator provides visual representations of key price levels during various trading periods. Below are the main features and benefits of this indicator:
1. Display high and low levels for each session
- previous day high/low: display the high and low from the previous day, giving you a better understanding of how the price moves compared to the prior day.
- asia, london, and custom sessions: track the high and low levels for the major trading sessions (asian and london) and two custom user-defined sessions.
2. Complete line and label customization
- custom line appearance: choose the color, line style (solid, dashed, dotted), and line thickness for each trading session. you can also decide if the lines should extend beyond the current price action.
- custom labels: define your own label texts for each custom session. this way, you can label the levels precisely and easily track price movements.
3. Define your own trading sessions
- add up to two custom sessions (custom and custom 2), which can be defined using precise start and end times (hour and minute).
- each custom session allows you to specify the label text for the high and low levels, enabling you to easily differentiate different parts of the day on the chart.
4. Clear and intuitive design
- grouped settings: all settings are grouped based on trading sessions, so you can easily customize every aspect of the visual representation.
- simple toggle on/off: you can easily enable or disable each line (previous day, asia, london, custom 1, custom 2). this allows you to keep your chart clean and focus only on the important levels you need at any moment.
5. Flexible time zones
- time zone settings: set the time zone (utc, europe/london, america/new_york, asia/tokyo) to properly align the timeframes for each level depending on the market you're focusing on.
6. Automatic cleanup of old lines and labels
- old levels removal: automatically remove old lines and labels to prevent clutter on your chart. this ensures that only current, relevant levels for each trading day or session are displayed.
7. Precise plotting and line extension
- accurate level markings: the indicator calculates the precise times when the high and low levels were reached and plots lines that visually represent these levels.
- line extension options: you have the option to extend the high/low lines beyond their point of calculation, which helps with identifying price action trends beyond the current period.
Dec 7, 2024
Release Notes
Changes and Improvements for Users:
1. Customizable Offset for Lines and Labels:
- A new input, `Line and Label Offset`, allows users to control how far the lines and their associated text labels extend. This ensures the labels and lines remain aligned and can be adjusted as needed.
2. Unified Offset Control:
- The same offset value is applied to all types of lines and labels (e.g., Previous Day High/Low, Asia High/Low, London High/Low, and custom sessions). Users can change this in one place to affect the entire script consistently.
3. Enhanced Flexibility:
- Users now have more control over the appearance and position of their lines and labels, making the indicator adaptable to different chart setups and personal preferences.
These updates aim to enhance user convenience and customization, ensuring a more tailored charting experience.
EMA Distance Indicator [Eddie_Bitcoin]🧠 EMA Distance Indicator
This indicator is a powerful statistical tool designed to provide enhanced context and signal confirmation for traders who want to go beyond price action alone.
🔍 What It Does
It calculates and visualizes the distance (%) between two EMAs (Fast & Slow) on either the current chart symbol or a selected macro/index reference (e.g., BTC Dominance, TOTAL2, SPX). But it doesn't stop there:
Core Features:
✅ Real-time percentage distance between Fast and Slow EMAs
📈 Slope (acceleration) of the distance to capture trend momentum
🎯 Gaussian-based percentile rank of the current distance over a configurable historical sample
📊 Dynamic table display with intuitive emoji-based cues
🟢 Highlights extreme conditions (e.g., TOP 5% or LOW 5% percentile zones)
🔀 Compare both current asset and a macro/index asset side by side
💡 Display Modes:
Show only current symbol
Show only index/macro symbol
Show both with independently positioned tables
🎯 Ideal Use Case
This is not a standalone strategy, but rather a statistical enhancement module designed to pair with tools like my 👉 “AltCoin Index Correlation” indicator. It gives traders a quick-glance view of strength, divergence, and macro alignment for better timing and confidence.
Whether you’re trading altcoins, tracking dominance charts, or watching indices, this tool offers deep visual insight into EMA-based dynamics — wrapped in a clean, emoji-driven UI.
🛠 Created with ❤️ by @Eddie_Bitcoin
🚀 ### Check my profile for other juicy hints and original strategies. ### 🚀
Break-out DailyBreakout - with body - of yesterday's daily high or low.
With body we mean that the indicator only signals if the candle has closed above the high (Breakout - Long) or below the low (Breakout - Short).
This indicator can make mistakes such as not signaling a breakout or signaling it at the wrong level (this is because it is based on the highs/lows recorded in the daily candle, not the daily high/low in the reference timeframe).
I recommend always checking if the breakout has actually occurred.
I hope it will make it easier for you to read the charts and happy trading to everyone! :)
###################################################################################
Rottura strutturale - con corpo - del massimo o minimo giornaliero di ieri.
Con corpo si intende che l'indicatore segnala solo se la candela ha chiuso al di sopra del massimo(Break-out - Long) o al di sotto del minimo(Break-out - Short).
Questo indicatore può fare degli errori come non segnalare una rottura strutturale o segnalarla su un livello sbagliato(questo perché si basa sui massimi/minimi registrati nella candela giornaliera, non il massimo/minimo giornaliero nel timeframe di riferimento).
Consiglio di controllare sempre se effettivamente è avvenuta la rottura.
Spero che vi semplificherà la lettura dei grafici e buon trading a tutti! :)
My S.T.A.C.K.📊 My S.T.A.C.K. (Simplified TA Combined Kit)
All your favorite technical tools in one clean, customizable overlay.
My S.T.A.C.K. is a power-packed indicator designed to streamline your chart by combining the most commonly used technical analysis tools into a single, space-saving script. Whether you're a trend trader, swing trader, or just looking to declutter your view — this kit gives you everything you need, nothing you don’t.
🔧 Features:
5 Customizable Moving Averages: Choose your type (SMA, EMA, WMA, etc.) and periods to match your strategy.
Bollinger Bands: Visualize volatility and overbought/oversold zones with precision.
Donchian Channels: Spot breakouts and trend reversals based on high/low ranges.
ATR Bands: Adaptive support/resistance zones based on Average True Range.
Clean Visualization: Toggle each element on or off, adjust colors, and focus only on what matters.
✅ Ideal For:
- Traders who want multiple indicators in one place
- Reducing indicator clutter on TradingView
- Quick visual analysis without switching scripts