Market Impact Calendar📌 Monthly economic-impact calendar with daily scoring, trading-session weighting, DST schedules, and a synthetic market bulletin.
▌WHY THIS INDICATOR IS USEFUL
Market Impact Calendar was designed for a simple purpose: not just to display economic releases, but to help estimate their potential weight on a trading day.
Instead of a simple news list, the indicator provides a more structured reading:
- a monthly calendar directly on the chart,
- a daily impact score,
- weighting based on your own trading sessions,
- integration of special US market days,
- daylight saving time (DST) schedule information,
- and a bulletin mode to summarize the selected day quickly.
The goal is not to predict the market, but to provide a visual decision-support tool helping traders identify whether a day looks calm, moderate, or sensitive.
▌CREDITS & TECHNICAL BASE
This indicator uses the public Pine libraries “forex_factory_decoding” and “forex_factory_utility” from the original open-source work by toodegrees, based on Forex Factory data handling.
The main script, calendar logic, scoring system, interface, bulletin logic, trading-session weighting, special US day handling, and DST integration were developed in this version by E2PZ Continuum.
▌WHAT THIS INDICATOR DOES
The indicator processes economic releases through the imported libraries, then reorganizes them into a market-impact-oriented structure:
- classification of releases by time segment,
- grouping by day,
- filtering by impact level,
- weighting based on the related currency,
- weighting based on your trading hours,
- optional bonuses for major event types,
- final synthesis into a daily score and visual calendar display.
Each calendar day is therefore simplified into an operational reading:
- green = generally light day,
- orange = moderately sensitive day,
- red = potentially heavier or riskier day.
▌WHAT MAKES THIS VERSION ORIGINAL
This indicator is not a simple repackaging of raw economic data.
Its added value comes from:
- a full monthly calendar view directly displayed on the chart,
- a trading-oriented daily impact score,
- custom weighting through up to three trading-session levels,
- integration of US holidays, special days, and partial closes,
- DST information displayed in tooltips,
- manual navigation by day / month / year,
- a “Bulletin” mode turning the selected day into a readable editorial summary,
- bilingual English / French interface support,
- and a user-oriented reading logic designed to help decision-making rather than simply listing releases.
▌HOW TO USE IT
1. Choose whether to display the calendar, the bulletin, or both.
2. Select your timezone.
3. Configure your primary, secondary, and tertiary trading sessions.
4. Select which news impact levels should be included.
5. Navigate through the month or manually select a specific day.
6. Use Bulletin mode if you want a more narrative summary of the selected day.
Quick reading:
- a colored cell gives a visual estimate of the day’s sensitivity,
- the cell tooltip details time windows, related currencies, and major events,
- the information bar or bulletin summarizes the selected day.
▌MAIN SETTINGS
CALENDAR / BULLETIN
Displays the monthly calendar, the editorial bulletin, or both at the same time.
TIMEZONE
Converts displayed times into the selected timezone.
TRADING HOURS
Lets you define up to three personal trading windows.
Releases occurring inside these windows do not receive the same weight in the daily score.
NEWS FILTER
Selects which impact levels are used in the calculation and display.
SELECTION
Lets you manually browse a specific day, month, or year.
LANGUAGE
Switches between English and French display.
ADDITIONAL MARKETS (DST)
Adds optional markets to the schedule information shown during clock changes.
▌HOW THE SCORE SHOULD BE INTERPRETED
The daily score is a synthetic estimate.
It is not an absolute truth about future volatility.
It combines multiple elements:
- release importance,
- related currency,
- release timing,
- proximity to your trading sessions,
- clustering of multiple releases on the same day,
- and the context of special US market days.
This means that a red day does not guarantee strong volatility, and a green day does not guarantee a quiet market.
▌WARNINGS & LIMITATIONS
This indicator depends on an external source related to economic releases.
Like any third-party source, it may occasionally be delayed, incomplete, or partially updated.
The displayed score remains an internal estimate.
It helps rank days, but it does not replace personal analysis or manual verification of important releases.
Some future dates may remain neutral until the source has published the corresponding weekly data.
This indicator is designed as a preparation and decision-support tool, not as an automatic entry or exit signal.
▌USE CASES
This indicator can be useful to:
- avoid trading blind on sensitive macro days,
- quickly identify high-density economic days,
- adjust vigilance according to your trading session,
- prepare your week or your session in advance,
- filter days that look calmer or more sensitive.
▌SUMMARY
Market Impact Calendar aims to transform a raw flow of economic releases into a structured, visual, and operational reading for traders.
The goal is not just to see the news.
The goal is to better understand when a day deserves more attention — and why. Indicator

Indicator

Indicator

