Supply/Demand Zones & EMA CrossSupply and Demand Zone based on past ten days for daily, weekly, with this ema 8,20,50,200 and vwap also inclued
Các mẫu biểu đồ
Proxit Gold Strike V.1Unlock the Power of Smart Trading with Our Exclusive TradingView Template
This template is designed for traders who want a clear, structured, and effective approach to the markets. It combines the most reliable strategies into one easy-to-use system, giving you confidence in every trade you take.
✨ What’s Inside the Template:
Price Action Entry Conditions – Spot precise signals directly from market structure without relying on lagging indicators.
Reversal Points Detection – Identify potential turning points where smart money often takes action.
New EMA Strategy – A refined moving average setup that adapts to changing market conditions.
Support & Resistance Mapping – Automatic and accurate zones to guide your entries and exits.
SMC (Smart Money Concept) Integration – Gain deeper insights into liquidity zones and institutional footprints.
Pre-Defined Entry, TP & SL Levels – No guesswork, everything is laid out for you.
🔥 Why Traders Love This Template:
High Win Rate: Backtested with strong performance across different market conditions.
Easy to Use: No complicated setups – plug it in and start trading right away.
Clear & Reliable: Every signal comes with structured risk management for consistent results.
Whether you’re a beginner looking for guidance or an experienced trader wanting to refine your edge, this template helps you stay disciplined, confident, and profitable.
Take the guesswork out of trading and let this template guide you toward smarter decisions and better results.
NXOGX By AYRUSIt plots gap zones on the chart — for example, NDOG (New Daily Open Gap) or NWOG (New Weekly Open Gap) — using only border lines (no filled boxes).
Each gap zone shows:
A top line and bottom line (solid and thick),
A middle dotted line (center of the gap),
A label (e.g. “NDOG”) placed slightly beyond the right edge of the zone,
The lines extend 5 bars beyond the most recent candle.
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
Bob Volman + EMA + TP/SL Smart (EZSignals V1)A smart scalping system inspired by Bob Volman’s price action methodology.
Combines EMA trend filtering with automatic TP/SL management and precise entry logic.
Designed for intraday traders who seek clean, efficient scalps with minimal noise.
🔹 Features:
EMA-based trend confirmation
Smart TP/SL auto calculation
Dynamic signal filtering (avoid false breakouts)
Visual entry & exit markers for better clarity
📈 Perfect for scalpers who want Volman-style precision with modern risk control.
MACD Cross Above Zero Alert (Any Timeframe)For use on a large list to spot MACD cross overs in a bullish phase or bearish phase
High Volume & Near All-Time HighThe **High Volume & Near All-Time High Screener** is a simple yet powerful Pine Script tool designed to help traders identify stocks showing strong price momentum and trading activity. This screener automatically scans multiple tickers that you define in the settings and highlights those meeting two key conditions — daily trading volume greater than **500,000 shares** and the closing price being **within a set percentage (default 2%) of its all-time high**. The results are displayed in an easy-to-read table directly on your chart, making it ideal for traders who want to quickly spot potential breakout stocks without switching between multiple charts.
**How to Use:**
To use this script, open your **TradingView Pine Editor**, paste the code, and click **“Add to Chart.”** Make sure your chart is set to the **Daily timeframe (1D)**, as the script pulls daily data automatically. You can customize the list of symbols, the minimum volume threshold, and the proximity percentage in the settings panel to match your trading style. Once added, the screener will display a table on the right side of your chart showing each symbol, its latest closing price, and whether it currently meets the breakout conditions. A ✅ mark indicates that the stock meets both criteria. This tool works best for swing traders and momentum investors who want to focus on high-volume stocks nearing new highs for potential entries.
VP_Fixed Volume ProfileBinned Volume Distribution: This chart summarizes total volume over a user-defined lookback period by dividing price ranges into multiple histograms.
This chart breaks down volume into long and short positions based on candlestick patterns and displays the percentage of total volume.
Key Price Levels (PoC): The bins with the highest volume are labeled as PoCs, and their absolute volume values are annotated.
This area typically has the highest volume concentration, and the annotated value provides a reference for absolute volume.
Auto Hourly StatsCredit to wheresbing for the original version. Mine simply provides:
- automatically calculates retrace stats, no need to input anything.
- Also cleaned up the ui a bit
- ability to toggle between hourly data independent of chart timeframes
MACD 4H Cross Above Zero AlertMACD 4H Cross the signal line to screen for stocks across a wide demo list
Round Numbers (Plotter) v2The *Round Numbers (Plotter) v2* indicator highlights key psychological price levels on the chart — the so-called *round numbers* (e.g. 1.1000 on EURUSD or23,000 on NASDAQ).
These levels often act as **natural support or resistance zones**, where price tends to react, consolidate, or reverse.
Version 2 introduces the concept of **gravitational zones**, which define a price range surrounding each round level — visualizing how price “gravitates” around these equilibrium areas.
---
### 🧩 **Main Features**
* 🔹 **Dynamic round levels:** plotted automatically based on user-defined *step size* (in points or pips).
* 🔹 **Custom step mode:** switch between “Points” (for indices, commodities, crypto) and “Pips” (for Forex pairs).
* 🔹 **Configurable appearance:** color, width, and line style (solid, dashed, dotted).
* 🔹 **Gravitation zones:** optional secondary lines plotted above and below each round level.
* Distance adjustable as a **percentage of the step size** (default = 25%).
* Help visualize “magnet areas” where price tends to slow down or oscillate before crossing a level.
* 🔹 **Optional fill:** softly shaded area between the upper and lower gravitation lines for clearer visualization of each zone.
* You can enable or disable this with the *“Show gravitation fill”* toggle.
* Fill color and transparency fully customizable.
---
### 📈 **Use Cases**
* Identify **psychological support/resistance** levels on any instrument or timeframe.
* Observe **market equilibrium zones** where price tends to cluster or hesitate before continuing.
* Combine with oscillators or volume indicators to confirm reaction strength near round numbers.
* Use the **gravitational zones** to refine stop-loss or take-profit placement near high-impact levels.
---
### 💡 **Notes**
* The indicator does **not repaint** and updates levels dynamically based on the latest price.
* Works on all asset classes: **Forex, Indices, Crypto, Commodities, Stocks.**
* Designed to be **lightweight** — no accumulation of historical objects.
* Combine this with *Round Number Analyzer* for complete analysis of round numbers level
Session Gap Fill [LuxAlgo]The Session Gap Fill tool detects and highlights filled and unfilled price gaps between regular sessions. It features a dashboard with key statistics about the detected gaps.
The tool is highly customizable, allowing users to filter by different types of gaps and customize how they are displayed on the chart.
🔶 USAGE
By default, the tool detects all price gaps between sessions. A price gap is defined as a difference between the opening price of one session and the closing price of the previous session. In this case, the tool uses the opening price of the first bar of the session against the closing price of the previous bar.
A bullish gap is detected when the session open price is higher than the last close, and a bearish gap is detected when the session open price is lower than the last close.
Gaps represent a change in market sentiment, a difference in what market participants think between the close of one trading session and the open of the next.
What is useful to traders is not the gap itself, but how the market reacts to it.
Unfilled gaps occur when prices do not return to the previous session's closing price.
Filled gaps occur when prices come back to the previous session's close price.
By analyzing how markets react to gaps, traders can understand market sentiment, whether different prices are accepted or rejected, and take advantage of this information to position themselves in favor of bullish or bearish market sentiment.
Next, we will cover the Gap Type Filter and Statistics Dashboard.
🔹 Gap Type Filter
Traders can choose from three options: display all gaps, display only overlapping gaps, or display only non-overlapping gaps. All gaps are displayed by default.
An overlapping gap is defined when the first bar of the session has any price in common with the previous bar. No overlapping gap is defined when the two bars do not share any price levels.
As we will see in the next section, there are clear differences in market behavior around these types of gaps.
🔹 Statistics Dashboard
The Statistics Dashboard displays key metrics that help traders understand market behavior around each type of gap.
Gaps: The percentage of bullish and bearish gaps.
Filled: The percentage of filled bullish and bearish gaps.
Reversed: The percentage of filled gaps that move in favor of the gap
Bars Avg.: The average number of bars for a gap to be filled.
Now, let's analyze the chart on the left of the image to understand those stats. These are the stats for all gaps, both overlapping and non-overlapping.
Of the total, bullish gaps represent 55%, and bearish ones represent 44%. The gap bias is pretty balanced in this market.
The second statistic, Filled, shows that 63% of gaps are filled, both bullish and bearish. Therefore, there is a higher probability that a gap will be filled than not.
The third statistic is reversed. This is the percentage of filled gaps where prices move in favor of the gap. This applies to filled bullish gaps when the close of the session is above the open, and to filled bearish gaps when the close of the session is below the open. In other words, first there is a gap, then it fills, and finally it reverses. As we can see in the chart, this only happens 35% of the time for bullish gaps and 29% of the time for bearish gaps.
The last statistic is Bars Avg., which is the average number of bars for a gap to be filled. On average, it takes between one and two bars for both bullish and bearish gaps. On average, gaps fill quickly.
As we can see on the chart, selecting different types of gaps yields different statistics and market behavior. For example, overlapping gaps have a greater than 90% chance of being filled, whereas non-overlapping gaps have a less than 40% chance.
🔶 SETTINGS
Gap Type: Select the type of gap to display.
🔹 Dashboard
Dashboard: Enable or disable the dashboard.
Position: Select the location of the dashboard.
Size: Select the dashboard size.
🔹 Style
Filled Bullish Gap: Enable or disable this gap and choose the color.
Filled Bearish Gap: Enable or disable this gap and choose the color.
Unfilled Gap: Enable or disable this gap and choose the color.
Max Deviation Level: Enable or disable this level and choose the color.
Open Price Level: Enable or disable this level and choose the color.
Institutional Activity DetectorInstitutional Activity Detector - Complete Tutorial
Table of Contents
Installation
Understanding the Indicator
Signal Interpretation
Settings Configuration
Trading Strategies
Best Practices
Common Mistakes to Avoid
1. Installation {#installation}
Step-by-Step Setup:
Step 1: Access TradingView
Go to TradingView.com
Log in to your account (free account works fine)
Step 2: Open Pine Editor
Click on "Pine Editor" at the bottom of the chart
If you don't see it, go to the top menu and select "Pine Editor"
Step 3: Add the Script
Click "New" to create a new indicator
Delete any default code
Copy the entire Institutional Activity Detector code
Paste it into the editor
Step 4: Save and Apply
Click "Save" (give it a name like "Inst Detector")
Click "Add to Chart"
The indicator will now appear on your chart
2. Understanding the Indicator {#understanding}
What It Detects:
This indicator identifies institutional traders (banks, hedge funds, market makers) by analyzing:
Volume Analysis
Detects unusual volume spikes that indicate large players entering
Compares current volume to 20-period average
Institutional trades create volume 2-5x normal levels
Order Flow
Delta: Difference between buying and selling volume
Positive delta = More buying pressure
Negative delta = More selling pressure
Institutions leave "footprints" in order flow
Price Action Patterns
Bullish Rejection Wicks:
| <- Small upper wick
|
███ <- Small body
███
|
|
| <- Large lower wick (rejection)
Indicates institutions bought aggressively at lower prices
Bearish Rejection Wicks:
|
|
| <- Large upper wick (rejection)
|
███ <- Small body
███
| <- Small lower wick
Indicates institutions sold aggressively at higher prices
Liquidity Grabs
Institutions often:
Push price above resistance or below support
Trigger stop losses (grab liquidity)
Reverse direction and trade the other way
Dark Pool Activity
Large block trades executed off-exchange:
High volume with minimal price movement
Indicates institutional accumulation/distribution without moving price
3. Signal Interpretation {#signals}
Signal Types:
🟢 INSTITUTIONAL BUY Signal
Appears as green triangle below candle with strength number (2-5)
What it means:
Institutions are actively accumulating (buying)
Higher strength = More confirmation factors
Strength Levels:
2-3: Moderate confidence - Wait for confirmation
4: High confidence - Strong institutional interest
5: Maximum confidence - Multiple factors aligned
🔴 INSTITUTIONAL SELL Signal
Appears as red triangle above candle with strength number (2-5)
What it means:
Institutions are actively distributing (selling)
Higher strength = More confirmation factors
🟠 Dark Pool (DP) Marker
Small orange diamond
What it means:
Large block trade executed
Accumulation/distribution happening quietly
Often precedes significant moves
Liquidity Zones
Red boxes above price = Resistance/sell liquidity
Green boxes below price = Support/buy liquidity
Institutions target these zones to trigger stops
4. Settings Configuration {#settings}
Recommended Settings by Asset Type:
For Stocks (SPY, AAPL, TSLA):
Volume Spike Multiplier: 2.0
Volume Average Period: 20
Delta Threshold: 70%
Minimum Signal Strength: 3
Timeframe: 5m, 15m, 1H
For Forex (EUR/USD, GBP/USD):
Volume Spike Multiplier: 1.5
Volume Average Period: 30
Delta Threshold: 65%
Minimum Signal Strength: 3
Timeframe: 15m, 1H, 4H
For Crypto (BTC, ETH):
Volume Spike Multiplier: 2.5
Volume Average Period: 20
Delta Threshold: 70%
Minimum Signal Strength: 4
Timeframe: 15m, 1H, 4H
For Futures (ES, NQ):
Volume Spike Multiplier: 2.0
Volume Average Period: 20
Delta Threshold: 75%
Minimum Signal Strength: 3
Timeframe: 5m, 15m, 30m
Parameter Explanations:
Volume Spike Multiplier (1.0 - 10.0)
Lower = More sensitive (more signals, some false)
Higher = Less sensitive (fewer signals, more reliable)
Start with 2.0 and adjust based on your asset's volatility
Delta Threshold % (50 - 100)
Measures buying vs selling pressure
70% = Strong institutional bias required
Lower for ranging markets, higher for trending
Minimum Signal Strength (2 - 5)
Number of factors that must align for a signal
2 = Very sensitive (many signals)
5 = Very conservative (rare signals)
Recommended: 3-4 for balance
5. Trading Strategies {#strategies}
Strategy 1: Liquidity Grab Reversal
Setup:
Price approaches a liquidity zone (green/red box)
Price penetrates the zone briefly
Institutional BUY/SELL signal appears
Price reverses away from the zone
Entry:
Enter on the signal candle close
Or wait for next candle confirmation
Stop Loss:
Below the liquidity grab low (for buys)
Above the liquidity grab high (for sells)
Take Profit:
2:1 or 3:1 risk/reward ratio
Or next opposing liquidity zone
Example:
Price drops below support → Triggers stops →
Institutional BUY signal (4-5 strength) →
Enter LONG → Price rallies
Strategy 2: Trend Continuation
Setup:
Identify the trend (higher highs/higher lows for uptrend)
Wait for pullback to support in uptrend
Institutional BUY signal appears during pullback
Confirms institutions are adding to positions
Entry:
Enter on signal with strength ≥ 4
Or next candle after signal
Stop Loss:
Below the pullback low + small buffer
Take Profit:
Previous swing high
Or trailing stop using ATR
Strategy 3: Dark Pool Accumulation
Setup:
Dark Pool (DP) markers appear multiple times
Price consolidates in tight range
Institutional BUY signal with high strength appears
Breakout occurs
Entry:
Enter on breakout candle after signal
Or on retest of breakout level
Stop Loss:
Below consolidation range
Take Profit:
Measured move (height of consolidation projected)
Strategy 4: Divergence Play
Setup:
Price makes lower low
MFI/RSI makes higher low (bullish divergence)
Institutional BUY signal appears
Volume confirms with spike
Entry:
Enter on signal candle or next
Stop Loss:
Below the divergence low
Take Profit:
Previous swing high or resistance
6. Best Practices {#best-practices}
✅ DO's:
1. Use Multiple Timeframes
Check higher timeframe for trend direction
Trade signals that align with higher timeframe
Example: 15m signals in direction of 1H trend
2. Combine with Key Levels
Support/resistance
Supply/demand zones
Previous day high/low
Round numbers (psychological levels)
3. Wait for Confirmation
Don't rush into trades
Let the signal candle close
Watch next candle for follow-through
4. Check the Metrics Table
Look at Relative Volume (should be >2.0)
Check Delta % (should be strong positive/negative)
Verify Order Flow aligns with signal
5. Consider Market Context
News events can override signals
Low liquidity times (lunch, overnight) less reliable
Major economic releases need caution
6. Paper Trade First
Test the indicator for 2-4 weeks
Learn how it behaves on your chosen assets
Develop confidence before using real money
Best Times to Trade:
Stock Market Hours:
9:30-11:30 AM EST (high volume, strong moves)
2:00-4:00 PM EST (institutional positioning)
Avoid: 11:30 AM-2:00 PM (lunch, low volume)
Forex:
London Open: 3:00-6:00 AM EST
New York Open: 8:00-11:00 AM EST
London/NY Overlap: 8:00 AM-12:00 PM EST
Crypto:
24/7 market, but highest volume during US/European hours
Watch for weekend low liquidity
7. Common Mistakes to Avoid {#mistakes}
❌ DON'T:
1. Trade Every Signal
Not all signals are equal
Focus on strength 4-5 signals
Wait for optimal setups
2. Ignore Market Structure
Don't buy into strong downtrends (catch falling knife)
Don't sell into strong uptrends (fight the tape)
Respect major support/resistance
3. Use Too Small Timeframes
1m and 2m charts are too noisy
Minimum recommended: 5m for scalping
Better: 15m, 30m, 1H for reliability
4. Overtrade
Quality over quantity
2-5 good trades per day is excellent
Forcing trades leads to losses
5. Ignore Risk Management
Always use stop losses
Risk only 1-2% per trade
Don't revenge trade after losses
6. Trade During Low Volume
Signals less reliable with low volume
Check Relative Volume metric (should be >1.5)
Avoid pre-market/after-hours for stocks
7. Misread Liquidity Grabs
Not every wick is a liquidity grab
Need volume confirmation
Must have institutional signal
Advanced Tips:
Filtering False Signals:
Use Signal Strength Filter:
Minimum strength 3 = Balanced
Minimum strength 4 = Conservative (recommended)
Minimum strength 5 = Ultra conservative
Confluence Checklist:
Signal strength ≥ 4
Relative volume > 2.0
At key support/resistance
Aligns with higher timeframe trend
Delta % strongly positive/negative
Clean price action setup
If 4+ boxes checked = High probability trade
Setting Up Alerts:
Click the three dots on the indicator
Select "Create Alert"
Choose condition:
"Institutional Buy Signal"
"Institutional Sell Signal"
"Dark Pool Activity"
Set up notification (email, SMS, app)
Save alert
Alert Strategy:
Set minimum strength to 4 for fewer, better alerts
Use for assets you can't watch constantly
Don't rely solely on alerts - check chart context
Practice Exercise:
Week 1-2: Observation
Add indicator to your favorite assets
Watch how signals develop
Note which ones lead to profitable moves
Don't trade yet - just observe
Week 3-4: Paper Trading
Use TradingView's paper trading
Trade only strength 4-5 signals
Record results in a journal
Note: entry, exit, profit/loss, what worked/didn't
Week 5+: Small Live Positions
Start with smallest position size
Trade only your best setups
Gradually increase size as you gain confidence
Keep detailed journal
Quick Reference Card:
Signal Quality Ranking:
🔥 Best Setups (Take These):
Strength 5 + Liquidity grab + Key level
Strength 4-5 + Volume >3.0 + Trend alignment
Dark Pool markers + Strength 4+ signal
✅ Good Setups:
Strength 4 at support/resistance
Strength 3-4 with strong delta
Liquidity grab + Strength 3+
⚠️ Caution (Wait for More):
Strength 2-3 in middle of nowhere
Against higher timeframe trend
Low volume (Rel Vol <1.5)
❌ Avoid:
Strength 2 only
During major news
Low liquidity hours
Against strong trend
Troubleshooting:
"Too many signals"
→ Increase Minimum Signal Strength to 4
→ Increase Volume Spike Multiplier to 2.5-3.0
"Too few signals"
→ Decrease Minimum Signal Strength to 2-3
→ Decrease Volume Spike Multiplier to 1.5
"Signals not working"
→ Check if you're trading during low volume hours
→ Verify you're using recommended timeframes
→ Make sure signals align with market structure
"Can't see liquidity zones"
→ Enable "Show Liquidity Zones" in settings
→ Adjust Swing Detection Length (try 7-15)
Resources for Further Learning:
Concepts to Study:
Order Flow Trading
Market Profile / Volume Profile
Smart Money Concepts (SMC)
Liquidity Sweeps and Stop Hunts
Institutional Order Flow
Wyckoff Method
Volume Spread Analysis (VSA)
Recommended Practice:
Study past signals on chart
Replay market using TradingView's bar replay feature
Join trading communities to share setups
Keep a detailed trading journal
Final Thoughts:
This indicator is a tool, not a crystal ball. It identifies high-probability setups where institutions are active, but still requires:
Proper risk management
Market context understanding
Patience and discipline
Continuous learning
Success Formula:
Right Tool + Proper Training + Risk Management + Discipline = Consistent Profits
Start slow, master the basics, and gradually increase complexity as you gain experience.
Good luck and trade smart! 📊📈
Liq Levels [KoTa]Liq Levels User Guide
Overview
Liquidation Levels visualizes precomputed long & short liquidation price levels relative to the current market price.
For each enabled leverage level (5×, 10×, 20× …), it draws two horizontal lines and small labels:
Short liquidation line (above price) = price × short_multiplier
Long liquidation line (below price) = price × long_multiplier
You can choose which leverage levels to display, control label formatting, choose whether to use the previous bar’s close (no-repaint), change line style & extension, and toggle label size.
Inputs / Settings (what they do)
Use Previous Close (No Repaint) (useConfirmed)
true: the indicator uses close (previous bar close) as reference. Prevents intrabar repainting — recommended for backtesting and stable signals.
false: uses close (current price) — updates intrabar and will repaint during the bar.
Show Price in Label (showValues)
true shows the numeric price next to the x label (e.g., 5x : 42,952.78), false shows only 5x.
Line Style (styleType) — "dot", "line", "dashed".
Extend Lines (extendType) — "none", "left", "right", "both".
Label Size (labelSize) — "normal", "small", "tiny".
Show 5x / 10x / 20x ... 200x (show_5x, etc.) — which multipliers are drawn.
Other technical details in code:
barOffset = 4: label & short segment are placed 4 bars to the right of current bar (so label appears to the right of the bar).
Numbers are formatted according to syminfo.mintick so labels display the appropriate decimal precision.
The script cleans up previously drawn lines & labels on every bar (deletes old objects, draws fresh ones) — so the chart does not accumulate stale objects.
What the lines represent (interpretation)
Each multiplier is precomputed and represents a liquidation price factor used to estimate where positions would be forcibly closed for a given leverage (based on some margin model).
Short multipliers > 1 → short liquidation prices sit above the reference price.
Long multipliers < 1 → long liquidation prices sit below the reference price.
Important: These multipliers are instrument- and margin-model-dependent. The indicator uses the hard-coded multipliers present in the script. Validate these against your exchange / contract type before relying on them for live position sizing.
Why use this indicator?
Use cases:
Risk awareness — see where concentrated liquidation levels sit relative to price; helps avoid taking positions dangerously close to likely liquidation clusters.
Liquidity / cascade detection — when price approaches a large cluster of liquidation levels, sharp moves and cascades can occur; indicator highlights such zones.
Order placement & risk management — place stops or reduce leverage when price nears your liquidation zone.
Trade context — helps decide whether to scale into or out of a trade if the current price is close to many leverage-level liquidation points.
Quick start — how to use (step-by-step)
Load the indicator on the chart.
Choose Use Previous Close = true if you want non-repainting historical levels; false if you prefer intrabar updating. (Recommended: true for backtesting and strategy creation.)
Enable the leverage levels you care about (e.g., 5×, 10×). Keep the number of enabled levels modest (3–4) to avoid clutter.
Choose line style & extension. If you want persistent lines visible across the chart, use extend = left or both. If you only want ephemeral current-level markers, use none.
Interpretation:
If price is approaching the long liquidation line (below price), it’s a sign long positions could be liquidated if price drops further. Consider tightening stops or reducing leverage for long exposure.
If price is approaching the short liquidation line (above price), short positions risk forced closure; similar risk management applies for shorts.
Example strategy (practical, step-by-step)
This is a risk-aware trend-following example that uses the indicator to avoid entering trades too close to liquidation clusters.
Rules
Timeframe: 15-minute or higher for clarity.
Confirm trend with a 50 EMA:
trendUp = price > EMA50
trendDown = price < EMA50
Entry (Long):
trendUp is true.
Price breaks above a short-term resistance or candle close above EMA20 (confirmation).
Distance requirement: current price must be at least X% (example 3%) above the nearest long liquidation line (i.e., price / nearest_long_liquidation >= 1.03).
Enter with defined stop loss: set SL below the nearest long liquidation line OR at a separate level (whichever is more conservative).
Position sizing: choose leverage & size so distance to liquidation gives you at least Y% equity buffer (e.g., 3–5%).
Exit / Take Profit: use risk/reward rule (e.g., 1:2 R:R), or trail stop using EMA or ATR.
Concrete numeric example (worked):
Suppose Use Previous Close = true and the indicator calculates 5× long liquidation at 95.618967 and 5× short at 110.668360 (example base price = 100).
Computation (for clarity):
5× short: 1.10668360333397 × 100 = 110.668360333397 → label shows ~110.668360
20× long: 0.956189674354271 × 100 = 95.61896743542711 → ~95.618967
Entry rule: if price crosses above EMA20 and price / nearest_long_liquidation >= 1.03 (i.e., price ≥ 95.618967 × 1.03 = 98.487536), then entry allowed. If price = 101, condition satisfied (101 / 95.618967 ≈ 1.056).
Why this helps: only enter when you have a buffer above your potential liquidation line; avoid entering directly on top of people’s liquidation levels.
Advantages
Immediate visual risk map — quickly see where liquidations are concentrated (both long & short).
Configurable & non-repainting option — Use Previous Close reduces intrabar repainting for robust backtesting.
Compact & readable — tiny labels and optional price display minimize chart clutter.
Performance-friendly — script deletes and recreates objects each bar, keeping object counts stable and within limits.
Precision formatting via syminfo.mintick so label decimals match the instrument.
Disadvantages & risks / limitations
Multipliers are fixed in the script — they may not reflect the exact margin/liquidation formula of every exchange / contract. Verify with exchange docs before relying on them for trade sizing.
Repainting risk if Use Previous Close = false (intrabar updates). For backtests and alerts you should set it true.
Not a predictor — liquidation levels are potential pressure zones, not guarantees of price movement. Many other market factors affect price action.
Instrument-specific differences — inverse perpetuals, cross margin vs isolated margin, funding rates and insurance funds may change actual liquidation mechanics — the multipliers may be inaccurate for those.
Chart object limits — TradingView has object limits. Although your script deletes and recreates objects each bar and uses max_* _count, using too many levels + large extend combinations on very low timeframes could impact platform performance.
No automatic per-position calculation — the indicator shows levels relative to current price, not your entry; if you need per-trade liquidation price, you must compute using your entry price and actual margin/leverage settings.
Visualizes common long/short liquidation price levels for several leverage multiples. Use the “Use Previous Close” option for stable, non-repainting levels. Verify multipliers vs your exchange before trading.
Long description to paste (publish page content): include the “Why use”, “How to use”, and “Strategy example” sections above plus a short disclaimer (see below).
Include a safety/legal disclaimer in the description:
This indicator is educational and does not constitute financial advice. Multipliers are precomputed and may not precisely match the liquidation mechanics of every exchange or contract. Backtest and verify on your instruments before trading live.
Final notes & suggestions for improvement
If you want tighter integration with your position data (entry price, leverage, margin type), I can add per-trade liquidation calculation inputs (entry price, leverage, maintenance margin) and draw that liquidation line relative to the instrument.
Overnight Gap Detector Overnight Gap Detector - 4H Body to Body
What it detects:
The indicator finds overnight gaps - i.e., gaps between trading days based on 4-hour (4H) candle data.
Gap Definition (Wick to Wick):
Gap UP: When yesterday's 4H candle's highest point (high) is BELOW today's 4H candle's lowest point (low) - there's "air" between them
Gap DOWN: When yesterday's 4H candle's lowest point (low) is ABOVE today's 4H candle's highest point (high)
Rectangle Drawing (Body to Body):
Although the gap is detected via wicks, the rectangle is only drawn between the bodies:
Gap UP: Draws from today's open to yesterday's body top (max of open/close)
Gap DOWN: Draws from yesterday's body bottom (min of open/close) to today's open
This means the rectangle does NOT cover the wicks, only the actual gap between bodies.
Midline:
50% line between top and bottom of the gap rectangle
Continues to the right along with the rectangle
Stops when the gap is filled
Gap Filled:
A gap is marked as "filled" when:
Gap UP: Price's close goes DOWN and reaches yesterday's body top
Gap DOWN: Price's close goes UP and reaches yesterday's body bottom
Important: Only close body counts, not wicks!
Visual Elements:
Green box: Gap Up (upward gap)
Red box: Gap Down (downward gap)
Yellow box: Filled gap
Labels: "GAP HOLE" when active, "FILLED gap" when filled
Midline: Dotted line through the middle of the gap
Features:
✅ Works on all timeframes (5min, 15min, 1H, 2H, 4H, etc.) - always uses 4H data
✅ Rectangles expand bar by bar until filled
✅ Customizable colors for gaps, borders, midlines, and labels
✅ Label position (inside or outside box)
✅ Toggle to show/hide labels and midlines
✅ Minimum gap size filter (%)
HTF & PD/PM LevelsTired of mapping your own levels every morning? Look no further! This script automatically maps out and updates HTF & PD/PM Levels along with ATH. I personally use these as confirmation zones with EMA & VWAP, RSI, and Volume... but alone, these levels mark major support and resistances.
What are they?
🏰 HTF Levels — “Big Grown-Up Lines”
HTF = Higher Time Frame
Think of your price chart like a big map. HTF levels are the important lines from bigger chunks of time:
>Daily (yesterday’s close, high, low)
>Weekly (this week’s open, high, low, close)
>Monthly (this month’s open/close)
Why they matter:
These are like big walls and floors that price often bounces off or stops at. Big traders (institutions) watch them because they show where a lot of buying or selling happened before.
⏰ PD & PM Levels — “Yesterday & Morning Clues”
PD = Previous Day
>PDH = Previous Day’s High
>PDL = Previous Day’s Low
>PDC = Previous Day’s Close
PM = Pre-Market
>PMH = Pre-Market High
>PML = Pre-Market Low
>ATH = All-Time High
Why they matter:
These tell you where price moved when most regular traders weren’t awake yet (pre-market) and where it ended up yesterday. Price often revisits or reacts to these spots.
⚡ How Options Traders Use Them
Support & Resistance:
If price is near an HTF or PD/PM level, it might stop and turn around there (like a ball hitting a wall) or it might use it as a launchpad to the next level if it breaks.
Entry & Exit Spots:
Traders might buy calls (bet price goes up) if it breaks above an important level, or puts (bet price goes down) if it breaks below.
Risk Management:
These levels give clear spots to set stops and targets — “If price breaks this level, I’m out.”
Super Simple Picture:
HTF = big important levels from days, weeks, months.
PD/PM = yesterday’s and morning’s clues where price already moved.
Traders use them to guess where price might bounce or break to plan option trades safely.
ULTIMATE Smart Trading Pro 🔥
## 🇬🇧 ENGLISH
### 📊 The Most Complete All-in-One Trading Indicator
**ULTIMATE Smart Trading Pro** combines the best technical analysis tools and Smart Money Concepts into a single powerful and intelligent indicator. Designed for serious traders who want a real edge in the markets.
---
### ✨ KEY FEATURES
#### 💰 **SMART MONEY CONCEPTS**
- **Order Blocks**: Automatically detects institutional zones where "smart money" enters positions
- **Break of Structure (BOS)**: Identifies structure breaks to confirm trend changes
- **Liquidity Zones**: Spots equal highs/lows areas where institutions hunt stops
- **Market Structure**: Visually displays bullish (green background) or bearish (red background) structure
#### 📈 **ADVANCED TECHNICAL INDICATORS**
- **RSI with Auto Divergences**: Classic RSI + automatic detection of bullish and bearish divergences
- **MACD with Signals**: Identifies bullish and bearish crossovers in real-time
- **Dynamic Support & Resistance**: Adaptive zones with intelligent scoring based on volume, multiple touches, and ATR
- **Fair Value Gaps (FVG)**: Detects unfilled price gaps (imbalance zones)
#### 📐 **AUTOMATIC TOOLS**
- **Auto Fibonacci**: Automatically calculates Fibonacci retracement levels on the last major trend
- **Pivot Points**: Daily, Weekly, or Monthly pivot points (PP, R1, R2, S1, S2)
- **Pattern Finder**: Automatically detects candlestick patterns (Hammer, Shooting Star, Engulfing, Morning/Evening Star) and chart patterns (Double Top/Bottom)
---
### 🎯 HOW TO USE IT
#### Quick Setup:
1. **Add the indicator** to your chart
2. **Open Settings** and enable/disable modules as needed
3. **Adjust parameters** for your trading style (scalping, swing, day trading)
#### Optimal Trading Setup:
🔥 **ULTRA STRONG Signal** when you have:
- An institutional **Order Block**
- Aligned with a **Support/Resistance** tested 3+ times
- An unfilled **FVG** nearby
- An **RSI divergence** confirming the reversal
- On a key **Fibonacci** level (50%, 61.8%, or 78.6%)
- Favorable market structure (green background for buys, red for sells)
---
### 💡 UNIQUE ADVANTAGES
✅ **Adaptive Intelligence**: Automatically adjusts to market volatility (ATR)
✅ **Volume Filters**: Validates important levels with volume confirmation
✅ **Multi-Timeframe Ready**: Works on all timeframes (1m to 1M)
✅ **Complete Alerts**: Notifications for all important signals
✅ **Clear Interface**: Emojis and colored labels for quick identification
✅ **Intelligent Scoring**: Levels ranked by importance (🔴🔴🔴 = very strong)
✅ **100% Customizable**: Enable only what you need
---
### 🎨 SYMBOL LEGEND
**Smart Money:**
- 🟢 OB = Bullish Order Block
- 🔴 OB = Bearish Order Block
- BOS ↑/↓ = Break of Structure
- 💧 LIQ = Liquidity Zone
**Candlestick Patterns:**
- 🔨 = Hammer (bullish signal)
- ⭐ = Shooting Star (bearish signal)
- 📈 = Bullish Engulfing
- 📉 = Bearish Engulfing
- 🌅 = Morning Star (bullish reversal)
- 🌆 = Evening Star (bearish reversal)
**Indicators:**
- 🚀 MACD ↑ = Bullish crossover
- 📉 MACD ↓ = Bearish crossover
- ⚠️ DIV = Bearish RSI divergence
- ✅ DIV = Bullish RSI divergence
**Support & Resistance:**
- 🟢/🔴 S1, R1 = Support/Resistance
- 🟢🟢🟢/🔴🔴🔴 = VERY strong level (3+ touches)
- (×N) = Number of times touched
---
### ⚙️ RECOMMENDED SETTINGS
**For Scalping (1m - 5m):**
- SR Lookback: 15
- Structure Strength: 3
- RSI: 14
- Volume Filter: ON
**For Day Trading (15m - 1H):**
- SR Lookback: 20
- Structure Strength: 5
- RSI: 14
- All filters: ON
**For Swing Trading (4H - Daily):**
- SR Lookback: 30
- Structure Strength: 7
- Pattern Lookback: 100
- Fibonacci: ON
---
### 🚨 DISCLAIMER
This indicator is a decision support tool. It does not guarantee profits and does not constitute financial advice. Always test on a demo account before real use. Trading involves significant risks.
---
## 📞 SUPPORT & UPDATES
For questions, suggestions, or bug reports, please comment below or contact the author.
**Version:** 1.0
**Last Updated:** October 2025
**Compatible:** TradingView Pine Script v6
---
### 🌟 If you find this indicator useful, please give it a 👍 and share it with other traders!
**Happy Trading! 🚀📈**
Trinity Dashboard v1.0For TT Savages
Shows 4 timeframes (customizable):
HMA value and above or below
RSI status - Overbought, Neutral, Oversold and direction
MACD Histogram status - positive and negative with rising or falling
XAUUSD/SPX with SMA(48)📊 Gold vs S&P 500 | XAUUSD/SPX Ratio with SMA (48) – Full Pine Script Breakdown
In this video, we build and explain a custom Pine Script that plots the Gold to S&P 500 ratio (XAUUSD/SPX) along with a 48-period Simple Moving Average (SMA).
This ratio helps us analyze how Gold is performing against equities and whether smart money is shifting from risk assets (stocks) to safe haven (gold).
🔧 What’s Included in the Script:
✅ Live ratio of XAUUSD (Gold) / SPX (S&P 500)
✅ 48-period SMA for trend analysis
✅ Clean visual chart in a separate pane
✅ Pine Script v5 compatible
🧠 Why This Matters:
Tracking the XAUUSD/SPX ratio gives deeper insight into macro trends, inflation hedge behavior, and market sentiment.
A rising ratio can signal weakness in equities and strength in precious metals — a key trend for long-term investors and macro traders.
FMA Pro v1.0Foxbrady Moving Average Pro - uses EMA for tick based charts and SMA for time based charts, automatically.
Boxes & Lines### Boxes & Lines Indicator
This indicator overlays horizontal lines, vertical lines, and boxes on the chart to highlight user-defined sessions, opening prices, and specific times. It supports up to 10 customizable instances each for opening prices, time markers, and session ranges. The source code is protected to preserve the implementation details, but the functionality is designed to provide flexible visual aids for intraday analysis on timeframe.isintraday charts.
#### Purpose
The script allows traders to mark key intraday periods with visual elements such as price lines from session opens, dotted vertical lines at specific times, and boxed ranges with optional projections, mid-levels, equilibrium lines, and point counts. It uses a selected timezone to align elements accurately across different symbols.
#### How It Works
- **Custom Opening Prices (COP)**: Draws horizontal lines at the opening price of specified sessions, extending to the session end or a custom point. Each can be enabled individually with a session time and color.
- **Custom Times (CT)**: Places dotted vertical lines at user-defined times, extending across the chart height. Supports up to 10 with unique colors.
- **Custom Sessions (CS)**: Creates boxes for session ranges, updating dynamically with high/low extremes. Options include:
- Background and border colors with adjustable border width.
- Projections: Extends levels beyond the box based on session range (e.g., full range or half for anchored modes).
- Mid-levels: Short horizontal lines at halfway points between projections.
- Equilibrium (EQ) Line: A dotted line at the session midpoint, optionally extended to a custom end time.
- Point Count: Labels the session range in points (using syminfo.mintick).
- Anchoring: Optionally bases projections on a separate anchor time's open instead of the session's range.
The script uses functions like request.security_lower_tf() for minute-level data and custom string handling for session parsing. It resets visuals at session starts and updates in real-time during active sessions.
#### How to Use
1. Add the indicator to your chart.
2. In the inputs:
- Select a **Timezone** from the dropdown (default: UTC-4) to match your market.
- For each **Custom Opening Price (1-10)**: Enable "Show Custom Opening Price X", set the session (e.g., '0900-1400'), and choose a color.
- For each **Custom Time (1-10)**: Enable "Mark Custom Time X with Vertical Line", set the time (e.g., '0900-0905'), and choose a color.
- For each **Custom Session (1-10)**: Enable "Plot Custom Session X", set the session time (e.g., '0900-1700'), and configure:
- Background and border colors, border size.
- Number of projections (default: 3).
- Toggles for projections, mid-levels, EQ line, point label, and EQ extension.
- Optional anchoring with a separate anchor time.
3. Apply changes; visuals appear on intraday timeframes during or after specified sessions.
This indicator is original and intended as a tool for visualizing time-based structures. It does not generate signals or provide trading advice. Test on historical data to understand behavior on your symbols. Updates may include release notes for any changes.