Event Marking [zidaniee]This is not a technical analysis indicator, but a visual tool designed to mark important global events using vertical lines on your chart.
By placing a single marker at the exact time an event occurred, you can compare how different assets reacted to that global event — before, during, and after it happened.
In the example provided, the marking corresponds to the moment when U.S. President Donald Trump announced a 100% tariff on goods from China, which was immediately reflected in market reactions worldwide.
The indicator includes full customization features for:
• Event label text
• Label size and position
• Line color, style, and width
Enjoy
Educational
Grandoc's MTF SeparatorsOverviewThis indicator, known as Grandoc's MTF Separators, draws vertical lines to mark key period boundaries across multiple timeframes (MTF—standing for "Multi-Timeframe," which allows visualization of higher-timeframe structures like daily or weekly pivots directly on lower-timeframe charts, such as 15-minute views). It helps traders align intraday decisions with broader market cycles. Additionally, it includes optional session open/close lines and closing price ranges for major forex sessions (Sydney, Tokyo, Frankfurt, London, New York). By combining customizable timeframe separators with session-specific visuals, it provides a comprehensive tool for multi-timeframe analysis without cluttering the chart. The script is optimized for efficiency, using arrays to manage drawings and respect TradingView's limits.© grandoc
Created: October 12, 2025
Last Modified: October 12, 2025
Version: 1.4 (Improved: Added Frankfurt session with independent toggles for open/close lines and closing range)Key FeaturesMulti-Timeframe (MTF) Separators: Configurable lines for up to four timeframes (e.g., daily, weekly, monthly), plotted as vertical lines extending across the chart. Supports periods from seconds to years—ideal for spotting MTF confluences, like a weekly open aligning with a London session start.
Session Management: Independent toggles for open/close lines and 30-minute closing ranges for five major sessions. Opens use dotted lines by default; closes use solid lines. Frankfurt session added for European traders.
Customization: Select reference points (session start or midnight day start), timezones, colors, line styles, and lookback limits to control visibility and performance.
Efficiency: Arrays limit drawings to user-defined lookback periods, preventing overload on historical data.
Originality and UsefulnessThis script extends standard timeframe detection by integrating session visuals with granular controls, including the new Frankfurt session for better European market coverage. Unlike generic separators, it uses a modular drawSeparator() function for consistent rendering across MTF and sessions, reducing code redundancy. Closing ranges highlight volatility in the final 30 minutes of each session, serving as dynamic support/resistance—unique for session-based strategies.Ideal for forex traders on instruments like EURUSD futures, where aligning intraday trades with higher-timeframe pivots and session transitions reduces noise. For instance, on a 15-minute EURUSD futures chart, daily separators mark session-aligned opens, while London closing ranges flag potential reversal zones before New York handover. The MTF aspect shines here: A weekly separator (orange solid line) crossing a NY open (blue dotted) signals a high-probability setup.How It WorksMulti-Timeframe SeparatorsDetection: Uses ta.change(time(tf, sess, tzz)) to identify period starts, where tf is the timeframe string (e.g., "1D"), sess is "0000-0000" for day-midnight or empty for session-start, and tzz is the timezone.
Drawing: On change, drawSeparator() creates a vertical line via line.new(x1=x_time, x2=x_time, y1=open, y2=open + syminfo.mintick, extend=extend.both). The mintick offset ensures it's a line, not a point. Lines extend both ways for full visibility.
Management: Pushed to dedicated arrays (e.g., sepArray1); excess trimmed with array.shift() and line.delete() based on lookback.
Visibility: Only plots if higher timeframe (timeframe.in_seconds(tf) > timeframe.in_seconds()).
Session Open and Close LinesDetection: For each session (e.g., Sydney: "2200-0700:1234567"), inSession = not na(time(timeframe.period, sessionStr, sessionTz)). Opens trigger on inSession and not inSession ; closes on not inSession and inSession .
Drawing Opens: Calls drawSeparator(true, sessionColor, sessionOpenWidth, sessionOpenStyle, sessionLookback, sessLinesArray) at time (bar open time). Uses global dotted style/width by default for easy identification of new sessions.
Drawing Closes: Similar call, but at time_close (previous bar close) for precise end-time alignment. Uses global solid style/width. All shared in one sessLinesArray for unified trimming.
Navigation Benefit: Dotted opens act as "entry gates" for session momentum; solid closes as "exit signals." Colors differentiate sessions (e.g., green for Sydney), enabling quick scans—e.g., spot Tokyo open overlaps on EURUSD futures for Asian bias.
Closing RangesDetection: For each closing window (e.g., London: "1630-1700:1234567"), inClose = not na(time(timeframe.period, closeStr, sessionTz)).
Tracking: On entry (inClose and not inClose ), initializes high/low at current bar's values and stores bar_index. During session, updates with math.max/min(nz(var, high/low), high/low).
Drawing: On exit (not inClose and inClose ), creates box.new(left=startBar, right=bar_index-1, top=high, bottom=low, border_color=sessionColor, bgcolor=color.new(sessionColor, 80)). 80% transparency for subtle shading; border matches session color.
Management: Pushed to rangeBoxesArray; trimmed like lines. Only draws if toggle enabled (defaults off to avoid clutter).
Navigation Benefit: Ranges visually encapsulate end-of-session volatility—e.g., on EURUSD futures, a tight NY range signals low-risk continuation, while wide ones warn of gaps. Ideal for range-break trades or as next-session S/R.
All session elements use the dedicated sessionTz for consistency, independent of separator timezone.Installation and UsageAdd via TradingView's Public Library (search "Grandoc's MTF Separators").
Settings Navigation: Separators (#1-4): Toggle/enable timeframes (e.g., D1 default); lookback hidden for simplicity.
Style: Per-separator colors/widths/styles (hidden widths); global open/close styles for sessions.
Preferences: "Session" vs. "Day" reference (tooltips explain EURUSD example); timezone (hidden, Day-only).
Session Settings: Unified timezone for all sessions.
Open Lines (g4): Per-session toggles (all on default).
Close Lines (g7): Per-session toggles (all on default).
Closing Ranges (g5): Per-session toggles (all off default—enable for S/R focus).
Session Times (g8): Edit strings (e.g., adjust for DST on EURUSD futures).
Colors & Lookback (g6): Session colors; shared lookback limits.
Apply to EURUSD futures (e.g., 15-min chart) with defaults: See green daily dots, orange weekly solids, session opens/closes in theme colors.
Pro Tip: On futures, set "Session" reference and exchange TZ for accurate rollover alignment; enable ranges for close-of-day liquidity plays. For MTF depth, layer #3 (monthly) over intraday for long-term bias.
LimitationsLines/ranges may cluster on low-timeframe charts; increase lookback or disable lower separators.
Session times are UTC defaults; manual DST tweaks needed for futures like EURUSD.
Time-based; avoid non-standard charts (e.g., Renko).
No built-in alerts—use TradingView's on line/box conditions.
Example Chart Open-source for community reuse (credit © grandoc). Published October 12, 2025. Questions? Comment below!
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.
WOW Intraday Tracker by Dev🎯 WOW Intraday Tracker: Professional Trade Execution & R/R Analysis
The WOW Intraday Tracker (V1.30 Final) is an advanced, invite-only tool built for disciplined intraday trading. It transforms market signals into a fully managed trade, providing both real-time execution confidence and objective performance review.
************************************************************************************
✨ Core Execution Features
The Tracker automates the most critical aspects of trade management:
Automatic Entry Trigger: The script uses a proprietary multi-factor scoring system to identify high-probability setups. Once a trade signal is validated and its Score meets the Activation Threshold (which is visible in the Running Trade Table), the entry order (Long or Short) is automatically triggered and monitored.
Trade Grade Qualification: Crucially, every setup is assigned a Trade Grade (A+, A, or B) before entry, based on structural confluence, allowing traders to qualify the setup quality instantly.
Initial SL & Multiple Targets (TGTs): All trades are established with risk-defined parameters from the start.
Initial Stop-Loss (SL): Automatically calculated based on user-defined ATR Multiples to align risk with current volatility.
Multiple Take-Targets (TGTs): Two distinct target levels (TGT1 and TGT2) are set based on user-defined R-Multiples (Risk-to-Reward ratios) to facilitate a partial profit-taking strategy.
Dynamic Trailing & Stop Adjustment: As the trade progresses, the script automatically manages risk, adjusting the stop-loss upon TGT hits to lock in profit.
Signal Cancellation Feature: To protect capital, the script actively monitors the signal's health. If the internal trade score drops below the configurable Cancellation Threshold before entry, the pending order is automatically invalidated and cleared.
⚖️ Trade Exit and Weighted R/R Assumptions
The script's primary function is to track and calculate a Weighted Risk-to-Reward (R/R) based on a predetermined exit plan:
Target 1 (T1): 30% of the original position. Stop is adjusted to protect profits.
Target 2 (T2): Another 30% of the original position. Trailing Stop begins based on a volatility factor.
Final Exit: Rest 40% of the original position. Exited when the Trailing Stop is hit.
Important Note: The Trailing Stop is tracked on a closing basis within the script. While you can choose to exit the trade manually on a hit basis or book profits based on your personal judgment, the script's final Weighted R/R calculation is based on the assumption that the position exits as detailed above.
**************************************************************************************
📊 Global R/R Tracker Table (Performance by Grade)
This powerful feature provides objective, actionable data for trade review. It continuously tallies your performance, broken down by the quality (Grade) of the trade setup.
The table tracks performance for A+, A, and B grade setups, plus a TOTAL row, based on your chosen lookback (Full History or Day Start)
By separating performance by Grade, you gain a clear, evidence-based understanding of which setups truly deserve your capital and focus.
*************************************************************************************
🎨 Advanced Customization & Styling
The WOW Intraday Tracker offers extensive control over the look and feel of your workspace to ensure maximum clarity and minimal chart clutter.
Table Positioning: Freely select the on-chart location (Top Right, Bottom Left, etc.) for all three tables.
Theming: Customize the background and text colors for all tables, including the dynamic green/red backgrounds of the Global R/R Tracker.
Plot Lines: Full color control over all plotted trade lines: PDH/PDL, Entry Price, Initial Stop, Trailing Stop, and Targets.
*********************************************************************************
⏱️ Usage & Recommended Timeframes
The WOW Intraday Tracker is primarily designed and optimized for high-frequency, short-term intraday trading.
Recommended Timeframes: For optimal performance, we recommend using the script on lower-to-mid-range intraday timeframes: 5-minute, 15-minute, and 25 (or 30) minutes.
Intended Use: While the script can be applied to higher timeframes, its main purpose is to capture volatility and quick moves within the trading day.
Swing Trading: In rare instances, the tracker may generate signals suitable for a short-term swing trade (1-2 days), but this is secondary to its core intraday function.
********************************************************************************************
🔑 Access Note
The WOW Intraday Tracker utilizes proprietary logic within its scoring system and is published as an invite-only script. The source code is protected to maintain the integrity and value of the intellectual property.
To inquire about access, please contact the author directly via TradingView Private Message on this profile.
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!
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
[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
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)
Make & Track An Index — Custom Weighted (by Quinn Millegan)Fixed pinescript security call issue limiting to 40 calls
Modern SessionsModern Sessions Indicator -
This is a trading sessions indicator for TradingView (Pine Script v5) that visually highlights different forex market trading sessions on your chart with colored boxes and provides a real-time status dashboard.
Key Features
📍 Four Major Trading Sessions
The indicator tracks and displays the four main global forex trading sessions:
Tokyo Session (00:00-09:00 UTC) - Blue colored
London Session (08:00-17:00 UTC) - Orange colored
New York Session (13:00-22:00 UTC) - Green colored
Sydney Session (22:00-07:00 UTC) - Purple colored
🎨 Visual Session Boxes
Automatically draws translucent colored boxes over active trading sessions
Boxes dynamically expand to show the session's high and low price range
Session names are labeled at the top of each box for easy identification
Boxes update in real-time as new highs or lows are formed during the session
⚙️ Fully Customizable
Enable/disable any session individually
Customize colors for each session to match your chart theme
Adjustable session times - modify start/end times for each session
All times are based on UTC timezone for consistency
📊 Live Status Dashboard
Optional top-right dashboard table showing all sessions at a glance
Real-time "Active" (green) or "Closed" (red) status for each session
Clean, modern dark theme design that matches TradingView's interface
Can be toggled on/off as needed
How It Works
The indicator monitors the current bar's timestamp and checks if it falls within any defined session timeframe. When a session becomes active, it creates a box starting from that bar and continues extending it rightward while updating the high/low boundaries. The dashboard updates on every bar to reflect which sessions are currently active.
Use Cases
Session-based trading strategies - Trade only during specific high-volume sessions
Volatility analysis - Identify which sessions produce the largest price ranges
Overlap identification - Spot when multiple sessions are active simultaneously (highest liquidity)
Time-based analysis - Study how price behaves during different market hours
This indicator is perfect for forex traders, scalpers, and anyone who needs clear visual reference for when major markets are open.
Volume Lowest Since X DaysI've created a TradingView Pine Script v6 indicator that tracks and displays when the current closing volume is the lowest since a specific date. Here's what it does:
Key Features:
Lookback Period: You can adjust the number of bars to look back (default: 252, roughly one trading year)
Visual Elements:
Volume bars displayed as histogram (red when it's the lowest, blue otherwise)
Orange line showing the lowest volume level
Label on the chart when current volume is the lowest, showing the date
Information Table: Shows in the top-right corner:
Current volume
Lowest volume in the period
Date when that lowest volume occurred and how many bars ago
Alert: You can set up an alert for when current volume reaches the lowest level in the lookback period
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.
NQ → NAS100The NQ → NAS100 Converter is a practical utility designed for traders who trade both the Nasdaq futures (NQ) and Nasdaq CFD (NAS100) markets.
It calculates and displays the converted stop-loss distance and price level on the NAS100 chart, based on a chosen number of NQ points.
This helps traders align their risk and position management between futures and CFD markets with precision.
🧮 Core Features:
Real-time conversion between NQ (CME) and NAS100 (OANDA) prices.
Automatic stop calculation for both Long and Short trade setups.
Optional display of NQ price, NAS price, and converted stop price.
Flexible visualization modes:
Candle-attached label that moves with price.
Chart-fixed panel for a clean dashboard-style view.
Full customization of colors, text size, alignment, and display position.
⚙️ How It Works:
Enter your NQ stop distance (in points).
The script converts that distance into the equivalent NAS100 distance, using the current NQ/NAS ratio.
The final converted NAS100 stop price is automatically displayed.
⚠️ Important Note:
This script does not place or execute trades.
It is designed solely for analysis and educational use to assist with risk management and cross-market price mapping.
Always confirm levels independently before trading.
📊 Recommended For:
Traders managing correlated exposure between NQ Futures and NAS100 CFDs.
Prop firm traders using NAS100 as a futures-correlated proxy.
Anyone seeking a clear, visual way to match stop distances across the two markets.
Zay Gwet Alert (Breakout→Retest→Confirm)EMA 9, VWAP, ORB (15-minute), Breakout, and Retest alerts are available within this application. It is particularly suitable for options day traders. Please note that this indicator is intended for educational purposes only and does not constitute financial advice. Trading involves inherent risks; therefore, it is essential to conduct your own research prior to making any trading decisions.
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
DTC — Session KillzonesDTC — Session KillZones (ICT Kill-Zones)
Visual session mapping for higher-probability windows (New York, London, Tokyo/Asian, London Close). Anchored session ranges, labels, and optional dividers make it easy to spot session structure and historic range areas on any timeframe.
What it shows
Time-anchored session range boxes (High / Low per session) that stay locked to session candles.
Optional session name labels placed inside ranges.
Optional session transition markers (small plotshape markers at session start/end).
Optional daily divider line and weekday labels.
Timezone control: use exchange timezone or a custom UTC offset.
Key inputs
Enable/disable each session (A/B/C/D), set session name and session hours.
Toggle session range boxes, labels, and outlines.
Range area transparency control.
Choose whether to use Exchange timezone or a custom UTC offset.
Show/hide session dividers and daily divider.
Usage tips
To avoid rendering issues, pin the indicator to the right price scale in the indicator menu (Pin → Pinned to right scale). If the indicator is set to No scale (fullscreen) it may not render boxes/labels correctly.
Works well on all timeframes; ranges are calculated per-session based on bar timestamps.
If you want ranges to persist visually but reset stats each session, the indicator already stores last session high/low and draws boxes anchored by the session start time.
Limitations & notes
This indicator is a visual tool — not a signal generator. It does not open/close trades automatically.
Session ranges rely on bar timestamps — ensure your chart timezone is set correctly if comparing across exchanges.
Objects are created as chart drawings (boxes, labels) and may count toward TradingView's object limits on exceptionally active charts.
Disclaimer
This script is provided for educational and visual analysis purposes only. It is not financial, investment, or trading advice. Always use your own judgement and risk management. Past visual patterns do not guarantee future performance.
Version & support
Pine Script v5.
If you or users see missing boxes/labels, first confirm the indicator is pinned to a price scale (recommended: right scale). If problems persist, tell me the symbol and timeframe and I’ll help troubleshoot.
CyberTradingV1.4 TRexCyberTradingV1.3 — Multi-TF Volatility/Structure + FVG Suite (by College Pips)
TL;DR
One utility to read volatility regime (ATR vs TH), map market structure & swings, and track FVG/CE imbalances—so you can gauge range, context and entries in one place. No signals or promises; it’s a contextual toolkit.
What it does
Volatility table (multi-TF): Shows ATR-style and TH proxies across 1m → Monthly, so you can compare current TF vs higher TFs.
Composite levels: LQC / GAM / Trigger / TRex quantify “how much is enough” for legs/impulses relative to the active TF.
Structure & swings: Validated swing highs/lows with optional time-anchored rectangles (height sized by LQC) and auto structure/diagonal lines.
Imbalances (FVG): Auto-detect UP/DOWN FVGs, extend forward, optional CE line; alerts fire on touches/entries/fills.
Candle sizing: Directional color map by fixed ATR-ratio buckets; Inside Bars are force-colored for clarity.
How components work together (mashup rationale)
Read regime with the table (ATR vs TH per TF).
Map structure with swings/lines to see HH/HL/LH/LL context.
Focus imbalances with FVG + optional CE; monitor with alerts.
Act with thresholds using LQC/GAM/Trigger/TRex to standardize expectations across symbols/TFs.
Method transparency
ATR/TH math: ATR is a smoothed multi-window blend; TH scales the daily range to TF via √time.
Composites: LQC ≈ √(ATR×TH) × C(TF); GAM2/3/4 and Trigger/TRex apply TF-specific scalars to min/max aggregates (see source for exact coefficients).
Multi-TF: Values come from request.security and finalize on higher-TF bar close (no look-ahead).
Swings: Confirmed using left/right strengths; labels are offset back to the pivot bar.
FVG/CE: Classic 3-bar definition; CE is the midpoint line. Boxes extend until touched/filled; optional auto-delete on fill.
Usage
Enable the table to gauge expansion/contraction.
Turn on swing rectangles for LQC-sized reaction zones.
Toggle FVG + CE on your execution TF; use alerts to catch re-entries/resolutions.
Combine with price action and your own trade plan.
Limitations & fair warnings (be honest)
Offsets/past plotting: Swing labels and rectangles are anchored to past bars (offset = -right_strength). They do not predict future bars.
Repainting notes: Swings confirm after right_strength bars; higher-TF values finalize on their close. Past markings can update as confirmations occur.
Tick handling: Uses syminfo.mintick (special cases for JPY/XAU/XAG). Validate on exotic symbols.
No promises: This is a context tool, not a buy/sell signal generator.
Alerts included
ABOVE/BELOW threshold: Price crossing CE or FVG bounds.
IOFED up/down: Price entering an FVG from above/below.
Inputs (high-level)
Layout/positioning, color palettes, swing rectangle styling (width/fill/border), detection strengths, label/line widths, FVG lookback, CE on/off & style, auto-delete filled boxes.
Credits & reuse
Concepts like FVG/CE are widely known in market-microstructure education.
This implementation—table architecture, LQC/GAM/Trigger framework, swing rectangles, candle bucketing, and alert logic—is original to College Pips / CyberTradingV1.4
GAMMAPOINTS2.1This indicator, part of GloballView, provides insights into key Gamma Exposure (GEX) levels in the market. By analyzing each option's Open Interest and gamma, it calculates total GEX by price level, highlighting areas where market makers have significant gamma exposure and may need to hedge accordingly.
PRICE_EMA {S4SUSHO}Spot momentum transitions before the crowd — clarity meets precision with PRICE_EMA {S4SUSHO}.
This indicator helps you instantly identify higher-timeframe momentum shifts.
It highlights when the 20 EMA crosses the 200 EMA on weekly and monthly charts with distinct background colors and blended overlays when both align.
The script also plots tiny arrows where price crosses above or below the weekly 200 EMA, signaling potential long-term breakouts or breakdowns.
Clean, minimal, and designed for swing and positional traders who want fast visual confirmation of trend direction across multiple timeframes — without clutter.
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!