Risk AwarenessRisk Awareness - Liquidation Level Indicator
A clean, professional tool for displaying liquidation prices on leveraged positions. Designed for traders who need instant visibility of their risk levels without chart clutter.
KEY FEATURES
Real-time liquidation price calculation for long and short positions
Adjustable leverage from 1x to 200x
Fire engine red (long) and lime green (short) color-coded levels
Two label modes: Compact (minimal) and Detailed (full info)
Horizontal lines extending left from current price
Optional P&L tracking and display
Background alerts when approaching liquidation
Customizable maintenance margin and liquidation fee parameters
HOW IT WORKS
The indicator calculates liquidation prices using the standard formula:
Long Liquidation = Entry Price x (1 - 1/Leverage - Liquidation Fee + Maintenance Margin)
Short Liquidation = Entry Price x (1 + 1/Leverage + Liquidation Fee - Maintenance Margin)
Default parameters (0.5% maintenance margin, 0.5% liquidation fee) are calibrated for major crypto futures exchanges like Binance, Bybit, and OKX.
DISPLAY MODES
Compact Mode: Shows only leverage and price (e.g., "40x: 48750.00")
Detailed Mode: Shows full information including percentage distance and optional P&L
CUSTOMIZATION OPTIONS
Position Settings: Adjust leverage, toggle long/short, select entry price source
Custom Parameters: Fine-tune maintenance margin and liquidation fee for your specific exchange
Visual Settings: Colors, line width, label size, historical bands, disclaimer display
Alert Settings: Set distance threshold for liquidation warnings
Risk Management: Track unrealized P&L based on position size
ALERTS
Built-in alert conditions for:
Price crossing liquidation levels
Approaching liquidation threshold
Critical loss levels (50%+)
IMPORTANT DISCLAIMER
This indicator provides ESTIMATED liquidation levels for Tier 1 positions (small to medium size). Actual liquidation prices may vary due to:
- Position size tiers (larger positions = higher maintenance margins)
- Accumulated funding rates
- Market volatility and order book depth
- Cross margin vs isolated margin mode
- Exchange-specific liquidation engines
Always verify liquidation prices on your exchange platform before trading. This tool is for educational and risk awareness purposes only.
IDEAL FOR
Crypto futures traders on Binance, Bybit, OKX, and similar platforms
Day traders managing leveraged positions
Swing traders monitoring overnight risk
Anyone trading with leverage who needs clear visual risk management
PRO TIPS
Use Compact mode with Tiny/Small label size for minimal chart clutter
Enable the Info Table for detailed metrics when needed
Set Alert Distance to 1-2% for advance warning before liquidation
Toggle "Show Historical Bands" OFF (default) for cleaner charts
Adjust Custom Parameters if trading on exchanges with different fee structures
Stay aware. Trade smart. Manage your risk. Indicator

Average Volatility ZonesDisplays the average volatility range directly on the chart as horizontal levels projected from the current period's open.
The indicator calculates the average candle size (High-Low or True Range) over a configurable period and timeframe (default: Daily, 20 bars), then draws upper and lower lines at that distance from the current timeframe open — showing how far price typically moves within one period.
Key features:
- Multi-timeframe support — measure volatility from any timeframe (M15 to Monthly)
- Scalable levels — optional 2x, 3x, and custom multiplier levels for extended volatility zones
- Zone mode — converts lines into shaded bands based on a percentage of the average volatility
- Automatic pip detection for forex pairs (supports 5-digit and 3-digit brokers)
- Each level is labeled with its timeframe, period, and value in pips
- Fully customizable colors, line styles, label positioning, and zone transparency
Useful for gauging intraday range potential, setting realistic targets, identifying overextended moves, and filtering entries near volatility extremes. Indicator

Indicator

Global Risk DashboardWith the current global situation becoming increasingly unstable, markets across energy, precious metals, volatility, and crypto have been moving rapidly. During periods like this, it’s important to monitor multiple asset classes at the same time.
I noticed that I was constantly switching between several watchlists and charts just to keep track of the instruments I care about. To make this easier, I built a simple Global Risk Dashboard that displays all key markets in one place.
The dashboard allows you to quickly see price levels and daily performance across different asset groups, helping you understand the broader market environment without constantly changing charts.
Key Features
Custom Sections – Create up to 8 sections to organize markets however you like (Energy, Metals, Crypto, FX, Equities, etc.)
Up to 5 Instruments per Section – Monitor multiple assets within each category.
Enable / Disable Sections – Show only the groups you care about.
Enable / Disable Individual Instruments – Fully customizable layout.
Color-Coded Performance – Cells automatically change color based on daily performance.
Daily Price + % Change – Quickly identify which markets are moving.
Flexible Layout – Sections automatically adjust depending on what you enable.
Example Use Cases
You might organize sections like:
Volatility (VIX, VVIX, MOVE)
Energy (WTI, Brent, NatGas)
Precious Metals (Gold, Silver, Copper)
Crypto (BTC, ETH, Total Market Cap)
Macro (DXY, US Yields, Equity Indexes)
But the layout is fully customizable, so you can build a dashboard tailored to your own workflow.
Why This Tool Exists
The goal of this script is simple:
reduce the need to constantly switch between watchlists and charts during fast-moving market conditions.
Instead, you get a single, compact overview of the markets that matter to you. Indicator

Indicator

