Stochastic RSI with CrossesThis is the same Indicator on tradingview I just added a trigger for crosses for clarity. It has alerts and now you can clearly see who the STOCH/ RSI crosses.
Análisis fundamental
(SM3) Volume Profile Tool-kit1st pine script. It is a work in progress. I use this to mark previous day high and low value areas as well as overnight volume profile for NYSE open strategy.
Prev Day ±1% BoundaryThis indicator plots dynamic intraday price bands based on the previous day’s close. It calculates a reference price using yesterday’s daily close and draws:
An upper boundary at +1% above the previous close
A lower boundary at –1% below the previous close
These levels are shown as horizontal lines across all intraday bars, with an optional shaded zone between them.
How to use:
Use the boundaries as intraday reference levels for potential support, resistance, or mean-reversion zones.
When price trades near the upper band, it may indicate short-term extension to the upside relative to the prior close.
When price trades near the lower band, it may indicate short-term extension to the downside.
The shaded region between the lines highlights a ±1% normal fluctuation zone around the previous day’s closing price.
This tool is especially useful for intraday traders on indices like SPX, providing quick visual context for how far price has moved relative to the prior session’s close.
CRUX-3 Macro Regime Index"CRUX-3 Macro Regime Index"
Description:
CRUX-3 Macro Regime Index is a higher-timeframe macro indicator designed to evaluate how crypto markets are performing relative to traditional equities. It compares Bitcoin, Ethereum, and the broader altcoin market (TOTAL3) against the S&P 500 using Z-score normalization to highlight periods of relative outperformance or underperformance.
The indicator incorporates liquidity-based regime detection using Bitcoin dominance and stablecoin dominance to classify market environments as Risk-On, BTC-Led, or Risk-Off. Background shading visually highlights these regimes, helping users identify broader macro conditions rather than short-term trade signals.
CRUX-3 is intended for macro context, regime awareness, and allocation bias decisions, not for precise trade entries or timing.
How to Use:
Weekly timeframe recommended for best results
Rising Z-scores indicate crypto outperforming equities
ETH/SPX typically acts as an early rotation signal
TOTAL3/SPX confirms broader altcoin participation
Regime shading reflects liquidity conditions, not price forecasts
Regime Definitions:
Risk-On: BTC dominance and stablecoin dominance declining
BTC-Led: BTC dominance strong while stablecoin dominance eases
Risk-Off: BTC dominance and stablecoin dominance rising
Notes:
Forward regime bands are statistical reference guides based on historical behavior
This indicator does not predict future prices or market direction
Best used alongside price charts and other macro tools
Disclaimer:
This indicator is for educational and informational purposes only. It does not constitute financial advice, investment advice, or trading recommendations.
Recommended Settings:
Timeframe: Weekly (1W)
Z-Score Lookback: 52
Forward Regime Bands: Enabled
8.2 PRO @Mavrick8.2 PRO @Mavrick is a professional-grade predictive momentum indicator designed for traders who want early, high-confidence entries.
It intelligently combines trend structure, volume behavior, RSI, MACD, and price velocity to anticipate market moves before they fully develop. The indicator features auto-adaptive targets for BTC, ETH, SOL, and altcoins, advanced fake pump/dump detection, and an early momentum warning system to stay ahead of reversals.
A clean smart signal table displays real-time market strength, confidence levels, and actionable BUY/SELL readiness.
Best performance in strong trends and high-volume environments.
KIMATIX Silver Bullet 2.0KIMATIX Silver Bullet 2.0 is a precision-based intraday trading tool built around the most reliable market behaviors during the ICT Silver Bullet windows.
The indicator automatically identifies high-probability price delivery zones by combining time-based session logic, displacement, fair value gaps, and liquidity dynamics — without clutter or subjective interpretation.
What the indicator does
Automatically marks the three core Silver Bullet windows (New York time)
Tracks session highs and lows to define contextual liquidity
Detects displacement moves using adaptive volatility logic
Highlights valid Silver Bullet Fair Value Gaps (FVGs) only when structural conditions are met
Filters weak setups by minimum size, age, and directional confirmation
Projects FVG zones forward to monitor clean retracements
Plots liquidity levels (highs & lows) with optional mitigation handling
All calculations are done fully automatically — no manual drawing, no guessing.
Designed for
Scalper and Intraday traders (especially 1–5 minute charts)
Futures, indices, forex, and crypto
Traders who want clear execution zones, not lagging signals
Anyone using liquidity-based or ICT-style frameworks
Key advantages
No signals, no repainting logic — context first
Strict filtering to reduce noise and over-marking
Clean visual layout focused on price delivery
Works seamlessly alongside higher-timeframe bias and volume tools
This indicator does not tell you when to trade —
it shows you where the market is most likely to react.
Important note
KIMATIX Silver Bullet 2.0 is a context and execution tool, not a standalone strategy.
Best results are achieved when combined with proper risk management and directional bias.
More Infos and Premium Indicators: kimatixtrading.com
KIMATIX FVG/IFVG/BPRProfessional Fair Value Gap & Imbalance Toolkit
The KIMATIX FVG/IFVG/BPR indicator is a precision tool designed to identify institutional inefficiencies in price:
Fair Value Gaps (FVG), Inverse Fair Value Gaps (IFVG) and Balanced Price Ranges (BPR) — clean, minimal and non-repainting.
This indicator is built for scalpers, intraday traders and smart-money traders who want to trade where price is most likely to react, not where indicators lag.
What this indicator shows
Fair Value Gaps (FVG)
Detects bullish and bearish FVGs using strict 3-candle imbalance logic
Highlights areas where price moved too fast, leaving inefficient structure
Ideal for:
Continuation trades
Pullback entries
Reaction zones after impulse moves
Color-coded
🟢 Bullish FVG
🔴 Bearish FVG
Inverse Fair Value Gaps (IFVG)
Automatically detects when an FVG is invalidated
Marks the same zone as an Inverse FVG
Extremely useful for:
Failed structure setups
Reversal trades
Stop-hunt & liquidity traps
Color-coded
🟡 IFVG (invalidation zone)
Balanced Price Range (BPR)
Detects overlapping bullish & bearish FVGs
Highlights price areas where buying and selling pressure are balanced
These zones often act as:
High-probability reaction areas
Compression zones before expansion
Premium intraday decision levels
Color-coded
🔵 BPR (balanced price range)
Smart, Clean & Non-Repainting
Non-repainting
Only the last 3 active zones are shown → no clutter
Boxes extend forward with a manual cap (user-controlled)
Designed for 1m – 15m execution, works on all markets
Futures, Crypto, FX, Indices, Stocks
How professionals use it
Combine FVGs with:
VWAP
Session highs/lows
Volume Profile (POC / VAH / VAL)
Market structure (BOS / displacement)
Use IFVGs to spot failed smart-money narratives
Use BPRs as decision zones, not blind entries
This indicator does not give buy/sell signals.
It shows you where trades make sense — execution is up to you.
Best use cases
Scalping (1m–3m)
Intraday trading (5m–15m)
Smart-money concepts
Liquidity-based trading
News reactions & stop runs
Learn how to trade it properly
This indicator is part of the KIMATIX Trading Framework.
More education, live examples & full system:
kimatixtrading.com
Daily Auto-Fib Zones (Custom Colors)This indicator automatically draws daily Fibonacci-based zones using the current session’s high and low. The levels update dynamically as new price action forms and include optional visual regions for several commonly referenced retracement percentages.
Features include:
• Automatic detection of the daily high and low
• Real-time updates throughout the session
• Optional zones for 0.11–0.17, 0.5, and 0.618–0.786 levels
• Custom color inputs for every line and zone
• Dynamic boxes that expand with the day’s range
• Lightweight visual layout with toggleable components
The tool is intended purely for chart visualization. It does not provide signals or trade recommendations.
Weekly Auto-Fib Zones (Custom Colors) This script automatically plots weekly Fibonacci-based zones using the current week’s high and low. It updates dynamically as new price action forms and provides optional visual regions for key retracement areas.
The indicator includes:
• Weekly high/low anchor lines
• Optional 0.11–0.17 zones
• Optional 0.5 midpoint (premium/discount)
• Optional 0.618–0.786 retracement band
• Customizable colors for each level
• Dynamic boxes that expand as the week progresses
It is designed as a visual aid for identifying weekly ranges, contextual zones, and potential areas of interest based solely on Fibonacci percentages. No signals, alerts, or trading recommendations are included.
Macroeconomic Dashboard by DGTMacroeconomic Dashboard is a script tailored for traders and investors using top-down strategies to navigate global markets. It integrates key macroeconomic indicators, such as monetary policy, inflation, yields, and market sentiment, directly into financial charts.
By visualizing real-time macro data alongside asset price movements, this tool bridges the gap between traditional economic metrics and technical analysis. Whether analyzing crypto or traditional markets, users can better contextualize price action within broader economic cycles and trends.
Designed to support macro-informed decision-making, it helps identify shifts in liquidity, policy direction, and risk appetite, enhancing strategic trade entries and portfolio positioning.
KEY FEATURES
⯌ Macro Dashboard
The script provides a macro dashboard that tracks changes across key economic dimensions: monetary policy, inflation and growth, bond markets, and risk indicators. With built-in anomaly detection and trend analysis across short-, mid-, and long-term timeframes, it helps interpret market moves through a macroeconomic lens, whether analyzing equities, commodities, or digital assets.
⯌ Macro on Chart
By visualizing macro data such as M2 money supply, CPI, treasury yields, and volatility indices, users can more easily correlate economic developments with price action, enhancing situational awareness and decision-making.
MACRO METRICS
The script covers five core macroeconomic domains, each with key metrics:
Liquidity & Monetary Policy
Global M2 Money Supply
Federal Funds Rate
Reverse Repo Operations
Inflation & Economic Growth
Consumer Price Index (CPI)
Producer Price Index (PPI)
Real GDP Growth
Yields & Bond Markets
10-Year Treasury Yield
2-Year Treasury Yield
Yield Curve (10Y–2Y Spread)
Global Risk & Currency Indicators
U.S. Dollar Index (DXY)
Volatility Index (VIX)
Economic Policy Uncertainty Index
Equities, Commodities & Crypto
S&P 500 (SPX)
Nasdaq 100 (NDX)
Gold (XAU/USD)
Crude Oil (WTI)
Bitcoin (BTCUSD)
DISCLAIMER
This script is intended for informational and educational purposes only. It does not constitute financial, investment, or trading advice. All trading decisions made based on its output are solely the responsibility of the user.
Script de pago
(SM3) Volume Profile Tool-kitCore Concept
This indicator is a right-aligned fixed-range Volume Profile + SMT-style tools:
Volume Profile
Shows volume distribution over a fixed lookback window
Bars are colored by volume delta:
Teal = buyers (bullish volume ≥ bearish volume)
Fuchsia = sellers (bearish volume > bullish volume)
POC: highest volume price level
Value Area: price region containing X% of total volume (default 68%)
Liquidity Sweeps
Marks Buy-side Liquidity Sweeps (BSL) and Sell-side Liquidity Sweeps (SSL) based on pivot highs/lows
PDH/PDL Liquidity Boxes
Previous Day High (PDH) zone = red box
Previous Day Low (PDL) zone = green box
Based on the prior full calendar day’s high/low
Boxes extend across the current day only, adjusting bar by barCore Concept
This indicator is a right-aligned fixed-range Volume Profile + SMT-style tools:
Volume Profile
Shows volume distribution over a fixed lookback window
Bars are colored by volume delta:
Teal = buyers (bullish volume ≥ bearish volume)
Fuchsia = sellers (bearish volume > bullish volume)
POC: highest volume price level
Value Area: price region containing X% of total volume (default 68%)
Liquidity Sweeps
Marks Buy-side Liquidity Sweeps (BSL) and Sell-side Liquidity Sweeps (SSL) based on pivot highs/lows
PDH/PDL Liquidity Boxes
Previous Day High (PDH) zone = red box
Previous Day Low (PDL) zone = green box
Based on the prior full calendar day’s high/low
Boxes extend across the current day only, adjusting bar by barCore Concept
This indicator is a right-aligned fixed-range Volume Profile + SMT-style tools:
Volume Profile
Shows volume distribution over a fixed lookback window
Bars are colored by volume delta:
Teal = buyers (bullish volume ≥ bearish volume)
Fuchsia = sellers (bearish volume > bullish volume)
POC: highest volume price level
Value Area: price region containing X% of total volume (default 68%)
Liquidity Sweeps
Marks Buy-side Liquidity Sweeps (BSL) and Sell-side Liquidity Sweeps (SSL) based on pivot highs/lows
PDH/PDL Liquidity Boxes
Previous Day High (PDH) zone = red box
Previous Day Low (PDL) zone = green box
Based on the prior full calendar day’s high/low
Boxes extend across the current day only, adjusting bar by bar
BIG Professional Relative Rotation GraphPROFESSIONAL RELATIVE ROTATION GRAPH (RRG)
SUMMARY
The Professional Relative Rotation Graph (RRG) is a powerful charting tool that visualizes the **relative strength** and **momentum** of multiple assets (currencies, commodities, or sectors) compared to a benchmark on a single quadrant chart. This overlay is discreetly displayed in the top-left corner of your chart, enabling a fast, visual assessment of market and sector trends.
---
HOW THE RRG WORKS
The RRG uses two key metrics:
1. Relative Strength (RS-Ratio): Measures an asset's long-term performance relative to the benchmark (X-Axis). Values above 100 indicate outperformance.
2. Relative Momentum (RS-Momentum): Measures the short-term rate of change in relative strength (Y-Axis). Values above 100 indicate rising momentum.
THE FOUR QUADRANTS
The asset's position shows its current market phase.
* LEADING: Outperforming in strength and rising momentum (Bullish).
* WEAKENING: Outperforming in strength, but falling momentum (Caution).
* LAGGING: Underperforming in strength and falling momentum (Bearish).
* IMPROVING: Underperforming in strength, but rising momentum (Recovery).
AREAS OF APPLICATION
Select the desired RRG Type via the inputs:
* Forex RRG: Compares currencies relative to the DXY.
* Commodity RRG: Compares commodities relative to the DJP.
* Equity Sectors RRG: Compares US sectors relative to the SPY.
---
USAGE NOTES (MAX 8 LINES)
The RRG tracks rotation of assets through the quadrants.
1. Ideal Entry: Look for the rotation: Lagging → Improving → Leading.
2. Ideal Exit/Short: Look for the rotation: Leading → Weakening → Lagging.
3. Positions are always relative to the benchmark (DXY, SPY, or DJP).
4. The RRG Type input switches between asset groups.
5. Use Zoom Factor to better distinguish closely clustered assets.
6. Trail Points confirm the current direction of the asset's movement.
Punji's Dynamic Monthly EMA/SMA 5,9,21,50Punji's Dynamic Monthly EMA/SMA 5,9,21,50
Overview:
This indicator displays monthly timeframe moving averages as horizontal dotted lines extending to the right of your chart, regardless of what timeframe you're currently viewing. It includes four key monthly moving averages: EMA 5, EMA 9, EMA 21, and SMA 50.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Key Features:
Clean Chart Design
Unlike traditional moving average lines that clutter your chart with curves across all candles, this indicator uses horizontal dotted lines that extend only from the current price level to the right edge of your screen. The dotted line style creates clear visual breaks while maintaining readability.
Multi-Timeframe Analysis
View monthly moving averages on any timeframe (1min, 5min, 15min, 1hr, 4hr, daily, weekly, etc.) without switching charts. Perfect for traders who want to see the highest timeframe context while trading any lower timeframe.
Fully Customizable
Toggle each moving average on/off independently
Adjust the period length for each MA (default: 5, 9, 21, 50)
Customize colors for each line (default gradient: green → teal → yellow → red)
Master toggle to show/hide all monthly lines at once
All lines use dotted style for clear visual distinction
Professional Color Scheme
EMA 5: Bright Green (#4CAF50)
EMA 9: Teal (#009688)
EMA 21: Yellow (#FFEB3B)
SMA 50: Light Red (#FF6B6B)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Benefits of Horizontal Dotted Lines:
Reduced Visual Noise
Horizontal lines keep your price action clean and easy to read while still providing critical monthly support/resistance levels. The dotted style adds visual distinction without being overwhelming.
Focus on Current Monthly Levels
What matters most is where the monthly MAs are NOW relative to price - horizontal lines highlight this instantly without requiring you to trace curved lines backward through history.
Better Price Action Visibility
See candlestick patterns, volume profiles, and support/resistance levels clearly without MA lines crossing through them. Your chart remains uncluttered and analysis-ready.
Quick Reference for Monthly Context
Instantly identify if price is above or below key monthly moving averages without following curved lines across the chart. Perfect for all traders who need to respect monthly structure and major trend direction.
Professional Appearance
Clean, minimalist design with dotted lines preferred by institutional traders and technical analysts who value both aesthetics and functionality.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Use Cases:
Position Traders & Investors
Monitor monthly moving averages for major trend direction and long-term support/resistance zones. Monthly levels are among the most significant in technical analysis.
Swing Traders
Track monthly moving averages as major dynamic support/resistance levels for position sizing and risk management. Monthly levels often represent the strongest market structure.
Multi-Timeframe Analysis
Combine with daily and weekly charts to see complete timeframe confluence. Monthly levels provide the macro trend context for all trading decisions.
Trend Identification
Quickly identify monthly trend direction and major reversal zones. When price is above all monthly MAs, the macro trend is bullish; below all MAs indicates bearish monthly structure.
Risk Management
Use monthly moving averages as ultimate stop-loss zones for long-term positions. Breaking monthly MAs often signals significant trend changes.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Technical Specifications:
Pine Script v5
Timeframe: Monthly (M)
Moving Averages: EMA 5, EMA 9, EMA 21, SMA 50
Line Style: Dotted (all lines)
Line Width: 2
Overlay: True (displays on main chart)
Resource Usage: Minimal (4 security calls)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Best Practices:
Combine with PUNJI Dynamic Daily & Weekly EMA/SMA Indicators
For the ultimate multi-timeframe analysis, use this monthly indicator alongside "Punjis Dynamic Daily EMA/SMA 5,9,21,50,100,200 Levels" (solid lines) and "Punji's Dynamic Weekly EMA/SMA 5,9,21,50" (dashed lines). The three PUNJI indicators together provide complete insight into daily, weekly, and monthly market structure without cluttering your chart. Daily = Solid lines, Weekly = Dashed lines, Monthly = Dotted lines. This combination gives you a complete view of all major timeframe levels simultaneously.
Respect Monthly Structure
Monthly moving averages carry the most significant weight in technical analysis. Use them as major support/resistance zones and ultimate trend filters for all your trading decisions.
Customize to Your Strategy
Adjust the lengths and colors to match your personal trading methodology. Some traders prefer different EMA/SMA periods based on their market and investment timeframe.
Keep Charts Clean
Toggle off lines you're not actively using to maintain maximum chart clarity. The master toggle allows quick show/hide of all monthly levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is perfect for traders and investors who want to maintain awareness of monthly market structure and major trend direction while keeping their charts clean, professional, and easy to read.
Punji's Dynamic Weekly EMA/SMA 5,9,21,50Punji's Dynamic Weekly EMA/SMA 5,9,21,50
Overview:
This indicator displays weekly timeframe moving averages as horizontal dashed lines extending to the right of your chart, regardless of what timeframe you're currently viewing. It includes four key weekly moving averages: EMA 5, EMA 9, EMA 21, and SMA 50.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Key Features:
Clean Chart Design
Unlike traditional moving average lines that clutter your chart with curves across all candles, this indicator uses horizontal dashed lines that extend only from the current price level to the right edge of your screen. The dashed line style creates clear visual breaks while maintaining readability.
Multi-Timeframe Analysis
View weekly moving averages on any intraday timeframe (1min, 5min, 15min, 1hr, 4hr, daily, etc.) without switching charts. Perfect for traders who want to see higher timeframe context while trading shorter timeframes.
Fully Customizable
Toggle each moving average on/off independently
Adjust the period length for each MA (default: 5, 9, 21, 50)
Customize colors for each line (default gradient: green → teal → yellow → red)
Master toggle to show/hide all weekly lines at once
All lines use dashed style for clear visual distinction
Professional Color Scheme
EMA 5: Bright Green (#4CAF50)
EMA 9: Teal (#009688)
EMA 21: Yellow (#FFEB3B)
SMA 50: Light Red (#FF6B6B)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Benefits of Horizontal Dashed Lines:
Reduced Visual Noise
Horizontal lines keep your price action clean and easy to read while still providing critical weekly support/resistance levels. The dashed style adds visual interest without being overwhelming.
Focus on Current Weekly Levels
What matters most is where the weekly MAs are NOW relative to price - horizontal lines highlight this instantly without requiring you to trace curved lines backward through history.
Better Price Action Visibility
See candlestick patterns, volume profiles, and support/resistance levels clearly without MA lines crossing through them. Your chart remains uncluttered and analysis-ready.
Quick Reference for Weekly Context
Instantly identify if price is above or below key weekly moving averages without following curved lines across the chart. Perfect for intraday traders who need to respect weekly structure.
Professional Appearance
Clean, minimalist design with dashed lines preferred by institutional traders and technical analysts who value both aesthetics and functionality.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Use Cases:
Day Traders
Monitor higher timeframe weekly levels on intraday charts (5min, 15min, 1hr) to stay aware of major support/resistance zones and trend direction from the weekly perspective.
Swing Traders
Track weekly moving averages as dynamic support/resistance levels for position entries and exits. Weekly levels often act as strong magnets for price action.
Multi-Timeframe Analysis
Combine with daily or 4-hour charts to see multiple timeframe confluence without cluttering your workspace with overlapping curved lines.
Trend Identification
Quickly identify weekly trend direction and potential reversal zones. When price is above all weekly MAs, the weekly trend is bullish; below all MAs indicates bearish weekly structure.
Clean Workspace Trading
Ideal for price action traders who need clean charts for pattern recognition, order flow analysis, and technical setups without visual interference from traditional moving averages.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Technical Specifications:
Pine Script v5
Timeframe: Weekly (W)
Moving Averages: EMA 5, EMA 9, EMA 21, SMA 50
Line Style: Dashed (all lines)
Line Width: 2
Overlay: True (displays on main chart)
Resource Usage: Minimal (4 security calls)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Best Practices:
Combine with PUNJI Dynamic Daily & Monthly EMA/SMA Indicators
Use this alongside "Punjis Dynamic Daily EMA/SMA 5,9,21,50,100,200 Levels" (solid lines) and "Punji's Dynamic Monthly EMA/SMA 5,9,21,50" (dotted lines) for complete multi-timeframe analysis. The three indicators together provide comprehensive insight into daily, weekly, and monthly market structure without cluttering your chart. Daily = Solid lines, Weekly = Dashed lines, Monthly = Dotted lines.
Respect Weekly Structure
Weekly moving averages carry significant weight in the market. Use them as major support/resistance zones and trend filters for your trading decisions.
Customize to Your Strategy
Adjust the lengths and colors to match your personal trading methodology. Some traders prefer different EMA/SMA periods based on their market and timeframe.
Keep Charts Clean
Toggle off lines you're not actively using to maintain maximum chart clarity. The master toggle allows quick show/hide of all weekly levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is perfect for traders who want to maintain awareness of weekly market structure while keeping their charts clean, professional, and easy to read.
Punji's Dynamic Weekly EMA/SMA 5,9,21,50Punji's Dynamic Weekly EMA/SMA 5,9,21,50
Overview:
This indicator displays weekly timeframe moving averages as horizontal dashed lines extending to the right of your chart, regardless of what timeframe you're currently viewing. It includes four key weekly moving averages: EMA 5, EMA 9, EMA 21, and SMA 50.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Key Features:
Clean Chart Design
Unlike traditional moving average lines that clutter your chart with curves across all candles, this indicator uses horizontal dashed lines that extend only from the current price level to the right edge of your screen. The dashed line style creates clear visual breaks while maintaining readability.
Multi-Timeframe Analysis
View weekly moving averages on any intraday timeframe (1min, 5min, 15min, 1hr, 4hr, daily, etc.) without switching charts. Perfect for traders who want to see higher timeframe context while trading shorter timeframes.
Fully Customizable
Toggle each moving average on/off independently
Adjust the period length for each MA (default: 5, 9, 21, 50)
Customize colors for each line (default gradient: green → teal → yellow → red)
Master toggle to show/hide all weekly lines at once
All lines use dashed style for clear visual distinction
Professional Color Scheme
EMA 5: Bright Green (#4CAF50)
EMA 9: Teal (#009688)
EMA 21: Yellow (#FFEB3B)
SMA 50: Light Red (#FF6B6B)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Benefits of Horizontal Dashed Lines:
Reduced Visual Noise
Horizontal lines keep your price action clean and easy to read while still providing critical weekly support/resistance levels. The dashed style adds visual interest without being overwhelming.
Focus on Current Weekly Levels
What matters most is where the weekly MAs are NOW relative to price - horizontal lines highlight this instantly without requiring you to trace curved lines backward through history.
Better Price Action Visibility
See candlestick patterns, volume profiles, and support/resistance levels clearly without MA lines crossing through them. Your chart remains uncluttered and analysis-ready.
Quick Reference for Weekly Context
Instantly identify if price is above or below key weekly moving averages without following curved lines across the chart. Perfect for intraday traders who need to respect weekly structure.
Professional Appearance
Clean, minimalist design with dashed lines preferred by institutional traders and technical analysts who value both aesthetics and functionality.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Use Cases:
Day Traders
Monitor higher timeframe weekly levels on intraday charts (5min, 15min, 1hr) to stay aware of major support/resistance zones and trend direction from the weekly perspective.
Swing Traders
Track weekly moving averages as dynamic support/resistance levels for position entries and exits. Weekly levels often act as strong magnets for price action.
Multi-Timeframe Analysis
Combine with daily or 4-hour charts to see multiple timeframe confluence without cluttering your workspace with overlapping curved lines.
Trend Identification
Quickly identify weekly trend direction and potential reversal zones. When price is above all weekly MAs, the weekly trend is bullish; below all MAs indicates bearish weekly structure.
Clean Workspace Trading
Ideal for price action traders who need clean charts for pattern recognition, order flow analysis, and technical setups without visual interference from traditional moving averages.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Technical Specifications:
Pine Script v5
Timeframe: Weekly (W)
Moving Averages: EMA 5, EMA 9, EMA 21, SMA 50
Line Style: Dashed (all lines)
Line Width: 2
Overlay: True (displays on main chart)
Resource Usage: Minimal (4 security calls)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Best Practices:
Combine with PUNJI Dynamic Daily & Monthly EMA/SMA Indicators
Use this alongside "Punjis Dynamic Daily EMA/SMA 5,9,21,50,100,200 Levels" (solid lines) and "Punji's Dynamic Monthly EMA/SMA 5,9,21,50" (dotted lines) for complete multi-timeframe analysis. The three indicators together provide comprehensive insight into daily, weekly, and monthly market structure without cluttering your chart. Daily = Solid lines, Weekly = Dashed lines, Monthly = Dotted lines.
Respect Weekly Structure
Weekly moving averages carry significant weight in the market. Use them as major support/resistance zones and trend filters for your trading decisions.
Customize to Your Strategy
Adjust the lengths and colors to match your personal trading methodology. Some traders prefer different EMA/SMA periods based on their market and timeframe.
Keep Charts Clean
Toggle off lines you're not actively using to maintain maximum chart clarity. The master toggle allows quick show/hide of all weekly levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is perfect for traders who want to maintain awareness of weekly market structure while keeping their charts clean, professional, and easy to read.
Punji's Dynamic Weekly EMA/SMA 5,9,21,50Punji's Dynamic Weekly EMA/SMA 5,9,21,50
Overview:
This indicator displays weekly timeframe moving averages as horizontal dashed lines extending to the right of your chart, regardless of what timeframe you're currently viewing. It includes four key weekly moving averages: EMA 5, EMA 9, EMA 21, and SMA 50.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Key Features:
Clean Chart Design
Unlike traditional moving average lines that clutter your chart with curves across all candles, this indicator uses horizontal dashed lines that extend only from the current price level to the right edge of your screen. The dashed line style creates clear visual breaks while maintaining readability.
Multi-Timeframe Analysis
View weekly moving averages on any intraday timeframe (1min, 5min, 15min, 1hr, 4hr, daily, etc.) without switching charts. Perfect for traders who want to see higher timeframe context while trading shorter timeframes.
Fully Customizable
Toggle each moving average on/off independently Adjust the period length for each MA (default: 5, 9, 21, 50) Customize colors for each line (default gradient: green → teal → yellow → red) Master toggle to show/hide all weekly lines at once All lines use dashed style for clear visual distinction
Professional Color Scheme
EMA 5: Bright Green (#4CAF50) EMA 9: Teal (
#009688) EMA 21: Yellow (#FFEB3B) SMA 50: Light Red (
#FF6B6B)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Benefits of Horizontal Dashed Lines:
Reduced Visual Noise
Horizontal lines keep your price action clean and easy to read while still providing critical weekly support/resistance levels. The dashed style adds visual interest without being overwhelming.
Focus on Current Weekly Levels
What matters most is where the weekly MAs are NOW relative to price - horizontal lines highlight this instantly without requiring you to trace curved lines backward through history.
Better Price Action Visibility
See candlestick patterns, volume profiles, and support/resistance levels clearly without MA lines crossing through them. Your chart remains uncluttered and analysis-ready.
Quick Reference for Weekly Context
Instantly identify if price is above or below key weekly moving averages without following curved lines across the chart. Perfect for intraday traders who need to respect weekly structure.
Professional Appearance
Clean, minimalist design with dashed lines preferred by institutional traders and technical analysts who value both aesthetics and functionality.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Use Cases:
Day Traders
Monitor higher timeframe weekly levels on intraday charts (5min, 15min, 1hr) to stay aware of major support/resistance zones and trend direction from the weekly perspective.
Swing Traders
Track weekly moving averages as dynamic support/resistance levels for position entries and exits. Weekly levels often act as strong magnets for price action.
Multi-Timeframe Analysis
Combine with daily or 4-hour charts to see multiple timeframe confluence without cluttering your workspace with overlapping curved lines.
Trend Identification
Quickly identify weekly trend direction and potential reversal zones. When price is above all weekly MAs, the weekly trend is bullish; below all MAs indicates bearish weekly structure.
Clean Workspace Trading
Ideal for price action traders who need clean charts for pattern recognition, order flow analysis, and technical setups without visual interference from traditional moving averages.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Technical Specifications:
Pine Script v5 Timeframe: Weekly (W) Moving Averages: EMA 5, EMA 9, EMA 21, SMA 50 Line Style: Dashed (all lines) Line Width: 2 Overlay: True (displays on main chart) Resource Usage: Minimal (4 security calls)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Best Practices:
Combine with PUNJI Dynamic Daily EMA/SMA Indicator
Use this alongside "Punjis Dynamic Daily EMA/SMA 5,9,21,50,100,200 Levels" for complete multi-timeframe analysis. The daily indicator uses solid lines while this weekly indicator uses dashed lines for easy visual distinction. Together, they provide comprehensive insight into both daily and weekly market structure without cluttering your chart.
Respect Weekly Structure
Weekly moving averages carry significant weight in the market. Use them as major support/resistance zones and trend filters for your trading decisions.
Customize to Your Strategy
Adjust the lengths and colors to match your personal trading methodology. Some traders prefer different EMA/SMA periods based on their market and timeframe.
Keep Charts Clean
Toggle off lines you're not actively using to maintain maximum chart clarity. The master toggle allows quick show/hide of all weekly levels.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
This indicator is perfect for traders who want to maintain awareness of weekly market structure while keeping their charts clean, professional, and easy to read.
Punjis Dynamic Daily EMA/SMA 5,9,21,50,100 LevelsPunjis Dynamic Daily EMA/SMA 5,9,21,50,100 Levels
Overview:
This indicator displays daily timeframe moving averages as horizontal lines extending to the right of your chart, regardless of what timeframe you're currently viewing. It includes six key moving averages: EMA 5, EMA 9, EMA 21, SMA 50, SMA 100, and SMA 200.
Key Features:
Clean Chart Design: Unlike traditional moving average lines that clutter your chart with curves across all candles, this indicator uses horizontal lines that extend only from the current price level to the right edge of your screen
Multi-Timeframe Analysis: View daily moving averages on any intraday timeframe (1min, 5min, 15min, etc.) without switching charts
Fully Customizable:
Toggle each moving average on/off independently
Adjust the period length for each MA
Customize colors for each line
Master toggle to show/hide all lines at once
Reduced Visual Noise: Horizontal lines keep your price action clean and easy to read while still providing critical support/resistance levels
Professional Layout: Perfect for traders who need to monitor multiple key levels without obscuring candlestick patterns and chart analysis
Benefits of Horizontal Lines:
Cleaner Charts: Traditional MAs draw lines through every candle, creating visual clutter. Horizontal lines only show current values, keeping your chart clean
Focus on Current Levels: What matters most is where the MAs are NOW relative to price - horizontal lines highlight this instantly
Better Price Action Visibility: See candlestick patterns, volume, and support/resistance levels clearly without MA lines crossing through them
Quick Reference: Instantly identify if price is above or below key moving averages without following curved lines across the chart
Professional Appearance: Clean, minimalist design preferred by institutional traders and technical analysts
Use Cases:
Day traders monitoring higher timeframe levels on intraday charts
Swing traders tracking daily moving averages as dynamic support/resistance
Multi-timeframe analysis without chart switching
Identifying trend direction and potential reversal zones
Clean workspace for pattern recognition and price action trading
Open Interest Z-Score [BackQuant]Open Interest Z-Score
A standardized pressure gauge for futures positioning that turns multi venue open interest into a Z score, so you can see how extreme current positioning is relative to its own history and where leverage is stretched, decompressing, or quietly re loading.
What this is
This indicator builds a single synthetic open interest series by aggregating futures OI across major derivatives venues, then standardises that aggregated OI into a rolling Z score. Instead of looking at raw OI or a simple change, you get a normalized signal that says "how many standard deviations away from normal is positioning right now", with optional smoothing, reference bands, and divergence detection against price.
You can render the Z score in several plotting modes:
Line for a clean, classic oscillator.
Colored line that encodes both sign and momentum of OI Z.
Oscillator histogram that makes impulses and compressions obvious.
The script also includes:
Aggregated open interest across Binance, Bybit, OKX, Bitget, Kraken, HTX, and Deribit, using multiple contract suffixes where applicable.
Choice of OI units, either coin based or converted to USD notional.
Standard deviation reference lines and adaptive extreme bands.
A flexible smoothing layer with multiple moving average types.
Automatic detection of regular and hidden divergences between price and OI Z.
Alerts for zero line and ±2 sigma crosses.
Aggregated open interest source
At the core is the same multi venue OI aggregation engine as in the OI RSI tool, adapted from NoveltyTrade's work and extended for this use case. The indicator:
Anchors on the current chart symbol and its base currency.
Loops over a set of exchanges, gated by user toggles:
Binance.
Bybit.
OKX.
Bitget.
Kraken.
HTX.
Deribit.
For each exchange, loops over several contract suffixes such as USDT.P, USD.P, USDC.P, USD.PM to cover the common perp and margin styles.
Requests OI candles for each exchange plus suffix pair into a small custom OI type that carries open, high, low and close of open interest.
Converts each OI stream into a common unit via the sw method:
In COIN mode, OI is normalized relative to the coin.
In USD mode, OI is scaled by price to approximate notional.
Exchange specific scaling factors are applied where needed to match contract multipliers.
Accumulates all valid OI candles into a single combined OI "candle" by summing open, high, low and close across venues.
The result is oiClose , a synthetic close for aggregated OI that represents cross venue positioning. If there is no valid OI data for the symbol after this process, the script throws a clear runtime error so you know the market is unsupported rather than quietly plotting nonsense.
How the Z score is computed
Once the aggregated OI close is available, the indicator computes a rolling Z score over a configurable lookback:
Define subject as the aggregated OI close.
Compute a rolling mean of this subject with EMA over Z Score Lookback Period .
Compute a rolling standard deviation over the same length.
Subtract the mean from the current OI and divide by the standard deviation.
This gives a raw Z score:
oi_z_raw = (subject − mean) ÷ stdDev .
Instead of plotting this raw value directly, the script passes it through a smoothing layer:
You pick a Smoothing Type and Smoothing Period .
Choices include SMA, HMA, EMA, WMA, DEMA, RMA, linear regression, ALMA, TEMA, and T3.
The helper ma function applies the chosen smoother to the raw Z score.
The result is oi_z , a smoothed Z score of aggregated open interest. A separate EMA with EMA Period is then applied on oi_z to create a signal line ma that can be used for crossovers and trend reads.
Plotting modes
The Plotting Type input controls how this Z score is rendered:
1) Line
In line mode:
The smoothed OI Z score is plotted as a single line using Base Line Color .
The EMA overlay is optionally plotted if Show EMA is enabled.
This is the cleanest view when you want to treat OI Z like a standard oscillator, watching for zero line crosses, swings, and divergences.
2) Colored Line
Colored line mode adds conditional color logic to the Z score:
If the Z score is above zero and rising, it is bright green, representing positive and strengthening positioning pressure.
If the Z score is above zero and falling, it shifts to a cooler cyan, representing positive but weakening pressure.
If the Z score is below zero and falling, it is bright red, representing negative and strengthening pressure (growing net de risking or shorting).
If the Z score is below zero and rising, it is dark red, representing negative but recovering pressure.
This mapping makes it easy to see not only whether OI is above or below its historical mean, but also whether that deviation is intensifying or fading.
3) Oscillator
Oscillator mode turns the Z score into a histogram:
The smoothed Z score is plotted as vertical columns around zero.
Column colors use the same conditional palette as colored line mode, based on sign and change direction.
The histogram base is zero, so bars extend up into positive Z and down into negative Z.
Oscillator mode is useful when you care about impulses in positioning, for example sharp jumps into positive Z that coincide with fast builds in leverage, or deep spikes into negative Z that show aggressive flushes.
4) None
If you only want reference lines, extreme bands, divergences, or alerts without the base oscillator, you can set plotting to None and keep the rest of the tooling active.
The EMA overlay respects plotting mode and only appears when a visible Z score line or histogram is present.
Reference lines and standard deviation levels
The Select Reference Lines input offers two styles:
Standard Deviation Levels
Plots small markers at zero.
Draws thin horizontal lines at +1, +2, −1 and −2 Z.
Acts like a classic Z score ladder, zero as mean, ±1 as normal band, ±2 as outer band.
This mode is ideal if you want a textbook statistical framing, using ±1 and ±2 sigma as standard levels for "normal" versus "extended" positioning.
Extreme Bands
Extreme bands build on the same ±1 and ±2 lines, then add:
Upper outer band between +3 and +4 Z.
Lower outer band between −3 and −4 Z.
Dynamic fill colors inside these bands:
If the Z score is positive, the upper band fill turns red with an alpha that scales with the magnitude of |Z|, capped at a chosen max strength. Stronger deviations towards +4 produce more opaque red fills.
If the Z score is negative, the lower band fill turns green with the same adaptive alpha logic, highlighting deep negative deviations.
Opposite side bands remain a faint neutral white when not in use, so they still provide structural context without shouting.
This creates a visual "danger zone" for position crowding. When the Z score enters these outer bands, open interest is many standard deviations away from its mean and you are dealing with rare but highly loaded positioning states.
Z score as a positioning pressure gauge
Because this is a Z score of aggregated open interest, it measures how unusual current positioning is relative to its own recent history, not just whether OI is rising or falling:
Z near zero means total OI is roughly in line with normal conditions for your lookback window.
Positive Z means OI is above its recent mean. The further above zero, the more "crowded" or extended positioning is.
Negative Z means OI is below its recent mean. Deep negatives often mark post flush environments where leverage has been cleared and the market is under positioned.
The smoothing options help control how much noise you want in the signal:
Short Z score lookback and short smoothing will react quickly, suited for short term traders watching intraday positioning shocks.
Longer Z score lookback with smoother MA types (EMA, RMA, T3) give a slower, more structural view of where the crowd sits over days to weeks.
Divergences between price and OI Z
The indicator includes automatic divergence detection on the Z score versus price, using pivot highs and lows:
You configure Pivot Lookback Left and Pivot Lookback Right to control swing sensitivity.
Pivots are detected on the OI Z series.
For each eligible pivot, the script compares OI Z and price at the last two pivots.
It looks for four patterns:
Regular Bullish – price makes a lower low, OI Z makes a higher low. This can indicate selling exhaustion in positioning even as price washes out. These are marked with a line and a label "ℝ" below the oscillator, in the bullish color.
Hidden Bullish – price makes a higher low, OI Z makes a lower low. This suggests continuation potential where price holds up while positioning resets. Marked with "ℍ" in the bullish color.
Regular Bearish – price makes a higher high, OI Z makes a lower high. This is a classic warning sign of trend exhaustion, where price pushes higher while OI Z fails to confirm. Marked with "ℝ" in the bearish color.
Hidden Bearish – price makes a lower high, OI Z makes a higher high. This is often seen in pullbacks within downtrends, where price retraces but positioning stretches again in the direction of the prevailing move. Marked with "ℍ" in the bearish color.
Each divergence type can be toggled globally via Show Detected Divergences . Internally, the script restricts how far back it will connect pivots, so you do not get stray signals linking very old structures to current bars.
Trading applications
Crowding and squeeze risk
Z scores are a natural way to talk about crowding:
High positive Z in aggregated OI means the market is running high leverage compared to its own norm. If price is also extended, the risk of a squeeze or sharp unwind rises.
Deep negative Z means leverage has been cleaned out. While it can be painful to sit through, this environment often sets up cleaner new trends, since there is less one sided positioning to unwind.
The extreme bands at ±3 to ±4 highlight the rare states where crowding is most intense. You can treat these events as regime markers rather than day to day noise.
Trend confirmation and fade selection
Combine Z score with price and trend:
Bull trends with positive and rising Z are supported by fresh leverage, usually more persistent.
Bull trends with flat or falling Z while price keeps grinding up can be more fragile. Divergences and extreme bands can help identify which edges you do not want to fade and which you might.
In downtrends, deep negative Z that stays pinned can mean persistent de risking. Once the Z score starts to mean revert back toward zero, it can mark the early stages of stabilization.
Event and liquidation context
Around major events, you often see:
Rapid spikes in Z as traders rush to position.
Reversal and overshoot as liquidations and forced de risking clear the book.
A move from positive extremes through zero into negative extremes as the market transitions from crowded to under exposed.
The Z score makes that path obvious, especially in oscillator mode, where you see a block of high positive bars before the crash, then a slab of deep negative bars after the flush.
Settings overview
Z Score group
Plotting Type – None, Line, Colored Line, Oscillator.
Z Score Lookback Period – window used for mean and standard deviation on aggregated OI.
Smoothing Type – SMA, HMA, EMA, WMA, DEMA, RMA, linear regression, ALMA, TEMA or T3.
Smoothing Period – length for the selected moving average on the raw Z score.
Moving Average group
Show EMA – toggle EMA overlay on Z score.
EMA Period – EMA length for the signal line.
EMA Color – color of the EMA line.
Thresholds and Reference Lines group
Select Reference Lines – None, Standard Deviation Levels, Extreme Bands.
Standard deviation lines at 0, ±1, ±2 appear in both modes.
Extreme bands add filled zones at ±3 to ±4 with adaptive opacity tied to |Z|.
Extra Plotting and UI
Base Line Color – default color for the simple line mode.
Line Width – thickness of the oscillator line.
Positive Color – positive or bullish condition color.
Negative Color – negative or bearish condition color.
Divergences group
Show Detected Divergences – master toggle for divergence plotting.
Pivot Lookback Left and Pivot Lookback Right – how many bars left and right to define a pivot, controlling divergence sensitivity.
Open Interest Source group
OI Units – COIN or USD.
Exchange toggles for Binance, Bybit, OKX, Bitget, Kraken, HTX, Deribit.
Internally, all enabled exchanges and contract suffixes are aggregated into one synthetic OI series.
Alerts included
The indicator defines alert conditions for several key events:
OI Z Score Positive – Z crosses above zero, aggregated OI moves from below mean to above mean.
OI Z Score Negative – Z crosses below zero, aggregated OI moves from above mean to below mean.
OI Z Score Enters +2σ – Z enters the +2 band and above, marking extended positive positioning.
OI Z Score Enters −2σ – Z enters the −2 band and below, marking extended negative positioning.
Tie these into your strategy to be notified when leverage moves from normal to extended states.
Notes
This indicator does not rely on price based oscillators. It is a statistical lens on cross venue open interest, which makes it a complementary tool rather than a replacement for your existing price or volume signals. Use it to:
Quantify how unusual current futures positioning is compared to recent history.
Identify crowded leverage phases that can fuel squeezes.
Spot structural divergences between price and positioning.
Frame risk and opportunity around events and regime shifts.
It is not a complete trading system. Combine it with your own entries, exits and risk rules to get the most out of what the Z score is telling you about positioning pressure under the hood of the market.
FOMC Federal Fund Rate Tracker [MHA Finverse]The FOMC Rate Tracker is a comprehensive indicator that visualizes Federal Reserve interest rate decisions and tracks market behavior during FOMC meeting periods. This tool helps traders analyze historical rate changes and anticipate market movements around Federal Open Market Committee announcements.
Key Features:
• Visual FOMC Periods - Automatically highlights each FOMC meeting period with colored boxes spanning from announcement to the next meeting
• Complete Rate Data - Displays actual rates, forecasts, previous rates, and rate differences for every meeting from 2021-2026
• Multiple Color Modes - Choose between cycle colors for visual distinction or rate difference colors (green for hikes, red for cuts, gray for holds)
• Smart Filtering - Filter periods by rate hikes only, cuts only, no change, or surprise moves to focus on specific market conditions
• Performance Metrics - Track average returns during rate hikes, cuts, and holds to identify historical patterns
• Volatility Analysis - Measure and compare price volatility across different FOMC periods
• Statistical Dashboard - View total hikes, cuts, holds, surprises, and longest hold streaks at a glance
• Built-in Alerts - Get notified 1 day before FOMC meetings, on meeting day, or when rates change
How It Works:
The indicator divides your chart into distinct periods between FOMC meetings, with each period showing a labeled box containing the meeting date, actual rate, forecast, previous rate, and rate difference. Future meetings are marked as "UPCOMING" to help you prepare for scheduled announcements.
Use Cases:
- Analyze how markets typically react to rate hikes vs. cuts
- Identify volatility patterns around FOMC announcements
- Backtest strategies based on monetary policy cycles
- Plan trades around upcoming Federal Reserve meetings
- Study the impact of surprise rate decisions on price action
Customization Options:
- Adjustable box transparency and outlines
- Customizable label sizes and colors
- Toggle individual dashboards on/off
- Filter specific types of rate decisions
- Configure alert preferences
This indicator is ideal for traders who incorporate fundamental analysis and monetary policy into their trading decisions. The historical data provides context for understanding market reactions to Federal Reserve actions.
PEG RSI [Auto EPS Growth]The PEG RSI is a hybrid indicator that combines fundamental valuation with technical momentum. It applies the Relative Strength Index (RSI) directly to the Price/Earnings-to-Growth (PEG) Ratio.
Unlike traditional PEG indicators that require manual input for growth rates, this script automatically calculates the Compound Annual Growth Rate (CAGR) of Earnings Per Share (EPS) based on historical data.
Key Features
- Auto-Calculated Growth: Uses historical TTM Earnings Per Share (EPS) to calculate the CAGR over a user-defined period (Default: 4 years).
- Dynamic Valuation: Converts the static PEG ratio into an oscillator (RSI) to identify relative valuation extremes.
- Trend & Momentum: Visualizes the momentum of the PEG ratio relative to its own history.
Educational Case Study
This indicator is designed for educational purposes and research. Instead of relying on fixed overbought or oversold levels, users are encouraged to study the correlation between the PEG RSI and price action independently.
- Observe how the price reacts when the PEG RSI reaches upper or lower extremes.
- Different stocks may respect different RSI zones based on their growth stability.
- Use this tool to analyze how market valuation momentum shifts over time.
Settings:
- Years for CAGR Growth: Timeframe to calculate EPS growth (Default: 4 years).
- RSI Length: Lookback period for the RSI calculation (Default: 14).
Note: This indicator works best on stocks with a consistent history of earnings. It requires financial data to function (will not work on assets without EPS like Crypto or Forex).
RiskON/RiskOff Ratio CombinedRiskON/RiskOff Ratio Combined Indicator
This indicator provides a comprehensive view of market risk appetite by analyzing the ratio between a proprietary risk-on asset and a risk-off benchmark. It helps traders identify shifts in market sentiment, potential bullish or bearish momentum, and correlations with key assets like Bitcoin, all while adapting to different timeframes for reliable signals.
How It Works
The core of the indicator is a dynamic ratio calculated from selected market proxies. This ratio is smoothed using an adaptive moving average that adjusts its length based on the chosen timeframe or a fixed resolution mode, ensuring consistency across charts and handling gaps during market closures. The difference between the raw ratio and its moving average is normalized to a scale between -1 and 1, allowing for clear interpretation of market strength.
Normalization uses a lookback period to scale deviations dynamically, preventing extreme values from skewing readings.
Signals are generated based on confirmed crosses or momentum shifts, with options for fixed-resolution confirmation to avoid false positives during intraday volatility.
Additionally, it incorporates Bitcoin correlation analysis against a user-selected reference (S&P 500 or Nasdaq 100 proxy) and gold, using daily returns over a customizable period. This helps detect decorrelation periods where the indicator's reliability might be affected, with color-coded warnings.
Inputs
Use Fixed Resolution : Enable to use a consistent calculation timeframe (default: Daily) with gap handling for accuracy; disable for current chart timeframe.
Calculation Resolution : Timeframe for fixed mode (e.g., 'D' for daily).
Base MA Length : Starting length for the adaptive moving average (default: around 185 periods, adjustable).
Max MA Length : Upper limit for adaptation (default: high value to prevent overflow).
Use Color Gradient : Toggle between gradient colors (for nuanced sentiment) or simple bull/bear colors.
Show BTC Correlation : Display correlation metrics (default: enabled).
Bitcoin Ticker : Symbol for BTC (default: INDEX:BTCUSD).
Reference Asset : Choose between SPY (S&P 500) or QQQ (Nasdaq 100) for correlation.
Correlation Period : Days for calculation (default: 50).
Warning Threshold : Level for decorrelation alerts (default: 0.3).
Outputs and Display
Plots : The ratio line (colored based on direction), its adaptive moving average, and a fill area highlighting the normalized difference with gradient or signal-based colors.
Market State Table : Displays current sentiment as "STRONG BUY", "BUY", "NEUTRAL", "SELL", or "STRONG SELL" with thresholds, plus mode info and optional BTC correlations (with status like "RELIABLE", "CAUTION", "DECORR", or "INVERSE").
Alerts : Conditions for bullish/bearish signals and decorrelation warnings.
Usage
Add the indicator to any chart (e.g., major indices or crypto). Use it to gauge risk-on/off environments: positive normalized values suggest buying momentum, negative indicate selling pressure. Monitor correlations for Bitcoin-related strategies—low correlation may signal regime changes. Best on daily or higher timeframes for stability. Combine with other tools for confirmation.
Originality
This indicator uniquely combines a risk ratio with timeframe-adaptive smoothing, dynamic normalization, and integrated correlation checks, providing a multi-faceted risk assessment not found in standard tools. It evolves from traditional risk metrics by incorporating gap handling and confirmation logic for robustness across markets.
For invite-only access: Please contact me via TradingView private message with your use case to request an invitation. Access is granted selectively.
Notes
Past performance is not indicative of future results. This is not investment advice—use at your own risk.






















