Amiya's Doji / Hammer / Spinning Top Breakout Strategy v5How it works
1. Pattern Detection (Previous Candle):
• Checks if total shadow length ≥ 2 × body.
• Checks if candle height (high − low) is between 10 and 21.5 points.
• If true → marks that candle as a potential Doji, Hammer, or Spinning Top.
2. Long Setup:
• LTP (close) crosses above previous candle high.
• Previous candle is a valid pattern candle.
• Stop Loss = 3 points below previous candle low.
• Take Profit = 5 × (high − low) of previous candle added to previous high.
3. Short Setup:
• LTP (close) crosses below previous candle low.
• Previous candle is a valid pattern candle.
• Stop Loss = 3 points above previous candle high.
• Take Profit = 5 × (high − low) of previous candle subtracted from previous low.
4. Visualization:
• Yellow background highlights pattern candles.
• Green ▲ and Red ▼ markers show entry points.
Deep yellow candles → represent Doji / Hammer / Spinning Top patterns
• Green triangle → Buy signal
• Red triangle → Sell signal
• Dotted green line + label → Target
• Dotted red line + label → Stop loss
• Gray background → Outside trading hours
• Auto close → All trades square off at 3:29 PM IST
Indicatori e strategie
Nancy's All-In-One [Private] [Institutional]A Private Institutional Tool by Design
PRIVATE ACCESS ONLY
This script is not for public usage or those casually scrolling through the indicator library. This is a private tool, built for precision, and extremely powerful in the wrong hands. Used properly, it can unlock financial freedom yes, it’s that potent.
“This is the closest you’ll get to peeking behind the curtain of institutional strategy without having a Bloomberg terminal or a Wall Street badge.”
– KC Research
What It Does
The Nancy All-In-One is the culmination of thousands of hours of backtesting, real-world application, and tactical insights drawn from elite strategies used at places like Renaissance Technologies, proprietary desks, and private equity firms.
This version fuses:
DTT Root Candles & Time-Zone Price Levels (including NY Judas, Kyoto, Osaka, etc.)
Intraday Sessions & Micro Box Models (Turncoat, Bishop, Knight, Big Ben, etc.)
Quarterly Micro Cycles — breaks down time into high-probability 90-minute blocks
Fib-Based Inner Intervals — ideal for sniper-level scalps or early entries
SMT Divergences, PD High/Low, NWOG/NDOG/EHPDA setups
Multi-Timeframe Visualization (with user control over display resolution)
Every line, label, and box drawn has a purpose, engineered to expose fractal imbalances, liquidity traps, and premium/discount zones with surgical accuracy.
How to Use It
Use the 1M or 5M chart — This script was optimized with lower-timeframe precision in mind. It works higher up, but that’s not its primary edge.
Turn on sessions you want under Turn Modules On group. Each session represents a model with its own behavior (e.g. Osaka Model = Asia liquidity expansion).
Price Lines — The "DTT Root Candles" levels are critical. These are not random timestamps—they represent algorithmic triggers derived from real volume and timing analysis.
Quarterly Cycles — Use these to trade from zone-to-zone with context. Each 90-minute block often contains a reversal, breakout, or liquidity sweep.
SMT, PDHL, NWOG, NDOG — These are best used with confluence. The more boxes and lines that agree, the higher your confidence.
Built for Traders Who Know the Game
This is not a magic button. It’s a complex system that assumes you're willing to study it, adapt it, and integrate it into your own strategy. It’s a tool—not a signal generator. It won't tell you when to buy or sell, but it will show you exactly where institutions are hunting.
Settings & Customization
You can toggle each element on/off to declutter your chart.
Change label sizes, opacity, and styles to suit your preferences.
Adjust session times if you're not in EST (UTC-5 default).
Works Best With:
1M to 15M charts (although elements scale up)
Liquid FX pairs, indices (SPX, NAS100), BTC, and ETH
Time-sensitive entries (news, killzones, session opens)
Final Note
This was developed internally by Nancy and private anon entities, and is still being actively expanded. Portions of the code are open-source, but most logic is proprietary and reverse-engineering resistant.
If you don’t know what NWOG, EQH/PDH, or SMT are—this isn’t for you. If you do... welcome to the other side.
Chanlun - Strokes & Central ZonesChanlun Indicator - Strokes and Central Zones
This indicator implements Chan lun's core concepts:
Bi (Stroke): Basic price movement units formed by local highs and lows
Zhongshu (Central Zone): Overlapping areas formed by at least 3 strokes
Extension Lines: Visual guides for the latest central zone boundaries
Key Features:
Automatic stroke identification based on local extremes
Central zone detection with customizable colors
Extension lines for latest central zone (upper/lower bounds)
Separate colors for strokes within central zones
Price labels on the axis for zone boundaries
Settings:
Max Bars: Maximum K-lines to analyze (default: 4900)
Lookback Period: Period for finding local extremes (default: 5)
Min Gap Bars: Minimum bars between strokes (default: 4)
Customizable colors for strokes, zones, and extension lines
Aude - Minimal Session IndicatorMinimal Session Indicator
- The indicator allows users to highlight specific sessions (time range) on the chart.
- There are options to change the visual settings of the session box (BG color, Border color, Border style).
- Max 500 sessions drawn
VIX Overnight Unch or Up AlertThis indicator alerts when VIX opens the day unchanged or higher on the day. If in fact VIX opens up unchanged or higher, it will display near the first bar of the day, previous day's close time and level and the opening time and level. The close time is typically 16:15 New York Time and the opening time is 09:30 or the first print a few minutes later. I use TVC:VIX instead of CBOT because TVC for me is real time. I also use the 1 minute chart and the script is coded as 1 minute.
Goldbach Energy Curve⚡ Goldbach Energy Curve (G-Energy)
Precision phase-energy detection for professional traders
The Goldbach Energy Curve transforms raw market motion into a smooth, color-coded energy profile — revealing when price transitions between Accumulation, Manipulation, and Distribution states.
It blends advanced filtering with adaptive energy mapping to visualize market compression and expansion cycles in real time.
Use it to sense when momentum is building, fading, or rotating across phases — before structure or volume confirms the shift.
⚙️ How to Read the Energy Curve
Below 10 → Ultra-Low Energy Zone
Market in deep Accumulation — liquidity builds, volatility compresses, and smart money positions quietly.
10 – 33 → Rising Accumulation
Early signs of energy release; watch for breakout or expansion setups.
33 – 66 → Manipulation Phase
Transitional zone; expect false moves, liquidity grabs, and short-term volatility spikes.
Above 66 → Distribution Phase
Energy peaks — trend exhaustion, reversals, or large-scale profit-taking often emerge.
Align your directional bias with the market’s current energy state, from silent buildup to full distribution.
Features
Dynamic A / M / D phase tracking
Smooth histogram with adaptive curve overlay
Automatic background shading for instant context
Non-repainting and optimized for multi-timeframe analysis
Ideal for:
Institutional-style traders who value precision, clarity, and early insight into phase rotations.
Reversal Signal [aganac3]This indicator is an advanced reversal detection system designed to identify high-probability turning points in price action using RSI dynamics, EMA structure, ATR volatility, and volume-based confirmation.
The script automatically generates BUY/SELL signals, calculates target profit levels (TP1–TP3) and stop loss (SL) using ATR projections, and provides adaptive signal filtering based on market conditions and higher-timeframe trend bias.
It is built for traders who need a precise, all-in-one reversal detection and trade-management system for intraday and swing trading across any market (forex, gold, crypto, or stocks).
⚙️ Main Features
🔸 1. Smart Reversal Probability Engine
Calculates bullish/bearish probabilities (0–100%) using:
RSI deviation & slope
EMA bias (50 vs 200)
ATR volatility conditions
Candle structures (Engulfing, Pin Bar)
Demand/Supply zone proximity
Volume & momentum bursts
Adaptive weighting via sigmoid normalization for smooth probability transitions.
🔸 2. Multi-Timeframe Confirmation
Imports higher-timeframe (HTF) EMAs (default: 15-minute) for trend confirmation.
Suppresses false signals against dominant HTF direction:
Uptrend → fewer SELL signals
Downtrend → fewer BUY signals
🔸 3. Adaptive Sensitivity & Alert Modes
Sensitivity Options: Aggressive / Normal / Conservative
Controls reaction speed and signal frequency.
Alert Modes: Normal / Strict
Normal: at least 3 confirmations required
Strict: must confirm with pattern, volume, and candle bias
Alert threshold: customizable (default: 85%)
🔸 4. Demand & Supply Zone Logic
Automatically determines zone position based on recent price range.
BUY bias favored when price in demand zone (bottom 35%)
SELL bias favored when price in supply zone (top 35%)
🔸 5. Volatility & Volume Confirmation
Detects ATR spikes and volume surges for strong reversals.
Optional weighting for burst acceleration and pressure (momentum direction).
🔸 6. Target Projection (TP/SL System)
Auto-plots:
TP1, TP2, TP3 = ATR-based target levels
SL = ATR-based stop loss
Dashed lines with floating price labels, lines and labels auto-delete when hit (to maintain a clean chart).
Fully automated trade management visualization.
🔸 7. Signal Cooldown & Cleanup
Customizable cooldown (default 10 bars) to prevent over-signaling.
Automatic reset of TP/SL after trade conclusion (TP or SL hit).
🔸 8. Visuals & Alerts
BUY = 🔼 green triangle below bar
SELL = 🔽 red triangle above bar
Alerts available for:
“Bullish Reversal”
“Bearish Reversal”
Clean overlay design — ideal for dark or light chart themes.
🔸 9. Use Cases
XAU/USD (Gold): short-term scalping or intraday reversals
Crypto (BTC/ETH): H1–H4 swing setups
Stocks: Daily trend reversals
Indices: Multi-TF trend exhaustion tracking
BTC LL->HH Liquidity Sweep / BOS / Retest / 4H Bias v6_8BTC LL->HH Liquidity Sweep / BOS / Retest / 4H Bias v6_8
DM Price ActionHere’s a tight, rules-based playbook for trading with your DM Price Action (FVG + S/R + Order Blocks + VWAP + Auto PDH/PDL/PMH/PML). It’s educational, not financial advice—tune to your market & risk.
Core ideas (what each tool does for you)
VWAP → intraday trend/mean.
PDH/PDL → yesterday’s extremes; magnet & reversal/continuation levels.
PMH/PML → premarket extremes; first liquidity tests after the open.
FVG → imbalance zones for continuation entries.
Order Blocks (OBs) → origin of impulses; mitigation/breaks = structure shifts.
S/R → target rails and break alerts.
Setups (long/short mirror)
1) Bias + Pullback (FVG/OB) at Key Level
Bias (need 2+ conditions):
Price above VWAP (bulls) / below VWAP (bears)
Price above PDH/PMH (bulls) or below PDL/PML (bears)
Most recent Swing OB bias in your direction (script updates via crosses)
Entry (bullish example):
Wait for a Bullish FVG to form after we reclaim PMH or PDH.
Prefer FVG overlapping a Bullish OB or sitting just above Support.
Enter on retrace into FVG midline or first bullish reversal candle inside.
Stop: a few ticks below OB low (or FVG bottom, whichever is wider).
Targets:
T1: nearest Resistance or PDH/PMH if not yet tested.
T2: next HTF S/R or fixed 2R–3R.
Manage: to BE at 1R, trail under swing lows or VWAP on trend days.
Bearish mirror: below VWAP, below PDL/PML, Bearish FVG into Bearish OB / Resistance; stop above OB high.
2) Range Break & Retest at PDH/PDL (with OB confirmation)
Context: Price consolidates under PDH (or over PDL).
Trigger: Clean break of PDH/PDL with an OB breakout alert in the break direction.
Entry: On retest of PDH/PDL from the other side, look for a small FVG forming with the move → enter on the pullback.
Stop: beyond the retest wick or the OB edge.
Targets: next S/R, opposing day extreme (e.g., from PDH to PMH/HTF level) or 2R/3R.
3) Premarket Sweep Reversal (open-specific)
Setup: At/near the cash open, price sweeps PMH/PML (wick through) but closes back inside, then a counter-direction OB forms.
Entry: On first FVG in the reversal direction that overlaps that new OB.
Stop: beyond the sweep extreme (PMH/PML).
Targets: VWAP first, then PD midline levels/SR.
Confluence checklist (score ≥3 before clicking)
+1 Above/below VWAP in trade direction
+1 Trading from a PDH/PDL/PMH/PML reaction (reclaim or rejection)
+1 FVG overlaps an OB
+1 Entry at S/R (use the script’s lines)
+1 Fresh zone (recently formed OB/FVG)
+1 Higher-TF structure aligned (e.g., 1H trend)
Take the trade only if score ≥3; size up only at ≥4.
Execution framework (simple & repeatable)
Timeframes: 1H (bias) → 5–15m (execution).
Risk per trade: 0.25–1.0% of account (fixed).
Position size: Size = Risk $ / Stop distance.
Management:
Scale ½ at T1 (nearest SR/PD level), move stop to BE at 1R.
Let runner to T2 (2R–3R) or next PD level.
If VWAP flips against you and closes 2 bars opposite, exit remainder.
Using the inputs (what to tweak)
Order Blocks:
Scalping mode for intraday speed; Day Trade for cleaner swings.
Hide Internal OBs if noise is high; keep Swing OBs for structure.
FVG:
Keep Auto Threshold = ON.
If noisy, plot higher TF FVG (e.g., 15m FVG on 5m chart).
PDH/PDL/PMH/PML:
If chart is cluttered, keep “Show lines only on last bar” ON and labels ON.
Session markets (futures/US equities): use default 0400–0930 premarket; FX/crypto can disable PM lines if irrelevant.
Alerts to set (so you only act on confluence)
Create alerts for:
Bullish/Bearish FVG (execution zones)
Swing/Internal OB Breakout (structure shift)
Support/Resistance Broken (targets/continuation)
(Optional) Crossing PDH/PDL: use TV “Price crossing” with the plotted PDH/PDL values or visually monitor the labels
Workflow: Wait for ≥2 alerts to line up (e.g., Swing OB Breakout + Bullish FVG near PDH), then open the chart and execute the rule set.
Example trade (bullish)
Price reclaims PDH, holds above VWAP.
Bullish FVG prints overlapping a Bullish Internal OB just above PDH.
Limit at FVG midline, stop below OB low.
T1 = next Resistance; T2 = 2R. Move to BE at 1R; trail under new swing lows.
Adaptive Volatility Bands | AlphaNattAdaptive Volatility Bands (AVB) | AlphaNatt
Professional-grade dynamic bands that adapt to market volatility and trend strength, featuring smooth gradient visualization for enhanced chart clarity.
🎯 CORE CONCEPT
AVB creates self-adjusting bands around a customizable basis line, expanding during trending markets and contracting during consolidation. The gradient fill provides instant visual feedback on price position within the volatility envelope.
✨ KEY FEATURES
5 Basis Types: Choose between SMA, EMA, ALMA, KAMA, or VWMA for the centerline calculation
Adaptive Band Width: Bands automatically widen in strong trends and tighten in ranging markets
Smooth Gradient Fills: 10-layer gradient on each side for professional depth visualization
Multiple Volatility Metrics: ATR, Standard Deviation, or Range-based calculations
Squeeze Detection: Identifies Bollinger/Keltner squeeze conditions for breakout anticipation
Dynamic Color States: Cyan (#00F1FF) for bullish, Magenta (#FF019A) for bearish conditions
📊 HOW IT WORKS
The basis line is calculated using your selected moving average type
Volatility is measured using ATR, StDev, or Range
Trend strength is quantified via linear regression
Band width adapts based on normalized trend strength (when enabled)
Gradient layers create smooth visual transitions from bands to basis
Color state changes based on price position and basis direction
🔧 PARAMETER GROUPS
Basis Configuration:
Basis Type: Moving average calculation method
Basis Length (20): Period for centerline calculation
ALMA Settings: Offset (0.85) and Sigma (6) for ALMA basis
Volatility Settings:
Volatility Method: ATR, Standard Deviation, or Range
Volatility Length (14): Lookback for volatility calculation
Band Multiplier (2.0): Distance of bands from basis
Adaptive Settings:
Enable Adaptive (true): Toggle dynamic band adjustment
Adaptation Period (50): Trend strength measurement window
Squeeze Detection:
BB/KC Parameters: Settings for squeeze identification
Expansion Threshold: Multiplier for expansion signals
📈 TRADING SIGNALS
Long Conditions:
Price crosses above basis
Basis line is rising
Band color shifts to cyan
Short Conditions:
Price crosses below basis
Basis line is falling
Band color shifts to magenta
💡 USAGE STRATEGIES
Trend Following: Trade with the basis direction when bands are expanding
Mean Reversion: Fade moves to outer bands during squeeze conditions
Breakout Trading: Enter on expansion signals after squeeze periods
Support/Resistance: Use bands as dynamic S/R levels
Position Sizing: Wider bands suggest higher volatility - adjust size accordingly
🎨 VISUAL ELEMENTS
Gradient Fills: 10 opacity layers creating smooth band transitions
Dynamic Colors: State-dependent coloring for instant trend recognition
Basis Line: Bold centerline changes color with trend state
Band Lines: Outer boundaries with matching state colors
⚡ BEST PRACTICES
The AVB indicator works optimally on liquid instruments with consistent volume. The adaptive feature performs best in trending markets but can generate false signals during choppy conditions. Consider using alongside momentum indicators for confirmation. The gradient visualization helps identify price position within the volatility envelope at a glance.
🔔 ALERTS INCLUDED
Long/Short Signals
Squeeze Conditions
Expansion Breakouts
Band Touch Events
Version 6 | Pine Script™ | © AlphaNatt
Profitolio Swing Strategy V1.2Profitolio Swing Strategy V1.2 - User Guide
Overview
The Profitolio Swing Strategy (PSS V1.2) is a comprehensive swing trading indicator designed to identify high-probability trade setups by combining multiple technical analysis methods. This indicator helps traders capture medium-term price movements while managing risk effectively.
What This Indicator Does
This indicator analyzes market momentum and volatility to generate clear BUY and SELL signals. It uses a confluence approach, meaning signals only appear when multiple conditions align, reducing false signals and improving trade quality.
Key Features
Visual Components
1. Signal Markers
Green Triangle (BUY): Appears below candles when bullish conditions align
Red Triangle (SELL): Appears above candles when bearish conditions align
2. Reference Lines
Blue Line: 21-period Exponential Moving Average (EMA) - shows medium-term trend direction
Orange Circles: Volume Weighted Average Price (VWAP) - represents fair value based on price and volume
3. Stoploss Management
Red Horizontal Line: Active stoploss for long positions (appears after BUY signal)
Green Horizontal Line: Active stoploss for short positions (appears after SELL signal)
"SL HIT!" Label: Appears when price touches the stoploss level
4. Background Color
Light Green: Indicates overall bullish market condition
Light Red: Indicates overall bearish market condition
No Color: Neutral/mixed conditions
5. Dashboard (Top Right)
Shows the status of multiple trend variants and the final decision:
Individual variant status (Variant 1, 2, 3)
Overall decision (BULLISH/BEARISH/NEUTRAL)
Active stoploss value
Parameters Used
ATR-Based Calculations
The indicator uses different Average True Range (ATR) and multipliers which measures market volatility
Lower multipliers: More sensitive, faster signals
Higher multipliers: Less sensitive, more stable signals
Moving Averages
21 EMA: Helps identify the prevailing trend direction. Price above EMA suggests uptrend, below suggests downtrend
VWAP: Acts as dynamic support/resistance. Institutional traders often use this as a reference point
How to Use This Indicator
Step 1: Wait for Signal Confirmation
Do not trade when background is absent (neutral condition)
Look for BUY signal when background turns light green
Look for SELL signal when background turns light red
Step 2: Entry Rules
For Long Positions (BUY):
Wait for green triangle below candle
Confirm price is above the 21 EMA (blue line) for stronger probability
Enter at current market price or next candle open
For Short Positions (SELL):
Wait for red triangle above candle
Confirm price is below the 21 EMA (blue line) for stronger probability
Enter at current market price or next candle open
Step 3: Risk Management
Stoploss Placement:
For BUY trades: The indicator automatically marks a stoploss level (red line) based on recent price action
For SELL trades: The indicator automatically marks a stoploss level (green line) based on recent price action
These levels persist until hit or trend reverses
Exit Strategies:
Stoploss Exit: Exit when price hits the marked stoploss line (you'll see "SL HIT!" label)
Signal Reversal: Exit when opposite signal appears
Background Change: Consider exiting when background color disappears (trend weakening)
Step 4: Additional Confirmation
Use EMA & VWAP for Confluence:
Stronger BUY: When price is above both EMA and VWAP
Stronger SELL: When price is below both EMA and VWAP
Caution: When price is between EMA and VWAP (mixed signals)
Best Practices
✅ DO:
Use on higher timeframes (4H, Daily) for swing trading
Wait for clear signal confirmation
Respect the stoploss levels
Check dashboard for overall market condition
Use on trending markets for best results
❌ DON'T:
Trade during neutral/gray periods
Ignore stoploss levels
Trade against the background color
Use on very short timeframes (1min, 5min) - designed for swing trading
Enter trades when all three variants show mixed signals
Alert Setup
The indicator includes built-in alerts:
"All Bullish": Triggered on BUY signal
"All Bearish": Triggered on SELL signal
"Buy SL Hit": When long stoploss is touched
"Sell SL Hit": When short stoploss is touched
Timeframe Recommendations
Best: Daily, 4-Hour charts
Good: 1-Hour charts
Not Recommended: Below 1-Hour (too many false signals)
Understanding the Dashboard
The dashboard shows a breakdown of the decision-making process:
Variant 1, 2, 3: Individual component analysis
Decision: Final verdict (requires all variants to agree)
Active SL: Current stoploss level for open position
Risk Disclaimer
This indicator is a tool to assist in trading decisions. Always:
Use proper position sizing
Never risk more than 1-2% per trade
Combine with your own analysis
Practice on paper/demo accounts first
Past performance doesn't guarantee future results
Note: This indicator works best in trending markets and may generate fewer signals in ranging/choppy conditions. Patience is key to successful swing trading.
Volume Heatmap + Buy/Sell splitits the most powerful volume based heatmap you can see on this platform. It tells you when the high volume is coming into the market with clear signs.
Sell - You will see the red bar below the split to confirm its a sell and the strength or the sell you can see above the split line in various colors e.g. lite green (low) to Dark red (extra high).
Buy - If there is a Buying trade being registered, it will appear above the spit line in opaque green with the heatmap colors to show the strength of volume.
This tool will help you identify the volume strength and based on that you can plan your trade.
PS, its always recommended to not to rely on a single oscillator and combine few. I would recommend you to use RSI and S/R lines with this for better decision.
Note, this tool has been put together for educational purposes and I do not take any responsibility of your trade.
Supernova IndicatorTim Sykes Supernova Indicator. This indicator will look for spikes in trading looking for a supernova.
Velocity Pressure Index | AlphaNattVelocity Pressure Index (VPI) | AlphaNatt
A sophisticated momentum oscillator that combines price velocity analysis with volume pressure dynamics to identify high-probability trading opportunities.
📊 KEY FEATURES
Dual Analysis System: Merges price velocity measurement with volume pressure analysis for comprehensive market momentum assessment
Dynamic Normalization: Automatically scales values between -100 and +100 for consistent readings across all market conditions
Adaptive Zones: Self-adjusting overbought/oversold levels based on recent price history
Multi-Layer Confirmation: Combines momentum, acceleration, and crossover signals for robust trade identification
Volume-Weighted Pressure: Differentiates between bullish and bearish volume to gauge true market sentiment
📈 HOW IT WORKS
The VPI calculates price velocity using linear regression of price changes, then weights this velocity by the difference between bullish and bearish volume pressure. This creates a momentum reading that accounts for both price movement speed and the volume conviction behind it.
Signal Generation:
Price velocity is measured over the specified period
Volume is separated into bullish (close > open) and bearish (close < open) pressure
Velocity is amplified or dampened based on volume pressure differential
The resulting index is normalized to oscillate between -100 and +100
A signal line smooths the oscillator for crossover detection
🎯 TRADING SIGNALS
Long Signals (Cyan #00F1FF):
Strong Bull: VPI > Signal with positive momentum and acceleration
Crossover Bull: VPI crosses above signal while above oversold zone
Divergence: Price makes lower low while VPI makes higher low
Short Signals (Magenta #FF019A):
Strong Bear: VPI < Signal with negative momentum and deceleration
Crossover Bear: VPI crosses below signal while below overbought zone
Divergence: Price makes higher high while VPI makes lower high
⚙️ CUSTOMIZABLE PARAMETERS
Velocity Settings:
Velocity Period (14): Lookback for price velocity calculation
Pressure Period (21): Volume analysis window
Smoothing Factor (3): Final oscillator smoothing
Signal Configuration:
Signal Type: Choose between SMA, EMA, or DEMA
Signal Length (9): Signal line smoothing period
Normalization Period (50): Range calculation window
Dynamic Zones:
Zone Lookback (100): Period for adaptive overbought/oversold calculation
Percentiles: 80th/20th percentiles for dynamic zones
📐 VISUAL COMPONENTS
Main Oscillator: Color-coded line showing current momentum state
Signal Line: White line for crossover detection
Momentum Histogram: Shows velocity differential at 50% scale
Dynamic Zones: Self-adjusting overbought/oversold bands
Extreme Levels: ±50 dotted lines marking extreme conditions
Background Shading: Subtle highlighting of overbought/oversold regions
💡 USAGE TIPS
Trend Trading: Use strong bull/bear signals in trending markets for continuation entries
Range Trading: Focus on crossovers near extreme zones for reversal trades
Divergence Trading: Watch for price/oscillator divergences at market extremes
Multi-Timeframe: Combine with higher timeframe VPI for directional bias
Volume Confirmation: Stronger signals occur with aligned volume pressure
⚠️ BEST PRACTICES
The VPI works best in liquid markets with reliable volume data. For optimal results, combine with price action analysis and use appropriate risk management. The indicator is most effective during trending conditions but can identify reversals when divergences occur at extremes.
🔔 ALERTS AVAILABLE
VPI Long/Short Signals
Bullish/Bearish Crossovers
Extreme Overbought/Oversold Conditions
Version 6 | Pine Script™ | © AlphaNatt
2-Period RSI Extreme One-Bar CrossIndicates when a 2 period rsi crosses from oversold of 10 or less to 50 and vice versa will indicate when the 2 period rsi crosses from overbought of 90 and above to 50.
IBC Work Sessions + 4HProfessional tool for backtesting trading strategies in the Iron Balls Capital (IBC) style. The indicator visualizes key time zones and sessions, providing clear market structure for analyzing historical data and testing trading approaches.
🕓 Time Markers
- 4-hour vertical lines - mark transitions between 4-hour timeframes
- Customizable appearance - color, style (solid, dashed, dotted) and line thickness
📊 IBC Work Sessions
- Morning session: 4:00 - 8:30 UTC
- Day session: 12:00 - 18:00 UTC
- Clear labels for start and end of each session
- Background highlighting of work periods for quick identification
天干地支标注(当前视窗范围 + 居中标签)🇨🇳 中文说明
天干地支标注(自动匹配周期)
本指标会根据图表的时间周期(年、月、日、小时、分钟)自动计算并在每根 K 线上方显示对应的天干地支。
• 自动识别图表周期(年/月/日/时/分)
• 仅显示当前视窗内的柱子,性能高、不卡顿
• 可自定义每隔 N 根显示一次(默认每根)
• 支持居中矩形标签(label.style_label_center),清晰易读
• 无需区分暗黑/亮色主题,自动兼容所有图表样式
可作为金融时间序列与中国传统历法(干支纪时)结合的参考工具,
在时间周期研究、风水、气运周期、江恩时间分析等领域有辅助价值。
⸻
🇬🇧 English Description (for international visibility)
Heavenly Stems & Earthly Branches Marker (Auto-Adaptive Version)
This indicator automatically calculates and displays the corresponding Chinese Heavenly Stems and Earthly Branches (Ganzhi) for each candlestick, based on the chart’s timeframe (Year, Month, Day, Hour, or Minute).
• Auto-detects chart timeframe
• Draws only within the current visible window (optimized performance)
• Adjustable display interval (e.g., show every N bars)
• Uses centered label style for clarity
• Compatible with both dark and light themes
Useful for combining Chinese calendar cycles with financial time analysis, time-cycle studies, or Gann-style timing models.
Bitcoin ETF Cumulative Net InflowIndicator Description:
This indicator calculates and plots the cumulative net inflow (in billions of USD) for selected Bitcoin ETFs on the main price chart. It uses AUM data from TradingView to estimate daily net flows, adjusted for BTC price changes, and accumulates them over time. The line is overlaid on the price chart (e.g., BTCUSD) with a right scale for better visibility, helping to identify correlations between ETF inflows and Bitcoin price movements.
Key Features:
Supports selection of 10 major Bitcoin ETFs (IBIT, FBTC, ARKB, etc.) via inputs.
Cumulative inflow line (purple, linewidth=2) for trend analysis.
Data sourced from request.financial("AUM", "D") for accuracy.
Smart ATR - Position Sizing for YM Dow JonesSmart ATR includes all basic functionality of ATR + an EMA of ATR. The EMA can give you a baseline or long-term perspective of what ATR normally is. The built-in, automatic sizing tool will display a recommended number of contracts each bar, based upon a multiple of the current ATR. Supports fractional tick values for MYM by clicking the down arrow. Supports fractional ATR values, such as 1.5x. Updates contract sizing on each new bar. This indicator will maintain your RR as volatility increases and decreases. Currently only optimized for YM, will publish other versions if there is an interest.
ICOptimizerLibrary "ICOptimizer"
Library for IC-based parameter optimization
findOptimalParam(testParams, icValues, currentParam, smoothing)
Find optimal parameter from array of IC values
Parameters:
testParams (array) : Array of parameter values being tested
icValues (array) : Array of IC values for each parameter (same size as testParams)
currentParam (float) : Current parameter value (for smoothing)
smoothing (simple float) : Smoothing factor (0-1, e.g., 0.2 means 20% new, 80% old)
Returns: New parameter value, its IC, and array index
adaptiveParamWithStarvation(opt, testParams, icValues, smoothing, starvationThreshold, starvationJumpSize)
Adaptive parameter selection with starvation handling
Parameters:
opt (ICOptimizer) : ICOptimizer object
testParams (array) : Array of parameter values
icValues (array) : Array of IC values for each parameter
smoothing (simple float) : Normal smoothing factor
starvationThreshold (simple int) : Number of updates before triggering starvation mode
starvationJumpSize (simple float) : Jump size when in starvation (as fraction of range)
Returns: Updated parameter and IC
detectAndAdjustDomination(longCount, shortCount, currentLongLevel, currentShortLevel, dominationRatio, jumpSize, minLevel, maxLevel)
Detect signal imbalance and adjust parameters
Parameters:
longCount (int) : Number of long signals in period
shortCount (int) : Number of short signals in period
currentLongLevel (float) : Current long threshold
currentShortLevel (float) : Current short threshold
dominationRatio (simple int) : Ratio threshold (e.g., 4 = 4:1 imbalance)
jumpSize (simple float) : Size of adjustment
minLevel (simple float) : Minimum allowed level
maxLevel (simple float) : Maximum allowed level
Returns:
calcIC(signals, returns, lookback)
Parameters:
signals (float)
returns (float)
lookback (simple int)
classifyIC(currentIC, icWindow, goodPercentile, badPercentile)
Parameters:
currentIC (float)
icWindow (simple int)
goodPercentile (simple int)
badPercentile (simple int)
evaluateSignal(signal, forwardReturn)
Parameters:
signal (float)
forwardReturn (float)
updateOptimizerState(opt, signal, forwardReturn, currentIC, metaICPeriod)
Parameters:
opt (ICOptimizer)
signal (float)
forwardReturn (float)
currentIC (float)
metaICPeriod (simple int)
calcSuccessRate(successful, total)
Parameters:
successful (int)
total (int)
createICStatsTable(opt, paramName, normalSuccess, normalTotal)
Parameters:
opt (ICOptimizer)
paramName (string)
normalSuccess (int)
normalTotal (int)
initOptimizer(initialParam)
Parameters:
initialParam (float)
ICOptimizer
Fields:
currentParam (series float)
currentIC (series float)
metaIC (series float)
totalSignals (series int)
successfulSignals (series int)
goodICSignals (series int)
goodICSuccess (series int)
nonBadICSignals (series int)
nonBadICSuccess (series int)
goodICThreshold (series float)
badICThreshold (series float)
updateCounter (series int)
IC optimiser libLibrary "IC optimiser lib"
Library for IC-based parameter optimization
findOptimalParam(testParams, icValues, currentParam, smoothing)
Find optimal parameter from array of IC values
Parameters:
testParams (array) : Array of parameter values being tested
icValues (array) : Array of IC values for each parameter (same size as testParams)
currentParam (float) : Current parameter value (for smoothing)
smoothing (simple float) : Smoothing factor (0-1, e.g., 0.2 means 20% new, 80% old)
Returns: New parameter value, its IC, and array index
adaptiveParamWithStarvation(opt, testParams, icValues, smoothing, starvationThreshold, starvationJumpSize)
Adaptive parameter selection with starvation handling
Parameters:
opt (ICOptimizer) : ICOptimizer object
testParams (array) : Array of parameter values
icValues (array) : Array of IC values for each parameter
smoothing (simple float) : Normal smoothing factor
starvationThreshold (simple int) : Number of updates before triggering starvation mode
starvationJumpSize (simple float) : Jump size when in starvation (as fraction of range)
Returns: Updated parameter and IC
detectAndAdjustDomination(longCount, shortCount, currentLongLevel, currentShortLevel, dominationRatio, jumpSize, minLevel, maxLevel)
Detect signal imbalance and adjust parameters
Parameters:
longCount (int) : Number of long signals in period
shortCount (int) : Number of short signals in period
currentLongLevel (float) : Current long threshold
currentShortLevel (float) : Current short threshold
dominationRatio (simple int) : Ratio threshold (e.g., 4 = 4:1 imbalance)
jumpSize (simple float) : Size of adjustment
minLevel (simple float) : Minimum allowed level
maxLevel (simple float) : Maximum allowed level
Returns:
calcIC(signals, returns, lookback)
Parameters:
signals (float)
returns (float)
lookback (simple int)
classifyIC(currentIC, icWindow, goodPercentile, badPercentile)
Parameters:
currentIC (float)
icWindow (simple int)
goodPercentile (simple int)
badPercentile (simple int)
evaluateSignal(signal, forwardReturn)
Parameters:
signal (float)
forwardReturn (float)
updateOptimizerState(opt, signal, forwardReturn, currentIC, metaICPeriod)
Parameters:
opt (ICOptimizer)
signal (float)
forwardReturn (float)
currentIC (float)
metaICPeriod (simple int)
calcSuccessRate(successful, total)
Parameters:
successful (int)
total (int)
createICStatsTable(opt, paramName, normalSuccess, normalTotal)
Parameters:
opt (ICOptimizer)
paramName (string)
normalSuccess (int)
normalTotal (int)
initOptimizer(initialParam)
Parameters:
initialParam (float)
ICOptimizer
Fields:
currentParam (series float)
currentIC (series float)
metaIC (series float)
totalSignals (series int)
successfulSignals (series int)
goodICSignals (series int)
goodICSuccess (series int)
nonBadICSignals (series int)
nonBadICSuccess (series int)
goodICThreshold (series float)
badICThreshold (series float)
updateCounter (series int)
Sigma Volatility BandsThis indicator models and displays bands of potential future price based on historic realized volatility.
This can be used for finding price target where there is no past price action.
The price bands are derived from Standard Deviations based on input bars back of historic volatility.
More Inputs:
Lookback = Number of bars considered
Forward Bars = Number of bars to project bands forward
There are two display modes:
Forward shifted envelopes = (see below) Draws bands of price from the Standard Deviation
Forward for Anchor Lines = Draws a wedge out number of bars forward
(Vibe coded. Message me for suggested updates and improvements)






















