Simple Buy Sell DiamondsTuning Tips (in the indicator settings gear icon)
Make diamonds even smaller: Already set to size.tiny — that's the smallest non-micro size.
Earlier buys: Lower fastLength to 7 or 5
Fewer false signals: Increase slowLength to 34 or raise multiplier to 3.5–4.0
More aggressive sells: Lower multiplier to 2.0–2.5
This is now extremely minimal — just price candles + blue/red diamonds. No lines, no fills, no extra indicators visible.
Let me know how it looks on your live SATL/ADUR/ASST charts — if the timing feels right or if you want one more small tweak (e.g., add volume filter, change diamond shape to triangle, etc.).3.9sFast
Индикаторы и стратегии
Bigul Index Analysis"Bigul Index Analysis" is a comprehensive TradingView Pine Script v5 indicator that combines consolidation zone detection with standard pivot point levels for professional index trading analysis.
Core Features
Consolidation Zones
Detects price consolidation periods using zigzag pivot logic over a configurable loopback period (default: 10 bars)
Identifies when price forms tight ranges lasting minimum length (default: 5 bars)
Paints consolidation areas with customizable semi-transparent zones
Draws dynamic upper (red dashed) and lower (lime dashed) boundary lines
Generates breakout alerts when price breaks above/below established zones
Pivot Point Levels
Calculates Standard Pivot Points (PP, R1, S1) using previous day's High, Low, Close
PP = (High + Low + Close) / 3
R1 = 2 × PP - Low
S1 = 2 × PP - High
Plots Yesterday's High/Low as key reference levels
Multiple display options: continuous lines, endpoint labels, or both
Visual Elements
text
📊 Information Table (Top Right)
┌─────────┬──────────┐
│ Level │ Value │
├─────────┼──────────┤
│ PP │ 24567.89 │ ← Yellow
│ R1 │ 24890.12 │ ← Red
│ S1 │ 24245.67 │ ← Green
│ YH/YL │ 24912/24123 │ ← Blue
└─────────┴──────────┘
Color Coding:
🟡 Yellow line: Pivot Point (PP)
🔴 Red line: Resistance 1 (R1)
🟢 Green line: Support 1 (S1)
🟠 Orange stepline: Yesterday High
🟣 Purple stepline: Yesterday Low
🔵 Blue zone: Consolidation area
➖ Red/Lime dashed: Zone boundaries
Trading Signals & Alerts
5 Alert Conditions:
Consolidation Breakout UP - Price breaks above zone
Consolidation Breakout DOWN - Price breaks below zone
Price Above R1 - Close crosses above R1 level
Price Below S1 - Close crosses below S1 level
Customization Options
text
Loopback Period: 2-50 bars (default: 10)
Min Consolidation Length: 2-20 bars (default: 5)
Paint Zones: Toggle on/off
Zone Color: Customizable transparency
Pivot Display: Lines / Labels / Both
Toggle Pivot Points & Yesterday H/L independently
Use Case for Bigul Index Trading
Perfect for NIFTY/BANKNIFTY intraday analysis:
Identify consolidation zones for breakout setups
Use pivot levels as intraday support/resistance
Yesterday H/L as key reference for stop-loss/target
Multiple timeframe confirmation with table values
Strategy Example: Long when price breaks consolidation zone upward AND above PP/R1 confluence
ZigZag with Day Count + AveragesThis indicator plots a ZigZag structure and measures how long each completed trend leg lasts in calendar days. Each confirmed leg is labelled with its duration, positioned away from price using an ATR-based offset so labels remain readable and unobstructed by candles.
Uptrend and downtrend legs are automatically colour-coded, and the indicator tracks rolling averages of trend duration to provide context on how long trends typically persist.
Key features:
ZigZag trend legs based on configurable deviation and depth
Day-count label for every completed leg
Clear, high-contrast labels offset from price
Automatic colouring for up and down trends
Rolling average duration of the last N uptrends and downtrends (default: 20)
Optional extension of the current, in-progress leg
How to use:
Identify potential trend exhaustion by comparing the current leg length to historical averages
Gauge whether a trend is statistically extended or still within normal duration
Combine with price action, support/resistance, or momentum indicators for confirmation
Works on all timeframes. On daily charts, day counts align closely with bars; on intraday charts, durations are calculated using calendar time.
Manus KI TradingManus Machiene Learning Beast – Indicator Description
Settings
Use 1h Chart
Use Regime filter: 0.5
Use ADX 20
Use SMA 200
and be happy...
Overview
Manus Machiene Learning Beast is an advanced TradingView indicator that combines Machine Learning (Lorentzian Classification) with trend, volatility, and market regime filters to generate high-quality long and short trade signals.
The indicator is designed for rule-based, disciplined trading and works especially well for set-and-forget, semi-automated, or fully automated execution workflows.
⸻
Core Concept
At its core, the indicator uses a machine-learning model based on a modified K-Nearest Neighbors (KNN) approach.
Instead of standard Euclidean distance, it applies Lorentzian distance, which:
• Reduces the impact of outliers
• Accounts for market distortions caused by volatility spikes and major events
• Produces more robust predictions in real market conditions
The model does not attempt to predict exact tops or bottoms.
Instead, it estimates the probable price direction over the next 4 bars.
⸻
Signal Logic
Long Signals
A long signal is generated when:
• The ML model predicts a positive directional bias
• All enabled filters are satisfied
• A new directional change is detected (non-repainting)
• Optional trend filters (EMA / SMA) confirm the direction
• Optional kernel regression confirms bullish momentum
📍 Displayed as a green label below the bar
Short Signals
A short signal is generated when:
• The ML model predicts a negative directional bias
• Filters confirm bearish conditions
• A new directional change occurs
• Trend and kernel filters align
📍 Displayed as a red label above the bar
⸻
Filters & Components
All filters are modular and can be enabled or disabled individually.
1. Volatility Filter
• Avoids trading during extremely low or chaotic volatility conditions
2. Regime Filter (Trend vs Range)
• Attempts to filter out sideways markets
• Especially important for ML-based systems
3. ADX Filter (Optional)
• Trades only when sufficient trend strength is present
4. EMA / SMA Trend Filters
• Classic trend confirmation (e.g., 200 EMA / 200 SMA)
• Ensures trades are aligned with the higher-timeframe trend
5. Kernel Regression (Nadaraya-Watson)
• Smooths price behavior
• Acts as a momentum and trend confirmation filter
• Can be used in standard or smoothed mode
⸻
Moving Average Overlays
For visual market context, the indicator includes optional overlays:
• ✅ SMA 200
• ✅ HMA 200
Both can be toggled via checkboxes and are visual aids only, unless explicitly enabled as filters.
⸻
Exit Logic
Two exit methods are available:
1. Fixed Exit
• Trades close after 4 bars
• Matches the ML model’s training horizon
2. Dynamic Exit
• Uses kernel regression and signal changes
• Designed to let profits run in strong trends
⚠️ Recommended only when no additional trend filters are active.
⸻
Backtesting & Trade Statistics
The indicator includes an on-chart statistics panel showing:
• Win rate
• Total trades
• Win/Loss ratio
• Early signal flips (useful for identifying choppy markets)
⚠️ This is intended for calibration and optimization only, not as a replacement for full strategy backtesting.
⸻
Typical Use Cases
• Swing trading (M15 – H4)
• Rule-based discretionary trading
• Set-and-forget trading
• TradingView alerts → MT4/MT5 → EA execution
• Prop-firm trading (e.g. FTMO), with proper risk management
⸻
Important Disclaimer
This indicator:
• ❌ does not guarantee profits
• ❌ is not a “holy grail”
• ✅ is a decision-support and structure tool
It performs best when:
• Combined with strict risk management (e.g. ATR-based stops)
• Used in trending or expanding markets
• Executed with discipline and consistency
Relative Performance ComparisonThe Script was made to compare the performance of the YM and the NQ for a period of time that you can adjust with the lookback period. There is also the possibility to adjust the smoothing of the lines in the graph and you can enable or disable the several visuals. If you wish to compare something different then you could also enter the ticker of the assets that you want to compare.
For YM and NQ the idea is that they have a high correlation and that if one of them is weaker than the other one, the stronger one could have more potential in that direction. Or if for example the weaker one is shifting in sctructure then the stronger one could also shift in structure but has the possibility of more gain as it held stronger through the weakness of the other one.
Quantum Trend Flow Pro (QTF+) - Ribbon & LabelsQuantum Trend Flow Pro (QTF+) – Ribbon Edition
Author: Jonathan Mwendwa Ndunge
Overview:
Quantum Trend Flow Pro (QTF+) Ribbon is a professional-grade multi-timeframe trend indicator designed for day traders and swing traders who follow Smart Money Concepts (SMC) and price action strategies. The indicator visualizes market trend strength and probability of bullish or bearish continuation through a dynamic confidence ribbon, while leaving the main chart fully visible for price action analysis.
Key Features:
Multi-Timeframe Trend Alignment:
Computes trend scores across HTF (4H), MTF (1H), and LTF (15M) using Donchian Channels (fast, mid, slow).
Scores trends to provide a quantitative confidence metric.
Confidence Ribbon (Subpane):
Displays bullish (green) and bearish (red) probabilities as a dynamic ribbon histogram.
Neutral line at 50 helps visually identify market balance.
Ribbon is scaled in its own pane so candles remain fully visible, keeping chart clean and professional.
Volatility Filter:
Uses ATR to avoid low-volatility periods that produce choppy signals.
Execution Potential:
Can be combined with CHOCH, Order Block, and Liquidity Sweep scripts to identify high-confidence trade setups.
Professional Display:
Ribbon in a separate pane mimics hedge fund dashboard style, giving traders a quick visual of trend strength without cluttering the price chart.
Usage Notes:
Ideal for day trading and short-term swing trading.
Use in conjunction with execution labels for entries.
Adjust Donchian lengths and confidence threshold to match market behavior and risk tolerance.
Can be applied to multiple instruments for scanning or dashboard setups.
Goal:
Provide a high-confidence, professional visualization of trend strength, combining smart money concepts and multi-timeframe analysis.
Keep the chart clean, readable, and suitable for institutional-style decision-making.
Moving Averages - High_Low & Close/ Written by Love Sharma, CMT, CFTe , the concept is to identify when the moving average is rising and that too of highs and lows
//since there are various ways to generate signal from moving average but the high or low of MA has much weight of evidence as we are using the slope
One can just use the slope, or close above/below MA
//THE IDEA IS SIMPLE TO REMAIN RIGHT SIDE OF THE TREND
Directional Movement Index - DMIThis Pine Script is a Directional Movement Index (DMI) indicator for TradingView that provides a comprehensive visualization of trend direction and strength with several enhanced visual features.
📊 Core Indicator Components:
1. Directional Indicators:
+DI (Green line): Measures upward trend momentum
-DI (Red line): Measures downward trend momentum
ADX (Blue line, optional): Measures overall trend strength (can be toggled on/off)
2. Key Calculations:
Uses built-in ta.dmi() function to calculate all three components
isBull condition: Determines current bias based on which DI line is higher
Bull signal: When +DI crosses above -DI
Bear signal: When +DI crosses below -DI
🎨 Visual Design Features:
1. Chart Plotting:
Thick lines (width=3) for +DI and -DI for better visibility
Color-coded plots: Green (+DI), Red (-DI), Blue (ADX)
2. Background Highlighting:
Light green background on bullish crossovers
Light red background on bearish crossovers
Uses 60% transparency for subtle visual cues
3. Real-time Status Panel:
Fixed table in the middle-right of the chart
Displays "↑ Bullish" (green) or "↓ Bearish" (red) in huge text
Updates on every bar to show current market bias
4. Line Labels:
Text labels at the right edge identifying each line
Color-matched to their respective indicators
ADX label only appears when ADX is enabled
⚙️ User Controls:
ADX toggle: Show/hide the ADX line
DI Length: Adjust calculation period (default 17)
ADX Smoothing: Fine-tune ADX smoothing (default 1)
📈 Trading Application:
Trend Identification: Which direction has stronger momentum
Signal Generation: Crossovers indicate potential trend changes
Trend Strength: ADX (when shown) indicates if a trend is strong (>25) or weak
Visual Clarity: Multiple visual cues make signals easy to spot
🖥️ Display Logic:
The script intelligently handles what to display based on user settings
When ADX is disabled, it plots na (not available) to avoid scale distortion
All visual elements update dynamically with each new bar
🎯 Unique Aspects:
Multi-layered visualization: Combines lines, background colors, labels, and a status table
Clean separation: Uses box-drawing characters to organize code sections
Right-edge labeling: Makes indicator identification clear even on crowded charts
Immediate bias recognition: The large text table provides instant market bias assessment
This indicator is particularly useful for traders who want a clear, visually rich representation of trend direction without needing to interpret multiple lines simultaneously. The color-coded background and status panel provide quick visual confirmation of market conditions.
SPX highlight Risk IndicatorIndicator shows orange bars in instances where:
VIX > 21dma
Spreads > 21dma
% S&P stocks above 50dma < 21dma
Indicator shows red bars in instances where:
VIX > 50dma
Spreads > 50dma
% S&P stocks above 50dma < 50dma
CRT + Turtle Soup IndicatorEste proyecto combina dos poderosas metodologías de trading basadas en conceptos de ICT (Inner Circle Trader):
Candle Range Theory (CRT) se fundamenta en la identificación de rangos de velas en timeframes superiores y la detección de raids de liquidez. La teoría sostiene que cuando el precio captura la liquidez de un lado del rango (high o low), tiende a moverse hacia el lado opuesto. Este comportamiento se basa en el principio de que el mercado se mueve principalmente por dos razones: balancear desequilibrios (imbalances) y cazar liquidez.
Turtle Soup es una estrategia que capitaliza los false breakouts (rupturas falsas) de niveles clave de soporte y resistencia. El nombre proviene de una referencia humorística al sistema "Turtle Trading" de los años 80, que operaba breakouts reales. Turtle Soup hace exactamente lo contrario: identifica cuando el precio rompe un nivel clave temporalmente para cazar stops, y luego revierte rápidamente en la dirección opuesta.
La combinación de ambas estrategias proporciona un marco robusto para identificar puntos de reversión de alta probabilidad, especialmente cuando se confirman con cambios en la estructura de mercado (Market Structure Shift).
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
This project combines two powerful trading methodologies based on Inner Circle Trader (ICT) concepts:
Candle Range Theory (CRT) is based on identifying candlestick ranges on higher timeframes and detecting liquidity raids. The theory states that when the price captures liquidity on one side of a range (high or low), it tends to move to the opposite side. This behavior is based on the principle that the market moves primarily for two reasons: to balance imbalances and to hunt for liquidity.
Turtle Soup is a strategy that capitalizes on false breakouts of key support and resistance levels. The name comes from a humorous reference to the "Turtle Trading" system from the 1980s, which traded real breakouts. Turtle Soup does the exact opposite: it identifies when the price temporarily breaks a key level to trigger stop-loss orders, and then quickly reverses in the opposite direction.
The combination of both strategies provides a robust framework for identifying high-probability reversal points, especially when confirmed by market structure shifts.
DG Channel + Reversal Alerts//@version=5
indicator("Channel + Reversal Alerts", overlay=true)
//==================================================
// 1. НАСТРОЙКИ КАНАЛА
//==================================================
length = input.int(100, "Длина канала", minval=10)
// Канал по High / Low (надёжно и наглядно)
upper = ta.highest(high, length)
lower = ta.lowest(low, length)
// Рисуем канал
plot(upper, "Верхняя граница", color=color.red, linewidth=2)
plot(lower, "Нижняя граница", color=color.green, linewidth=2)
//==================================================
// 2. ЛОГИКА КАСАНИЙ
//==================================================
touchUpper = high >= upper
touchLower = low <= lower
touchUpper_first = touchUpper and not touchUpper
touchLower_first = touchLower and not touchLower
//==================================================
// 3. ПРОБОИ И РАЗВОРОТЫ
//==================================================
// Закрытие свечи вне канала
closeAbove = close > upper
closeBelow = close < lower
// Тень вышла за канал, а закрытие внутри
wickAbove = high > upper and close <= upper
wickBelow = low < lower and close >= lower
// Разворот = закрытие ИЛИ тень вне канала
reversalUpper = closeAbove or wickAbove
reversalLower = closeBelow or wickBelow
// Только первое появление, чтобы не спамило
reversalUpper_first = reversalUpper and not reversalUpper
reversalLower_first = reversalLower and not reversalLower
//==================================================
// 4. АЛЕРТЫ
//==================================================
// КАСАНИЕ
alertcondition(touchUpper_first, title="Upper touch", message="⬆️ касание")
alertcondition(touchLower_first, title="Lower touch", message="⬇️ касание")
// РАЗВОРОТ
alertcondition(reversalUpper_first, title="Upper reversal", message="⬆️ разворот")
alertcondition(reversalLower_first, title="Lower reversal", message="⬇️ разворот")
Xetra Auctions Breakout [Box Strategy]This indicator implements the institutional Xetra Opening & Intraday Auction strategy, widely used by professional traders on the DAX (GER40) and European equities. It automatically identifies the High/Low ranges of the critical auction periods on the Frankfurt Stock Exchange and extends these levels throughout the day to serve as key support/resistance zones.
Strategy Concept: How it Works
The German Xetra exchange has two critical liquidity events each day where institutional volume is highest:
Opening Auction (08:50 – 09:00 CET): This pre-market period sets the tone for the day. The range formed here often acts as a definitive barrier. A breakout above this box suggests bullish institutional flow, while a break below suggests bearish sentiment.
Intraday Auction (13:00 – 13:02 CET): A mid-day liquidity injection that often triggers volatility before the US market open.
This indicator visualizes these ranges as boxes. The logic is simple: Institutions leave their footprints during auctions. We trade the reaction to these footprints.
How to Trade (Best Practices)
1. The Breakout Setup (Trend Following)
Long Entry: Wait for a 5-minute or 15-minute candle to close above the Blue Box (Opening Auction).
Short Entry: Wait for a candle close below the Blue Box.
Stop Loss: Place your stop at the opposite side of the box or at the Mid-Line (50% of the box) for tighter risk management.
2. The Reversal Setup (Range Bound)
If the price approaches the Orange Box (Intraday Auction) extended lines and shows rejection (wicks), it often acts as strong support/resistance for a reversal trade back toward the daily average.
3. "Ghost" Levels (Previous Day)
The indicator displays yesterday's auction levels as semi-transparent "ghost" boxes.
Use Case: Yesterday’s auction High is often today’s key Support. Watch for price reactions at these historical levels.
Disclaimer
This tool is for educational purposes. Trading indices involves risk. Always backtest strategies before using real capital.
TREND PULL BACK BUY SELL//@version=5
indicator("Clean Signal Bot 24/7 ($250 SL)", overlay=true)
// ===== SETTINGS =====
riskDollars = 250.0
pointValue = syminfo.pointvalue
// ===== INDICATORS =====
fastEMA = ta.ema(close, 9)
slowEMA = ta.ema(close, 21)
rsi = ta.rsi(close, 14)
// ===== TREND =====
bullTrend = fastEMA > slowEMA
bearTrend = fastEMA < slowEMA
// ===== PULLBACK =====
pullbackLong = close < fastEMA and close > slowEMA
pullbackShort = close > fastEMA and close < slowEMA
// ===== CANDLE CONFIRM =====
bullCandle = close > open
bearCandle = close < open
// ===== ENTRY SIGNALS =====
buySignal = bullTrend and pullbackLong and bullCandle and rsi > 50
sellSignal = bearTrend and pullbackShort and bearCandle and rsi < 50
// ===== TRADE STATE =====
var bool inLong = false
var bool inShort = false
var float entry = na
var float stop = na
riskPoints = riskDollars / pointValue
// ===== ENTER =====
if buySignal
inLong := true
inShort := false
entry := close
stop := entry - riskPoints
if sellSignal
inShort := true
inLong := false
entry := close
stop := entry + riskPoints
// ===== EXIT =====
exitLong = inLong and (close <= stop or bearTrend)
exitShort = inShort and (close >= stop or bullTrend)
if exitLong
inLong := false
if exitShort
inShort := false
// ===== CANDLE HIGHLIGHT =====
barcolor(
buySignal ? color.lime :
sellSignal ? color.red :
exitLong or exitShort ? color.yellow :
na)
// ===== LABELS =====
if buySignal
label.new(bar_index, low, "BUY", style=label.style_label_up, color=color.lime, textcolor=color.black)
if sellSignal
label.new(bar_index, high, "SELL", style=label.style_label_down, color=color.red, textcolor=color.white)
if exitLong or exitShort
label.new(bar_index, close, "EXIT", style=label.style_label_left, color=color.yellow, textcolor=color.black)
// ===== ALERTS =====
alertcondition(buySignal, "BUY ENTRY", "BUY SIGNAL")
alertcondition(sellSignal, "SELL ENTRY", "SELL SIGNAL")
alertcondition(exitLong or exitShort, "EXIT TRADE", "EXIT SIGNAL")
ICT Macros & Visual Risk CalculatorThis "all-in-one" indicator is specifically designed for ICT (Inner Circle Trader) methodology practitioners who trade high-volatility time windows (Macros). It combines automated visual identification of these sessions with an advanced risk calculator that dynamically draws position blocks (Long/Short) based on pips, ensuring fast and precise execution.
Vishall ForceProVishall ForcePro
Vishall ForcePro
Vishall ForcePro
Vishall ForcePro
Vishall ForcePro
Directional Movement Index (DMI)This Pine Script is a Directional Movement Index (DMI) indicator for TradingView that provides a comprehensive visualization of trend direction and strength with several enhanced visual features.
📊 Core Indicator Components:
1. Directional Indicators:
+DI (Green line): Measures upward trend momentum
-DI (Red line): Measures downward trend momentum
ADX (Blue line, optional): Measures overall trend strength (can be toggled on/off)
2. Key Calculations:
Uses built-in ta.dmi() function to calculate all three components
isBull condition: Determines current bias based on which DI line is higher
Bull signal: When +DI crosses above -DI
Bear signal: When +DI crosses below -DI
🎨 Visual Design Features:
1. Chart Plotting:
Thick lines (width=3) for +DI and -DI for better visibility
Color-coded plots: Green (+DI), Red (-DI), Blue (ADX)
2. Background Highlighting:
Light green background on bullish crossovers
Light red background on bearish crossovers
Uses 60% transparency for subtle visual cues
3. Real-time Status Panel:
Fixed table in the middle-right of the chart
Displays "↑ Bullish" (green) or "↓ Bearish" (red) in huge text
Updates on every bar to show current market bias
4. Line Labels:
Text labels at the right edge identifying each line
Color-matched to their respective indicators
ADX label only appears when ADX is enabled
⚙️ User Controls:
ADX toggle: Show/hide the ADX line
DI Length: Adjust calculation period (default 17)
ADX Smoothing: Fine-tune ADX smoothing (default 1)
📈 Trading Application:
Trend Identification: Which direction has stronger momentum
Signal Generation: Crossovers indicate potential trend changes
Trend Strength: ADX (when shown) indicates if a trend is strong (>25) or weak
Visual Clarity: Multiple visual cues make signals easy to spot
🖥️ Display Logic:
The script intelligently handles what to display based on user settings
When ADX is disabled, it plots na (not available) to avoid scale distortion
All visual elements update dynamically with each new bar
🎯 Unique Aspects:
Multi-layered visualization: Combines lines, background colors, labels, and a status table
Clean separation: Uses box-drawing characters to organize code sections
Right-edge labeling: Makes indicator identification clear even on crowded charts
Immediate bias recognition: The large text table provides instant market bias assessment
This indicator is particularly useful for traders who want a clear, visually rich representation of trend direction without needing to interpret multiple lines simultaneously. The color-coded background and status panel provide quick visual confirmation of market conditions.
EMA + RSI + MACD DashboardEasy Box for group_ema = "EMA Settings"
group_rsi = "RSI Settings"
group_macd = "MACD Settings"
group_display = "Display Settings"
Range Volatility Oscillator [Session Adjusted]Description
This open-source indicator calculates a volatility oscillator based purely on price range expansion/contraction (High − Low), making it especially suitable for instruments with well-defined trading sessions (FTSEMIB, DAX, ES, NQ, forex majors during London/NY overlap, etc.).
Instead of using price returns or close-based volatility, it compares short-term and long-term simple moving averages of the daily range, then expresses the relative difference as a percentage oscillator — similar in spirit to a MACD-style momentum readout, but applied to volatility itself.
Core Concept
Fast SMA(range, fast × candles_per_session)
Slow SMA(range, slow × candles_per_session)
Oscillator = 100 × (Fast / Slow − 1)
Positive values → recent ranges are expanding compared to the longer-term average (rising volatility / potential trend acceleration or breakout environment).
Negative values → ranges are contracting (falling volatility / potential consolidation or mean-reversion setup).
Zero line acts as the neutral pivot between expanding vs contracting regimes.
Key Features
- Session-aware calculation — user inputs session duration (default 6.5 h) → automatically estimates how many candles = 1 trading day on the current timeframe
- Works on any timeframe (1 min → daily), including irregular ones
- Optional signal line (SMA of the oscillator) for smoother readings and crossover strategies
- Clean, minimalistic plot with customizable colors
- Zero line always visible (dotted)
Typical Usage Ideas
- Rising oscillator + above zero → increasing volatility → favor momentum / breakout / trend-following strategies
- Falling oscillator / below zero → decreasing volatility → consider mean-reversion, tightening stops, or waiting for compression → expansion setups
- Signal line crossovers — fast line crossing above signal = short-term volatility pickup, crossing below = volatility cooling
- Divergences between price and the oscillator can sometimes highlight weakening trends (classic volatility divergence)
Combine with trend filters (EMA, VWAP, SuperTrend), support/resistance or volume for higher-probability setups.
Recommended Starting Settings
Session Duration: 6.5–8.5 hours (adjust to your market — e.g. 8.5 for many European indices, 6.5 for US regular session).
Fast SMA Length: 5 days
Slow SMA Length: 15 days
Signal-line Length: 3 days (if enabled)
Best results usually appear on intraday timeframes (3 min – 30 min) and on instruments with clear session boundaries and meaningful daily ranges.
Notes / Limitations
- Pure range-based → ignores gaps, overnight moves and volume
- Not normalized to ATR or percentage of price → readings are relative within each instrument
- Very low-liquidity / very small-range instruments may produce noisy output
Released under open source — feel free to modify, combine with other logic or use in strategies.
Feedback and improvements are welcome!
Bollinger Bands - ALMA EditionBollinger Bands with Crossing Markers - A Small Simple Indicator as a Small Lightweight Supplement.
Green and red markers appear when the price breaks through the top and bottom of the bands, indicating weakening trend momentum and a possible correction or the beginning of a downtrend/uptrend. The BBand is excellent as the FIRST signal of weakening trends – it usually appears right after reaching extremes, i.e., after reaching the bottom or top of the local structure.






















