[ZP] Fixed v6 testDISCLAIMER:
This indicator in Pine V6 as my first ever Tradingview indicator, has been developed for my personal trading analysis, consolidating various powerful indicators that I frequently use. A number of the embedded indicators within this tool are the creations of esteemed Pine Script developers from the TradingView community. In recognition of their contributions, the names of these developers will be prominently displayed alongside the respective indicator names. My selection of these indicators is rooted in my own experience and reflects those that have proven most effective for me. Please note that the past performance of any trading system or methodology is not necessarily indicative of future results. Always conduct your own research and due diligence before using any indicator or tool.
===========================================================================
Introducing the ultimate all-in-one DIY strategy builder indicator, With over 30+ famous indicators (some with custom configuration/settings) indicators included, you now have the power to mix and match to create your own custom strategy for shorter time or longer time frames depending on your trading style. Say goodbye to cluttered charts and manual/visual confirmation of multiple indicators and hello to endless possibilities with this indicator.
Available indicators that you can choose to build your strategy, are coded to seamlessly print the BUY and SELL signal upon confirmation of all selected indicators:
EMA Filter
2 EMA Cross
3 EMA Cross
Range Filter (Guikroth)
SuperTrend
Ichimoku Cloud
SuperIchi (LuxAlgo)
B-Xtrender (QuantTherapy)
Bull Bear Power Trend (Dreadblitz)
VWAP
BB Oscillator (Veryfid)
Trend Meter (Lij_MC)
Chandelier Exit (Everget)
CCI
Awesome Oscillator
DMI ( Adx )
Parabolic SAR
Waddah Attar Explosion (Shayankm)
Volatility Oscillator (Veryfid)
Damiani Volatility ( DV ) (RichardoSantos)
Stochastic
RSI
MACD
SSL Channel (ErwinBeckers)
Schaff Trend Cycle ( STC ) (LazyBear)
Chaikin Money Flow
Volume
Wolfpack Id (Darrellfischer1)
QQE Mod (Mihkhel00)
Hull Suite (Insilico)
Vortex Indicator
Educational
Crypto Mean Reversion System (Pullback & Bounce)Mean Reversion Theory
The indicator operates on the principle that extreme price movements in crypto markets tend to revert toward their mean over time.
Consider this a valuable aid for your dollar-cost averaging strategy, effectively identifying periods ripe for accumulating or divesting from the market.
Research shows that:
Short-term momentum often persists briefly after surges, but extreme moves trigger mean reversion
Sharp drops exhibit strong bounce patterns, especially after capitulation events
Longer timeframes (7-day) show stronger mean reversion tendencies than shorter ones (1-day)
Timeframe Analysis
1-Day Timeframe
Pullback probabilities: 45-85% depending on surge magnitude
Bounce probabilities: 55-95% depending on drop severity
Captures immediate overextension and panic selling
More volatile but faster signal generation
7-Day Timeframe
Pullback probabilities: 50-90% (higher confidence)
Bounce probabilities: 50-90% (slightly moderated)
Filters out noise and identifies sustained trends
Stronger mean reversion signals due to extended moves
Probability Tiers
Pullback Risk (After Surges)
Moderate (45-60%): 5-10% surge → Expected -3% to -12% pullback
High (55-70%): 10-15% surge → Expected -5% to -18% pullback
Very High (65-80%): 15-25% surge → Expected -10% to -25% pullback
Extreme (75-90%): 25%+ surge → Expected -15% to -40% pullback
Bounce Probability (After Drops)
Moderate (55-65%): -5% to -10% drop → Expected +3% to +10% bounce
High (65-75%): -10% to -15% drop → Expected +6% to +18% bounce
Very High (75-85%): -15% to -25% drop → Expected +10% to +30% bounce
Extreme (85-95%): -25%+ drop → Expected +18% to +45% bounce
The probability ranges are derived from:
Crypto volatility patterns: Higher volatility than traditional assets creates stronger mean reversion
Behavioral finance: Extreme moves trigger emotional trading (FOMO/panic) that reverses
Historical backtesting: Probability estimates based on typical reversion patterns in crypto markets
Timeframe correlation: Longer timeframes show increased reversion probability due to reduced noise
Key Features
Dual-direction signals: Identifies both overbought (pullback) and oversold (bounce) conditions
Multi-timeframe confirmation: 1D and 7D analysis for different trading styles
Customizable thresholds: Adjust sensitivity based on asset volatility
Visual alerts: Color-coded labels and table for quick assessment
Risk categorization: Clear severity levels for position sizing
Stop Hunt Candlesticks (Liquidity Wicks)🕯️ Stop Hunt Candlesticks
Wick Highlighter – Spot Extreme Wicks Instantly
This indicator highlights candles where the upper or lower wick exceeds a customizable percentage of the asset’s price — perfect for quickly spotting strong rejections, liquidity grabs, stop hunts or exhaustion moves.
💡 Key Features
Visual Background Highlight: Automatically colors the chart background when a wick surpasses your defined % threshold (default 1%).
Customizable Threshold: Adjust wick sensitivity to suit different assets or timeframes.
Upper & Lower Wick Filters: Choose whether to track upper wicks, lower wicks, or both.
Dynamic Price Basis: Compare wick size relative to Close, Open, HL2, or OC2.
Optional Labels: Display the exact wick percentage directly on the chart.
Alerts Ready: Get notified whenever a candle shows an extreme wick condition.
⚙️ How It Works
The script measures each candle’s wick size relative to your chosen price basis:
Upper wick % = (High − max(Open, Close)) / Basis × 100
Lower wick % = (min(Open, Close) − Low) / Basis × 100
If the result exceeds your chosen threshold, the chart background changes color.
Red for upper wicks, green for lower wicks by default.
🎯 Use Cases
Identify strong rejections or stop hunts near key levels.
Confirm price exhaustion or potential reversals.
Filter fake breakouts or high-volatility events.
🧩 Customization
Tweak colors, transparency, and label visibility to fit seamlessly into your chart setup.
VWAP TrendThe VWAP Trend indicator is a powerful visualization tool that blends a smoothed Volume-Weighted Average Price (VWAP) with a trend-following EMA to reveal the underlying market bias in a clear, color-coded format.
Unlike a standard VWAP that only resets intraday, VWAP Trend allows traders to anchor VWAP calculations to Daily, Weekly, or Monthly sessions. This flexibility makes it suitable for all trading styles — from intraday scalping to long-term swing analysis.
The smoothed VWAP provides a stable representation of the true average price weighted by volume, while the EMA reflects the prevailing market trend. When the EMA remains above the VWAP, the indicator highlights bullish conditions with blue tones. When it moves below, bearish momentum is displayed with orange tones.
Features
Adjustable VWAP anchor timeframe (Daily, Weekly, or Monthly)
Smoothed VWAP for reduced noise and improved accuracy
Dynamic EMA overlay for real-time trend detection
Color-coded shading between price and VWAP
Minimalist design ideal for clean chart analysis
How to Use
Select your preferred VWAP anchor timeframe.
Observe how the shading color shifts between blue (bullish) and orange (bearish).
Use these transitions to gauge market bias, confirm trade setups, or identify potential mean reversion zones.
Smart Dip & Spike Finder v6Dip and Spike Finder
What This Adds
✅ Finds dips (for buying)
✅ Finds spikes (for selling)
✅ Works with your existing RSI & MA filters
✅ Shows BUY and SELL labels on the chart
✅ Triggers separate alerts for dip and spike conditions
EMA+SuperThis comprehensive indicator combines multiple powerful trend-following tools into a single chart overlay, designed for traders seeking clear entry and exit signals with market context.
Features:
Exponential Moving Averages (EMAs): Five EMAs (9, 21, 50, 100, 200) plotted for multi-timeframe trend analysis and dynamic support/resistance.
Supertrend: Classic volatility-based trend indicator highlighting bullish and bearish phases with dynamic colored bands.
NovaWave Cloud: Custom trend cloud created using fast and slow EMAs plus a signal moving average for visualizing market momentum shifts.
Displaced Moving Averages (20, 50, 200 DMA): Simple moving averages with optional displacement to assess lagged trend confirmation and cyclical ranges.
Buy/Sell Signal Labels: Automated labels show “BUY” when the 9 EMA crosses above the 21 EMA, and “SELL” when the 9 EMA crosses below the 21 EMA, providing timely entry/exit cues.
Intended Use:
Perfect for swing and position traders, this indicator combines trend confirmation and actionable signals to help identify sustained price moves in various markets. It works well on multiple timeframes, offering a clear visual framework for market direction and trading decisions.
How to Use:
Look for BUY labels for potential long entry opportunities when momentum shifts bullish.
Look for SELL labels as potential exit or short signals when a bearish momentum crossover occurs.
Use the overlaying EMAs, Supertrend, and cloud as additional confirmation for trend strength and timing.
This all-in-one tool is ideal for traders who want a unified view of trend dynamics combined with simple, clear signals without needing multiple separate indicators.
Feel free to modify or expand based on your style. Let me know if you want a shorter summary or technical details added!
Aladin Pair Trading System v1Aladin Pair Trading System v1
What is This Indicator?
The Aladin Pair Trading System is a sophisticated tool designed to help traders identify profitable opportunities by comparing two related stocks that historically move together. Think of it as finding when one twin is running ahead or lagging behind the other - these moments often present trading opportunities as they tend to return to moving together.
Who Should Use This?
Beginners: Learn about statistical arbitrage and pair trading
Intermediate Traders: Execute mean-reversion strategies with confidence
Advanced Traders: Fine-tune parameters for optimal pair relationships
Portfolio Managers: Implement market-neutral strategies
💡 What is Pair Trading?
Imagine two ice cream shops next to each other. They usually have similar customer traffic because they're in the same area. If one day Shop A is packed while Shop B is empty, you might expect this imbalance to correct itself soon.
Pair trading works the same way:
You find two stocks that normally move together (like TCS and Infosys)
When one stock moves too far from the other, you trade expecting them to realign
You buy the lagging stock and sell the leading stock
When they come back together, you profit from both sides
Key Features
1. Z-Score Analysis
What it is: A statistical measure showing how far the price relationship has deviated from normal
What it means:
Z-Score near 0 = Normal relationship
Z-Score at +2 = Stock A is expensive relative to Stock B (Sell A, Buy B)
Z-Score at -2 = Stock A is cheap relative to Stock B (Buy A, Sell B)
2. Multiple Timeframe Analysis
Long-term Z-Score (300 bars): Shows the big picture trend
Short-term Z-Score (100 bars): Shows recent movements
Signal Z-Score (20 bars): Generates quick trading signals
3. Statistical Validation
The indicator checks if the pair is suitable for trading:
Correlation (must be > 0.7): Confirms the stocks move together
1.0 = Perfect positive correlation
0.7 = Strong correlation
Below 0.7 = Warning: pair may not be reliable
ADF P-Value (should be < 0.05): Tests if the relationship is stable
Low value = Good for pair trading
High value = Relationship may be random
Cointegration: Confirms long-term equilibrium relationship
YES = Pair tends to revert to mean
NO = Pair may drift apart permanently
Visual Elements Explained
Chart Zones (Color-Coded Areas)
Yellow Zone (-1.5 to +1.5)
Normal Zone: Relationship is stable
Action: Wait for better opportunities
Blue Zone (±1.5 to ±2.0)
Entry Zone: Deviation is significant
Action: Prepare for potential trades
Green/Red Zone (±2.0 to ±3.0)
Opportunity Zone: Strong deviation
Action: High-probability trade setups
Beyond ±3.0
Risk Limit: Extreme deviation
Action: Either maximum opportunity or structural break
Signal Arrows
Green Arrow Up (Buy A + Sell B):
Stock A is undervalued relative to B
Buy Stock A, Short Stock B
Red Arrow Down (Sell A + Buy B):
Stock A is overvalued relative to B
Sell Stock A, Buy Stock B
Settings Guide
Symbol Inputs
Pair Symbol (Symbol B): Choose the second stock to compare
Default: NSE:INFY (Infosys)
Example pairs: TCS/INFY, HDFCBANK/ICICIBANK, RELIANCE/ONGC
Z-Score Parameters
Long Z-Score Period (300): Historical context
Short Z-Score Period (100): Recent trend
Signal Period (20): Trading signals
Z-Score Threshold (2.0): Entry trigger level
Higher = Fewer but stronger signals
Lower = More frequent signals
Statistical Parameters
Correlation Period (240): How many bars to check correlation
Hurst Exponent Period (50): Measures mean-reversion tendency
Probability Lookback (100): Historical probability calculations
Trading Parameters
Entry Threshold (0.0): Minimum Z-score for entry
Risk Threshold (1.5): Warning level
Risk Limit (3.0): Maximum deviation to trade
How to Use (Step-by-Step)
Step 1: Choose Your Pair
Add the indicator to your chart (this becomes Stock A)
In settings, select Stock B (the comparison stock)
Choose stocks from the same sector for best results
Step 2: Verify Pair Quality
Check the Statistics Table (top-right corner):
✅ Correlation > 0.70 (Green = Good)
✅ ADF P-value < 0.05 (Green = Good)
✅ Cointegrated = YES (Green = Good)
If all three are green, the pair is suitable for trading!
Step 3: Wait for Signals
BUY SIGNAL (Green Arrow Up)
Z-Score crosses above -2.0
Action: Buy Stock A, Sell Stock B
Exit: When Z-Score returns to 0
SELL SIGNAL (Red Arrow Down)
Z-Score crosses below +2.0
Action: Sell Stock A, Buy Stock B
Exit: When Z-Score returns to 0
Step 4: Risk Management
Yellow Zone: Monitor only
Blue Zone: Prepare for entry
Green/Red Zone: Active trading zone
Beyond ±3.0: Maximum risk - use caution
⚠️ Important Warnings
Not All Pairs Work: Always check the statistics table first
Market Conditions Matter: Correlation can break during market stress
Use Stop Losses: Set stops at Z-Score ±3.5 or beyond
Position Sizing: Trade both legs with appropriate hedge ratios
Transaction Costs: Factor in brokerage and slippage for both stocks
Example Trade
Scenario: TCS vs INFOSYS
Correlation: 0.85 ✅
Z-Score: -2.3 (TCS is cheap vs INFY)
Action to be taken:
Buy 1lot of TCS Future
Sell 1lot of INFOSYS Future
Expected Outcome:
As Z-Score moves toward 0, TCS outperforms INFOSYS
Close both positions when Z-Score crosses 0
Profit from the convergence
Best Practices
Test Before Trading: Use paper trading first
Sector Focus: Choose pairs from the same industry
Monitor Statistics: Check correlation daily
Avoid News Events: Don't trade pairs during earnings/major news
Size Appropriately: Start small, scale with experience
Be Patient: Wait for high-quality setups (±2.0 or beyond)
What Makes This Indicator Unique?
Multi-timeframe Z-Score analysis: Three different perspectives
Statistical validation: Built-in correlation and cointegration tests
Visual risk zones: Easy-to-understand color-coded areas
Real-time statistics: Live pair quality monitoring
Beginner-friendly: Clear signals with educational zones
Technical Background
The indicator uses:
Engle-Granger Cointegration Test: Validates pair relationship
ADF (Augmented Dickey-Fuller) Test: Tests stationarity
Pearson Correlation: Measures linear relationship
Z-Score Normalization: Standardizes deviations
Log Returns: Handles price differences properly
Support & Community
For questions, suggestions, or to share your pair trading experiences:
Comment below the indicator
Share your successful pair combinations
Report any issues for quick fixes
Disclaimer
This indicator is for educational and informational purposes only. It does not constitute financial advice. Pair trading involves risk, including the risk of loss.
Always:
Do your own research
Understand the risks
Trade with money you can afford to lose
Consider consulting a financial advisor
📌 Quick Reference Card
Z-ScoreInterpretationAction-3.0 to -2.0A very cheap vs BStrong Buy A, Sell B-2.0 to -1.5A cheap vs BBuy A, Sell B-1.5 to +1.5Normal rangeHold/Wait+1.5 to +2.0A expensive vs BSell A, Buy B+2.0 to +3.0A very expensive vs BStrong Sell A, Buy B
Good Pair Statistics:
Correlation: > 0.70
ADF P-value: < 0.05
Cointegration: YES
Version: 1.0
Last Updated: 10th October 2025
Compatible: TradingView Pine Script v6
Happy Trading!
GLOBAL LIQUIDITY PROXY, G5 Total Liquidity (CBBS + M2) - USDG5 Total Liquidity (CBBS + M2) - USD
G5 (US, CN, EU, JP, GB)
Somma Balance Sheet Central Banks e M2 convertiti in USD
DCA Test Daily / Weekly / Monthly1.Input daily, weekly or monthly preferance of DCA
2.Select how much to DCA
3.Use the slider on the indicator down to select from where to DCA
Important: Don't use a higher timeframe chart than the desired DCA frequency, or all the DCA buys won't get executed.
TSM + ADX Trend PowerLogic Behind This Indicator
This indicator combines two momentum/trend tools to identify strong, reliable trends in price movement:
1. TSM (Time Series Momentum)
What it does: Measures the difference between the current price and a smoothed average of past prices.
Formula: EMA(close - EMA(close, 14), 14)
Logic:
If TSM > 0 → Price is above its recent average = upward momentum
If TSM < 0 → Price is below its recent average = downward momentum
2. ADX (Average Directional Index)
What it does: Measures trend strength (not direction).
Logic:
ADX > 25 → Strong trend (either up or down)
ADX < 25 → Weak or no trend (choppy/sideways market)
Combined Logic (TSM + ADX)
The indicator only signals a trend when both conditions are met:
Condition Meaning
Uptrend TSM > 0 AND ADX > 25 → Strong upward momentum
Downtrend TSM < 0 AND ADX > 25 → Strong downward momentum
No signal ADX < 25 → Trend is too weak to trust
What It Aims to Detect
Strong, sustained trends (not just noise or small moves)
Filters out weak/choppy markets where momentum indicators often give false signals
Entry/exit points:
Green background = Strong uptrend (consider buying/holding)
Red background = Strong downtrend (consider selling/shorting)
No color = Weak trend (stay out or wait)
"Top 20 Crypto Coins Table Screener + SuperTrend & EMA 9/21 CrosThis indicator is a powerful table screener for the top 20 crypto coins, updated for 2025 and designed for maximum clarity and speed. It displays customizable columns for Symbol, Price, SuperTrend ("Up"/"Down"), and EMA 9/21 crossover signals ("Buy"/"Sell") across multiple assets on a single chart.
Features:
Covers 20 major coins (edit the symbol list for preferences).
SuperTrend direction and coloring, for quick visual identification of trend.
EMA 9/21 crossover logic for rapid momentum buy/sell decisions.
Fast table rendering, minimal lag—even on basic hardware.
All logic, table columns, and alerts directly built into the script.
How To Use:
Paste the indicator code into Pine Editor and save it.
Activate for your preferred timeframes and coins.
View the table at the top right for actionable signals.
Easy to customize ticker symbols and table layout.
Remarks:
No RSI, ADX, or TSI for speed—focus is on high-impact trend/momentum signals.
Ideal for day traders, swing traders, and crypto investors monitoring broader markets.
For questions, improvements, or feedback, comment on the script page or connect via TradingView.
UT Bot Alert + EMA100 + RSI Filter (Fixed) by gummyUT Bot Alert + EMA100 + RSI Filter (Fixed) by gummy
FOREXSOM Session Boxes (Local Time) — Asian, London & New YorkFOREXSOM Session Boxes (Local Time) highlights the three major Forex sessions — Asian, London, and New York — using your chart’s local timezone automatically.
This indicator helps traders visualize market structure, liquidity zones, and timing across global trading hours with accuracy and clarity.
Key Features
Automatically adjusts to your chart’s local timezone
Highlights Asian, London, and New York sessions with clean color zones
Works on all timeframes and asset classes
Ideal for Smart Money Concepts (SMC), ICT, and price action strategies
Helps identify range breakouts, session highs/lows, and liquidity grabs
How It Works
Each session box updates in real time to show the current range as the market develops.
The boxes reset at the end of each session, making it easy to compare volatility and liquidity shifts between regions.
Sessions (default times):
Asian: 17:00 – 03:00
London: 02:00 – 11:00
New York: 07:00 – 16:00
How to Use
Add the indicator to your chart.
Ensure your chart timezone matches your local time in chart settings.
Watch session ranges form and look for liquidity sweeps or breakouts between overlaps (London/New York).
Created by FOREXSOM
Empowering traders worldwide with precision-built tools for Smart Money and institutional trading education.
Candle % ChangePercentage change on each candle. It will show how much the stock has given on each candle
Ram HTF Direction & Market ProfileRam HTF Direction & Markey Profile.
I am trying to identify the HTF(Daily) Direction and Market profiles POC,VAL,VAH to trade on 1HR.
Adaptive Nexus LineAdaptive Nexus Line
Overview
The Adaptive Nexus Line is not just another moving average. It's a next-generation, composite indicator designed to provide a comprehensive and visually intuitive baseline for trend analysis and momentum.
At its core, the Adaptive Nexus Line synthesizes a "cluster" of multiple moving averages into a single, cohesive line. This "average of averages" approach reduces market noise and provides a more stable and reliable representation of the trend than a traditional, single MA. The name reflects its core strengths: "Adaptive" for its intelligent Kalman filter smoothing, and "Nexus" because it serves as a central point, bringing together a wide array of moving average types.
________________________________________
Key Features
• Composite Engine: Instead of a single MA, the Adaptive Nexus Line averages a user-defined cluster of MAs (e.g., 20 MAs with lengths from 5 to 105). This significantly smooths out price action and reduces false signals.
• Universal MA Selection: The engine supports a comprehensive suite of moving average types, including SMA, EMA, WMA, HMA, VWMA, RMA, ZLMA, and ZMA.
• Momentum Gradient: The indicator's most unique feature is its visual momentum coloring. The line smoothly transitions from red (bearish momentum) through yellow (neutral/indecision) to green (bullish momentum) based on the real-time ratio of rising vs. falling MAs within the cluster.
• Change-Point Signals: A white dot is plotted at the very start of a color change, and a yellow dot is plotted at the end, providing clear signals of potential shifts in momentum.
• Multi-Timeframe (MTF) Support: View the Adaptive Nexus Line from any timeframe directly on your current chart (e.g., plot the 4H line on a 15m chart) to get a better perspective of the higher-level trend.
• Adaptive Kalman Filter: An optional, switchable Kalman filter is included to provide an additional layer of intelligent, adaptive smoothing to the final output line. Its sensitivity is fully adjustable.
________________________________________
Settings Explained
• Moving Average Settings: Control the core engine. Choose your preferred MA Type, the Number of MAs in the cluster, the Start Length, and the Step between lengths.
• Time Frame: Set the indicator to a higher timeframe for a broader market view. Leave blank to use your chart's current timeframe.
• Kalman Filter Settings: Toggle the Use Kalman Filter on or off. Adjust the Kalman Smoothing Period (higher = smoother) to fine-tune the adaptive smoothing to your preference.
Risk-Reward Position SizerRisk-Reward Position Sizer – Features Checklist
Purpose:
A visual calculator and position sizing tool for day traders, providing realistic risk, stop-loss, take-profit, and reward-to-risk information based on account size and position constraints.
Features:
Flexible Risk Settings
Set risk as a percentage of your account or a fixed dollar amount per trade.
Automatically calculates position size based on desired risk and stop distance.
Stop Loss Options
Stop distance can be defined as a percent of entry price or a fixed price.
Automatically adjusts stop distance when position is cash-limited to achieve your target risk.
Take Profit Options
TP can be defined as a fixed R multiple (e.g., 2R) or fixed absolute price.
Cash-Limited Position Handling
Optional “Cap Position to Account Size” prevents buying more shares than your cash allows.
Shows actual achievable risk if your cash limits position size.
Realistic Risk / Reward Calculations
Calculates Actual Risk $ based on position size and stop distance.
Calculates Projected Win $ based on take profit and position size.
Calculates Actual Reward-to-Risk (R:R) ratio using actual stop and TP.
Position Metrics
Estimated quantity of shares/contracts to buy.
Estimated position value.
Estimated leverage used relative to account size.
Top-Right Table Display
Clear, compact table showing:
Account size
Target risk $
Actual risk $
Stop distance
Quantity
Position value
Take profit and stop-loss prices
Projected win $ and %
Projected loss %
Actual R:R
Leverage
Trading Decision Aid
Gives traders a realistic snapshot of achievable risk and reward before entering a trade.
Helps avoid the common trap of setting tight stops that don’t actually match desired account risk.
Why It’s Useful:
This indicator turns abstract risk/reward concepts into concrete, actionable numbers, helping day traders size positions safely, plan stops and targets realistically, and maintain consistent risk management across trades.
Holistiq Indicator – Trade Protocol Holistiq Indicator – Trade Protocol is an educational overlay that identifies areas where multiple technical elements converge (candlestick patterns, VWAP, S/R, Fibonacci levels and gaps). It’s designed to help traders visualise confluence and build disciplined trade plans. This public script shows the full source code for transparency and learning. Use responsibly; not financial advice.
FVG/ iFVG point size Shows the size in points of combined fvg and inverted fvgs. Good for determining momentum and strength in reversals
settings:
lookback - how many candles to look for fvgs and ifvg
change length of the fvg box
change settings to decided the minimum size of gap to label
colours of boxes and labels
Nifty vs Nifty Fut Premium indicator This indicator compares Nifty Spot and Nifty Futures prices in real-time, displaying the premium (or discount) between them at the top of the pane.
Trading applications:
Arbitrage opportunities: When the premium becomes unusually high or low compared to fair value (based on cost of carry), traders can exploit the mispricing through cash-futures arbitrage
Market sentiment: A rising premium often indicates bullish sentiment as traders are willing to pay more for futures, while a declining or negative premium suggests bearish sentiment
Rollover strategy: Near expiry, monitoring the premium helps traders decide optimal timing for rolling positions from current month to next month contracts
Risk assessment: Sudden spikes in premium can signal increased demand for leveraged long positions, potentially indicating overbought conditions or strong momentum