Volatility RadarThis script will display a status overview of volatility as measured by VIX. It requires real-time OPRA data for full functionality.
Индикаторы и стратегии
Multi-Mode Adaptive Strategy [MMAS]This Pine Script strategy dynamically adapts to different market conditions. Users can switch between trend‑following, mean‑reversion, and breakout modes, making it versatile across assets and timeframes.
Key Metrics:
- BTCUSDT / 1D → Return: +42.5%, Sharpe: 1.8, Max Drawdown: -12.3%, Win Rate: 61%
- XAGUSD / 1H → Return: +18.7%, Sharpe: 1.4, Max Drawdown: -8.5%, Win Rate: 58%
- EURUSD / 4H → Return: +25.2%, Sharpe: 1.6, Max Drawdown: -10.1%, Win Rate: 60%
Key Features:
- Modular design: switch between trend, mean‑reversion, breakout
- Works across crypto, forex, commodities
- Clear visualization with signals and metrics
• Global Note
"Universal strategy design for cross‑asset adaptability."
• Tags
trend, mean‑reversion, breakout, multi‑asset, adaptive strategy, pine script
Options Chain Table [Enhanced]The primary purpose of this script is Unusual Options Activity (UOA) Detection.Identifying "Whales": Traders use it to spot when large institutions or "smart money" are aggressively buying Calls (betting price goes up) or Puts (betting price goes down).Contextualizing Volume: Instead of just showing raw volume (e.g., "10,000 contracts traded"), it calculates a Ratio. If the average volume is 1,000 and today's volume is 10,000, that is a 10x Spike, which is highly significant.0DTE & Short-Term Trading: It is optimized for analyzing the "Active Expiration" (often the current day for SPX/NDX), making it useful for 0DTE (Zero Days to Expiration) strategies.2. Key Features & VisualsThe script overlays a table on your chart with the following columns:ColumnDescriptionCall AvgThe historical average volume (Moving Average) for the Call option.Call RatioThe "Spike Factor." calculated as $ NSE:CURRENT Volume / Average Volume$$. High ratios turn Green.Call VolThe actual volume traded today for that Call strike.StrikeThe Strike Price of the option (e.g., 5800). The "At-The-Money" (ATM) strike is highlighted Blue.Put VolThe actual volume traded today for that Put strike.Put RatioThe "Spike Factor" for Puts. High ratios turn Red/Fuchsia.Put AvgThe historical average volume (Moving Average) for the Put option.3. How It Works (Technical Breakdown)This script uses advanced Pine Script techniques to bypass some of TradingView's limitations regarding options data.A. Dynamic Symbol ConstructionTradingView does not have a simple function to "get the option chain." This script manually constructs the ticker symbol for each option contract using the OPRA format:Format: OPRA:ROOT Example: OPRA:SPXW251226C5800 (SPX Weekly, Dec 26, 2025, Call, 5800 Strike).B. Tuple Fetching (Optimization)TradingView limits scripts to 40 request.security calls. To display 11 rows of data (which would normally require 44 calls: Call Vol, Call MA, Put Vol, Put MA per row), the script uses Tuple Fetching. It requests the Volume and the Moving Average in a single request, cutting the data usage in half and allowing the table to load faster without errors.C. Spike LogicIt calculates a moving average (EMA or SMA) of the volume over a set lookback period (default 20 bars).Medium Spike (M): Volume is > 2x the average.Large Spike (L): Volume is > 3.5x the average.Extreme Spike (E): Volume is > 5x the average.4. How to Use It (User Guide)To use this script effectively, you must configure the "Inputs" correctly, as it cannot always guess the correct expiration dates automatically.Add to Chart: Add the script to a chart (works best on indices like SPX, NDX, SPY, QQQ).Set the Center Price (Crucial):In the settings, look for "Manual Center Price".Input the current price of the asset (e.g., if SPX is at 5815, enter 5815).Why? The script generates strikes around this number. If you leave it 0, it might try to use the close price, which can be buggy during pre-market or if data is delayed.Set the Expiration (DTE):The script attempts to default to "Today," but for best results, manually enter the date in YYMMDD format in the "Manual DTE" field.Example: For December 26, 2025, enter 251226.Read the Alerts:The script allows you to set alerts in TradingView."Any Spike → CALL": Tells you a Call option just had a massive volume spike."Any Spike → PUT": Tells you a Put option just had a massive volume spike.5. Strategy ExampleA trader using this script might see the following scenario:Market: SPX is trading sideways at 5800.Signal: The table flashes a bright green cell on the 5850 Call with a ratio of "E 6.2x" (Extreme, 6.2 times normal volume).Interpretation: Someone is aggressively buying out-of-the-money Calls. The trader might interpret this as a bullish signal (Gamma exposure increasing at 5850) and enter a long position, expecting the price to be magnetized toward 5850.
HTF Candles on Lower Timeframes (Manual OHLC)Hi everyone, this indicator is designed to plot higher timeframes candles on the chart. Here are the details:
The data is built directly from OHLC values at specific time intervals, instead of using request.security.
It supports 1H / 2H / 4H / 8H / 1D higher timeframes, and can be viewed on lower timeframes such as 5m / 10m / 15m / 30m.
The main idea behind this chart is to serve as a foundation for building other indicators that need to operate on higher timeframes while still being visualized on lower timeframes.
Feel free to share your feedback or ideas for improvement in the comments below.
Nikhil TimezoneNikhil Timezone Indicator
The Nikhil Timezone indicator is a time-based visual tool designed to help traders identify and analyze key intraday price behavior using Indian Standard Time (IST).
🔶 11:30–12:30 IST Body Range Zone
Automatically highlights the candle body range formed between 11:30 AM and 12:30 PM IST.
The zone is drawn using only open and close prices (not wicks), giving a clearer representation of real buying and selling pressure.
The box dynamically expands during the session to capture the highest and lowest candle bodies within this time window.
Useful for identifying midday consolidation, support/resistance zones, and potential breakout or rejection areas later in the session.
🔴 2:30 PM IST Candle Marker
Marks the 2:30 PM IST candle with a vertical dotted red line.
Adds a label for quick visual identification.
Helpful for traders who track late-session momentum, institutional activity, or pre-close setups.
📈 Best Use Cases
Intraday trading (especially index and liquid stocks)
Breakout and range-expansion strategies
Time-based market structure analysis
IST-focused trading workflows
This indicator is lightweight, non-repainting, and works seamlessly across intraday timeframes.
Santhosh 3EMA Strict Sequential SignalsSanthosh 3EMA Strict Sequential Signals. Created with strict conditions to avoid wrong signals
CK INDEX Strategy Open-source code, Free, No Cost.Aqui está a tradução fiel e técnica para o inglês, ideal para a descrição do seu script no TradingView:
### 1. Requirements (The 3 Principles)
1. **Study** the code.
2. **Modify** the code.
3. **Distribute** copies or derivative versions (respecting the original credits).
Description: Direction and Strength — CK Index
The **CK Index** is a composite indicator formed by the conceptual sum of two CCIs and the PVT (Price Volume Trend) with an arithmetic mean. Its function is to simultaneously validate direction and accumulated flow.
For a **buy operation**, both CCIs must be above zero, indicating bullish dominance across different time horizons, and the PVT must be above its average. For a **sell operation**, the CCIs must be below zero and the PVT below its average.
It is important to emphasize that it acts as an **entry trigger**: the candle will turn **blue** to indicate a buy, **yellow** for a sell, and **white** when there is neutrality (meaning the color will be white when there is no clear definition—these are my personal settings). In its default form, it uses **green, red, and gray**, respectively.
Good trades, and make the world a better and freer place!
Verified Astro-Table SimplifiedThis script, titled the **Financial Astrological Ephemeris Table**, is designed to be a high-precision astronomical dashboard for TradingView. Unlike standard indicators that rely on price formulas, this script serves as a **digital bridge** between professional Swiss Ephemeris data and your trading chart.
Here is a detailed breakdown of what the script provides and how to maximize its utility.
---
**1. What the Script Provides**
**A. 100% Ephemeris Synchronization**
Most "Astro" indicators in TradingView use "mean motion" math, which drifts over time. This script uses **Static Switch Logic**. By hard-coding the data from the Swiss Ephemeris, the script ensures that the degrees you see on your chart match the physical reality of the sky.
* **Sun & Moon**: Accurate to the degree for the current period.
* **Saturn & Outer Planets**: Corrects the "sign drift" found in other scripts, keeping Saturn in its true position (late Pisces for 2025).
**B. Sign & Degree Tracking**
The script translates raw longitude (0–360°) into the traditional 12-sign zodiac format (`Sign` + `Degree`). This allows you to immediately identify where planets are transiting relative to key price levels.
**C. The Sun-Relative House System**
The script calculates an **Equal House System** based on the Sun's current position.
* This treats the Sun as the "Rising" point for the day's dashboard, showing you how other planets are "angled" relative to the Sun's current solar light.
**D. Stability and Performance**
Because the script uses `barstate.islast`, it only calculates for the most recent candle. This prevents "Runtime Errors" and ensures your TradingView platform remains fast and responsive, even on low-powered laptops.
---
**2. How to Use it Effectively**
**A. Identifying Confluence with Price**
Watch for "Degree Hits." If the table shows **Saturn at 25° Pisces** and your asset is hitting a major resistance level at a number ending in **25** (or a harmonic like 2.50), it signifies a moment of "Astro-Price Confluence." These are often high-probability reversal points.
**B. Customizing the Visual Experience**
You can tailor the dashboard to your specific chart layout via the **Settings (Gear Icon)**:
* **Position**: Move the table to any corner (Top Right, Bottom Left, etc.) so it doesn't block your price action.
* **Transparency**: Adjust the "Background Color" to make the table more subtle or more prominent.
* **Text Size**: If you trade on a mobile device, set the text to "Normal." If you use a 4K monitor, set it to "Tiny" to save space.
**C. Managing the "Switch" Data**
To keep the script accurate for the long term, I will update the `get_pdf_lon` block once a month (or once a year) with the new coordinates from the Swiss Ephemeris.
**D. Directional Trading (The "Dir" Column)**
The script includes a "Direction" column. Use this to track if a planet is **Direct (D)** or **Retrograde (Rx)**.
**Strategy**: If a planet is listed as "D," its influence is considered "forward-moving" and predictable. If you update the code to show "Rx," expect the market sectors associated with that planet to experience "re-evaluations" or delays.
---
### Summary of Benefits for the User
1. **Eliminates Guesswork**: You no longer have to flip between an Ephemeris and TradingView; the data is on your screen.
2. **Historical Analysis**: You can manually change the data in the script to a historical date to see exactly how the "Astro-Weather" looked during a previous market crash or rally.
ICT FVG MNQ (Fixed Stop + Multi-TP Toggles)use- 18 min timeframe.
ICT FVG - use on MNQ 18 min time frame.
it has muti TP levels.-
Prop firm compatible.
Enjoy trading
0DTE Credit-Spread Morning FilterUPDATE: NATIVE ALERTS ADDED!
You asked, we delivered. You no longer need to sit and stare at the dashboard waiting for a green signal.
1. New "Trade Entry Signal" Alert:
I have added a custom alert condition to the code. This triggers the exact moment the dashboard flips from "NO TRADE" to "GREEN" (Strategy Found).
2. How to set it:
Simply click the "Create Alert" button (clock icon) in TradingView, select this indicator, and choose "Trade Entry Signal" from the list.
Now you can get notified on your phone or desktop instantly when the market conditions align for a 0DTE play.
Happy Trading!
Futures Psychological Levels PROFutures Psychological Levels PRO – Professional Usage Guide
Indicator Overview
This elite psychological levels tool dynamically plots the most institutionally relevant round-number clusters across futures markets (ES, NQ, YM, CL, GC, SI, BTC, and custom instruments). It separates levels into three hierarchical tiers — Major, Tradable, and Sniper — while intelligently filtering distant levels using an ATR-based proximity engine. The result is a clean, adaptive overlay that scales perfectly from scalping precision on 1-minute charts to big-picture context on daily/weekly timeframes.
Core Philosophy
Psychological levels are where order flow clusters: stops, limits, and institutional positioning accumulate around round numbers. This indicator turns static round numbers into a dynamic decision framework by:
Prioritizing confluence zones
Reducing clutter in ranging or low-volatility environments
Highlighting only price-relevant levels in real time
Key Features
Instrument Presets – One-click optimized spacing for major futures contracts
Three-Tier Hierarchy – Major (institutional anchors), Tradable (active defense zones), Sniper (precise entry/exit triggers)
ATR Proximity Filter – Automatically hides irrelevant distant levels
Zones or Lines – Visual magnet areas or clean horizontal lines
Price Labels & Summary Table – Instant reference for next major levels above/below
Full Customization – Colors, thickness, styles, and manual overrides
How to Best Use This Indicator (Professional Workflow)
Select the Correct Instrument Preset
Start with the built-in preset matching your chart (e.g., "ES (S&P 500)" for /ES or MES). This instantly applies battle-tested increments. Use "Custom" only for non-standard assets (forex pairs, micros with different tick values, or crypto alts).
Match Settings to Your Trading Style & Timeframe
Reading the Levels – Decision Framework
Major Levels (thick red by default): Highest probability reaction zones. Expect strong reversals, breakouts with volume, or liquidity sweeps. Treat as primary support/resistance.
Tradable Levels (orange): Active trader defense zones. Excellent for limit order placement, partial profit taking, or fading weak moves.
Sniper Levels (thin gray): Precision entries/exits, stop runs, and scalping targets. Confluence with order blocks or volume profile nodes dramatically increases edge.
Trade Setup Examples
Rejection Play: Price approaches a Major level from below → long wick rejection + close back inside → enter in direction of rejection with stop beyond wick extremity.
Break & Retest: Clean breakout through Tradable/Major → retest as new support/resistance → enter on confirmation candle.
Liquidity Sweep: Price briefly breaches Sniper/Major (stop hunt) → rapid reclaim → aggressive counter-trend entry.
Confluence Boost: When a level aligns with daily/weekly open, VWAP, or prior high/low volume node → dramatically increase position size or conviction.
Risk Management Integration
Always place stops just beyond the next logical level (typically a Sniper or Tradable beyond your entry zone). Use the summary table to quickly identify invalidation points. Target the next level in the direction of your bias for minimum 1:2 risk-reward (often 1:3–1:5 achievable at Major levels).
Pro Optimization Tips
High-volatility sessions (NY open, FOMC, NFP): Increase ATR Multiplier slightly to avoid excessive clutter.
Low-volatility Asian/range sessions: Decrease ATR Multiplier for tighter precision.
Combine with Volume Profile (Fixed Range or Session) to confirm high-volume nodes at psych levels.
Pair with anchored/session VWAP for additional confluence layers.
On higher timeframes, disable Sniper levels and zones entirely for minimalist structural analysis.
Important Disclaimer
This indicator is a professional decision-support tool, not a standalone trading system. All trading involves substantial risk of loss. Past performance is not indicative of future results. Always conduct your own analysis, manage risk appropriately, and consider your financial situation before placing trades.
Mastering psychological levels is one of the highest-edge concepts in institutional trading. Used correctly, this indicator gives you the same reference framework that prop desks and market makers watch every day. Trade smart, stay disciplined, and let price action at these levels guide your executions.
Williams Volatility Channel (Full Range Breakout)Overview
This indicator implements a volatility breakout system inspired by legendary trader Larry Williams. It plots daily breakout levels calculated as the previous day’s close ± the full previous day’s range (high – low). These levels act as extreme volatility expansion thresholds:
- Upper Level: Previous close + previous day’s range
- Lower Level: Previous close – previous day’s range
A price move beyond these levels signals a strong directional breakout driven by expanded volatility — a classic Larry Williams concept for identifying potential trend continuation or acceleration days.
This version uses the full prior range (multiplier = 1.0), making it more aggressive than Williams’ original examples (which often used smaller fractions like 0.25–0.5 × range). It is particularly useful on instruments with clear daily sessions and visible overnight gaps or volatility spikes.
Key Features
Daily breakout levels plotted as horizontal lines that update at the start of each new trading day.
Optional semi-transparent fill between upper and lower levels for better visual channel perception.
Subtle background shading on the first bar of each new day and new week for easier time orientation.
Configurable colors and visibility toggles.
Generic session duration input (informational only) to help estimate candles per day on non-standard markets (e.g., European indices ≈ 8.5h, US stocks ≈ 6.5h, crypto ≈ 24h).
How to Use the Indicator
Breakout Signals
Bullish Breakout: Price closes or sustains above the Upper Level → potential strong upward momentum. Consider long entries or adding to existing longs.
Bearish Breakout: Price closes or sustains below the Lower Level → potential strong downward momentum. Consider short entries or adding to existing shorts.
These breakouts often occur on news events, earnings, or when the market “wakes up” after low-volatility periods.
Trend Confirmation
Use the direction of the breakout to confirm the prevailing trend: In an uptrend, focus primarily on upside breakouts.
In a downtrend, focus primarily on downside breakouts.
Breakouts against the trend can signal potential reversals (use with caution and additional confirmation).
Support & Resistance
Once price has broken a level, that level often flips role: A broken Upper Level can act as support on pullbacks.
A broken Lower Level can act as resistance on bounces.
Risk Management
Place stops beyond the opposite level or use ATR-based stops.
Consider partial profit-taking at 1× or 2× the prior day’s range from entry.
Best Markets & Timeframes
Works well on: Stock indices (DAX, FTSE MIB, CAC, S&P 500 futures, etc.)
Individual stocks
Commodities and futures with defined daily sessions
Cryptocurrencies (adjust session hours to 24 for continuous markets)
Recommended intraday timeframes: 5–60 minutes. On higher timeframes (4H, daily), the levels still appear but are less frequently tested intraday.
Important Notes
This is a trend-following / momentum tool, not a mean-reversion or gap-fading strategy (unlike Larry Williams’ famous “OOPS” pattern).
False breakouts can occur in low-volatility or ranging markets — always use additional confluence (volume, trend filters, higher-timeframe context).
The session duration input is informational and allows definition of how many candles per day should be used in the calculation.
This indicator provides a clean, visually intuitive way to spot high-volatility breakout opportunities based on one of Larry Williams’ timeless volatility concepts. Add it to your charts and combine it with your existing trading system for enhanced entry timing on strong momentum days.
Pivot & ORB Zones with Labels & Alerts//@version=5
indicator("Pivot & ORB Zones with Labels & Alerts", overlay=true, max_boxes_count=500)
// ───── Input Settings ─────
orbMinutes = input.int(15, "ORB Minutes")
showPD = input.bool(true, "Show Previous Day Zone")
showPM = input.bool(true, "Show Previous Month Zone")
showORB = input.bool(true, "Show ORB Zone")
// ───── Previous Day High / Low ─────
pdh = request.security(syminfo.tickerid, "D", high )
pdl = request.security(syminfo.tickerid, "D", low )
var box pdBox = na
if showPD
box.delete(pdBox)
pdBox := box.new(left=bar_index-100, right=bar_index, top=pdh, bottom=pdl, bgcolor=color.new(color.red, 80), border_color=color.red)
label.new(bar_index, pdh, "PDH", color=color.red, style=label.style_label_down, textcolor=color.white)
label.new(bar_index, pdl, "PDL", color=color.green, style=label.style_label_up, textcolor=color.white)
// ───── Previous Month High / Low ─────
pmh = request.security(syminfo.tickerid, "M", high )
pml = request.security(syminfo.tickerid, "M", low )
var box pmBox = na
if showPM
box.delete(pmBox)
pmBox := box.new(left=bar_index-100, right=bar_index, top=pmh, bottom=pml, bgcolor=color.new(color.orange, 80), border_color=color.orange)
label.new(bar_index, pmh, "PMH", color=color.orange, style=label.style_label_down, textcolor=color.white)
label.new(bar_index, pml, "PML", color=color.blue, style=label.style_label_up, textcolor=color.white)
// ───── ORB (Opening Range Breakout) ─────
var float orbHigh = na
var float orbLow = na
var box orbBox = na
var bool orbAlertHighTriggered = false
var bool orbAlertLowTriggered = false
sessionStart = timestamp("GMT+0", year, month, dayofmonth, hour, minute)
inORB = (timenow - sessionStart) <= orbMinutes * 60000
if inORB
orbHigh := na(orbHigh) ? high : math.max(orbHigh, high)
orbLow := na(orbLow) ? low : math.min(orbLow, low)
else
if not na(orbHigh) and showORB
box.delete(orbBox)
orbBox := box.new(left=bar_index - orbMinutes, right=bar_index, top=orbHigh, bottom=orbLow, bgcolor=color.new(color.yellow, 70), border_color=color.yellow)
label.new(bar_index, orbHigh, "ORB High", color=color.yellow, style=label.style_label_down, textcolor=color.black)
label.new(bar_index, orbLow, "ORB Low", color=color.yellow, style=label.style_label_up, textcolor=color.black)
orbHigh := na
orbLow := na
orbAlertHighTriggered := false
orbAlertLowTriggered := false
// ───── Alerts ─────
alertcondition(close >= pdh, title="Price hit PDH", message="Price touched PDH")
alertcondition(close <= pdl, title="Price hit PDL", message="Price touched PDL")
alertcondition(close >= pmh, title="Price hit PMH", message="Price touched PMH")
alertcondition(close <= pml, title="Price hit PML", message="Price touched PML")
alertcondition(showORB and not orbAlertHighTriggered and close >= orbHigh, title="Price hit ORB High", message="Price touched ORB High")
alertcondition(showORB and not orbAlertLowTriggered and close <= orbLow, title="Price hit ORB Low", message="Price touched ORB Low")
// Reset ORB alert triggers each session
if inORB == false
orbAlertHighTriggered := false
orbAlertLowTriggered := false
Jimbob Channel/Breakout (Current TF)I have used this indicator to show a breakout of price.
The way to use it is: if there is a channel printing on the time frame you are looking at,
then it means that a directional change is coming in the future.
It is a way to see that something is coming.
It doesn’t tell you which way the price is moving while the channel is printing; it only tells you that something is coming.
I have a directional movement programmed in by an arrow printing after price has moved out of the channel, but this usually means you have missed the move. So it’s better to use these channels as an indication that price will be breaking out soon.
I hope this indicator helps people get prepared for a move that is about to happen.
Use this as an indication that something is coming rather than something that has happened.
One way of looking at this indicator is to check that the current time frame has a channel, then look at the time frames above it and see if there is a channel on them. If there isn’t, then think of it as a freeway for cars: if there is no channel in the time frames above the one you are looking at, then the move out of the current time frame shouldn’t have much headway. But if there is a channel on the higher time frames, then expect the price to go sideways until the channel on the higher time frame has broken out.
Good luck with investing using this indicator.
Cheers
Jimbob :)
Kabroda BattleBox Command [Renderer]Kabroda BattleBox Command
This is a specialized visualization utility designed to render pre-calculated institutional price levels on your chart. It is intended for traders who utilize the Kabroda Daily Calibration method to define their intraday execution framework.
How it Works: This script does not calculate levels internally. Instead, it serves as a "renderer" for external data.
Input: The user inputs a comma-separated data string (generated daily via their Kabroda Dashboard calibration) into the settings.
Parsing: The script parses this string to extract 6 key price coordinates: Daily Resistance, Breakout Trigger, Breakdown Trigger, Daily Support, and the 30-minute Opening Range High/Low.
Visualizing: It projects these levels forward in time for the current trading session.
Key Features:
Execution Levels: Plots specific Breakout and Breakdown triggers derived from the opening 30-minute volatility.
Liquidity Sessions: Automatically highlights key global trading hours (London Open, NY AM, NY PM, Tokyo, Sydney) based on New York Time, helping traders visualize volume injection points.
Imbalance Zones (Optional): Identifies and highlights market imbalances created by aggressive buying or selling, which often act as magnets for price re-tests.
Usage Guide:
Step 1: Obtain your daily data string.
Step 2: Open Indicator Settings -> "Daily Calibration".
Step 3: Paste the string into the "Paste Data String" field.
Step 4: The script will instantly render the day's battle map.
Disclaimer: This tool is a visualization aid. It requires valid external data to function. Without the daily input string, the chart will remain blank.
Anurag Institutional Swing SqueezeHere is a concise 5-line description suitable for the TradingView library:
**1. Core Strategy:** A professional-grade swing trading system combining **Multi-Timeframe Volatility Squeezes** with **Chaikin Money Flow (CMF)** to validate institutional breakouts and filter fake-outs.
**2. Macro Logic:** Features a "Trend Lock" mechanism that forces 4-hour signals to align with the **Weekly Macro Trend** and checks for "Nested Squeezes" on the Daily chart for maximum explosive potential.
**3. Smart Dashboard:** A real-time HUD calculates a dynamic **Entry Quality Score (0-100%)**, automates **Option Strike & DTE selection**, and displays live Risk:Reward ratios before you trade.
**4. Execution:** Solves the "perfect timing" flaw of standard indicators by using a **"Squeeze Grace Period,"** capturing moves where institutional volume spikes 1-5 bars after the technical breakout.
**5. Risk Management:** Includes built-in ATR Trailing Stops, auto-calculated Take Profit levels, and a "Cooldown Timer" to prevent overtrading and protect capital during chop.
Custom Sector Comparison Index (CSCI)Compare any stock against a custom basket of its true peers.
Most traders compare stocks to broad indexes like the S&P 500 (SPY) or the Nasdaq (QQQ). But if you are analyzing a niche sector—like Residential REITs, Gold Miners, or AI Semis—broad indexes are too noisy.
This indicator allows you to build your own Custom Equal-Weight Index made up of up to 12 specific symbols. It then plots the performance of the stock you are currently viewing against that custom index, starting from a specific "Anchor Date" of your choosing.
Why use this?
Standard relative strength tools force you to compare against a single symbol (like SPY). But if you want to know if Centerspace (CSR) is lagging its direct competitors, comparing it to SPY (which contains Tech and Healthcare) is useless. Comparing it to VNQ (which contains Cell Towers and Malls) is also imperfect.
With this tool, you can create a "Pure Residential REIT" index and see exactly how your stock is performing against the group.
Key Features:
Fully Configurable: Input up to 12 different symbols to build your custom index.
Smart Filtering: Automatically ignores blank slots. You can build a basket of 3 stocks or 12 stocks without breaking the math.
Custom Anchor Date: Set the specific start date for the comparison (e.g., YTD, Q3 start, or a specific market event).
Visual Performance Gap: Green shading indicates your stock is outperforming the basket; Red shading indicates underperformance.
Example Use Case: Residential REITs
I developed this to analyze the "Residential REIT" sector. I wanted to see if Invitation Homes (INVH) was trading at a discount due to fundamentals or if the whole sector was down.
I configured the basket with 9 of its closest peers:
NYSE:VRE, NYSE:UDR, NYSE:MAA
NYSE:EQR, NYSE:CSR, NYSE:ESS
NYSE:CPT, NYSE:AVB, NYSE:AMH
The Result: The indicator draws a gray line representing the average return of those 9 "Big Boys." I can then load CSR on the chart and immediately see if it is lagging the pack (a potential value buy) or leading it.
How to Use:
Add the indicator to your chart.
Open Settings (Double-click the line).
Start Date: Set the date you want the "race" to begin (where all returns reset to 0%).
Symbols: Type in the tickers for your custom basket (e.g., NVDA, AMD, INTC). Leave unused slots blank.
Analyze:
Gray Line: The average performance of your basket.
Blue Line: The performance of the current symbol on your chart.
Pro Tip: You can save different "Presets" in the indicator settings for different sectors (e.g., save one preset as "Semis" and another as "Oil Majors") so you don't have to re-type symbols every time.
EMA + Previous Candle High/LowA versatile multi-timeframe indicator that combines customizable EMAs with previous candle levels for precise support/resistance identification.
Key Features:
📊 4 Fully Customizable EMAs:
EMA 9 (Yellow) - Fast-moving for scalping
EMA 20 (Blue) - Short-term trend
EMA 50 (Orange) - Medium-term trend
EMA 200 (White) - Long-term trend direction
Each EMA is independently customizable:
Adjustable period length
Custom color selection
Line thickness (1-5)
Transparency control (0-100%)
📈 Previous Candle Levels:
Displays high/low from any timeframe (default: Daily)
Green line for Previous High
Red line for Previous Low
Customizable line style: Solid, Dashed, or Dotted
Optional shaded zone between high/low with adjustable transparency
Price labels showing exact levels
Configurable line extension (10-200 bars forward)
Use Cases:
Day traders: Use Daily high/low with fast EMAs (9/20) for intraday support/resistance
Swing traders: Use Weekly high/low with slower EMAs (50/200) for trend confirmation
Scalpers: Combine 5-min previous levels with EMA 9 for quick entries
Position traders: Weekly/Monthly levels with EMA 200 for long-term bias
Why This Indicator:
Previous timeframe highs/lows act as natural support/resistance where price often reacts. Combined with EMAs for trend confirmation, you get clear levels to enter trades with confluence. The full customization allows you to match any trading style or chart theme.
Session Volume Analyzer [JOAT]
Session Volume Analyzer — Global Trading Session and Volume Intelligence System
This indicator addresses the analytical challenge of understanding market participation patterns across global trading sessions. It combines precise session detection with comprehensive volume analysis to provide insights into when and how different market participants are active. The tool recognizes that different trading sessions exhibit distinct characteristics in terms of participation, volatility, and volume patterns.
Why This Combination Provides Unique Analytical Value
Traditional session indicators typically only show time boundaries, while volume indicators show raw volume data without session context. This creates analytical gaps:
1. **Session Context Missing**: Volume spikes without session context provide incomplete information
2. **Participation Patterns Hidden**: Different sessions have different participant types (retail, institutional, algorithmic)
3. **Comparative Analysis Lacking**: No easy way to compare volume patterns across sessions
4. **Timing Intelligence Absent**: Understanding WHEN volume occurs is as important as HOW MUCH volume occurs
This indicator's originality lies in creating an integrated session-volume analysis system that:
**Provides Session-Aware Volume Analysis**: Volume data is contextualized within specific trading sessions
**Enables Cross-Session Comparison**: Compare volume patterns between Asian, London, and New York sessions
**Delivers Participation Intelligence**: Understand which sessions are showing above-normal participation
**Offers Real-Time Session Tracking**: Know exactly which session is active and how current volume compares
Technical Innovation and Originality
While session detection and volume analysis exist separately, the innovation lies in:
1. **Integrated Session-Volume Architecture**: Simultaneous tracking of session boundaries and volume statistics creates comprehensive market participation analysis
2. **Multi-Session Volume Comparison System**: Real-time calculation and comparison of volume statistics across different global sessions
3. **Adaptive Volume Threshold Detection**: Automatic identification of above-average volume periods within session context
4. **Comprehensive Visual Integration**: Session backgrounds, volume highlights, and statistical dashboards provide complete market participation picture
How Session Detection and Volume Analysis Work Together
The integration creates a sophisticated market participation analysis system:
**Session Detection Logic**: Uses Pine Script's time functions to identify active sessions
// Session detection based on exchange time
bool inAsian = not na(time(timeframe.period, asianSession))
bool inLondon = not na(time(timeframe.period, londonSession))
bool inNY = not na(time(timeframe.period, nySession))
// Session transition detection
bool asianStart = inAsian and not inAsian
bool londonStart = inLondon and not inLondon
bool nyStart = inNY and not inNY
**Volume Analysis Integration**: Volume statistics are calculated within session context
// Session-specific volume accumulation
if asianStart
asianVol := 0.0
asianBars := 0
if inAsian
asianVol += volume
asianBars += 1
// Real-time session volume analysis
float asianAvgVol = asianBars > 0 ? asianVol / asianBars : 0
**Relative Volume Assessment**: Current volume compared to session-specific averages
float volMA = ta.sma(volume, volLength)
float volRatio = volMA > 0 ? volume / volMA : 1
// Volume classification within session context
bool isHighVol = volRatio >= 1.5 and volRatio < 2.5
bool isVeryHighVol = volRatio >= 2.5
This creates a system where volume analysis is always contextualized within the appropriate trading session, providing more meaningful insights than raw volume data alone.
Comprehensive Session Analysis Framework
**Default Session Definitions** (customizable based on broker timezone):
- **Asian Session**: 1800-0300 (exchange time) - Represents Asian market participation including Tokyo, Hong Kong, Singapore
- **London Session**: 0300-1200 (exchange time) - Represents European market participation
- **New York Session**: 0800-1700 (exchange time) - Represents North American market participation
**Session Overlap Analysis**: The system recognizes and highlights overlap periods:
- **London/New York Overlap**: 0800-1200 - Typically the highest volume period
- **Asian/London Overlap**: 0300-0300 (brief) - Transition period
- **New York/Asian Overlap**: 1700-1800 (brief) - End of NY, start of Asian
**Volume Intelligence Features**:
1. **Session-Specific Volume Accumulation**: Tracks total volume within each session
2. **Cross-Session Volume Comparison**: Compare current session volume to other sessions
3. **Relative Volume Detection**: Identify when current volume exceeds historical averages
4. **Participation Pattern Analysis**: Understand which sessions show consistent high/low participation
Advanced Volume Analysis Methods
**Relative Volume Calculation**:
float volMA = ta.sma(volume, volLength) // Volume moving average
float volRatio = volMA > 0 ? volume / volMA : 1 // Current vs average ratio
// Multi-tier volume classification
bool isNormalVol = volRatio < 1.5
bool isHighVol = volRatio >= 1.5 and volRatio < 2.5
bool isVeryHighVol = volRatio >= 2.5
bool isExtremeVol = volRatio >= 4.0
**Session Volume Tracking**:
// Cumulative session volume with bar counting
if londonStart
londonVol := 0.0
londonBars := 0
if inLondon
londonVol += volume
londonBars += 1
// Average volume per bar calculation
float londonAvgVol = londonBars > 0 ? londonVol / londonBars : 0
**Cross-Session Volume Comparison**:
The system maintains running totals for each session, enabling real-time comparison of participation levels across different global markets.
What the Display Shows
Session Backgrounds — Colored backgrounds indicating which session is active
- Pink: Asian session
- Blue: London session
- Green: New York session
Session Open Lines — Horizontal lines at each session's opening price
Session Markers — Labels (AS, LN, NY) when sessions begin
Volume Highlights — Bar coloring when volume exceeds thresholds
- Orange: High volume (1.5x+ average)
- Red: Very high volume (2.5x+ average)
Dashboard — Current session, cumulative volume, and averages
Color Scheme
Asian — #E91E63 (pink)
London — #2196F3 (blue)
New York — #4CAF50 (green)
High Volume — #FF9800 (orange)
Very High Volume — #F44336 (red)
Inputs
Session Times:
Asian Session window (default: 1800-0300)
London Session window (default: 0300-1200)
New York Session window (default: 0800-1700)
Volume Settings:
Volume MA Length (default: 20)
High Volume threshold (default: 1.5x)
Very High Volume threshold (default: 2.5x)
Visual Settings:
Session colors (customizable)
Show/hide backgrounds, lines, markers
Background transparency
How to Read the Display
Background color shows which session is currently active
Session open lines show where each session started
Orange/red bars indicate above-average volume
Dashboard shows cumulative volume for each session today
Alerts
Session opened (Asian, London, New York)
High volume bar detected
Very high volume bar detected
Important Limitations and Realistic Expectations
Session times are approximate and depend on your broker's server timezone—manual adjustment may be required for accuracy
Volume data quality varies significantly by broker, instrument, and market type
Cryptocurrency and some forex markets trade continuously, making traditional session boundaries less meaningful
High volume indicates participation level only—it does not predict price direction or market outcomes
Session participation patterns can change over time due to market structure evolution, holidays, and economic conditions
This tool displays historical and current market participation data—it cannot predict future volume or price movements
Volume spikes can occur for numerous reasons unrelated to directional price movement (news, algorithmic trading, etc.)
Different instruments exhibit different session sensitivity and volume patterns
Market holidays and special events can significantly alter normal session patterns
Appropriate Use Cases
This indicator is designed for:
- Market participation pattern analysis
- Session-based trading schedule planning
- Volume context and comparison across sessions
- Educational study of global market structure
- Supplementary analysis for session-based strategies
This indicator is NOT designed for:
- Standalone trading signal generation
- Volume-based price direction prediction
- Automated trading system triggers
- Guaranteed session pattern repetition
- Replacement of fundamental or sentiment analysis
Understanding Session Analysis Limitations
Session analysis provides valuable context but has inherent limitations:
- Session patterns can change due to economic conditions, holidays, and market structure evolution
- Volume patterns may not repeat consistently across different market conditions
- Global events can override normal session characteristics
- Different asset classes respond differently to session boundaries
- Technology and algorithmic trading continue to blur traditional session distinctions
— Made with passion by officialjackofalltrades
55 theory by haze!The 55 Theory by Haze! This innovative indicator embodies the essence of day trading mastery, empowering traders to decipher and capitalize on the subtle clues—or "breadcrumbs"—that major institutional banks inadvertently leave in the market when executing their substantial orders. Providing clear visual support and resistance levels for informed decision-making. Users can choose between a streamlined "Today Only" mode, which displays lines solely for the most recent session or an expansive "Historical Mode" that allows toggling the display of multiple past days simultaneously for deeper trend analysis. Additional customization options include adjustable line colours, widths, and styles to suit individual preferences and chart aesthetics, making it a versatile tool for both novice and seasoned traders navigating volatile markets.
VWAP Breakout NY Open Only vwap breakout targeting multiday taking only 2 trades per day in the first 2 hours of ny session
Ocean Master [JOAT]Ocean Master QE - Advanced Oceanic Market Analysis with Quantum Flow Dynamics
Overview
Ocean Master QE is an open-source overlay indicator that combines multiple analytical techniques into a unified market analysis framework. It uses ATR-based dynamic channels, volume-weighted order flow analysis, multi-timeframe correlation (quantum entanglement concept), and harmonic oscillator calculations to provide traders with a comprehensive view of market conditions.
What This Indicator Does
The indicator calculates and displays several key components:
Dynamic Price Channels - ATR-adjusted upper, middle, and lower channels that adapt to current volatility conditions
Order Flow Analysis - Separates buying and selling volume pressure to calculate a directional delta
Smart Money Index - Volume-weighted order flow metric that highlights potential institutional activity
Harmonic Oscillator - Weighted combination of 10 Fibonacci-period EMAs (5, 8, 13, 21, 34, 55, 89, 144, 233, 377) to identify trend direction
Multi-Timeframe Correlation - Measures price correlation across 1H, 4H, and Daily timeframes
Wave Function Analysis - Momentum-based state detection that identifies when price action becomes decisive
How It Works
The core channel calculation uses ATR with a configurable quantum sensitivity factor:
float atr = ta.atr(i_atrLength)
float quantumFactor = 1.0 + (i_quantumSensitivity * 0.1)
float quantumATR = atr * quantumFactor
upperChannel := ta.highest(high, i_length) - (quantumATR * 0.5)
lowerChannel := ta.lowest(low, i_length) + (quantumATR * 0.5)
midChannel := (upperChannel + lowerChannel) * 0.5
Order flow is calculated by separating volume into buy and sell components based on candle direction:
The harmonic oscillator weights shorter EMAs more heavily using inverse weighting (1/1, 1/2, 1/3... 1/10), creating a responsive yet smooth trend indicator.
Signal Generation
Confluence signals require multiple conditions to align:
Bullish: Harmonic oscillator crosses above zero + positive Smart Money Index + positive Order Flow Delta
Bearish: Harmonic oscillator crosses below zero + negative Smart Money Index + negative Order Flow Delta
Dashboard Panel (Top-Right)
Bias - Current market direction based on price vs mid-channel
Entanglement - Multi-timeframe correlation score (0-100%)
Wave State - COLLAPSED (decisive) or SUPERPOSITION (uncertain)
Volume - Current volume relative to 20-period average
Volatility - ATR as percentage of price
Smart Money - Volume-weighted order flow reading
Visual Elements
Ocean Depth Layers - Gradient fills between channel levels representing different price zones
Channel Lines - Upper (surface), middle, and lower (seabed) dynamic levels
Divergence Markers - Triangle shapes when harmonic oscillator crosses zero
Confluence Labels - BULL/BEAR labels when multiple factors align
Suggested Use Cases
Identify trend direction using the harmonic oscillator and channel position
Monitor order flow for potential institutional activity
Use multi-timeframe correlation to confirm trade direction across timeframes
Watch for confluence signals where multiple factors align
Input Parameters
Length (default: 14) - Base period for channel and indicator calculations
ATR Length (default: 14) - Period for ATR calculation
Quantum Depth (default: 3) - Complexity factor for calculations
Quantum Sensitivity (default: 1.5) - Channel width multiplier
Timeframe Recommendations
Works on all timeframes. Higher timeframes (4H, Daily) provide smoother signals; lower timeframes require faster reaction times and may produce more noise.
Limitations
Multi-timeframe requests add processing overhead
Order flow estimation is based on candle direction, not actual order book data
Correlation calculations require sufficient historical data
Open-Source and Disclaimer
This script is published as open-source under the Mozilla Public License 2.0 for educational purposes. It does not constitute financial advice. Past performance does not guarantee future results. Always use proper risk management and conduct your own analysis before trading.
- Made with passion by officialjackofalltrades






