Risk Management & Position size calculator (FinPip)# Risk Management & Position size calculator (FinPip)
**Size your trades by risk.** Set your capital, risk %, entry and stop-loss — the indicator gives you position size in units, a take-profit level from your reward:risk ratio, and a clear summary on the chart.
Works on any symbol (stocks, forex, crypto, futures). Pine Script v6 · Mozilla Public License 2.0
---
## How to add to your chart
1. In PulseWire, open **Indicators** (or search **“Risk Management”** / **“Finpip Risk Manager”**).
2. Select **Risk Management & Position size calculator (FinPip)** and add it to the chart.
3. Open **Settings** (gear on the indicator label) to set your capital, risk %, entry price, and stop-loss price.
---
## What you get
- **Entry, Stop-Loss & Take-Profit** — Drawn as horizontal lines on the chart (direction is Long if Entry > SL, Short if Entry < SL).
- **Position size** — Number of units (shares, lots, contracts) so that if price hits your SL, you lose only your chosen risk amount.
- **Info panel** — Capital, Risk %, Risk $, Reward $, R:R, Size (units), Risk/Unit, Entry/SL/TP prices, and direction. You can move the panel to any corner and change text size.
---
## Settings (inputs)
**Risk & Capital**
- **Total Account Capital ($)** — Capital used for risk (default 10000).
- **Risk per Trade (%)** — % of capital to risk on this trade (default 2.5%).
**Trade Levels**
- **Entry Price** — Your planned or actual entry.
- **Stop-Loss Price** — Exit price if the trade goes against you.
**Profit Target**
- **Reward:Risk Ratio** — Target as multiple of risk (e.g. 4 = 4R). TP is placed at Entry ± (SL distance × R:R).
**Display**
- **Show Info Panel** — On/off for the metrics table.
- **Round to Whole Shares/Units** — On for stocks/shares (whole numbers); off for forex/fractional.
- **Panel Position** — Top Left, Top Right, Bottom Left, Bottom Right.
- **Text Size** — Tiny / Small / Normal / Large.
- **Show Level Labels** — Price labels for Entry, SL, TP on the right.
**Colors** — Customize Entry, SL, TP lines and panel colors.
---
## How it’s calculated
- **Risk $** = Capital × (Risk % ÷ 100)
- **Risk per unit** = |Entry − Stop-Loss|
- **Position size** = Risk $ ÷ Risk per unit (optionally rounded down to whole units)
- **Take-profit** = Entry + (Risk per unit × R:R) for Long, or Entry − (…) for Short
- **Reward $** = Risk $ × R:R
---
## If something looks wrong
- **“Invalid setup — Entry and SL must be different prices”** — Your Entry and Stop-Loss are the same; change one of them.
- **“0 units (rounds to 0)”** — Risk $ is too small for the distance to SL with whole units. Increase capital or risk %, or turn off **Round to Whole Shares/Units** to see fractional size.
---
*Published on PulseWire. Open source (MPL 2.0).*
Indicator

Indicator

Indicator

Geopbytech Risk Based Lots Calculator📊 Geopbytech – Risk Based Lots Calculator
Built by Juan C. Delgado
A lightweight and fast position size calculator designed to help traders determine optimal lot size directly from the PulseWire chart.
No more switching to external websites during live execution.
Simply input:
Account Size (USD)
Risk Ratio %
Stop-Loss distance (pips or points)
The tool instantly calculates the correct lot size based on proper risk management.
🔹 How It Works
The calculator determines:
Risk ($) = Account Size × Risk %
Lot Size = Risk ($) ÷ (Stop-Loss Units × $ Value per Unit per 1 Lot)
Everything updates instantly as you change values.
🔹 Example
Account Size Risk % Stop Loss Result
$10,000 1% 20 pips 0.50 lots
$5,000 1% 15 pips 0.33 lots
$8,000 2% 30 pips 0.53 lots
🔹 Default Configuration (Forex – EURUSD)
By default, the script is optimized for standard Forex pairs like EURUSD.
You only need to:
Enter Account Size
Enter Risk %
Enter Stop-Loss in pips
The script automatically calculates pip value using standard 100,000 contract size.
🔹 Trading Gold (XAUUSD)
If you are trading Gold:
Enable:
✔ Override $ per unit (non-FX)
Then adjust:
• Override $ per 1 unit per 1 lot
(or use Custom Unit Size if needed depending on broker specification)
Because gold brokers may use different contract sizes.
🔹 Trading Indices
For indices (NAS100, US30, SPX, etc.):
You can:
• Leave override OFF (if PulseWire provides correct point value)
OR
• Enable Override and manually define $ value per point per lot
Depends on your broker's contract specification.
🔹 Trading Cross Pairs (GBPJPY, EURJPY, etc.)
For Forex crosses:
Leave override OFF.
If calculation warning appears:
Adjust "Custom Unit Size" to match correct pip structure.
Example:
GBPJPY may require adjusting unit size depending on feed.
🔹 Inputs Explained
Account Size (USD)
Your total trading account balance.
Risk Ratio %
Percentage of account you are willing to lose per trade.
(Example: 1% = disciplined risk management)
Stop-Loss (pips / points)
Distance from entry to stop loss.
This must match what you use in the PulseWire position tool.
Custom Unit Size (price)
Advanced setting.
Used when your symbol does not follow standard pip or tick logic.
You define how much price movement equals 1 unit.
FX Contract Size
Default: 100,000 (standard lot in Forex).
Only change if your broker uses non-standard contract sizes.
🎨 UI Customization
You can customize:
• Theme (Dark / Light / Midnight)
• Dashboard Position
• Transparency
• Text Size
• Warning visibility
⚠️ Important Notes
This tool calculates position size based on PulseWire symbol specifications.
Broker contract sizes may vary.
Always verify:
Pip value
Contract size
Margin requirements
Final order size
Before placing a live trade.
⚠️ Disclaimer
This tool is provided for educational and informational purposes only.
It does not constitute financial advice, investment advice, or trading recommendations.
Trading involves substantial risk and may result in loss of capital.
Use at your own risk.
👤 Author
Built by Juan C. Delgado
Geopbytech Indicator

