Bar Number IndicatorBar Number Indicator
This Pine Script indicator is designed to help intraday traders by automatically numbering candlesticks within a user-defined trading session. This is particularly useful for strategies that rely on specific bar counts (e.g., tracking the 1st, 18th, or 81st bar of the day).
Key Features:
Session-Based Counting: Automatically resets the count at the start of each new session (default 09:30 - 16:00).
Timezone Flexibility: Includes a dropdown to select your specific trading timezone (e.g., America/New_York), ensuring accurate session start times regardless of your local time or the exchange's default setting.
Smart Display Modes: Choose to show "All" numbers, or filter for "Odd" / "Even" numbers to keep your chart clean.
Custom Positioning: Easily place the numbers Above or Below the candlesticks.
Minimalist Design: Numbers are displayed as floating text without distracting background bubbles.
지표 및 전략
Dynamische Open/Close Levels mit Historie🎯 Key Features
This indicator provides clean, configurable horizontal lines showing the Open and Close prices of a higher chosen timeframe (e.g., the last 5-minute candle), serving as dynamic support and resistance levels.
Unlike traditional indicators that draw messy "steps" across your entire chart, this tool is designed for clarity and precise control.
Controlled History: Easily define how many of the last completed periods (e.g., 5-minute blocks) should remain visible on the chart. Set to 0 for only the current, active levels.
No Stepladder Effect: Uses advanced drawing methods (line.new and object management) to ensure the historical levels remain static and do not clutter your chart history.
Dynamic Labels: The labels (e.g., "Open (5)") automatically adjust to show the timeframe you configured in the indicator settings, eliminating confusion when switching timeframes.
Customizable: Full control over colors, line length, and label positioning/size.
💡 Ideal Use Case
Perfect for scalpers and day traders operating on lower timeframes (1m, 3m) who want to quickly visualize and respect crucial price action levels from a higher context (e.g., 5m, 15m, 1h).
Rolling Skewness & Kurtosis (Quant Lab)🔹 Skewness (Asymmetric Risk)
• Skew > 0 (green) → Right tail heavier:
• More frequent positive extreme movements
• Higher probability of pump/sharp rally
• Skew < 0 (red) → Left tail heavier:
• Higher risk of crash, dump, liquidation
• Skew ≈ 0 → Distribution is symmetrical, neither right nor left side is dominant
🔹 Excess Kurtosis (Intensity of Extreme Movements)
• Kurt > 0 → Fat tails:
• More extreme movements compared to a normal distribution
• Increased risk of unexpected large spikes, flash moves
• Kurt < 0 → Thin tail:
• More “calm” distribution, fewer extreme movements
This pair tells you:
“Which direction could this instrument explode in right now?
and has the intensity of extreme movements increased?”
Aman-setup-1.0Aman Setup identifies bullish intraday breakouts on the 3-minute chart.
A breakout occurs when price closes above the Previous Day Reference Level (Prev Close if bullish, Prev Open if bearish) and the First 15-Minute High.
The Entry Candle forms when its OHLC are all above both levels.
Includes automatic Stop-Loss (below breakout low) and 1:1 Target, along with visual signals for Breakout, Entry, SL, and Target Hit.
Fractal Dimension (Katz, Quant Lab)This indicator estimates the Katz Fractal Dimension of the price series over a rolling window.
It computes:
• L = sum of absolute price changes within the window
• d = maximum distance between any point and the first point in the window
• n = window length
Then applies Katz’s formula:
FDI = ln(n) / (ln(n) + ln(d / L))
The resulting Fractal Dimension typically lies between 1.0 and 2.0:
• FDI ≈ 1.0–1.3 → Strong, directional trend (low randomness)
• FDI ≈ 1.3–1.5 → Mixed / transitional behavior
• FDI ≈ 1.5–2.0 → Noisy, choppy, mean-reverting / range market
Entry Scanner Conservative Option AKeeping it simple,
Trend,
RSI,
Stoch RSI,
MACD, checked.
Do not have entry where there is noise on selection, look for cluster of same entry signals.
If you can show enough discipline, you will be profitable.
CT
Variance Ratio & Efficiency Ratio (Quant Lab)1️⃣ Variance Ratio (VR)
Formula:
VR ≈ Var(q-step returns) / (q × Var(1-step returns))
Interpretation:
• VR ≈ 1 → The market is like a random walk; neither trend nor mean-reversion is dominant.
• VR > 1 → Trend behavior is dominant.
• Trend-following systems (EMA, Supertrend, breakout) work better.
• VR < 1 → Mean-reversion is dominant.
• Range/reversal strategies (Z-score, Bollinger fade, RSI reversal) work better.
In short:
• VR > 1 → Trending market
• VR < 1 → Mean-reverting market
This tells you:
“Should I build a trend system or a mean-reversion system for this instrument?”
⸻
2️⃣ Efficiency Ratio (ER)
Formula logic:
ER = |Close_now – Close_n-bars-ago| / Σ|Close_i – Close_{i+1}|
In other words:
• Numerator → Net movement over N bars
• Denominator → Total noise over N bars
Interpretation:
• ER ≈ 1 → The price has moved in almost a straight line in one direction.
→ The trend is very efficient, noise is low.
• ER ≈ 0 → The price has fluctuated a lot but hasn't gone anywhere definitively.
→ A complete noise/range market.
This tells you:
“How clear is the trend in this last N bars, and how much noise is there?”
⸻
🔥 The intelligence provided by both together:
• VR > 1 and ER is high (0.6–1.0) →
➜ Strong, high-quality trend. Golden age for trend-following.
• VR > 1 but ER is low (0.2–0.4) →
➜ Trend exists but there is a lot of noise, many fake movements. • VR < 1 and ER is low →
➜ Net range / sideways market. Ideal for mean-reversion.
Aman-setupAman-Harman Setup identifies bullish intraday breakouts on the 3-minute chart.
A breakout occurs when price closes above the Previous Day Reference Level (Prev Close if bullish, Prev Open if bearish) and the First 15-Minute High.
The Entry Candle forms when its OHLC are all above both levels.
Includes automatic Stop-Loss (below breakout low) and 1:1 Target, along with visual signals for Breakout, Entry, SL, and Target Hit.
Rolling Z-Score (Quant Lab)What does this Z-Score measure?
• src (default = close) → the value of the series you selected
• len → the window you are measuring based on the average of the last few bars
• Z ≈ 0 → price close to the average
• Z > 2 → price 2 standard deviations above the average (extremely positive deviation)
• Z < -2 → 2 standard deviations below the average (extremely negative deviation)
In modern mean-reversion strategies:
• Z > +2 → short / take profit candidate
• Z < –2 → long / dip buy candidate
Quicksilver Institutional Trend [1H] The "God Candle" Catcher Most retail traders fail because they lack institutional tooling.
The Quicksilver Institutional Trend is designed to keep you in the trade during massive expansion moves and keep you out during the chop. It replaces "guessing" with a structured, math-based Trend Cloud.
THE LOGIC (Institutional Engine):
Visual Trend Cloud: A dynamic ribbon that identifies the dominant 1H market regime.
Momentum Filter (ADX): The bars change color based on Trend Strength.
Bright Green/Red: High Momentum (Institutional Volume). Stay in the trade.
Dark Green/Red: Low Momentum. Prepare to exit.
Liquidity Zones: Automatically draws Support & Resistance lines at recent institutional pivot points.
👨💻 NEED A CUSTOM BOT?
Stop trading manually. We can convert YOUR specific strategy into an automated algorithm.
Quicksilver Algo Systems specializes in building custom solutions for:
TradeLocker Studio (Python)
TradingView (Pine Script)
cTrader (C#)
MetaTrader 4/5 (MQL)
We don't just sell indicators; we engineer automated execution systems tailored to your exact risk parameters.
🚀 HOW TO HIRE US:
If you have a strategy you want automated, we are currently accepting new custom development projects.
Contact the Lead Developer directly:
📧 Email: quicksilveralgo@gmail.com
(Include "Custom Bot Request" in the subject line for priority review).
🔥 UNLOCK THE NEXT INDICATOR:
We are releasing our "Sniper Scalper" logic next week.
Hit the BOOST (Rocket) Button 🚀 above.
Click FOLLOW on our profile.
Comment "QAS" below if you want to be notified.
Disclaimer: Trading involves substantial risk. Educational purposes only.
@Fhunded PxH/PxLPlots previous day/week highs and lows (PDH/PDL/PWH/PWL) along with daily, weekly, and monthly opens. Each level includes customizable colors, visibility toggles, and adjustable forward-projected line length for clean HTF reference levels.
LL-HL PivotThis indicator scans for the bullish structure known as a Higher Low (HL) across multiple lengths simultaneously, automatically selects the most suitable pattern, and plots it on the chart.
Below is a detailed explanation of how it works.
1. Basic Calculation Method (Definition of LL and HL)
This indicator is built on TradingView’s ta.pivotlow function.
Detecting Pivot Lows
For a given length, a Pivot Low is identified as the lowest point among the candles within the specified range to the left and right.
LL and HL Determination
LL (Lowest Low): The most recent Pivot Low is treated as the previous low.
HL (Higher Low): When a new Pivot Low forms above the previous LL, it is recognized as an HL, and the setup is considered “complete.”
Identifying the Pivot Line
During the LL–HL structure, the highest high between them is identified and used as the breakout level (Pivot Line / resistance), where a horizontal line is drawn.
2. Multi-Length Scanning
Unlike standard indicators that use only one length (e.g., Length = 5), this indicator evaluates a full range of lengths.
Min Length to Max Length
Example: Min = 2, Max = 10
Internally, it functions as if nine separate indicators (Length 2, 3, 4 … 10) are running simultaneously.
This allows the indicator to capture:
Small waves (short-term pullbacks)
Larger waves (broader structural moves)
3. Priority Mode System
Because multiple lengths are calculated at the same time, different LL–HL patterns may appear simultaneously.Priority Mode determines which setup is selected and displayed.
A. Lowest LH
Selects the pattern with the lowest pivot line (intermediate high).
Advantages:
Produces the lowest possible entry price
B. Longest Length
Selects the pattern with the longest length.
Advantages:
Focuses on larger structures and broader waves
Filters out noise
C. Shortest Length
Selects the pattern with the shortest length.
Advantages:
Reacts quickly to small moves
Useful for scalping or fast trend-following
Captures very short-term pullbacks
4. Additional Behavior and Features
Real-Time Invalidation
If price breaks below the confirmed HL, the structure is immediately considered invalid.
All previously drawn lines and labels are removed instantly, preventing outdated structures from remaining on the chart.
Pivot Line Extension
As long as the HL remains intact, the Pivot Line (breakout level) continues extending to the right.
Alerts
An alert can be triggered the moment price breaks above the Pivot Line on a closing basis.
DR/IDR, fractals, break + EMA Clouds + VWAPThis indicator is a powerful, multi-layered trading tool that combines three distinct forms of market analysis—volume, trend, and opening volatility—onto a single chart.
1. Opening Range Breakout (ORB) System
This is the foundation of the indicator, designed to capture the initial volatility and set key price boundaries for the trading day.
Time Focus: The indicator's primary analysis is centered on a specific, user-defined time period (default is 9:30 AM to 10:30 AM New York Time). Nothing related to the ORB drawing will appear on the chart before this session starts.
Wick High/Low (The Trigger): These lines track the absolute highest and lowest prices reached during the time window. They define the full extent of the initial range and are used to determine when a genuine breakout occurs.
Body High/Low (The Range & Targets): These lines track the highest and lowest open/close prices of the candles within the session. This area forms the central, shaded zone, representing the core consolidation area.
Range Shading: The background between the Body High and Body Low is shaded, but this visual feature only appears during the active forming time window (e.g., 9:30 AM to 10:30 AM) to maintain chart clarity.
Fractals: While the range is forming, the indicator detects 5-bar Williams Fractal patterns that occur inside the range. These small triangles (▲ or ▼) highlight minor reversal points established by the early trading action.
Breakout Signal: After the user-defined time window closes, the indicator waits. If a subsequent candle's price moves above the Wick High or below the Wick Low, a "BREAK" label is displayed on that candle. It is programmed to label only the first decisive break in each direction per day.
Extension Targets: When a breakout occurs, target lines are automatically projected above the Body High (for a bullish break) or below the Body Low (for a bearish break). The distance between these targets is calculated based on a user-defined fraction (e.g., 0.5 steps) of the total height of the Body Range.
Line Cutoff: For tidiness, you can set a "Stop Time" (e.g., 4:00 PM) after which the ORB lines will automatically disappear.
2. EMA Clouds (Trend and Momentum)
Four distinct Exponential Moving Average (EMA) clouds are plotted to provide a dynamic, multi-speed view of the market's trend and momentum.
Structure: Each "Cloud" is the shaded area between two EMAs (one shorter length and one longer length). The indicator includes four customizable pairs (defaulting to common settings like 8/9, 8/14, 34/50, and 14/21).
Trend Coloring: The clouds are color-coded:
Bullish (Greenish): The shorter EMA is trading above the longer EMA, signaling upward momentum.
Bearish (Reddish): The shorter EMA is trading below the longer EMA, signaling downward momentum.
Application: These clouds are used to confirm the overall market direction or identify potential zones of support and resistance.
3. Volume-Weighted Average Price (VWAP)
The VWAP is a crucial anchor for measuring the market's efficiency throughout the trading day.
Function: It calculates the average price of the asset, giving more weight to prices where higher volume was traded.
Context: It helps traders quickly determine if the current price is trading at a premium (above VWAP) or a discount (below VWAP) relative to the day's volume.
Reset: The VWAP line automatically resets at the beginning of each trading day.
Customization: The VWAP line can be toggled on or off, and its color and width are fully adjustable.
RSI Median DeviationRSI Median Deviation – Adaptive Statistical RSI for High-Probability Extremes
The Relative Strength Index (RSI) is a momentum oscillator developed by J. Welles Wilder in 1978 to measure the magnitude of recent price changes and identify potential overbought or oversold conditions. It calculates the ratio of upward to downward price movements over a specified period, scaled to 0-100. However, standard RSI often relies on fixed thresholds like 70/30, which can produce unreliable signals in varying market regimes due to their lack of adaptability to the actual distribution of RSI values.
This indicator was developed because I needed a reliable tool for spotting intermediate high-probability bottoms and tops. Instead of arbitrary horizontal lines, it uses the RSI’s own historical median as a dynamic centerline and measures how far the current RSI deviates from that median over a chosen lookback period. The main signals are triggered only at 2 standard deviation (2σ) extremes — statistically rare events that occur roughly 5 % of the time under a normal distribution. I selected 2σ because it is extreme enough to be meaningful yet frequent enough for practical trading. For oversold signals I further require RSI to be below 42, a filter that significantly improved results in my mean-reversion tests (enter on oversold, exit on the first bar the condition is no longer true).
The combination of percentile median + standard deviation bands is deliberate: the median is far more robust to outliers than a simple average, while the SD bands automatically adjust to the current volatility of the RSI itself, producing adaptive envelopes that work equally well in ranging and trending markets.
Underlying Concepts and Calculations
Base RSI: RSI = 100 − (100 / (1 + RS)), RS = average gain / average loss (default length 10).
Percentile Median: 50th percentile of the last "N" RSI values (default 28 = 4 weeks)
→ dynamic, outlier-resistant centerline.
Standard Deviation Bands: rolling stdev of RSI (default length 27 = = 4 weeks (almost))
→ bands = median ± 1σ / 2σ.
Optional Dynamic MA Envelopes: user-selectable moving average (TEMA, WMA, etc., default WMA length 37) for additional momentum context.
Trend Bias Coloring
Independent of the statistical extremes, the RSI line itself is colored green when above the user-defined Long Threshold (default 60) and red when below the Short Threshold (default 47). This provides an instant bullish/bearish bias overlay similar to classic RSI usage, without interfering with the main 2σ extreme signals.
Extremes are highlighted with background color (green for oversold 2σ + RSI<42, magenta for overbought 2σ) and small diamond markers for ultra-extremes (RSI <25 or >85).
Originality and Development Rationale
The indicator was built and refined through extensive testing on dozens of assets including major cryptocurrencies:
(BTC, ETH, SOL, SUI, BNB, XRP, TRX, DOGE, LINK, PAXG, CVX, HYPE, VIRTUAL and many more),
the Magnificent 7 stocks,, QQQ, SPX, and gold.
Default parameters were chosen to deliver consistent profitability in simple mean-reversion setups while maximizing Sortino ratio and minimizing maximum drawdown across this broad universe — ensuring the settings are robust and not overfitted to any single instrument or timeframe.
How to Use It
Ideal for swing / position trading on the 1h to daily charts (the same defaults work).
Oversold (high-probability long): RSI crosses below lower 2σ band AND RSI < 42
→ green background
→ enter long, exit the first bar the condition disappears.
Overbought (high-probability short): RSI crosses above upper 2σ band
→ magenta background
→ enter short, exit on opposite signal or at median. (Shorts were not tested, it's only an idea)
Use the green/red RSI line coloring for quick trend context and to avoid fighting strong momentum.
Always confirm with price action and manage risk appropriately.
This indicator is not a standalone trading system.
Disclaimer: This is not financial advice. Backtests are based on past results and are not indicative of future performance.
Rapha Crypto - Bot1. Purpose of the Indicator
This indicator was designed to be used alongside the Rapha Crypto Bot. Its goal is to help identify market conditions where the bot performs best. The bot operates more efficiently on assets showing a minimum candle volatility of 0.5%, and this indicator measures exactly that.
2. How the Indicator Works
For each candle, the indicator calculates the full amplitude (including wicks) using:
Amplitude = (high - low)/low ×100
Based on this, it provides three key pieces of information:
Consistency: how many candles within the selected window reached at least the minimum required volatility (0.5%).
Average per Candle: the average amplitude of all candles in the window, helping you verify whether the asset has enough volatility to support bot operations.
Window Amplitude and Price Variation: additional context about how much the asset moved within the selected period.
All metrics are displayed in a dashboard format for quick and easy interpretation.
3. Analysis Window
By default, the indicator evaluates 20 candles. Within these 20 candles, it measures:
How many candles meet the minimum volatility threshold.
The average candle amplitude.
The overall price behavior during the window.
4. Recommended Time Frames
The recommended time frames for analysis are 15 minutes or 5 minutes.
Suggested workflow:
→ 15m or 5m: analyze whether the asset shows sufficient structural volatility.
→ 1m: execution time frame for the bot itself.
In other words, use the indicator as a pre-operational filter on 15m or 5m, then allow the bot to execute trades on the 1m chart when conditions are favorable.
5. Dashboard Interpretation
Asset: the current symbol.
Window: number of candles considered (default 20).
Minimum Variation: amplitude required per candle (default 0.5%).
Consistency: percentage of candles in the window that reached or exceeded the minimum volatility. Higher consistency indicates a better environment for the bot.
Average per Candle: the average amplitude across the window. This should preferably be above the minimum threshold.
Window Amplitude: total movement between the highest high and lowest low in the window.
Price Variation: percentage change between the first and last close in the window.
These metrics help determine whether an asset is volatile enough for the bot to operate efficiently.
6. Visual Highlighting
Values above the minimum volatility threshold are highlighted in green.
Values below are highlighted in red.
This makes it easier to identify favorable assets at a glance.
7. Practical Usage with the Rapha Crypto Bot
Before enabling the bot:
Open the asset on a 15m or 5m chart.
Check whether both Consistency and Average per Candle are above 0.5%.
If the asset meets these criteria, the bot can be used on the 1m chart with improved effectiveness.
8. Benefits of the Indicator
Prevents trading on assets with low or stagnant volatility.
Improves strategy accuracy by ensuring the environment is suitable before the bot starts working.
Offers a fast and clear volatility overview.
Acts as a valuable pre-trade filter to enhance bot performance.
ADX Indicator with VisualADX Indicator with line and clear number. Identifies when ADX Index is weak, trending, or strong. Depending on timeframe, this indicator can be used to identify early signs of a change in trend.
This is my first time creating an indicator and coding, so please, use it at your own discretion. If anyone has any helpful suggestions, please leave a comment. I can email you the source code so you can revise it. In return, I ask that you share the updated code with me so everyone that uses this indicator can benefit. Thank you! :)
ICT Key Levels Suite |MC|Parts of this script were created by TheTickMagnet, Bankulov, and others. Many thanks to them; credit is due to all of you. I simply compiled them into a suite...
🌟 Overview 🌟
This tool highlights key price levels, such as highs, lows, and session opens, that can influence market movements. Based on ICT concepts, these levels help traders spot potential areas for market reversals or trend continuations.
🌟 Key Levels 🌟
🔹 Week Open (at Sunday 6:00pm EST for Futures)
Marks the start of the trading week. This level helps track price direction and is useful for framing the weekly candle formation using ICT’s Power of 3.
🔹 (Trading) Day Open: 6:00pm EST for Futures or 5:00pm EST for Forex.
🔹 Midnight Open (True Day Open) (00:00 EST)
The Midnight Open (MNOP) marks the start of the new trading day. Price often retraces to this level for liquidity grabs, setting up larger moves in the daily trend. It's also key for framing the Daily Power of 3 and spotting possible market manipulation.
🔹 Previous Day High/Low (customizable)
These levels show where liquidity remains, often serving as targets for price revisits, ideal for reversals or continuation trades.
🔹 Daily divider lines with Weekday label (customizable)
🌟 Overview 🌟
The ICT Sessions & Ranges Indicator helps traders identify key intraday price levels by marking custom session highs/lows and opening ranges.
It helps traders spot potential liquidity grabs, reversals, and breakout zones by tracking price behavior around these key areas
🌟 Session Highs & Lows – Liquidity Zones 🌟
Session highs and lows often attract price due to stop orders resting above or below them. These levels are frequently targeted during high-volatility moves.
🔹 Asia session
- Usually ranges in low volatility.
- Highs/lows often get swept during early London.
- Price may raid these levels, then reverse.
🔹 London session
- First major volatility of the day.
- Highs/lows often tested or swept in New York.
- Commonly forms the day's true high or low.
🔹 NY AM, Lunch & PM Session
🌟 Customizable Settings 🌟
The indicator includes 5 configurable ranges, each with:
Start & End Time – Set any custom time window.
Display Type – Choose Box (highlight range) or Lines (mark high/low) or both (Box and extended Lines).
Color Settings – Set custom colors for boxes and lines.
🌟 Default Settings (according to ICT) 🌟
Range 1: 6:00pm - 2:00am (Asia Session)
Range 2: 02:00 - 07:00 (London Session)
Range 3: 07:00 - 12:00 (NY AM Session)
Range 4: 12:00 - 1:30pm (NY Lunch Session)
Range 5: 1:30pm - 5:00pm (NY PM Session)
Happy trading!
Volatility of Volatility (Quant Lab)• VOV (white line)
• Around 0 → Volatility fluctuates normally
• Upward spike → Volatility changes very rapidly
• Often occurs during periods of breakouts, collapses, liquidations, and sharp trends
• When it stays low downwards → Volatility is stable, the market is moving at its “usual pace” • Regime histogram (columns)
• +1 (reddish) → Volatility Expanding
• Risk is increasing, “storm mode”
• Trend burst, flash move, news, liquidation effect
• 0 (orange) → Neutral
• Volatility behavior is normal
• -1 (turquoise) → Volatility Contracting
• Volatility is decreasing, movements are becoming smaller
• This may be a period before a big move after a squeeze
Keep this in mind:
• Volatility Regime → “What is the volatility level?”
• Volatility of Volatility → “How much is that volatility changing?”
When VoV spikes:
“Not only is market movement increasing, but the structure of the movement is also deteriorating; risk mode has been activated.”
This is crucial for identifying crash/pump periods.
Volatility Regime (Quant Lab)The Volatility Regime Indicator measures the current volatility environment of the market by combining two independent volatility metrics:
1. ATR-based volatility (how large price bars are)
2. Return standard deviation (how noisy or unstable returns are)
Both components are normalized (Z-score), averaged, and smoothed to produce a single Volatility Score, which identifies the market’s volatility regime.
The indicator classifies volatility into three distinct regimes:
Low Volatility (score < threshold)
• The market is calm and compressed.
• Price ranges are tight and movement is limited.
• Breakouts typically originate from this regime.
• Mean-reversion strategies perform best here.
Normal Volatility (within thresholds)
• The market is behaving normally.
• Trend-following and swing trades are stable.
• Risk is moderate.
High Volatility (score > threshold)
• The market is aggressive and unstable.
• Large price swings, news shocks, liquidations, manipulation possible.
• Risk and opportunity are both high.
• Leverage should be reduced or avoided.
A background color and regime histogram help visualize regime transitions instantly.
⸻
⭐ What this indicator tells you (Short Summary):
This indicator answers the question:
“Is the market calm, normal, or dangerous right now?”
You should interpret it as:
• Low Volatility → market is quiet, accumulation/squeeze phase, breakout likely soon.
• Normal Volatility → ideal trading conditions; trends behave cleanly.
• High Volatility → chaotic market; big moves coming; manage risk carefully.
The Volatility Regime Indicator helps you choose:
• Which strategy type to use (trend vs mean reversion)
• What stop size is appropriate
• Whether a breakout is real or likely to fail
• When to reduce position size due to risk expansion
It is a core tool used by quantitative traders to understand market conditions before applying any strategy.
FVG vertical Created by Alphaomega18
🎯 What is an FVG (Fair Value Gap)?
A Fair Value Gap is a price imbalance created by a mismatch between buyers and sellers, formed by 3 consecutive candles where:
Bullish FVG: The low of the current candle is above the high of the candle 2 periods ago
Bearish FVG: The high of the current candle is below the low of the candle 2 periods ago
⚙️ Indicator Settings
Display Group:
Show Bullish vertical FVG: Display bullish vertical FVGs (green) ✅
Show Bearish vertical FVG: Display bearish vertical FVGs (red) ✅
Box Extension (bars): Zone extension duration (1-50 bars, default: 10)
Show Labels: Display labels with gap size 🏷️
Remove When Filled: Automatically remove filled zones ✅
📊 Visual Elements
FVG Zones:
🟢 Green = Bullish vertical FVG (potential support zone)
🔴 Red = Bearish vertical FVG (potential resistance zone)
Labels:
Show gap size in points
Positioned at the beginning of each zone
Dashboard (top right corner):
Real-time count of active FVGs
🟢 = Number of bullish vertical FVGs
🔴 = Number of bearish vertical FVGs
Candle Coloring:
Light green background = Candle forming a bullish vertical FVG
Light red background = Candle forming a bearish vertical FVG
🎯 How to Use the Indicator
1. Installation:
Open TradingView
Click "Indicators" at the top of the chart
Search for "FVG Clean" or paste the code in the Pine Editor
2. Trading Strategies:
Support/Resistance:
Bullish vertical FVGs act as support zones
Bearish vertical FVGs act as resistance zones
Price tends to return to "fill" these gaps
Position Entries:
Long: Wait for a return to a bullish vertical FVG + confirmation
Short: Wait for a return to a bearish vertical FVG + confirmation
Position Management:
Place stops below/above FVGs
Use FVGs as price targets
A filled FVG loses its validity
🔔 Alerts
The indicator includes 2 configurable alert types:
Bullish vertical FVG: Triggers when a new bullish vertical FVG forms
Bearish vertical FVG: Triggers when a new bearish vertical FVG forms
To configure: Right-click on chart → "Add Alert" → Select desired alert
💡 Usage Tips
✅ Do:
Combine with other indicators (volume, momentum)
Wait for confirmation before entering
Use across multiple timeframes
Respect your risk management
❌ Don't:
Trade solely on FVGs without confirmation
Ignore the overall market trend
Overload your chart with too many zones
🔧 Parameter Optimization
Scalping (1-5min):
Box Extension: 5-10 bars
Remove When Filled: Enabled
Day Trading (15min-1H):
Box Extension: 10-20 bars
Remove When Filled: Enabled
Swing Trading (4H-Daily):
Box Extension: 20-50 bars
Remove When Filled: As preferred
📈 Performance
Maximum 100 FVGs of each type in memory
Automatic removal of oldest ones
Optimized to not slow down your chart
Compatible with all markets and timeframes
Volume-Based Candle Shading Pro [LTS]Overview
Volume-Based Candle Shading Pro is a visual aid that highlights how “unusual” each bar’s volume is compared to recent activity. It adjusts candle colors based on whether volume is above, below, or near its average, helping you quickly spot high-activity pushes and quiet rotations on any symbol or timeframe.
How it works
For each bar, the script calculates a simple moving average of volume over a user-defined lookback. It then compares the current bar’s volume to that average.
Bullish candles start from a bullish base color, and bearish candles from a bearish base color. Depending on the volume ratio, that base color is blended toward a “high volume mix” color when volume is elevated, or toward a “low volume mix” color when volume is muted. The strength of the blend increases as the bar’s volume moves further away from the average, so extreme volume stands out visually while average bars remain close to the base colors.
Colors are applied with the built-in barcolor() function, so the indicator only affects candle appearance; it does not modify price, volume, or any other chart values.
Inputs
Bullish Base Color / Bearish Base Color
Primary colors used for up and down candles when volume is close to its average.
High Volume Mix Color
Color that is blended into the base color when volume is above its moving average. This is typically chosen as a darker or more intense shade to make heavy-volume bars stand out.
Low Volume Mix Color
Color that is blended into the base color when volume is below its moving average. Many users choose a lighter shade to visually de-emphasize low-participation bars.
Volume MA Length
Number of previous bars used to compute the average volume. Shorter lengths make the shading respond more quickly to recent changes in activity; longer lengths provide a smoother, more stable baseline.
Typical use cases
Highlighting high-volume breakouts, breakdowns, or rejection candles without adding extra panels or indicators.
Distinguishing between strong, well-participated moves and low-volume drifts that may be less significant.
Combining with your existing price-action tools to visually filter which candles deserve more attention based on relative volume.
All calculations are based on historical volume and the current bar only; the script does not use future data or repaint past candles. It is intended as a visual aid and should be combined with your own analysis and risk management.
Log Returns (Quant Lab)Log Returns Indicator
This indicator calculates the logarithmic return of each bar using the formula:
logReturn = ln(Close / Close )
It then visualizes:
• A log-return histogram (green for positive, red for negative returns)
• A rolling mean of log returns (yellow line)
• ±1 standard deviation bands around the mean (orange lines)
This indicator is used to:
• Measure the true statistical return behavior of the asset
• Detect volatility expansions and contractions
• Identify abnormal return spikes (news, liquidation cascades, manipulation)
• Evaluate market efficiency and momentum strength
• Prepare quantitative features for machine learning models
In simple terms, the Log Returns indicator shows whether the asset’s recent price behavior is normal or statistically unusual.
Standard Deviation Levels with Settlement Price and VolatilityStandard Deviation Levels with Settlement Price and Volatility.
This indicator plots the standard deviation levels based on the settlement price and the implied volatility. It works for all Equity Stocks and Futures.
For Futures
Symbol Volatility Symbol (Implied Volatility)
NQ VXN
ES VIX
YM VXD
RTY RVX
CL OVX
GC GVZ
BTC DVOL
The plot gives you an ideas that the price has what probability staying in the range of 1SD,2SD,3SD ( In normal distribution method)
Please provide the feedback or comments if you find any improvements






















