Unified Multi-Indicator Dashboard [PROFABIGHI_CAPITAL ENHANCED]🌟 Overview
The Unified Multi-Indicator Dashboard consolidates on-chain valuation metrics, sentiment flows, holder behavior ratios, and technical oscillators into a single non-overlay pane for comprehensive market analysis. It normalizes diverse signals through Z-scores to detect deviations from historical norms, enabling traders to assess overbought/oversold conditions across multiple dimensions with customizable averaging and a summary table for quick insights.
⚙️ Master Controls
- Toggle visibility for each core indicator, from valuation ratios to momentum oscillators, allowing focused views without chart clutter
- Enable individual Z-scores to track normalized deviations for selected metrics
- Activate the average Z-score for a composite view of overall market sentiment
- Display an optional summary table aggregating current values and Z-scores for at-a-glance monitoring
📊 Z-Score Average Controls
- Selectively include specific indicators in the averaged Z-score calculation to emphasize key signals
- Customize the blend of on-chain and technical metrics for a tailored sentiment gauge
- Adjust contributions dynamically to weigh valuation-heavy or momentum-focused views
📏 Z-Score Calculation Settings
- Set the lookback period for mean and standard deviation computations to balance historical context with recent relevance
- Ensure consistent normalization across indicators for apples-to-apples comparisons
📊 Code 1: MVRV Ratio Settings
- Apply optional smoothing to raw MVRV data for reduced noise in trending markets
- Configure smoothing length to fine-tune responsiveness
- Enable a detailed information table for MVRV breakdowns, including status, signals, and historical distances
- Position the table flexibly on the chart for optimal visibility
📊 Code 2: Open Interest Settings
- Activate sentiment correlation between open interest and price/volume metrics for liquidity flow insights
- Choose correlation type to align with trading focus, such as price momentum or volume trends
- Enable money flow estimates to quantify inflows/outflows as percentage contributions
- Customize display styles for flow sentiment, including colors for up/down movements and correlation bands
- Set smoothing period to stabilize open interest and price sentiment readings
📊 Code 3: RHODL Ratio Settings
- Define upper and lower thresholds to identify overextension or capitulation zones
- Weight the ratio by UTXO count for a holder-age-adjusted perspective
- Toggle adaptive lower band for dynamic adjustment to evolving market conditions
📊 Code 4: Realized Price Oscillator Settings
- Set scaling limits to bound oscillator values for clearer extreme readings
- Allow negative values to capture full downside deviations in bearish phases
- Adjust decay factor for gradual adaptation of historical max/min bounds
- Plot dollar-cost averaging signals with customizable buy/sell thresholds for accumulation strategies
📊 Code 5: NUPL Z-Score Settings
- Configure lookback period for Z-score normalization to reflect varying cycle lengths
📊 Code 6: SOPR Z-Score Settings
- Set lookback for mean and standard deviation to capture profit-taking patterns
- Define moving average period and type for smoothed trend analysis
- Apply smoothing to raw SOPR data to filter intraday noise
- Toggle display of the moving average line and background coloring based on signal source
📊 Code 7: Sharpe Ratio Settings
- Select data source for return calculations, such as close prices
- Adjust rolling period for return statistics and smoothing for stability
📊 Code 8: Sortino Ratio Settings
- Choose source for downside-focused risk assessment
- Set calculation period for deviation metrics and risk-free rate for adjusted returns
- Configure smoothing to emphasize persistent trends over volatility spikes
📊 Code 9: Omega Ratio Settings
- Pick source for gain/loss distribution analysis
- Define period for return evaluations and target threshold for upside/downside partitioning
- Apply smoothing to highlight structural performance edges
📊 Code 10: RSI Settings
- Specify source for momentum computation
- Set lookback length to align with trading horizon, from short-term swings to longer cycles
📊 Code 11: BB% Settings
- Select source for band positioning
- Adjust period and deviation multiplier for volatility envelope sensitivity
📊 Code 12: CCI Settings
- Use typical price (HLC3) or custom source for cycle extremes
- Configure length for mean deviation scaling
📊 Code 13: Crosby Ratio Settings
- Set period for angle-based trend strength measurement using smoothed Heikin-Ashi and ATR
📊 Indicator Calculation Functions
- Sharpe Ratio: Computes risk-adjusted returns via annualized excess over volatility
- Sortino Ratio: Focuses on downside deviation for targeted risk penalization
- Omega Ratio: Balances gains above target against losses below for probabilistic edge
- RSI: Measures price momentum via relative strength over specified length
- BB%: Positions current price as percentage within Bollinger envelope for squeeze/expansion
- CCI: Gauges deviation from typical price mean, scaled by true range factor
- Crosby Ratio: Derives trend angle from smoothed Heikin-Ashi slope relative to ATR
📊 On-Chain & Valuation Metrics
- MVRV Ratio: Compares market cap to realized value for over/undervaluation signals, with thresholds for tops/bottoms and change tracking over daily/weekly/monthly periods
- Open Interest: Tracks futures/spot flows via sentiment, correlations, and money inflow estimates for liquidity shifts
- RHODL Ratio: Assesses short vs. long-term holder dominance, normalized for band breaches and adaptive weighting
- Realized Price Oscillator: Logs price deviations from realized cap per supply, rescaled with decay for historical context and DCA cues
- NUPL Z-Score: Normalizes net unrealized profit/loss for euphoria/capitulation extremes
- SOPR Z-Score: Z-normalizes spent output profits with MA smoothing and background signals for realization trends
📈 Technical & Risk Metrics
- Sharpe/Sortino/Omega Ratios: Evaluate performance efficiency, downside focus, and gain/loss asymmetry with periodic returns and smoothing
- RSI/BB%/CCI: Capture momentum, band positioning, and cycle deviations for overbought/oversold alerts
- Crosby Ratio: Quantifies trend steepness via angular momentum for directional conviction
📊 Z-Score Normalization Logic
- Transforms raw indicator values into standard deviations from rolling mean for cross-metric comparability
- Positive scores flag above-norm readings (potential overextension); negatives indicate undervaluation opportunities
- Averages selected Z-scores for unified bullish/bearish bias, excluding invalid data for accuracy
- Plots individual lines for granularity or composite average for holistic view
📉 Visualization
- Thick colored lines for enabled indicators, with dashed hlines for key thresholds like fair value or extremes
- Background fills highlight overvalued/undervalued zones or signal-based colors
- Candle-style plotting for oscillators like RPO, with gradient wicks for intensity
- Bar colors and labels for ratio breaches, such as RHODL extremes
- Correlation bands and column styles for flow metrics like open interest
- Custom tables for MVRV details (status, signals, distances) and overall summary (values, Z-scores, average)
- Zero-line and deviation hlines (+/-1, +/-2) for Z-score context, with white average line emphasis
✅ Key Takeaways
- Modular toggles enable tailored dashboards blending on-chain depth with technical breadth
- Z-score averaging delivers a single, actionable sentiment metric across diverse inputs
- Visual tables and highlights streamline extreme detection in volatile crypto markets
- Adaptive settings support cycle-aligned analysis without overwhelming the chart
- Comprehensive normalization uncovers hidden deviations for informed positioning
Indicadores e estratégias
The Eligible Asset Power Table (Backtest) -> PROFABIGHI_CAPITAL🌟 Overview
The Eligible Asset Power Table (Backtest) → PROFABIGHI_CAPITAL indicator evaluates a portfolio of assets using multi-indicator scoring to identify eligible performers for rotational strategies, generating dynamic rankings and condition breakdowns while simulating backtested equity curves with cost modeling and comparative metrics for systematic asset selection.
🔧 Imports & Colors
- Library integration for advanced plotting and performance calculations
- Custom palette setup ensuring consistent visual themes for tables and curves
📅 Backtest Settings
- Leverage multiplier for scaling simulated position sizes
- Start date to initiate backtest period for focused analysis
- Slippage percentage to incorporate realistic execution friction
- Commission percentage for accurate fee deduction in simulations
- Toggle for displaying detailed metrics tables on the chart
- Toggle for showing per-asset condition score breakdowns
⚙️ General Settings
- Evaluation mode between aggressive averaging or conservative full-consensus
- Number of assets to screen and score for the portfolio
- Count of top-ranked assets to feature in the display table
- Bullish threshold minimum for eligibility in aggressive evaluations
📊 Indicator Selection
- Toggle for short-period RSI inclusion in asset evaluations
- Toggle for longer-period RSI for broader trend assessment
- Toggle for Sharpe ratio to factor risk-adjusted returns
- Toggles for multiple ROC horizons to layer momentum signals
- Toggle for momentum-applied RSI for velocity confirmation
- Toggle for price delta RSI to capture directional shifts
📈 RSI #1 Parameters
- Data source choice for the first RSI oscillator
- Period length for short-term RSI calculation
- First smoothing MA type and length for noise reduction
- Second smoothing MA type and length for crossover signals
- Enable option for dual-MA comparison logic
- VIDYA volatility lookback for adaptive response
📈 RSI #2 Parameters
- Period length for medium-term RSI calculation
- First smoothing MA type and length for noise reduction
- Second smoothing MA type and length for crossover signals
- Enable option for dual-MA comparison logic
- VIDYA volatility lookback for adaptive response
📈 ROC Parameters
- Short, medium, and long lookback periods for rate-of-change measures
📊 Sharpe Ratio Parameters
- Lookback for return and volatility sampling in ratio computation
- Smoothing period to refine raw Sharpe values
- Buy threshold for positive efficiency signals
- Sell threshold for underperformance flags
📈 Momentum RSI Parameters
- Momentum calculation period for input to RSI
- RSI period applied to momentum series
- First smoothing MA type and length for refinement
- Second smoothing MA type and length for crossover signals
- Enable option for dual-MA comparison logic
- VIDYA volatility lookback for adaptive response
📈 Price Delta RSI Parameters
- Condition type between raw delta or RSI-transformed
- Price delta lookback period
- RSI period for delta series
- First smoothing MA type and length for refinement
- Second smoothing MA type and length for crossover signals
- Enable option for dual-MA comparison logic
- VIDYA volatility lookback for adaptive response
🛡️ Beta Parameters
- Benchmark symbol for relative volatility calculation
- Lookback period for covariance and variance in beta
💰 Assets
- Up to 39 customizable symbols for portfolio screening
- Sequential inputs for straightforward watchlist assembly
🔧 Technical Indicators Functions
- Multi-type MA application including adaptive VIDYA for smoothing
- Sharpe ratio with annualization and smoothing for efficiency
- Layered ROC computations for momentum across scales
- Beta calculation via benchmark covariance for relative risk
📊 Asset Metrics & Conditions
- Per-asset indicator evaluation with mode-specific binary scoring
- Dynamic aggregation counting only enabled conditions
- Average or consensus logic based on evaluation mode
- Final eligibility blending for comprehensive ranking
📦 Instrument Variables
- Persistent price series storage for all assets
- Array handling for scalable instrument management
💾 Data Storage
- Arrays capturing names, values, scores, and flags for indicators
- Comprehensive tracking across RSI, ROC, Sharpe, momentum, delta, beta
📥 Data Fetching
- Conditional security calls per enabled asset
- Parallel metrics computation and array population
- Robust handling for varying asset counts
📋 Asset Conditions Table
- Multi-column top-center display of assets and indicator passes
- Color-coded cells for quick pass/fail scanning
- Beta shown as N/A if unavailable
- Score highlighting for threshold exceedance
🏆 Backtest Logic & Ranking
- Descending score sort for top-performer prioritization
- Threshold filtering to build eligible pool
- Long signal assignment to ranked assets
- Position state arrays for tracking changes
📊 HODL Calculations
- Equal-weight hold simulation across all assets
- Cumulative performance from start date
💹 Equity Calculations
- Rotational equity paths based on eligible signals
- Leveraged position simulations per asset
📈 Change Calculations
- Daily percentage shifts for weighted return aggregation
⚖️ Weights Calculations
- Equal allocation among top eligible assets
- Dynamic sizing based on ranking pool
📊 Prev Weights
- Persistent array for prior period allocations in cost modeling
💰 Corrected Equity with Costs
- Slippage and commission deduction on position changes
- Weighted base return using previous allocations
- Compounded equity growth with cost adjustments
- Previous state updates for next iteration
📊 Performance Metrics
- Drawdown, Sharpe, Sortino, Omega across system and individuals
- Array aggregation for table population
🏆 Ranking Table
- Bottom-left sorted display of top assets by score
- Clean name extraction for readability
- Score formatting to three decimals
📈 Visualization
- Equity curve with shaded growth and return label
- Inception line and label at start date
- Dynamic bar labeling for cumulative returns
📊 Metrics Tables
- Split panels for asset performance breakdown
- Columns covering drawdown, Sharpe, Sortino, Omega, returns
- System summary and hold comparison rows
- Full/simple modes for detail control
- Compact view when tables disabled
📊 Benchmark Hold Table
- Right-side comparison of hold strategy metrics
- Threshold-based cell coloring for performance
- Benchmark-specific Sharpe, Sortino, Omega, drawdown, returns
🔔 Alerts
- Confirmed bar notifications of top eligible assets
- Fallback for no qualifiers
- Comma-separated list for easy reference
✅ Key Takeaways
- Multi-indicator eligibility scoring ranks assets for rotation
- Backtest with costs models realistic portfolio performance
- Condition tables expose signal contributions per asset
- Toggle flexibility suits aggressive or conservative approaches
- Metrics compare against holds and benchmarks for validation
- Visual curves track simulated growth with clear markers
Heiken Ashi BasProfessional Heiken Ashi + Ichimoku Baseline Scalping Strategy
Strategy Overview:
This advanced scalping methodology combines the smoothing power of Heiken Ashi candles with the reliable support/resistance levels of Ichimoku's Kijun-sen baseline. Designed for active traders seeking precise entry points in trending markets, the strategy incorporates multiple confirmation filters to enhance signal reliability.
Key Features:
• Dual Confirmation System : Heiken Ashi trend alignment with Ichimoku baseline crossover
• Smart Risk Management : Dynamic ATR-based take profit and stop loss across multiple timeframes
• Trend Filter Integration : Optional 200 EMA filter to align with broader market direction
• Divergence Detection : Real-time Ichimoku baseline momentum analysis
• Visual Trading Signals : Clear buy/sell markers with TP/SL level displays
Technical Components:
- Heiken Ashi Smoothing : Reduces market noise for cleaner trend identification
- Ichimoku Baseline (Kijun-sen) : Acts as dynamic support/resistance level
- Multi-timeframe ATR : Adaptive position sizing based on market volatility
- Momentum Confirmation : Baseline divergence filtering for enhanced timing
Ideal For:
- Forex and cryptocurrency markets
- 1-5 minute timeframes for scalping
- Trending market conditions
- Risk-aware traders seeking systematic approaches
Customization Options:
- Adjustable TP/SL multipliers based on risk tolerance
- Optional trend and divergence filters
- Flexible timeframe settings for different trading styles
- Visual display preferences for chart clarity
Educational Value:
This script demonstrates professional-grade techniques in:
- Multi-indicator convergence strategies
- Dynamic risk management implementation
- Real-time market structure analysis
- Systematic trade execution methodology
MomentumMap — Relative Strength Visual Quadrant (RRG-Inspired)🔍 What is MomentumMap?
MomentumMap brings the concept of Relative Rotation Graphs (RRG) directly to your chart.
It helps you instantly see whether a symbol is leading, improving, weakening, or lagging — without scanning dozens of charts.
Unlike traditional RS indicators, this tool plots RS Ratio and RS Momentum together, classifying the current condition into clear quadrants.
🧩 Quadrant Logic
Zone Conditions Market Behavior
🟢 Power Zone RS > 1, Momentum > 0 Strong, leading, expanding trend
🟡 Drift Zone RS > 1, Momentum < 0 Cooling off after leadership
🔵 Lift Zone RS < 1, Momentum > 0 Early signs of strength emerging
🔴 Dead Zone RS < 1, Momentum < 0 Weak and lagging phase
Each bar’s background color reflects the active zone — giving instant visual feedback on rotation strength.
⚙️ Key Features
Benchmark-based RS Ratio & RS Momentum mapping
Auto-classified quadrant display with live background coloring
Optional Power Zone alert (with volume confirmation)
Adjustable RS smoothing and momentum periods
Works on all instruments and timeframes
💡 How to Use
Apply the indicator to any chart.
Choose your benchmark symbol (default: NSE:CNX500).
Observe the color-coded zones to assess strength rotation.
Use transitions between zones to identify:
New leadership → 🟢 Power Zone
Early rotation → 🔵 Lift Zone
Loss of strength → 🟡 Drift Zone
Weak performers → 🔴 Dead Zone
⚠️ Notes & Disclaimer
MomentumMap is an analytical visualization tool, not a buy/sell signal generator.
Choose benchmarks and timeframes that match your trading universe.
The script does not repaint and uses only confirmed bar data.
Past quadrant behavior does not guarantee future results.
Complies with TradingView’s open-source and originality guidelines.
📚 Credits
Concept inspired by Julius de Kempenaer’s RRG framework
Implementation and logic developed independently by Paritosh Gupta
Liquidity Channels - Zakaria Safri💎 LIQUIDITY CHANNELS PRO - BY ZAKARIA SAFRI
A professional-grade liquidity detection indicator that identifies and tracks buy-side and sell-side liquidity zones with expanding channels and real-time monitoring.
═══════════════════════════════════════════════════════════
🎯 WHAT IS LIQUIDITY?
Liquidity zones are areas where stop losses and pending orders cluster around swing highs and lows. Smart money often targets these zones before major moves. This indicator automatically detects and tracks these critical levels.
═══════════════════════════════════════════════════════════
✨ KEY FEATURES
🔵 Buy-Side Liquidity Detection
• Automatically identifies swing highs where stops cluster
• Tracks until price sweeps through the level
• Perfect for identifying potential reversals
🔴 Sell-Side Liquidity Detection
• Pinpoints swing lows with concentrated orders
• Monitors liquidity grabs in real-time
• Essential for SMC and ICT trading strategies
📊 Expanding Channels
• Visual representation of liquidity strength over time
• Wider channels = older, more significant liquidity
• Toggle on/off based on your preference
💎 Live Dashboard
• Real-time count of active liquidity levels
• Separate buy-side and sell-side tracking
• Movable to any corner of your chart
🎨 Full Customization
• Adjustable colors and line styles
• Pivot strength controls sensitivity
• Auto-cleanup of old untouched levels
• Channel transparency settings
═══════════════════════════════════════════════════════════
⚙️ HOW TO USE
1️⃣ ADD TO CHART
Apply the indicator to any timeframe
2️⃣ ADJUST PIVOT STRENGTH
• Higher values (30-50): Fewer, stronger zones
• Lower values (10-20): More sensitive detection
• Default (25): Balanced approach
3️⃣ WATCH FOR LIQUIDITY SWEEPS
• Price breaking above buy-side liquidity = Potential reversal down
• Price breaking below sell-side liquidity = Potential reversal up
• Look for reactions after sweeps
4️⃣ COMBINE WITH YOUR STRATEGY
• Works great with ICT concepts
• Perfect for Smart Money Concepts (SMC)
• Complements order block strategies
═══════════════════════════════════════════════════════════
🎓 BEST PRACTICES
✅ Use on higher timeframes (H1, H4, Daily) for stronger zones
✅ Look for multiple liquidity levels clustered together
✅ Watch for sweeps during high-volume sessions
✅ Combine with support/resistance for confirmation
✅ Wait for price reaction after liquidity grab
❌ Don't use as sole trading signal
❌ Avoid over-optimization of parameters
❌ Don't ignore overall market context
═══════════════════════════════════════════════════════════
📈 IDEAL FOR
• Smart Money Concept (SMC) traders
• ICT methodology followers
• Swing traders
• Liquidity sweep strategies
• Order flow analysis
• Stop hunt identification
═══════════════════════════════════════════════════════════
⚡ SETTINGS OVERVIEW
🎨 Visual Settings
• Customizable colors for buy/sell liquidity
• 3 line styles: Solid, Dashed, Dotted
• Adjustable line thickness (1-5)
• Channel transparency control
⚙️ Detection Settings
• Pivot Strength: Sensitivity control
• Channel Expansion: Growth rate adjustment
🧹 Management Settings
• Auto-delete old untouched levels
• Adjustable bar count for cleanup
📊 Dashboard
• Toggle info panel on/off
• 4 position options
═══════════════════════════════════════════════════════════
💡 PRO TIPS
🎯 Liquidity Sweep Entry
When price sweeps liquidity and reverses, look for entry on lower timeframe confirmation
🎯 Multiple Timeframe Analysis
Mark liquidity zones from higher timeframes on your execution timeframe
🎯 Session Trading
London and New York opens often target liquidity before trending
🎯 Confluence Zones
Areas where buy-side and sell-side liquidity converge are high-probability zones
═══════════════════════════════════════════════════════════
📞 SUPPORT & UPDATES
This indicator is actively maintained and updated.
Feedback and suggestions are welcome!
═══════════════════════════════════════════════════════════
⚠️ DISCLAIMER
This indicator is for educational purposes only. No trading tool guarantees profits. Always use proper risk management and combine with your own analysis. Past performance does not indicate future results.
═══════════════════════════════════════════════════════════
© 2024 Zakaria Safri - All Rights Reserved
💎 Trade Smart. Trade with Liquidity Awareness.
═══════════════════════════════════════════════════════════
🏷️ Tags: Liquidity, Smart Money Concepts, SMC, ICT, Order Flow, Stop Hunt, Liquidity Sweep, Order Blocks, Market Structure, Institutional Trading
nadia
Gold ramon strategy based on 50 candles and atr of 12
You enter the maximum of 50 candles once the most bearish starts to rise, we expect 10 candles, if you don't go up in 10 candles, you don't enter, if you go up before 10 candles, you enter.
When is TP? Enough with 5 candles
The temporality is 1 hour. It can be adjusted to 1 minute temporality for scalping.
It is never lost, because it always exceeds the previous maximums.
VietNguyen Buy/Sell VipThis is a indicator of Vietnammes. It is very good for you when trade Gold and Crypto
Smart Session Zones Pro [ZS]# Smart Session Zones Pro
Created by Zakaria Safri
Hey traders! I built this because I got tired of cluttered session indicators that either did too little or made my charts look like a mess. This one's different - it's clean, customizable, and actually useful for ICT-style trading.
---
## What Does It Do?
SESSION ZONES (The Main Thing)
You get 5 sessions you can turn on/off and customize however you want:
- Asian session (default 8pm-12am NY time)
- London session (2am-5am)
- NY Morning (9:30am-11am) - the good stuff
- NY Lunch (12pm-1pm)
- NY Afternoon (1:30pm-4pm)
Each session shows up as a colored box, and you can change literally everything - the times, colors, labels, transparency, whatever.
SESSION HIGHS & LOWS
This is where it gets useful. The indicator automatically marks the high and low of each session and extends them forward. You know, those levels everyone's watching where price tends to react?
You can:
- Keep extending them even after they break (if you're into that)
- Stop them once price touches (cleaner charts)
- Show just the most recent session or all of them
- Add a 50% line (equilibrium) between high and low
- Get alerts when they break
RANGE ANALYTICS TABLE
Small table in the corner that shows you:
- Current session's range (high minus low)
- Average range over the last X sessions (you pick how many)
- Which session is currently active
Super handy for knowing if you're in a slow or fast session. If NY Morning usually does 50 pips but today it's only done 15, you know something's off.
EXTRA STUFF THAT'S ACTUALLY USEFUL
Daily/Weekly/Monthly Levels:
- Previous day/week/month high and low
- Opening prices for each timeframe
- Separator lines to mark new days/weeks/months
- Day of week labels (Monday, Tuesday, etc.) so you don't have to count
Custom Levels:
- Add up to 4 horizontal price levels at specific times
- Add up to 4 vertical time lines
- Great for marking things like "true day open" at midnight or news times
---
## Who's This For?
If you trade based on sessions (especially ICT concepts), this is for you.
Works great for:
- Forex traders watching London/NY overlap
- Futures traders scalping ES/NQ during killzones
- Anyone who cares about what session they're in
- Day traders who use previous session highs/lows
Not so great for:
- Swing traders on daily charts (it's overkill)
- People who hate having levels on their chart
- Set-and-forget strategies
---
## How I Use It
MY SETUP (15min ES chart):
- London and NY Morning sessions enabled
- Show highs/lows with alerts
- Range table on (helps me know if it's worth trading)
- Previous day high/low
- That's it. Clean and simple.
FOR SCALPING (5min chart):
- Just NY Morning session
- Equilibrium line enabled (entries on retest)
- Range table to gauge volatility
- Alerts on high/low breaks
FOR SWING CONTEXT (1H chart):
- All sessions off (too messy)
- Just use it for weekly/monthly levels
- Maybe London session if I care about overnight ranges
---
## Setup Tips
1. START MINIMAL - Turn on ONE session first, see if you like it, then add more
2. ADJUST TRANSPARENCY - Default is 80%, but play with it until it looks right
3. USE THE TIMEFRAME LIMIT - If you don't want this showing on 4H charts, set the limit to 1H
4. HISTORICAL LIMIT MATTERS - I keep it at 3 sessions, more than that gets cluttered
5. COLORS - Make them different enough that you can tell sessions apart at a glance
---
## The Customization Stuff
Look, there's a ton of settings. Here's what actually matters:
MUST CONFIGURE:
- Which sessions you want (turn off the ones you don't trade)
- Timezone (super important - set it to your broker's time or exchange time)
- Historical limit (how many past sessions to show)
NICE TO CONFIGURE:
- Colors and transparency
- Whether labels go on the right side or at the level
- Range analytics period (I use 5 sessions)
PROBABLY DON'T NEED TO TOUCH:
- Line styles and widths (defaults are fine)
- Text sizes (unless you have a tiny monitor)
---
## Common Questions
Q: Why aren't zones showing up?
A: Check three things - 1) Is that session enabled? 2) Is your timezone set correctly? 3) Are you on a timeframe below the limit? (default is 4H, so it won't show on daily charts)
Q: Can I change the session times?
A: Yep, every session time is editable. Click the settings gear, find the session, change the time.
Q: Do alerts work?
A: Yes, but you need to create the alert AFTER enabling the sessions you want. Right-click chart > Add Alert > pick the condition.
Q: What's the difference between "Stop at Break" and "Continue Forward"?
A: Stop at Break = line disappears when price touches it. Continue Forward = line keeps going even after it breaks (if you want to see retests).
Q: This is too cluttered, help!
A: Turn off some sessions. Seriously. You probably don't need all 5. Also lower the historical limit to 1 or 2.
---
## Technical Stuff
Built in Pine Script v5, uses proper session detection based on timezone, handles all the array management for you, optimized to not slow down your charts.
Supports:
- All intraday timeframes (1min to 4H)
- 27 different timezones
- Up to 10 historical sessions (but honestly 3 is plenty)
- 500 labels/lines/boxes (that's the TradingView limit)
---
## Updates & Support
I actually use this indicator myself, so it'll get updated when needed. If something breaks or you have a feature request, let me know.
Current version: 1.0
Last updated: 2024
---
## Real Talk
This won't make you profitable by itself. It's just a tool. Session highs and lows work because other traders are watching them too, not because of magic.
Use it as part of a complete strategy. Know WHY you're taking trades, not just "because the line is there."
And yeah, I know there are other session indicators out there. Built this one because I wanted exactly what I wanted, nothing more, nothing less. Hope you find it useful too.
---
## Quick Feature List
- 5 customizable trading sessions
- Automatic session high/low detection
- 50% equilibrium levels
- Range analytics with averages
- Daily/Weekly/Monthly levels
- Custom horizontal and vertical lines
- Break alerts for all levels
- 27 timezone options
- Day of week labels
- Clean, professional look
- Won't slow down your charts
---
Made by Zakaria Safri
If this helps your trading, drop a like. If you have questions, ask in the comments.
Good luck out there.
---
DISCLAIMER
This is a tool, not advice. Trading is risky. Don't trade money you can't afford to lose. Past performance means nothing. You know the drill.
(SPY to ES) ETF→Futures Multi-Level (10 Levels + Select All)Converts selected ETF levels (SPY or QQQ) into equivalent futures levels (ES or NQ).
Uses live price ratio between ETF and futures for real-time level translation.
Supports 10 independent levels (A–J) with user-defined ETF price inputs.
Provides checkboxes to toggle each level’s visibility or show all at once.
Applies smoothing (ta.sma) to reduce noise from short-term price movement.
Lets user customize each line’s color, width, and style (solid, dashed, dotted).
Automatically updates lines as new bars form without user interaction.
Uses persistent line objects to keep levels stable when scrolling or zooming.
Adapts to either SPY→ES or QQQ→NQ depending on the “Convert SPY?” toggle.
Draws clean horizontal lines without legend clutter for visual precision.
SOME ONE PUBLISHED THIS FUNCTIONALITY FOR A CHARGE SO I MADE IT FREE.
-rA
Summit LineThe Summit Line is an advanced momentum and confluence indicator designed to simplify complex market data into clean, actionable dot signals.
It blends MACD, RSI, moving averages and Volume Strength, giving traders a real time gauge of momentum shifts and exhaustion points.
🟢 Green Dot: Bullish confluence
🔴 Red Dot: Bearish confluence
🟡 Gold Dot: “A+” setup, rare alignment of all core metrics, typically at high-probability reversal or breakout zones.
Unlike noisy indicators, Summit Line filters weak signals using RSI slope, volume surges, and EMA trend structure, keeping the chart clean and accurate.
Every dot is pinned along a flat zero baseline for visual simplicity, ideal for combining with the Summit cloud or other price overlays.
EMA/VWAP/Volume/MACD指标// === 控制输出 ===
macd_plot_line = show_macd ? macd_line : na
macd_signal_plot = show_macd ? signal_line : na
macd_hist_plot = show_macd ? hist_line : na
adx_plot_line = show_adx ? adx : na
plusdi_plot_line = show_adx ? diplus : na
minusdi_plot_line = show_adx ? diminus : na
// === 绘制 MACD ===
plot(macd_plot_line, title="MACD Line", color=color.new(color.aqua, 0))
plot(macd_signal_plot, title="Signal Line", color=color.new(color.orange, 0))
plot(macd_hist_plot, title="Histogram", style=plot.style_columns,
color=macd_hist_plot >= 0 ? color.new(color.green, 0) : color.new(color.red, 0))
Fear–Greed Index
What it does
This indicator compresses multiple behavioral signals into a single Fear–Greed Index (FGI) that ranges from –100 (extreme fear) to +100 (extreme greed). It blends three psychology-based components—Prospect Theory, Herding, and Social Impact Theory (SIT)
How it thinks
Prospect Theory (CPT)
Looks at the balance of gains vs. losses in recent returns.
Herding (Brock–Durlauf / Ising-style)
Counts the signs of recent returns (up vs. down) to measure “magnetization” (are most bars up or down.
Social Impact Theory (SIT)
Measures today’s return strength relative to recent volatility (strength), how concentrated recent moves were in the most recent quarter of the window (immediacy), and participation via volume relative to its recent average (number).
How to use it
Rising toward +100 → crowd risk-on/greed; falling toward –100 → risk-off/fear.
Treat extreme zones as context, not standalone trade signals—combine with price structure, volume, and risk management.
xVWAP (Multi-Source VWAP)This indicator lets you plot a true cross-symbol VWAP — volume-weighted average price taken from any symbol or from your current chart. It’s ideal for futures, micros/minis, indices, and correlated assets (e.g., MGC ↔ GC1!, MNQ ↔ NQ1!, ES ↔ SPX).
You can choose the source symbol, anchor period, and display up to three standard-deviation bands around VWAP.
In the chart, since I trade Micros, I used MGC1! (colored), then overlay it with the VWAP from GC1! (Grey).
Quad Moving Average (3, 9, 44, 200)MA 200 — The Big Trend Indicator
Use: Long-term trend direction.
Meaning:
If price > MA 200 → Bullish (uptrend)
If price < MA 200 → Bearish (downtrend)
Traders use it to:
Stay aligned with the major trend.
Avoid counter-trend trades.
Best for: Swing & positional traders.
⚙️ 2. MA 44 — Mid-Term Trend
Use: Medium-term trend tracking.
Meaning:
Works well on 1-hour, 4-hour, or daily charts.
Helps identify trend continuations or pullbacks.
Traders use it to:
Spot retracements to the mid-term moving average for buy/sell opportunities.
Filter out short-term noise.
⚡ 3. MA 9 — Short-Term Momentum
Use: Entry timing & momentum confirmation.
Meaning:
Tracks short-term price action.
Reacts fastest to price changes.
Traders use it to:
Catch short swings or early trend reversals.
Signal entries when it crosses above/below other MAs (like MA44 or MA200).
🔄 Common Strategy Example
Triple Moving Average Strategy (MA 9, 44, 200):
Buy signal:
Price above MA200 (long-term bullish)
MA9 crosses above MA44 → short-term momentum aligns with medium trend
Sell signal:
Price below MA200 (long-term bearish)
MA9 crosses below MA44 → short-term weakness confirmed
⚠️ Cautions
MAs lag behind price (they are not predictive).
Combine with RSI, MACD, or volume for confirmation.
Avoid using the same MAs across all timeframes — adjust for your trading style.
Would you like me to show you an example chart setup (with MA 200, 44, and 9) and how to interpret signals visually (for TradingView or similar)?
You said:
give me pine script for moving average 9, 44 and 200
ChatGPT said:
Here’s a clean, ready-to-use Pine Script v5 for TradingView that plots MA 9, 44, and 200, with color-coded signals and optional alerts 👇
📜 Pine Script (v5)
//@version=5
indicator("Triple Moving Average (9, 44, 200)", overlay=true)
// Input settings
ma9_length = input.int(9, "Short-Term MA", minval=1)
ma44_length = input.int(44, "Mid-Term MA", minval=1)
ma200_length = input.int(200, "Long-Term MA", minval=1)
ma_type = input.string("EMA", "MA Type", options= )
// Calculate MAs
ma9 = ma_type == "EMA" ? ta.ema(close, ma9_length) : ta.sma(close, ma9_length)
ma44 = ma_type == "EMA" ? ta.ema(close, ma44_length) : ta.sma(close, ma44_length)
ma200 = ma_type == "EMA" ? ta.ema(close, ma200_length) : ta.sma(close, ma200_length)
// Plot MAs
plot(ma9, color=color.new(color.yellow, 0), linewidth=2, title="MA 9")
plot(ma44, color=color.new(color.orange, 0), linewidth=2, title="MA 44")
plot(ma200, color=color.new(color.aqua, 0), linewidth=2, title="MA 200")
// Cross conditions
bullish_cross = ta.crossover(ma9, ma44) and close > ma200
bearish_cross = ta.crossunder(ma9, ma44) and close < ma200
// Background highlight for signals
bgcolor(bullish_cross ? color.new(color.green, 85) : na)
bgcolor(bearish_cross ? color.new(color.red, 85) : na)
EM Range (VIX1D PrevClose • Close & Hi/Lo, N-Day View)What this indicator does
This study projects a one-day expected move (EM) from the CBOE:VIX1D using a simple 1-σ model with 252 trading days. It visualizes the possible intraday range from three anchors and also gives a T+1 forecast using today’s real-time VIX1D:
• PrevClose ±σ (solid) – a symmetric bracket around yesterday’s close.
• Low → Upper (dashed) – the upper bound implied from today’s low.
• High → Lower (dashed) – the lower bound implied from today’s high.
• NextDay (solid, optional) – tomorrow’s expected bracket built from the current price using today’s VIX1D (intraday it updates; after the daily close it freezes to the daily close).
All ranges are plotted in points, not percentages.
How it’s computed
Let σ = (VIX1D/100)/sqrt(252) * multiplier.
• PrevClose bands: prevClose * (1 ± σ) using yesterday’s VIX1D close.
• Low → Upper: todayLow * (1 + σ) using yesterday’s VIX1D close.
• High → Lower: todayHigh * (1 − σ) using yesterday’s VIX1D close.
• NextDay (T+1): currentPrice * (1 ± σ_today) where σ_today uses today’s VIX1D (real-time via 15m/30m/60m fallbacks; after session close it uses the daily close).
What you’ll see on the chart
• Two solid lines (PrevClose ±σ), two dashed lines (from Low/High).
• Optional blue solid lines for NextDay ±σ (toggle).
• Lines are per-day segments (not infinite). Yesterday’s dashed lines are carried into today for quick context; other lines do not carry across days.
• Colors are fully configurable; defaults use a deep, high-contrast palette tuned for dark backgrounds.
N-Day history (no over-extension)
Use “Show last N days” to display previous sessions. Historical lines are drawn only within their own day (clean separation of regimes).
Compact table (top-right by default)
The on-chart table shows concise, single-line rows:
• VIX1D−1: yesterday’s VIX1D close | ±EM (points) from PrevClose
• VIX1D (RT): today’s real-time VIX1D | ±EM (points) from current price
• Prev ±σ: numeric around PrevClose
• L → Upper: today’s low and its implied upper bound
• H → Lower: today’s high and its implied lower bound
• NextDay: tomorrow’s implied from current price
• >±σ: count of daily closes that finished outside PrevClose ±σ over the last N−1 completed days (with up/down breakdown)
Inputs & options
• VIX1D symbol: default CBOE:VIX1D.
• σ multiplier: default 1.0 (try 0.5 / 1.5 / 2.0 based on your risk model).
• Show last N days: how many sessions to render (incl. today).
• Show NextDay lines (blue): on/off toggle.
• Line width and color pickers for each band type.
• Table position: top/bottom, left/right.
Works on…
• Any instrument priced in points (stocks, ETFs, futures incl. ES).
• Any timeframe. For the T+1 forecast, the price anchor is real-time on intraday charts; on higher timeframes it uses an intraday proxy (60-minute) intraday and switches to the daily close after session end.
Notes & good practice
• VIX1D is an implied daily move proxy; it’s not a guarantee. Treat bands as probabilistic, not absolute barriers.
• The outside-±σ close count is a quick sanity check on how often price exceeds the one-day expectation—useful for regime awareness and sizing.
• If your market isn’t well-described by VIX1D (e.g., non-US hours or crypto), consider substituting a more relevant vol index.
Disclaimer: This tool is for research/education only and is not financial advice. Always manage risk.
ALISH WEEK LABELS THE ALISH WEEK LABELS
Overview
This indicator programmatically delineates each trading week and encapsulates its realized price range in a live-updating, filled rectangle. A week is defined in America/Toronto time from Monday 00:00 to Friday 16:00. Weekly market open to market close, For every week, the script draws:
a vertical start line at the first bar of Monday 00:00,
a vertical end line at the first bar at/after Friday 16:00, and
a white, semi-transparent box whose top tracks the highest price and whose bottom tracks the lowest price observed between those two temporal boundaries.
The drawing is timeframe-agnostic (M1 → 1D): the box expands in real time while the week is open and freezes at the close boundary.
Time Reference and Session Boundaries
All scheduling decisions are computed with time functions called using the fixed timezone string "America/Toronto", ensuring correct behavior across DST transitions without relying on chart timezone. The start condition is met at the first bar where (dayofweek == Monday && hour == 0 && minute == 0); on higher timeframes where an exact 00:00 bar may not exist, a fallback checks for the first Monday bar using ta.change(dayofweek). The close condition is met on the first bar at or after Friday 16:00 (Toronto), which guarantees deterministic closure on intraday and higher timeframes.
State Model
The indicator maintains minimal persistent state using var globals:
week_open (bool): whether the current weekly session is active.
wk_hi / wk_lo (float): rolling extrema for the active week.
wk_box (box): the graphical rectangle spanning × .
wk_start_line and a transient wk_end_line (line): vertical delimiters at the week’s start and end.
Two dynamic arrays (boxes, vlines) store object handles to support bounded history and deterministic garbage collection.
Update Cycle (Per Bar)
On each bar the script executes the following pipeline:
Start Check: If no week is open and the start condition is satisfied, instantiate wk_box anchored at the current bar_index, prime wk_hi/wk_lo with the bar’s high/low, create the start line, and push both handles to their arrays.
Accrual (while week_open): Update wk_hi/wk_lo using math.max/min with current bar extremes. Propagate those values to the active wk_box via box.set_top/bottom and slide box.set_right to the current bar_index to keep the box flush with live price.
Close Check: If at/after Friday 16:00, finalize the week by freezing the right edge (box.set_right), drawing the end line, pushing its handle, and flipping week_open false.
Retention Pruning: Enforce a hard cap on historical elements by deleting the oldest objects when counts exceed configured limits.
Drawing Semantics
The range container is a filled white rectangle (bgcolor = color.new(color.white, 100 − opacity)), with a solid white border for clear contrast on dark or light themes. Start/end boundaries are full-height vertical white lines (y1=+1e10, y2=−1e10) to guarantee visibility across auto-scaled y-axes. This approach avoids reliance on price-dependent anchors for the lines and is robust to large volatility spikes.
Multi-Timeframe Behavior
Because session logic is driven by wall-clock time in the Toronto zone, the indicator remains consistent across chart resolutions. On coarse timeframes where an exact boundary bar might not exist, the script legally approximates by triggering on the first available bar within or immediately after the boundary (e.g., Friday 16:00 occurs between two 4-hour bars). The box therefore represents the true realized high/low of the bars present in that timeframe, which is the correct visual for that resolution.
Inputs and Defaults
Weeks to keep (show_weeks_back): integer, default 40. Controls retention of historical boxes/lines to avoid UI clutter and resource overhead.
Fill opacity (fill_opacity): integer 0–100, default 88. Controls how solid the white fill appears; border color is fixed pure white for crisp edges.
Time zone is intentionally fixed to "America/Toronto" to match the strategy definition and maintain consistent historical backtesting.
Performance and Limits
Objects are reused only within a week; upon closure, handles are stored and later purged when history limits are exceeded. The script sets generous but safe caps (max_boxes_count/max_lines_count) to accommodate 40 weeks while preserving Editor constraints. Per-bar work is O(1), and pruning loops are bounded by the configured history length, keeping runtime predictable on long histories.
Edge Cases and Guarantees
DST Transitions: Using a fixed IANA time zone ensures Friday 16:00 and Monday 00:00 boundaries shift correctly when DST changes in Toronto.
Weekend Gaps/Holidays: If the market lacks bars exactly at boundaries, the nearest subsequent bar triggers the start/close logic; range statistics still reflect observed prices.
Live vs Historical: During live sessions the box edge advances every bar; when replaying history or backtesting, the same rules apply deterministically.
Scope (Intentional Simplicity)
This tool is strictly a visual framing indicator. It does not compute labels, statistics, alerts, or extended S/R projections. Its single responsibility is to clearly present the week’s realized range in the Toronto session window so you can layer your own execution or analytics on top.
Dual Session VWAPSeparate VWAP with 1 standard deviation band for the regular session as well as electronic session