Risk Command CenterRisk Command Center
Concept & Philosophy Trading psychology is the hardest edge to master. The "Risk Command Center" is designed to act as a visual accountability partner for day traders. It tackles the common problem of "Tilt" (emotional trading) by forcing you to confront your P&L and Risk Limits visually before you reach a breaking point.
Unlike automated trackers, this tool relies on Manual Accountability. By manually inputting your P&L after every trade, you engage your prefrontal cortex (logic), breaking the "trance" of emotional trading. This script visualizes your Daily Loss Limit not as a number, but as "Ammo"—a resource bar that depletes as you take risks.
Key Features
Visual Risk Bar: A health-bar style display that fills up as you approach your Max Daily Loss.
Adaptive Environment: The chart background changes color subtly (Yellow -> Orange -> Red) as your risk increases, giving you subconscious cues to slow down.
The "Tilt Guard": If you breach your Max Loss limit or hit your max "Consecutive Loss" streak, the screen locks down with a "TRADING STOPPED" enforcement label.
Session Timer: Automatically greys out the dashboard and background when the market session is closed, helping you avoid low-probability trading hours.
Strike Counter: Tracks consecutive losses to prevent "revenge trading" spirals.
How It Works This indicator does not connect to your broker (Pine Script security limitation). It operates as a Heads-Up Display (HUD) that you control:
Input: You set your Max Daily Loss (e.g., $500).
Process: As you trade, you update your Current Session P&L in the settings.
Calculation: The script calculates your % Risk Used and updates the dashboard.
Alerts: If Net P&L <= -Max Limit OR Consecutive Losses >= Max Streak, the visual alarms trigger.
How to Use This Tool
Pre-Market: Open the settings and define your Max Daily Loss Limit (e.g., $600) and Allowed Trading Session (e.g., 0930-1600).
During Trading: Keep the settings window accessible. After every closed trade, type your P&L into the Current Session P&L field.
Example: If you lose $150, type -150. If you win $300 next, change it to +150 (net).
Monitoring: Watch the "Ammo Left" and the "Risk Level" bar.
Green: Safe Zone.
Orange: Caution (75% of limit used).
Red: Breach. Walk away.
Settings Breakdown
Max Daily Loss Limit: Your hard stop for the day.
Current Session P&L: The input field for your running total.
Max Consecutive Losses: The number of losses in a row allowed before a forced break.
Allowed Trading Session: The time window where the dashboard is "Active." Outside this window, it shows "CLOSED."
Disclaimer This tool is for educational and risk-management purposes only. It cannot physically prevent you from placing trades on your broker. It is a visual aid to support disciplined trading habits. Indicator

