Daily Volatility/Amplitude Probability DashboardSummary
This indicator provides a powerful statistical deep-dive into an asset's daily volatility. It moves beyond simple range indicators by calculating the historical probability of a trading day reaching certain amplitude levels.
The results are presented in a clean, interactive dashboard that highlights the current day's performance in real-time, allowing traders to instantly gauge if the current volatility is normal, unusually high, or unusually low compared to history.
This tool is designed to help traders answer a critical question: "Based on past behavior, what is the likelihood that today's range will be at least X%?"
Key Concepts Explained
1. Daily Amplitude (%)
The indicator first calculates the amplitude (or range) of every historical daily candle and expresses it as a percentage of that day's opening price.
Formula: (Daily High - Daily Low) / Daily Open * 100
This normalization allows for a consistent volatility comparison across different price levels and time periods.
2. Cumulative Probability Distribution
Instead of showing the probability of a day's final range falling into a small, exclusive bin (e.g., "exactly between 1.0% and 1.5%"), this indicator uses a cumulative model. It answers the question, "What is the probability that the daily range will be at least a certain value?"
For example, if the row for "≥ 2%" shows a probability of 12.22%, it means that historically, 12.22% of all trading days have had a total range of 2% or more. This is incredibly useful for risk management and setting realistic expectations.
Core Features
Statistical Dashboard: Presents all data in a clear, easy-to-read table on your chart.
Cumulative Probability Model: Instantly see the historical probability of the daily range reaching or exceeding key percentage levels.
Real-Time Highlight & Arrow (→): The dashboard isn't just historical. It actively tracks the current, unfinished day's amplitude and highlights the corresponding row with a color and an arrow (→). This provides immediate context for the current session's price action.
Timeframe Independent: You can use this indicator on any chart timeframe (e.g., 5-minute, 1-hour, 4-hour), and it will always fetch and calculate using the correct daily data.
Clean & Professional UI: Features a monospace font for perfect alignment and a simple, readable design.
Fully Customizable: Easily adjust the dashboard's position, text size, and the amount of historical data used for the analysis.
How to Use & Interpret the Data
This indicator is not a trading signal but a powerful tool for statistical context and decision-making.
Risk Management: If you see that an asset has only a 5% historical probability of moving more than 3% in a day, you can set stop-losses more intelligently and avoid being overly aggressive with your targets on a typical day.
Setting Profit Targets: Gauge realistic intra-day profit targets. If a stock is already up 2.5% and has historically only moved more than 3% on rare occasions, you might consider taking profits.
Options Trading: Volatility is paramount for options. This tool helps you visualize the expected range of movement, which can inform decisions on strike selection for strategies like iron condors or straddles.
Identifying Volatility Regimes: Quickly see if the current day is a "normal" low-volatility day or an "abnormal" high-volatility day that could signal a major market event or trend initiation.
Dashboard Breakdown
→ (Arrow): Points to the bin corresponding to the current, live day's amplitude.
Amplitude Level: The minimum amplitude threshold. The format "≥ 1.5%" means "greater than or equal to 1.5%".
Days Reaching Level: The raw number of historical days that had an amplitude equal to or greater than the level in the first column.
Prob. of Reaching Level (%): The percentage of total days that reached that amplitude level (Days Reaching Level / Total Days Analyzed).
Settings
Position: Choose where the dashboard appears on your chart.
Text Size: Adjust the font size for better readability on your screen resolution.
Max Historical Days to Analyze: Set the lookback period for the statistical analysis. A larger number provides a more robust statistical sample but may take slightly longer to load initially.
Enjoy this tool and use it to add a new layer of statistical depth to your trading analysis.
Indicators and strategies
ZenAlgo - ADXThis open-source indicator builds upon the official Average Directional Index (ADX) implementation by TradingView. It preserves the core logic of the original ADX while introducing additional visualization features, configurability, and analytical overlays to assist with directional strength analysis.
Core Calculation
The script computes the ADX, +DI, and -DI based on smoothed directional movement and true range over a user-defined length. The smoothing is performed using Wilder’s method, as in the original implementation.
True Range is calculated from the current high, low, and previous close.
Directional Movement components (+DM, -DM) are derived by comparing the change in highs and lows between consecutive bars.
These values are then smoothed, and the +DI and -DI are expressed as percentages of the smoothed True Range.
The difference between +DI and -DI is normalized to derive DX, which is further smoothed to yield the ADX value.
The indicator includes a selectable signal line (SMA or EMA) applied to the ADX for crossover-based visualization.
Visualization Enhancements
Several plots and conditions have been added to improve interpretability:
Color-coded histograms and lines visualize DI relative to a configurable threshold (default: 25). Colors follow the ZenAlgo color scheme.
Dynamic opacity and gradient coloring are used for both ADX and DI components, allowing users to distinguish weak/moderate/strong directional trends visually.
Mirrored ADX is internally calculated for certain overlays but not directly plotted.
The script also provides small circles and diamonds to highlight:
Crossovers between ADX and its signal line.
DI crossing above or below the 25 threshold.
Rising ADX confirmed by rising DI values, with point size reflecting ADX strength.
Divergence Detection
The indicator includes optional detection of fractal-based divergences on the DI curve:
Regular and hidden bullish and bearish divergences are identified based on relative fractal highs/lows in both price and DI.
Detected divergences are optionally labeled with 'R' (Regular) or 'H' (Hidden), and color-coded accordingly.
Fractal points are defined using 5-bar patterns to ensure consistency and reduce false positives.
ADX/DI Table
When enabled, a floating table displays live values and summaries:
ADX value , trend direction (rising/falling), and qualitative strength.
DI composite , trend direction, and relative strength.
Contextual power dynamics , describing whether bulls or bears are gaining or losing strength.
The background colors of the table reflect current trend strength and direction.
Interpretation Guidelines
ADX indicates the strength of a trend, regardless of its direction. Values below 20 are often considered weak, while those above 40 suggest strong trending conditions.
+DI and -DI represent bullish and bearish directional movements, respectively. Crossovers between them are used to infer trend direction.
When ADX is rising and either +DI or -DI is dominant and increasing, the trend is likely strengthening.
Divergences between DI and price may suggest potential reversals but should be interpreted cautiously and not in isolation.
The threshold line (default 25) provides a basic filter for ignoring low-strength conditions. This can be adjusted depending on the market or timeframe.
Added Value over Existing Indicators
Fully color-graded ADX and DI display for better visual clarity.
Optional signal MA over ADX with crossover markers.
Rich contextual labeling for both divergence and threshold events.
Power dynamics commentary and live table help users contextualize current momentum.
Customizable options for smoothing type, divergence display, table position, and visual offsets.
These additions aim to improve situational awareness without altering the fundamental meaning of ADX/DI values.
Limitations and Disclaimers
As with any ADX-based tool, this indicator does not indicate market direction alone —it measures strength, not trend bias.
Divergence detection relies on fractal patterns and may lag or produce false positives in sideways markets.
Signal MA crossovers and DI threshold breaks are not entry signals , but contextual markers that may assist with timing or filtering other systems.
The table text and labels are for visual assistance and do not replace proper technical analysis or market context.
Hurst Exponent Adaptive Filter (HEAF) [PhenLabs]📊 PhenLabs - Hurst Exponent Adaptive Filter (HEAF)
Version: PineScript™ v6
📌 Description
The Hurst Exponent Adaptive Filter (HEAF) is an advanced Pine Script indicator designed to dynamically adjust moving average calculations based on real time market regimes detected through the Hurst Exponent. The intention behind the creation of this indicator was not a buy/sell indicator but rather a tool to help sharpen traders ability to distinguish regimes in the market mathematically rather than guessing. By analyzing price persistence, it identifies whether the market is trending, mean-reverting, or exhibiting random walk behavior, automatically adapting the MA length to provide more responsive alerts in volatile conditions and smoother outputs in stable ones. This helps traders avoid false signals in choppy markets and capitalize on strong trends, making it ideal for adaptive trading strategies across various timeframes and assets.
Unlike traditional moving averages, HEAF incorporates fractal dimension analysis via the Hurst Exponent to create a self-tuning filter that evolves with market conditions. Traders benefit from visual cues like color coded regimes, adaptive bands for volatility channels, and an information panel that suggests appropriate strategies, enhancing decision making without constant manual adjustments by the user.
🚀 Points of Innovation
Dynamic MA length adjustment using Hurst Exponent for regime-aware filtering, reducing lag in trends and noise in ranges.
Integrated market regime classification (trending, mean-reverting, random) with visual and alert-based notifications.
Customizable color themes and adaptive bands that incorporate ATR for volatility-adjusted channels.
Built-in information panel providing real-time strategy recommendations based on detected regimes.
Power sensitivity parameter to fine-tune adaptation aggressiveness, allowing personalization for different trading styles.
Support for multiple MA types (EMA, SMA, WMA) within an adaptive framework.
🔧 Core Components
Hurst Exponent Calculation: Computes the fractal dimension of price series over a user-defined lookback to detect market persistence or anti-persistence.
Adaptive Length Mechanism: Maps Hurst values to MA lengths between minimum and maximum bounds, using a power function for sensitivity control.
Moving Average Engine: Applies the chosen MA type (EMA, SMA, or WMA) to the adaptive length for the core filter line.
Adaptive Bands: Creates upper and lower channels using ATR multiplied by a band factor, scaled to the current adaptive length.
Regime Detection: Classifies market state with thresholds (e.g., >0.55 for trending) and triggers alerts on regime changes.
Visualization System: Includes gradient fills, regime-colored MA lines, and an info panel for at-a-glance insights.
🔥 Key Features
Regime-Adaptive Filtering: Automatically shortens MA in mean-reverting markets for quick responses and lengthens it in trends for smoother signals, helping traders stay aligned with market dynamics.
Custom Alerts: Notifies on regime shifts and band breakouts, enabling timely strategy adjustments like switching to trend-following in bullish regimes.
Visual Enhancements: Color-coded MA lines, gradient band fills, and an optional info panel that displays market state and trading tips, improving chart readability.
Flexible Settings: Adjustable lookback, min/max lengths, sensitivity power, MA type, and themes to suit various assets and timeframes.
Band Breakout Signals: Highlights potential overbought/oversold conditions via ATR-based channels, useful for entry/exit timing.
🎨 Visualization
Main Adaptive MA Line: Plotted with regime-based colors (e.g., green for trending) to visually indicate market state and filter position relative to price.
Adaptive Bands: Upper and lower lines with gradient fills between them, showing volatility channels that widen in random regimes and tighten in trends.
Price vs. MA Fills: Color-coded areas between price and MA (e.g., bullish green above MA in trending modes) for quick trend strength assessment.
Information Panel: Top-right table displaying current regime (e.g., "Trending Market") and strategy suggestions like "Follow trends" or "Trade ranges."
📖 Usage Guidelines
Core Settings
Hurst Lookback Period
Default: 100
Range: 20-500
Description: Sets the period for Hurst Exponent calculation; longer values provide more stable regime detection but may lag, while shorter ones are more responsive to recent changes.
Minimum MA Length
Default: 10
Range: 5-50
Description: Defines the shortest possible adaptive MA length, ideal for fast responses in mean-reverting conditions.
Maximum MA Length
Default: 200
Range: 50-500
Description: Sets the longest adaptive MA length for smoothing in strong trends; adjust based on asset volatility.
Sensitivity Power
Default: 2.0
Range: 1.0-5.0
Description: Controls how aggressively the length adapts to Hurst changes; higher values make it more sensitive to regime shifts.
MA Type
Default: EMA
Options: EMA, SMA, WMA
Description: Chooses the moving average calculation method; EMA is more responsive, while SMA/WMA offer different weighting.
🖼️ Visual Settings
Show Adaptive Bands
Default: True
Description: Toggles visibility of upper/lower bands for volatility channels.
Band Multiplier
Default: 1.5
Range: 0.5-3.0
Description: Scales band width using ATR; higher values create wider channels for conservative signals.
Show Information Panel
Default: True
Description: Displays regime info and strategy tips in a top-right panel.
MA Line Width
Default: 2
Range: 1-5
Description: Adjusts thickness of the main MA line for better visibility.
Color Theme
Default: Blue
Options: Blue, Classic, Dark Purple, Vibrant
Description: Selects color scheme for MA, bands, and fills to match user preferences.
🚨 Alert Settings
Enable Alerts
Default: True
Description: Activates notifications for regime changes and band breakouts.
✅ Best Use Cases
Trend-Following Strategies: In detected trending regimes, use the adaptive MA as a trailing stop or entry filter for momentum trades.
Range Trading: During mean-reverting periods, monitor band breakouts for buying dips or selling rallies within channels.
Risk Management in Random Markets: Reduce exposure when random walk is detected, using tight stops suggested in the info panel.
Multi-Timeframe Analysis: Apply on higher timeframes for regime confirmation, then drill down to lower ones for entries.
Volatility-Based Entries: Use upper/lower band crossovers as signals in adaptive channels for overbought/oversold trades.
⚠️ Limitations
Lagging in Transitions: Regime detection may delay during rapid market shifts, requiring confirmation from other tools.
Not a Standalone System: Best used in conjunction with other indicators; random regimes can lead to whipsaws if traded aggressively.
Parameter Sensitivity: Optimal settings vary by asset and timeframe, necessitating backtesting.
💡 What Makes This Unique
Hurst-Driven Adaptation: Unlike static MAs, it uses fractal analysis to self-tune, providing regime-specific filtering that's rare in standard indicators.
Integrated Strategy Guidance: The info panel offers actionable tips tied to regimes, bridging analysis and execution.
Multi-Regime Visualization: Combines adaptive bands, colored fills, and alerts in one tool for comprehensive market state awareness.
🔬 How It Works
Hurst Exponent Computation:
Calculates log returns over the lookback period to derive the rescaled range (R/S) ratio.
Normalizes to a 0-1 value, where >0.55 indicates trending, <0.45 mean-reverting, and in-between random.
Length Adaptation:
Maps normalized Hurst to an MA length via a power function, clamping between min and max.
Applies the selected MA type to close prices using this dynamic length.
Visualization and Signals:
Plots the MA with regime colors, adds ATR-based bands, and fills areas for trend strength.
Triggers alerts on regime changes or band crosses, with the info panel suggesting strategies like momentum riding in trends.
💡 Note:
For optimal results, backtest settings on your preferred assets and combine with volume or momentum indicators. Remember, no indicator guarantees profits—use with proper risk management. Access premium features and support at PhenLabs.
BCbc script using everything to detect the thing we need and using every volume % wise to see dry wet
Sat Stacking Strategies Simulation (SSSS)Sat Stacking Strategies Simulation (SSSS)
This indicator simulates and compares different Bitcoin stacking strategies over time, allowing you to visualize performance, cost basis, and stacking behavior directly on your chart.
Core Features:
Three Stacking Strategies
• Trend-Based – Stack only when price is above/below a long-term SMA.
• Stack the Dip – Buy during sharp pullbacks or oversold conditions.
• Price Zone – Stack only in “cheap”, “fair”, or “expensive” zones based on a simulated Short-Term Holder (STH) cost basis.
Always Stack Benchmark
Compare your chosen strategy against a simple “Always Stack” approach for a real-world DCA reference.
Performance Metrics Table
Track:
• Total Fiat Added
• Total BTC Accumulated
• Current Value
• Average Cost per BTC
• PnL %
• CAGR
• Sharpe Ratio & Stdev
• Stack Events & Time Underwater
Advanced Options
• Simulate cash-secured puts on unused fiat.
• Simulate covered calls on BTC holdings.
• Roll over unused stacking amounts for future buys.
This tool is designed for Bitcoiners, stackers, and DCA enthusiasts who want to backtest and visualize their stacking plan—whether you keep it simple or go full quant.
Sometimes the best alpha is just showing up every week with your wallet open… and occasionally wearing a helmet. 🪖💰
Monthly Open Lines (Historical, Accurate)📝 Description:
This indicator plots horizontal lines at every monthly open across the entire chart, helping traders easily identify key support/resistance levels based on the start of each month.
✅ Accurately tracks all historical monthly opens
✅ Lines extend fully across the screen (like regular horizontal lines)
✅ Black lines for clean, minimal visual impact
✅ Works on any timeframe (intraday, daily, etc.)
📊 Ideal For:
Price action traders
Support/resistance mapping
Monthly level breakout strategies
Institutional order flow tracking
Ayman – Full Smart Suite Auto/Manual Presets + PanelIndicator Name
Ayman – Full Smart Suite (OB/BoS/Liq/FVG/Pin/ADX/HTF) + Auto/Manual Presets + Panel
This is a multi-condition trading tool for TradingView that combines advanced Smart Money Concepts (SMC) with classic technical filters.
It generates BUY/SELL signals, draws Stop Loss (SL) and Take Profit (TP1, TP2) levels, and displays a control panel with all active settings and conditions.
1. Main Features
Smart Money Concepts Filters:
Order Block (OB) Zones
Break of Structure (BoS)
Liquidity Sweeps
Fair Value Gaps (FVG)
Pin Bar patterns
ADX filter
Higher Timeframe EMA filter (HTF EMA)
Two Operating Modes:
Auto Presets: Automatically adjusts all settings (buffers, ATR multipliers, RR, etc.) based on your chart timeframe (M1/M5/M15).
Manual Mode: Fully customize all parameters yourself.
Trade Management Levels:
Stop Loss (SL)
TP1 – partial profit
TP2 – full profit
Visual Panel showing:
Current settings
Filter status
Trend direction
Last swing levels
SL/TP status
Alerts for BUY/SELL conditions
2. Entry Conditions
A BUY signal is generated when all these are true:
Trend: Price above EMA (bullish)
HTF EMA: Higher timeframe trend also bullish
ADX: Trend strength above threshold
OB: Price in a valid bullish Order Block zone
BoS: Structure break to the upside
Liquidity Sweep: Sweep of recent lows in bullish context
FVG: A bullish Fair Value Gap is present
Pin Bar: Bullish Pin Bar pattern detected (if enabled)
A SELL signal is generated when the opposite conditions are met.
3. Stop Loss & Take Profits
SL: Placed just beyond the last swing low (BUY) or swing high (SELL), with a small ATR buffer.
TP1: Partial profit target, defined as a ratio of the SL distance.
TP2: Full profit target, based on Reward:Risk ratio.
4. How to Use
Step 1 – Apply Indicator
Open TradingView
Go to your chart (recommended: XAUUSD, M1/M5 for scalping)
Add the indicator script
Step 2 – Choose Mode
AUTO Mode: Leave “Use Auto Presets” ON – parameters adapt to your timeframe.
MANUAL Mode: Turn Auto OFF and adjust all lengths, buffers, RR, and filters.
Step 3 – Filters
In the Filters On/Off section, enable/disable specific conditions (OB, BoS, Liq, FVG, Pin Bar, ADX, HTF EMA).
Step 4 – Trading the Signals
Wait for a BUY or SELL arrow to appear.
SL and TP levels will be plotted automatically.
TP1 can be used for partial close and TP2 for full exit.
Step 5 – Alerts
Set alerts via BUY Signal or SELL Signal to receive notifications.
5. Best Practices
Scalping: Use M1 or M5 with AUTO mode for gold or forex pairs.
Swing Trading: Use M15+ and adjust buffers/ATR manually.
Combine with price action confirmation before entering trades.
For higher accuracy, wait for multiple filter confirmations rather than acting on the first arrow.
6. Summary Table
Feature Purpose Can Disable?
Order Block Finds key supply/demand zones ✅
Break of Structure Detects trend continuation ✅
Liquidity Sweep Finds stop-hunt moves ✅
Fair Value Gap Confirms imbalance entries ✅
Pin Bar Price action reversal filter ✅
ADX Trend strength filter ✅
HTF EMA Higher timeframe confirmation ✅
TR37This indicator plots a 377-day Exponential Moving Average (EMA) based on the closing price, ideal for long-term trend analysis. The EMA emphasizes recent price movements while smoothing out short-term fluctuations. A label "TR37" with white text is displayed at the end of the line for clear identification.
Ayman Entry Signal – Ultimate PRO (Scalping Gold Settings)1. Overview
This indicator is a professional gold scalping tool built for TradingView using Pine Script v6.
It combines multiple price action and technical filters to generate high-probability Buy/Sell signals with built-in trade management features (TP1, TP2, SL, Break Even, Partial Close, Stats tracking).
It is optimized for XAUUSD but can be applied to other assets with proper setting adjustments.
2. Key Features
Multi-Condition Trade Signals – EMA trend, Break of Structure, Order Blocks, FVG, Liquidity Sweeps, Pin Bars, Higher Timeframe confirmation, Trend Cloud, SMA Cross, and ADX.
Full Trade Management – Auto-calculates lot size, SL, TP1, TP2, Break Even, Partial Close.
Dynamic Chart Drawing – Entry lines, SL/TP lines, trade boxes, and real-time PnL.
Statistics Panel – Tracks wins, losses, breakeven trades, and total PnL over selected dates.
Customizable Filters – All filters can be turned ON/OFF to match your strategy.
3. Main Inputs & Settings
Account Settings
Capital ($) – Total trading capital.
Risk Percentage (%) – Risk per trade.
TP to SL Ratio – Risk-to-reward ratio.
Value Per Point ($) – Value per pip/point for lot size calculation.
SL Buffer – Extra points added to SL to avoid stop hunts.
Take Profit Settings
TP1 % of Full Target – Fraction of TP1 compared to TP2.
Move SL to Entry after TP1? – Activates Break Even after TP1.
Break Even Buffer – Extra points when moving SL to BE.
Take Partial Close at TP1 – Option to close half at TP1.
Signal Filters
ATR Period – For SL/TP calculation buffer.
EMA Trend – Uses EMA 9/21 crossover for trend.
Break of Structure (BoS) – Requires structure break confirmation.
Order Block (OB) – Validates trades within OB zones.
Fair Value Gap (FVG) – Confirms trades inside FVGs.
Liquidity Sweep – Checks if liquidity zones are swept.
Pin Bar Confirmation – Uses candlestick patterns for extra confirmation.
Pin Bar Body Ratio – Controls strictness of Pin Bar filter.
Higher Timeframe Filters (HTF)
HTF EMA Confirmation – Confirms lower timeframe trades with higher timeframe trend.
HTF BoS – Confirms with higher timeframe structure break.
HTF Timeframe – Selects higher timeframe.
Advanced Filters
SuperTrend Filter – Confirms trades based on SuperTrend.
ADX Filter – Filters out low volatility periods.
SMA Cross Filter – Uses SMA 8/9 cross as filter.
Trend Cloud Filter – Uses EMA 50/200 as a cloud trend filter.
4. How It Works
Buy Signal Conditions
EMA 9 > EMA 21 (trend bullish)
Optional filters (BoS, OB, FVG, Liquidity Sweep, Pin Bar, HTF confirmations, ADX, SMA Cross, Trend Cloud) must pass if enabled.
When all active filters pass → Buy signal triggers.
Sell Signal Conditions
EMA 9 < EMA 21 (trend bearish)
Same filtering process but for bearish conditions.
When all active filters pass → Sell signal triggers.
5. Trade Execution & Management
When a signal triggers:
Lot size is auto-calculated based on risk % and SL distance.
SL is placed beyond recent swing high/low + ATR buffer.
TP1 and TP2 are calculated from the SL using the reward-to-risk ratio.
Break Even: If enabled, SL moves to entry price after TP1 is hit.
Partial Close: If enabled, half of the position closes at TP1.
Trade Exit: Full exit at TP2, SL hit, or partial close at TP1.
6. Chart Display
Entry Line – Shows entry price.
SL Line – Red dashed line at stop loss level.
TP1 Line – Lime dashed line for TP1.
TP2 Line – Green dashed line for TP2.
PnL Labels – Displays real-time profit/loss in $.
Trade Box – Visual area showing trade range.
Pin Bar Shapes – Optional, marks Pin Bars.
7. Statistics Panel
Stats Header – Shows “Stats”.
Total Trades
Wins
Losses
Breakeven Trades
Total PnL
Can be reset or filtered by date.
8. How to Use
Load the Indicator in TradingView.
Select Gold (XAUUSD) on your preferred scalping timeframe (1m, 5m, 15m).
Adjust settings:
Use default gold scalping settings for quick start.
Enable/disable filters according to your style.
Wait for a Buy/Sell alert.
Confirm visually that all desired conditions align.
Place trade with calculated lot size, SL, and TP levels shown on chart.
Let trade run – the indicator manages Break Even & Partial Close if enabled.
9. Recommended Timeframes
Scalping: 1m, 5m, 15m
Day Trading: 15m, 30m, 1H
Swing: 4H, Daily (adjust settings accordingly)
Hilega-Milega by NK Sir (DalRoti)he "Hilega-Milega" indicator is a visual tool to:
Show RSI strength around the 50 level.
Highlight momentum visually with color fills.
Plot fast and slow moving averages of RSI (EMA 3 and WMA 21), giving insight into:
Short-term momentum vs. long-term strength
Potential reversals or trend continuation zones
Dark Pool Block Trades - Institutional Volume📊 Dark Pool Block Trades - Institutional Volume
Visualize where institutional money positions before major price moves occur. This indicator reveals hidden dark pool block trades that often precede significant price movements - because when smart money deploys millions and billions in strategic accumulation or distribution, retail traders need to see where it's happening.
🎯 WHY DARK POOL DATA MATTERS:
Institutions don't move large capital randomly. Dark pool block trades represent strategic positioning by sophisticated money managers with superior research and conviction. These trades create hidden support/resistance levels that often predict future price action.
The key principle: Follow institutional flow, don't fight it. When institutions get involved, they create high-probability trading opportunities.
💰 HOW INSTITUTIONS INFLUENCE PRICE:
- Large block trades establish hidden accumulation/distribution zones
- Smart money builds positions BEFORE retail awareness increases
- Institutional activity creates "footprints" at key technical levels
- These trades often signal conviction plays ahead of major moves
- Institutions typically add to winning positions throughout trends
🔍 WHAT THIS INDICATOR SHOWS:
- Visual overlay of dark pool block trades directly on price charts
- Track institutional positioning across major stocks and ETFs
- Identify accumulation/distribution zones before they become obvious to retail
- Spot high-conviction institutional trades in real-time visualization
- Customizable block trade size filters and timeframe selection
- Historical institutional activity up to 5 years or custom ranges
💡 THE TRADING ADVANTAGE:
Instead of guessing price direction, see where institutions are already positioning. When large block trades appear in dark pools, you're witnessing strategic institutional commitment that frequently leads to significant price movements.
⚡ HOW IT WORKS:
This Pine Script displays institutional dark pool transactions as visual markers on your charts. The script comes with sample data for immediate use. For expanded ticker coverage and real-time updates, external data services are available.
🎯 IDEAL FOR:
- Swing traders following institutional footprints
- Traders seeking setups backed by smart money conviction
- Position traders looking for accumulation zones
- Anyone wanting to align with institutional flow rather than fight it
🔄 SAMPLE DATA INCLUDED:
Pre-loaded with institutional activity data across popular tickers, updated daily to demonstrate how dark pool activity correlates with future price movements.
The script initially covers these tickers going back 6 months showing the top 10 trades by volume over 400,000 shares: AAPL, AMD, AMZN, ARKK, ARKW, BAC, BITO, COIN, COST, DIA, ETHA, GLD, GOOGL, HD, HYG, IBB, IWM, JNJ, JPM, LQD, MA, META, MSFT, NVDA, PG, QQQ, RIOT, SLV, SMCI, SMH, SOXX, SPY, TLT, TSLA, UNH, USO, V, VEA, VNQ, VOO, VTI, VWO, WMT, XLE, XLF, XLK, XLU, XLV, XLY
Volume Weighted EMAsIt's a script to calculate the volume weighted moving averages using exponential moving averages such as EMA, DEMA and TEMA instead of the pre-existing VWMA which uses SMA to calculate it.
Note: works only with charts that have volume data present, obviously !!!
KRMJ MAoverlays four moving averages on a TradingView chart to help traders identify trend direction, momentum shifts, and dynamic support or resistance levels. It includes a 9-period EMA, 21-period EMA, 20-period SMA, and a 200-period EMA. Each moving average serves a specific role: the 9 EMA responds quickly to price changes and highlights short-term momentum; the 21 EMA smooths out price action slightly more and confirms near-term trends. The 20 SMA provides a simple mid-range trend baseline often used in mean-reversion strategies or range-bound environments. The 200 EMA, a widely recognized long-term trend filter, helps users gauge the dominant market direction.
Gap % todayGap % for today's candle only.
Displayed as a table.
This can be used to judge whether a gap is too large or an acceptable gap when selecting a stock that is breaking out.
Profitable Pullback Strategy Mark804📝 Strategy Description: Pullback Trading Strategy v2.0 by Mark804
Overview
This strategy is a refined, trend-following pullback system designed to identify high-probability entry points within an established trend. Based on **EMA stacking**, it captures short-term retracements (pullbacks) in the direction of the larger trend. It has been fully updated to **Pine Script v5** with dynamic inputs, clear visualization, backtesting functionality, and risk management via stop loss and take profit.
---
🔧 How It Works
1. **Trend Detection**
The strategy first identifies a trend using a combination of four EMAs:
* **Fast EMA**
* **Signal EMA**
* **Medium EMA**
* **Slow EMA** (optional filter)
A valid trend is defined by **EMA stacking**:
* **Uptrend**: Fast > Signal > Medium (> Slow, if enabled)
* **Downtrend**: Fast < Signal < Medium (< Slow, if enabled)
This ensures the strategy trades **only in the direction of the dominant trend**, avoiding countertrend setups.
---
2. **Pullback Entry Conditions**
The strategy looks for pullbacks (retracements) within the confirmed trend:
*Buy Setup (Long Pullback)**:
* In an uptrend
* Price **closes below** the Signal EMA on the previous bar
* Then **closes back above** the Signal EMA on the current bar
* **Sell Setup (Short Pullback)**:
* In a downtrend
* Price **closes above** the Signal EMA on the previous bar
* Then **closes back below** the Signal EMA on the current bar
These conditions aim to enter on price dips or rallies that offer better entries while staying aligned with trend momentum.
---
3. **Entry & Exit Logic**
When a pullback signal is detected:
* A **market order** is placed in the trend direction
* A **take profit** and **stop loss** is applied immediately based on percentage inputs
Example:
* Take Profit: 2% above entry (for long)
* Stop Loss: 1% below entry (for long)
This creates a favorable **risk-to-reward ratio** and clear exit strategy.
---
4. **Customizable Inputs**
All key parameters can be tuned via the script’s settings panel:
* `maSrc`: Source for EMAs (default: `close`)
* `fastLen`, `signalLen`, `mediumLen`, `slLen`: EMA lengths
* `slEnabled`: Toggle to include the slow EMA as a trend filter
* `takeProfitPct`, `stopLossPct`: % values for TP and SL
* `showRibbon`: Toggle visibility of EMA lines (the "ribbon")
This flexibility allows optimization for different timeframes, assets, or market conditions.
---
5. **Visuals & Alerts**
* **EMA Ribbon**: Optionally plots all 4 EMAs in distinct colors
* **Alerts**: Configurable alerts for both Buy and Sell pullback signals
* **Strategy Tester**: Fully compatible with TradingView’s backtester to review performance
---
✅ Key Features
* Pine Script **v5** compatible
* Simple yet powerful **trend-pullback strategy**
* Built-in **risk management** (TP/SL)
* Highly **customizable** and easy to optimize
* Works on **any timeframe or market** (stocks, crypto, forex, etc.)
* Optional **EMA Ribbon** and slow filter for visual context
---
📊 Strategy Use Cases
* Intraday trading
* Swing trading
* Trend continuation setups
* Building automated systems in TradingView
* Manual trade confirmation for other systems
---
⚙️ Example Settings
| Parameter | Value |
| ----------------- | --------- |
| Fast EMA Length | 8 |
| Signal EMA Length | 13 |
| Medium EMA Length | 21 |
| Slow EMA Length | 55 |
| Take Profit (%) | 2.0 |
| Stop Loss (%) | 1.0 |
| Use Slow EMA | ✅ Enabled |
---
📌 Important Notes
* This is a **trend-following strategy**. Best results occur in trending markets.
* In sideways or choppy markets, false signals may occur. Consider using higher timeframes or combining with volume filters.
* You can expand this strategy further by integrating:
* Multi-timeframe trend confirmation
* Additional filters (e.g. RSI, MACD)
* Trailing stop loss for dynamic exits
* Visual overlays (e.g. pivot points, fractals) for added context
RS to BTC – EYASU V1RS to BTC – Full Suite
📝 Description:
This script tracks the relative strength of any coin against Bitcoin (RSBTC) in real-time. It is designed for altcoin traders who want to identify which coins are outperforming or underperforming BTC across multiple timeframes.
Features:
📈 RSBTC Line: Real-time plot of the altcoin’s price divided by BTC price
🟦 RSBTC Moving Average: Smooths the RS line to help identify trends
🔵 RSBTC RSI (Hidden by default): Highlights momentum of RS to detect overbought/oversold zones
🚨 Alerts: Set alerts for RSBTC crossing its moving average and RSI levels
Ideal for:
Spotting early altcoin breakouts
Timing entries/exits based on BTC-relative performance
Filtering for strong/weak coins before macro news
📱 Fully mobile compatible. Load it on any USDT chart — it auto-detects BTC and gives RS instantly.
Created by: @Eyasustock
License: Mozilla Public License 2.0
Crypto Options Greeks & Volatility Analyzer [BackQuant]Crypto Options Greeks & Volatility Analyzer
Overview
The Crypto Options Greeks & Volatility Analyzer is a comprehensive analytical tool that calculates Black-Scholes option Greeks up to the third order for Bitcoin and Ethereum options. It integrates implied volatility data from VOLMEX indices and provides multiple visualization layers for options risk analysis.
Quick Introduction to Options Trading
Options are financial derivatives that give the holder the right, but not the obligation, to buy or sell an underlying asset at a predetermined price (strike price) within a specific time period (expiration date). Understanding options requires grasping two fundamental concepts:
Call Options : Give the right to buy the underlying asset at the strike price. Calls increase in value when the underlying price rises above the strike price.
Put Options : Give the right to sell the underlying asset at the strike price. Puts increase in value when the underlying price falls below the strike price.
The Language of Options: Greeks
Options traders use "Greeks" - mathematical measures that describe how an option's price changes in response to various factors:
Delta : How much the option price moves for each $1 change in the underlying
Gamma : How fast delta changes as the underlying moves
Theta : Daily time decay - how much value erodes each day
Vega : Sensitivity to implied volatility changes
Rho : Sensitivity to interest rate changes
These Greeks are essential for understanding risk. Just as a pilot needs instruments to fly safely, options traders need Greeks to navigate market conditions and manage positions effectively.
Why Volatility Matters
Implied volatility (IV) represents the market's expectation of future price movement. High IV means:
Options are more expensive (higher premiums)
Market expects larger price swings
Better for option sellers
Low IV means:
Options are cheaper
Market expects smaller moves
Better for option buyers
This indicator helps you visualize and quantify these critical concepts in real-time.
Back to the Indicator
Key Features & Components
1. Complete Greeks Calculations
The indicator computes all standard Greeks using the Black-Scholes-Merton model adapted for cryptocurrency markets:
First Order Greeks:
Delta (Δ) : Measures the rate of change of option price with respect to underlying price movement. Ranges from 0 to 1 for calls and -1 to 0 for puts.
Vega (ν) : Sensitivity to implied volatility changes, expressed as price change per 1% change in IV.
Theta (Θ) : Time decay measured in dollars per day, showing how much value erodes with each passing day.
Rho (ρ) : Interest rate sensitivity, measuring price change per 1% change in risk-free rate.
Second Order Greeks:
Gamma (Γ) : Rate of change of delta with respect to underlying price, indicating how quickly delta will change.
Vanna : Cross-derivative measuring delta's sensitivity to volatility changes and vega's sensitivity to price changes.
Charm : Delta decay over time, showing how delta changes as expiration approaches.
Vomma (Volga) : Vega's sensitivity to volatility changes, important for volatility trading strategies.
Third Order Greeks:
Speed : Rate of change of gamma with respect to underlying price (∂Γ/∂S).
Zomma : Gamma's sensitivity to volatility changes (∂Γ/∂σ).
Color : Gamma decay over time (∂Γ/∂T).
Ultima : Third-order volatility sensitivity (∂²ν/∂σ²).
2. Implied Volatility Analysis
The indicator includes a sophisticated IV ranking system that analyzes current implied volatility relative to its recent history:
IV Rank : Percentile ranking of current IV within its 30-day range (0-100%)
IV Percentile : Percentage of days in the lookback period where IV was lower than current
IV Regime Classification : Very Low, Low, High, or Very High
Color-Coded Headers : Visual indication of volatility regime in the Greeks table
Trading regime suggestions based on IV rank:
IV Rank > 75%: "Favor selling options" (high premium environment)
IV Rank 50-75%: "Neutral / Sell spreads"
IV Rank 25-50%: "Neutral / Buy spreads"
IV Rank < 25%: "Favor buying options" (low premium environment)
3. Gamma Zones Visualization
Gamma zones display horizontal price levels where gamma exposure is highest:
Purple horizontal lines indicate gamma concentration areas
Opacity scaling : Darker shading represents higher gamma values
Percentage labels : Shows gamma intensity relative to ATM gamma
Customizable zones : 3-10 price levels can be analyzed
These zones are critical for understanding:
Pin risk around expiration
Potential for explosive price movements
Optimal strike selection for gamma trading
Market maker hedging flows
4. Probability Cones (Expected Move)
The probability cones project expected price ranges based on current implied volatility:
1 Standard Deviation (68% probability) : Shown with dashed green/red lines
2 Standard Deviations (95% probability) : Shown with dotted green/red lines
Time-scaled projection : Cones widen as expiration approaches
Lognormal distribution : Accounts for positive skew in asset prices
Applications:
Strike selection for credit spreads
Identifying high-probability profit zones
Setting realistic price targets
Risk management for undefined risk strategies
5. Breakeven Analysis
The indicator plots key price levels for options positions:
White line : Strike price
Green line : Call breakeven (Strike + Premium)
Red line : Put breakeven (Strike - Premium)
These levels update dynamically as option premiums change with market conditions.
6. Payoff Structure Visualization
Optional P&L labels display profit/loss at expiration for various price levels:
Shows P&L at -2 sigma, -1 sigma, ATM, +1 sigma, and +2 sigma price levels
Separate calculations for calls and puts
Helps visualize option payoff diagrams directly on the chart
Updates based on current option premiums
Configuration Options
Calculation Parameters
Asset Selection : BTC or ETH (limited by VOLMEX IV data availability)
Expiry Options : 1D, 7D, 14D, 30D, 60D, 90D, 180D
Strike Mode : ATM (uses current spot) or Custom (manual strike input)
Risk-Free Rate : Adjustable annual rate for discounting calculations
Display Settings
Greeks Display : Toggle first, second, and third-order Greeks independently
Visual Elements : Enable/disable probability cones, gamma zones, P&L labels
Table Customization : Position (6 options) and text size (4 sizes)
Price Levels : Show/hide strike and breakeven lines
Technical Implementation
Data Sources
Spot Prices : INDEX:BTCUSD and INDEX:ETHUSD for underlying prices
Implied Volatility : VOLMEX:BVIV (Bitcoin) and VOLMEX:EVIV (Ethereum) indices
Real-Time Updates : All calculations update with each price tick
Mathematical Framework
The indicator implements the full Black-Scholes-Merton model:
Standard normal distribution approximations using Abramowitz and Stegun method
Proper annualization factors (365-day year)
Continuous compounding for interest rate calculations
Lognormal price distribution assumptions
Alert Conditions
Four categories of automated alerts:
Price-Based : Underlying crossing strike price
Gamma-Based : 50% surge detection for explosive moves
Moneyness : Deep ITM alerts when |delta| > 0.9
Time/Volatility : Near expiration and vega spike warnings
Practical Applications
For Options Traders
Monitor all Greeks in real-time for active positions
Identify optimal entry/exit points using IV rank
Visualize risk through probability cones and gamma zones
Track time decay and plan rolls
For Volatility Traders
Compare IV across different expiries
Identify mean reversion opportunities
Monitor vega exposure across strikes
Track higher-order volatility sensitivities
Conclusion
The Crypto Options Greeks & Volatility Analyzer transforms complex mathematical models into actionable visual insights. By combining institutional-grade Greeks calculations with intuitive overlays like probability cones and gamma zones, it bridges the gap between theoretical options knowledge and practical trading application.
Whether you're:
A directional trader using options for leverage
A volatility trader capturing IV mean reversion
A hedger managing portfolio risk
Or simply learning about options mechanics
This tool provides the quantitative foundation needed for informed decision-making in cryptocurrency options markets.
Remember that options trading involves substantial risk and complexity. The Greeks and visualizations provided by this indicator are tools for analysis - they should be combined with proper risk management, position sizing, and a thorough understanding of options strategies.
As crypto options markets continue to mature and grow, having professional-grade analytics becomes increasingly important. This indicator ensures you're equipped with the same analytical capabilities used by institutional traders, adapted specifically for the unique characteristics of 24/7 cryptocurrency markets.
AUD/USD 1-Min Scalping Strategy with LabelsHere’s a complete TradingView Pine Script v5 for the 1-minute AUD/USD scalping strategy we just discussed. This strategy uses:
EMA 13 and EMA 26 for trend filtering
Bollinger Bands for volatility extremes
RSI (4) for momentum confirmation
RSI Custom ADX VWAP Swing SignalsRSI Custom ADX VWAP Swing Signals
This Pine Script indicator is designed for the NASDAQ 1-minute timeframe (or any timeframe you use) and combines several technical analysis tools:
RSI (Relative Strength Index): Measures momentum, indicating overbought and oversold conditions.
Custom ADX (Average Directional Index): Quantifies the strength of a trend, regardless of direction.
VWAP (Volume-Weighted Average Price): Represents the average price weighted by volume, indicating central price tendency.
Swing High/Low Detection: Identifies recent high and low points to detect breakout signals.
How it works:
RSI Calculation:
Uses a length of 14 (or your input) to assess whether market momentum is overbought (>60) or oversold (<30).
Custom ADX Calculation:
Computes plusDM and minusDM based on recent high/low price changes.
Smooths these using Wilder’s method (ta.rma) to obtain directional movement.
Derives the ADX value (sig), representing the trend strength.
VWAP Calculation:
Uses the typical price (hlc3) to compute the VWAP, a key level indicating average trading price weighted by