Attachments forums

List of attachments posted on this forum.


All files on forums: 164839

Re: 👨โ€🔬 Cagliostro's MT5 Laboratory

Cagliostro, Sun Jan 25, 2026 9:48 pm

PULSAR Volume Oscillator

A Volume-Weighted Regime Detection Oscillator

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
Introduction
Traditional oscillators treat all price movements equally, ignoring the fundamental truth that volume validates price action. A 50-pip move on thin volume means something very different from the same move on heavy institutional flow.
Pulsar addresses this by weighting price deviation from the mean by volume intensity, then normalizing the result to produce a bounded oscillator that identifies market regime: trending vs mean-reverting conditions.
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
Signal Processing Pipeline
Price โ†’ MA(50) โ†’ Deviation โ†’ Volume Weight โ†’ RSI(Volume, 14) โ†’ ฯƒ Normalization โ†’ [-1, +1]

Stage 1: Basis Calculation
Standard moving average of the selected price source:
Basis = MA(Price, 50)
Supported types: SMA, EMA, VWMA, HULL.

Stage 2: Volume Weighting
Volume intensity modulates the deviation using RSI of volume:
vol_rsi = RSI(Volume, 14)
vol_factor = 1 + (vol_rsi/50 - 1) ร— Impact
Where Impact (default 0.5) controls sensitivity. High volume bars get amplified, low volume bars get dampened.

Stage 3: Normalized Deviation
Price deviation scaled by rolling standard deviation:
deviation = Price - Basis
vol_adjusted = deviation ร— vol_factor
normalized = vol_adjusted / (ฯƒ ร— Multiplier)
Output oscillates roughly between -1 and +1, where zero represents fair value.
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
Regime Zones
> +0.5 Strong Bull (trending up)
0 to +0.5 Weak Bull (mean-reversion zone)
-0.5 to 0 Weak Bear (mean-reversion zone)
< -0.5 Strong Bear (trending down)

Arrows fire only on regime flips (Strong Bull โ†” Strong Bear), not on every threshold cross. This eliminates signal spam during choppy conditions.
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
Visual Output
4-Color Histogram: Bright colors for Strong zones, muted for Weak zones
Smoothed Line: EMA of normalized value for trend confirmation
Gradient Fill: Cloud between histogram and smoothed line
Reference Lines: Zero line + threshold levels (ยฑ0.5 default)

โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
Technical Features
โœ… No Repaint: Calculations on confirmed bars only
โœ… O(1) Rolling StdDev: Welford's algorithm for efficiency
โœ… 18 Color Themes: Via QuantumColorThemes integration
โœ… 8 Arrow Styles: Heavy/Light barbs, blocks, 3D, shapes
โœ… Alert System: Popup, sound, push, email
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
Recommended Settings
MA Period: 50 (structure)
MA Type: EMA or SMA
Volume RSI: 14 (standard)
Volume Impact: 0.5 (moderate) or 1.0 (aggressive)
StdDev Period: 20 (normalization)
StdDev Mult: 2.0 (scaling)
Thresholds: ยฑ0.5 (regime boundaries)
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”
Original concept from my Pulsar indicator on tradingview, enhanced with volume weighting and regime detection logic.

Enjoy!
+C+
All files in topic