Market Regime AnalyzerStatistical regime detection with forward-looking transition probabilities. Combines drift testing, variance ratios, and volume delta to classify markets into 5 regimes and quantify transition probabilities.
What Regime Are We In, and What's Likely Next?
That's the question this indicator answers with statistical rigor and forward-looking probabilities.
The Problem:
Most traders classify regimes arbitrarily: "Bull if price > 200 MA" or "Bear if RSI < 30." These rules ignore statistical significance, volume confirmation, and mean reversion patterns. The result? Late entries, false signals, and confusion when markets transition.
The Solution:
Market Regime Analyzer combines drift detection, variance ratio testing, and volume delta analysis to classify markets into 5 distinct regimes. Then it calculates the probability of transitioning to each regime based on historical patterns.
The Benefit:
Know not just where you are, but where you're likely going - with probabilities, not guesses.
The Five Market Regimes
🟢 Strong Bull (Regime 1)
- Statistically significant upward drift (t-stat > 1.96)
- Strong buying pressure (volume delta > 0.3)
- No mean reversion detected
- **Trade:** Trend-following strategies, ride the momentum
🟢 Weak Bull (Regime 2)
- Upward drift present
- BUT weak volume OR mean reversion detected
- **Trade:** Reduce position size, tighten stops, prepare for consolidation
⚪ Consolidation (Regime 3)
- No statistically significant drift
- Mixed volume signals
- Mean reversion likely present
- **Trade:** Range-trading, avoid trend-following systems
🔴 Weak Bear (Regime 4)
- Downward drift present
- BUT weak volume pressure
- **Trade:** Cautious shorts, reduce exposure, prepare for bounce
🔴 Strong Bear (Regime 5)
- Statistically significant downward drift (t-stat < -1.96)
- Strong selling pressure (volume delta < -0.3)
- No mean reversion detected
- **Trade:** Trend-following shorts, protective puts
The Statistical Framework
1. Drift Detection with T-Statistics
Instead of guessing if there's a trend, we test it statistically.
How it works:
- Calculates mean return over lookback period
- Standardizes by volatility
- Compares to significance threshold (default 1.96 = 95% confidence)
What it tells you:
- T-stat > 1.96: Statistically significant uptrend
- T-stat < -1.96: Statistically significant downtrend
- In between: No significant trend (consolidation)
Why it matters:
Only trades trends that are statistically validated, not just visually apparent.
2. Mean Reversion Testing (Variance Ratio)
Based on Lo & MacKinlay (1988) research, this detects when markets are range-bound.
How it works:
- Compares variance at different time scales
- Variance Ratio < 0.8 indicates mean reversion
What it tells you:
- Mean reversion = NO: Trends can continue
- Mean reversion = YES: Expect price to return to mean, not breakout
Why it matters:
Prevents chasing breakouts in range-bound markets.
3. Volume Delta Analysis
Total volume tells you HOW MUCH traded. Volume delta tells you WHO won.
How it works:
- Buying pressure - Selling pressure = Volume Delta
- Normalized to show relative strength
What it tells you:
- Strong positive delta (>0.3): Buyers in control
- Strong negative delta (<-0.3): Sellers in control
- Weak delta: No clear winner
Why it matters:
Price can move up on weak buying or down on weak selling. Volume delta reveals the truth.
4. Transition Probability Matrix
Historical regime changes predict future regime changes.
How it works:
- Tracks every regime transition over last 100 bars (configurable)
- Builds probability distribution for next regime
- Updates continuously
Example:
Current: Strong Bull
Historical transitions from Strong Bull:
- Stayed Strong Bull: 45%
- Became Weak Bull: 30%
- Became Consolidation: 20%
- Became Weak Bear: 4%
- Became Strong Bear: 1%
What it tells you:
Strong Bull has 75% chance of staying bullish (45% + 30%), only 5% chance of bearish turn.
Why it matters:
Adapts to your specific market's behavior patterns.
How to Use This Indicator
Strategy Adaptation
In Strong Bull/Bear Regimes:
- Use trend-following strategies
- Wider stops, let winners run
- Add to positions on pullbacks
- High confidence in directional trades
In Weak Bull/Bear Regimes:
- Reduce position sizes by 50%
- Tighter stops
- Take profits earlier
- Prepare for regime change
In Consolidation:
- Switch to range-trading strategies
- Avoid trend-following systems
- Sell resistance, buy support
- Wait for regime change before trend trades
Risk Management
Position Sizing:
- Strong regime + high continuation probability (>60%) = Normal size
- Weak regime OR high transition probability = Half size
- Consolidation = Quarter size or skip
Stop Loss Placement:
- Strong regime: Use wider stops (2x ATR)
- Weak regime: Tighter stops (1x ATR)
- Consolidation: Very tight stops (0.5x ATR)
Entry Timing
Best entries:
- Regime just changed to Strong Bull/Bear
- High probability (>50%) of staying in current regime
- No divergence signals present
- Drift and volume delta aligned
Avoid entries:
- High probability of regime change
- Divergence signals appearing
- Mean reversion detected in trending regime
- Weak volume despite price movement
Reading the Dashboard
Current Regime
Color-coded for instant recognition:
- Dark Green = Strong Bull
- Light Green = Weak Bull
- Gray = Consolidation
- Light Red = Weak Bear
- Dark Red = Strong Bear
Annualized Drift
Expected annual return based on recent trend.
- Positive = Upward bias
- Negative = Downward bias
- Near zero = No directional edge
T-Statistic
Measures statistical significance of drift.
- > 1.96 = 95% confident in uptrend
- < -1.96 = 95% confident in downtrend
- Between = Not statistically significant
Mean Reversion
- Yes = Expect price to return to mean (range-bound)
- No = Trends can continue (trending market)
Volume Pressure
Normalized volume delta strength.
- > 0.3 = Strong buying
- < -0.3 = Strong selling
- Near 0 = Balanced
Transition Probabilities
Shows most likely next regime.
- Highest probability = Most likely outcome
- Evenly distributed = High uncertainty
- Concentrated = High confidence in direction
Practical Examples
Example 1: Strong Bull with High Continuation
Dashboard shows:
Current Regime: Strong Bull
Drift: +22% annualized
T-Stat: 3.2
Mean Reversion: No
Volume Pressure: +0.45
Probabilities:
→ Strong Bull: 50%
→ Weak Bull: 25%
→ Consolidation: 20%
→ Bears: 5%
Interpretation:
- Strong uptrend (t-stat 3.2 >> 1.96)
- No mean reversion = trends can continue
- Strong buying pressure (0.45 > 0.3)
- 75% chance stays bullish (50% + 25%)
Action:
- Full position size on long setups
- Use trend-following entries
- Wider stops (2x ATR)
- High conviction trades
Example 2: Weak Bull Before Consolidation
Dashboard shows:
Current Regime: Weak Bull
Drift: +8% annualized
T-Stat: 1.2
Mean Reversion: Yes
Volume Pressure: +0.15
Probabilities:
→ Strong Bull: 10%
→ Weak Bull: 30%
→ Consolidation: 50%
→ Weak Bear: 10%
Interpretation:
- Weak drift (t-stat 1.2 < 1.96)
- Mean reversion detected = range-bound likely
- Weak volume (0.15 < 0.3)
- 50% chance of consolidation
Action:
- Reduce long positions
- Tighten stops
- Prepare for range-bound trading
- Avoid new trend trades
Example 3: Regime Transition Alert
Previous: Weak Bull
Current: Consolidation
Volume divergence signal appeared:
Price made new high, volume delta weakened
Interpretation:
- Trend exhausted
- Buyers losing control
- Regime confirmed the transition
Action:
- Exit trend-following longs
- Switch to range-trading approach
- Wait for new regime before new directional trades
Settings Guide
### Regime Detection Period (50)
Number of bars for statistical calculations.
- **30-40:** More responsive, catches changes faster, more regime switches
- **50 (default):** Balanced for daily/4H charts
- **75-100:** More stable, fewer false regime changes, slower to adapt
Transition History Depth (100)
How much history to use for probabilities.
- **50-75:** Adapts quickly to recent behavior
- **100 (default):** Balanced robustness
- **150-200:** More stable probabilities, slower to adapt
Volume Delta Period (14)
Period for volume calculations.
- **7-10:** More sensitive to volume shifts
- **14 (default):** Standard period
- **20-30:** Smoother, less noise
Significance Threshold (1.96)
T-statistic required for trend classification.
- **1.64:** 90% confidence, more trend regimes detected
- **1.96 (default):** 95% confidence, balanced
- **2.58:** 99% confidence, very conservative, mostly consolidation
Best Practices
Do:
- Wait for regime confirmation (at least 3-5 bars in new regime)
- Use probabilities to size positions appropriately
- Combine with support/resistance for entries
- Respect mean reversion signals
- Adapt strategy to current regime
Don't:
- Trade every regime change immediately
- Ignore high transition probabilities
- Use trend strategies in consolidation
- Override statistical signals with gut feel
- Trade against Strong regimes without clear setup
Timeframe Recommendations
Daily Charts:
- Default settings work well
- Most reliable regime detection
- Best for swing trading
4H Charts:
- Use default or slightly higher lookback (60-75)
- Good for active swing trading
- More regime changes than daily
1H Charts:
- Reduce lookback to 30-40
- More noise, use with caution
- Better for intraday position trading
15M and below:
- Not recommended
- Too much noise for statistical validity
- Regimes change too frequently
Combining with Other Indicators
Works Well With:
Moving Averages
- Use regime for directional bias
- MAs for specific entry/exit points
Support/Resistance
- Regime shows context
- S/R shows specific levels
- High probability at confluence
Volume Profile
- Regime shows regime
- Profile shows where volume is
- Target high-volume nodes
RSI/MACD
- Regime provides context
- Momentum shows entry timing
- Combine for higher probability
Example Combined Setup
Regime: Strong Bull
Price: Above 200 MA
Level: Pullback to support
RSI: Oversold (30)
Volume Delta: Still positive
Setup: Long entry
Reason: Trend intact, healthy pullback, buyers still present
Divergence Signals
The indicator shows volume divergence warnings:
Bearish Divergence (Red Triangle Down)
- Price makes new high
- Volume delta makes lower high
- Warning: Buyers weakening, potential reversal
Bullish Divergence (Green Triangle Up)
- Price makes new low
- Volume delta makes higher low
- Warning: Sellers weakening, potential reversal
How to use:
- Divergence in Strong regime = early warning of regime change
- Confirms when regime actually transitions
- Don't trade divergence alone, wait for regime confirmation
Limitations
This Indicator Cannot:
**Predict black swan events** - Unexpected news overrides all technical regimes
**Work in all markets** - Needs liquid markets with reliable volume data
**Guarantee profits** - Probabilities are not certainties
**Replace fundamental analysis** - Technical regimes can diverge from fundamentals
Works Best:
- Liquid markets (major indices, forex, crypto, large-cap stocks)
- Daily and 4H timeframes
- Combined with other analysis
- With proper risk management
- In normal market conditions
Common Questions
"Why did the regime stay consolidation despite strong price move?"
The indicator detected mean reversion (variance ratio < 0.8), indicating the move will likely reverse. Or the move wasn't statistically significant (t-stat < 1.96). Trust the statistics over visual appearance.
"Probabilities show 30% for each regime. What does that mean?"
High uncertainty. The market is at an inflection point. Reduce position sizes and wait for clearer regime formation.
"Can I use this for day trading?"
Not recommended on timeframes below 1H. Statistical tests need sufficient data. Better suited for swing trading.
"Why does this show Strong Bull when my momentum indicators show weakness?"
Momentum can weaken while the trend remains statistically significant. The indicator focuses on drift and volume, not momentum. Consider it a different perspective.
Technical Notes
Volume Delta Approximation
Uses OHLCV data to approximate order flow:
- Buy volume ≈ Volume on up-closes
- Sell volume ≈ Volume on down-closes
- Delta = Buy - Sell
**Note:** Real order flow (from futures or Level 2) is more precise. This approximation works well on liquid markets.
Statistical Tests
Drift T-Test:
- Null hypothesis: No drift (mean return = 0)
- Reject if |t-stat| > threshold
- Based on standard hypothesis testing
Variance Ratio:
- Compares 2-period variance to 1-period variance
- Ratio = 1 for random walk
- Ratio < 1 for mean reversion
- Threshold of 0.8 based on empirical testing
Transition Probability Implementation
Due to Pine Script v5 limitations (no native 2D arrays), the 5×5 transition matrix is stored as a flat 1D array of 25 elements:
- Position maps to index: `row × 5 + col`
- Example: Transition from Regime 2 to Regime 4 is at index `1 × 5 + 3 = 8`
- Laplace smoothing (0.1) prevents zero probabilities
- Row sums normalized to calculate probabilities
This approach is computationally efficient and maintains statistical accuracy.
No Repainting
All calculations confirmed on bar close. Regime changes appear when the bar closes, not during formation. Historical analysis is accurate.
Alert Conditions
Regime Change
- Triggers when regime transitions to any new state
- Message shows new regime number (1-5)
Bearish Divergence
- Triggers when price makes new high but volume delta doesn't confirm
Bullish Divergence
- Triggers when price makes new low but volume delta doesn't confirm
Disclaimer
FOR EDUCATIONAL PURPOSES ONLY
This indicator uses statistical methods to analyze market regimes. It does not predict the future or guarantee trading success.
Markets are probabilistic, not deterministic. A 70% probability of staying bullish means 30% chance of regime change. Always use proper risk management.
Past regime transitions do not guarantee future transitions. Market structure can change. Statistical relationships can break down.
Never risk more than you can afford to lose. Use stop losses on every trade. Test thoroughly before live trading. Consult a qualified financial advisor.
© 2026 | Open Source
Statistical rigor meets practical application Indicator

Indicator

Indicator

ADR**Overview**
This indicator displays the **Average Daily Range (ADR)** and **ADR Percentage** in a customizable table on your chart.
While the standard ATR (Average True Range) is a popular metric for volatility, it accounts for price gaps (e.g., overnight moves). **ADR**, on the other hand, strictly measures the average distance between the **High** and **Low** of price bars, completely ignoring gaps.
**Why use ADR instead of ATR?**
* **Day Trading:** For intraday traders (Forex, Crypto, Futures), ADR is often preferred because it calculates the "tradable" range of the day. It answers the question: *"On average, how much does this asset move from High to Low?"*
* **Target Setting:** ADR is excellent for projecting daily highs and lows. If price has already moved 100% of its ADR, the statistical probability of further extension decreases.
* **Pure Volatility:** It filters out the noise of overnight gaps to show pure intraday volatility.
**Calculation Logic**
* **ADR:** Calculated using a Simple Moving Average (SMA) of the `High - Low` range over the specified length.
* Formula: `SMA(High - Low, Length)`
* **ADR%:** Shows the ADR relative to the current price.
* Formula: `(ADR / Current Close) * 100`
**Features**
* **Clean Dashboard:** A minimalist table displays the ADR value and the ADR %.
* **Customizable:** You can change the calculation length (default is 14) and move the table to any corner of the chart (Top/Bottom, Left/Right) to fit your workspace.
**Settings**
* **ADR Length:** The lookback period for the average (Default: 14).
* **Display Position:** Choose where the table appears on your screen. Indicator

Indicator

Indicator

Indicator

Risk & Lot Calculator PanelFXMANS Risk & Lot Panel
Smart Risk Management Tool for PulseWire
- Overview
FXMANS Risk & Lot Panel is a lightweight and professional risk management tool designed to help traders calculate position size (lot) and take-profit levels directly on the chart, without cluttering the screen.
The panel is displayed as a minimal table in the top-right corner of the chart and automatically adapts to the currently opened symbol.
This tool focuses on clarity, precision, and usability, making it suitable for scalpers, day traders, and swing traders.
- Key Features
Automatic Direction Detection
The script can automatically determine BUY or SELL direction based on:
Entry Price
Stop Loss Price
Logic:
Stop Loss below Entry → BUY
Stop Loss above Entry → SELL
Manual override is available if auto direction is disabled.
Risk-Based Lot Size Calculation
Calculates position size based on:
User-defined risk amount in USD
Distance between Entry and Stop Loss
Symbol-specific tick size and point value
Ensures consistent risk management across all markets.
Automatic Take Profit (RR Based)
Take Profit is calculated automatically using a predefined Risk / Reward (RR) ratio.
Supports both BUY and SELL scenarios.
- Symbol-Aware Calculation
Uses PulseWire’s built-in symbol properties:
syminfo.mintick
syminfo.pointvalue
Works correctly on:
Forex
Indices
Metals
Crypto
- Minimal & Non-Intrusive UI
Small, fixed panel located at the top-right corner
Designed to avoid covering price action
Clean FXMANS-style color palette
- Safe Panel Size Control
Panel size can be adjusted from settings:
Small
Medium
Large
Size changes are handled without modifying layout geometry, preventing UI bugs.
- How It Works
Enter your Entry Price and Stop Loss Price
Define your Risk Amount ($)
Set your desired Risk / Reward ratio
The script automatically calculates:
Trade Direction (BUY / SELL)
Lot Size
Take Profit Level
All results are displayed instantly in the panel
- Example Use Case
Risk: $100
Entry: 1.0850
Stop Loss: 1.0800
RR: 2.0
- The panel will automatically display:
Direction: BUY
Lot Size adjusted to risk exactly $100
Take Profit at 2R
- Important Notes
Entry and Stop Loss prices must be valid (greater than zero).
The tool does not place trades automatically.
Calculations are for position sizing only and may vary slightly depending on broker specifications.
- Disclaimer
This script is intended for educational and analytical purposes only.
Trading involves risk, and users are responsible for their own trading decisions.
- Ideal For
Traders who follow strict risk management rules
Forex, crypto, and index traders
Scalpers and intraday traders
Anyone who wants clean and fast position sizing on PulseWire Indicator

Top 40 Best Performing Nasdaq Stocks with Advanced Stats ScreenWelcome to the CustomQuantLabs Advanced Stats Screener. This dashboard is designed for traders who need more than just price action—it provides a comprehensive, institutional-grade view of the "Top 40" performing assets in the Nasdaq (or any watchlist of your choice) at a single glance.
Instead of flipping through 40 different charts, this screener aggregates Performance Metrics and Advanced Statistical Risk Models into one clean, heatmap-style dashboard. It helps you instantly identify outliers, trend leaders, and potential mean-reversion setups.
Key Features
1. Multi-Timeframe Performance Heatmap Instantly spot momentum. The dashboard tracks returns across 5 key timeframes, color-coded with a dynamic heatmap (Bright Green for leaders, Bright Red for laggards):
Week% (Short-term momentum)
Month% & Quarter% (Medium-term trend)
6M% & 12M% (Long-term secular trend)
2. Institutional Risk Metrics (Advanced Stats) We go beyond simple percentage changes. This screener calculates complex statistical formulas for every single ticker in real-time:
Kelly Criterion (%): A money management formula used to determine optimal position size based on win probability and return ratio. A higher Kelly % suggests a statistically stronger "edge" based on recent history.
Sharpe Ratio: Measures risk-adjusted return. How much return are you getting for every unit of risk? (Values > 1.0 are generally considered good).
Sortino Ratio: Similar to Sharpe, but only penalizes downside volatility. This is crucial for distinguishing between "good volatility" (upside pumps) and "bad volatility" (crashes).
Z-Score: A mean-reversion metric. It measures how many standard deviations the current price is from its 20-day mean.
High Positive Z-Score (>2): Price may be overextended to the upside.
Low Negative Z-Score (<-2): Price may be oversold.
Volatility (%): A dynamic measure of the asset's daily range, helping you gauge the "personality" of the stock before entering.
Customization & Settings
Fully Customizable Watchlist: While pre-loaded with top Nasdaq performers (like NVDA, AMD, PLTR, MU), you can easily edit the "Symbols" input in the settings to track Crypto, Forex, or your own custom stock portfolio.
Smart Theme Detection: Includes a toggle for Dark Mode (ProjectSyndicate style) and Light Mode (Clean white style).
Compact Mode: You can toggle specific columns on or off to fit the table on smaller screens.
How to Use
Add the script to your chart.
Open Settings (Gear Icon).
Paste your list of 40 tickers into the "Ticker List" text area (separated by commas).
Use the Z-Score to find overbought/oversold setups and the Relative Strength (Week/Month) to find breakout candidates.
Disclaimer: This tool is for informational purposes only. The "Top 40" list requires manual updating if the market leaders change. All statistical metrics (Kelly, Sharpe, etc.) are based on historical data and do not guarantee future performance.
Built by CustomQuantLabs. Indicator

Indicator
