Market Cap Landscape 3DHello, traders and creators! 👋
Market Cap Landscape 3D. This project is more than just a typical technical analysis tool; it's an exploration into what's possible when code meets artistry on the financial charts. It's a demonstration of how we can transcend flat, two-dimensional lines and step into a vibrant, three-dimensional world of data.
This project continues a journey that began with a previous 3D experiment, the T-Virus Sentiment, which you can explore here:
The Market Cap Landscape 3D builds on that foundation, visualizing market data—particularly crypto market caps—as a dynamic 3D mountain range. The entire landscape is procedurally generated and rendered in real-time using the powerful drawing capabilities of polyline.new() and line.new() , pushed to their creative limits.
This work is intended as a guide and a design example for all developers, born from the spirit of learning and a deep love for understanding the Pine Script™ language.
---
🧐 Core Concept: How It Works
The indicator synthesizes multiple layers of information into a single, cohesive 3D scene:
The Surface: The mountain range itself is a procedurally generated 3D mesh. Its peaks and valleys create a rich, textured landscape that serves as the canvas for our data.
Crypto Data Integration: The core feature is its ability to fetch market cap data for a list of cryptocurrencies you provide. It then sorts them in descending order and strategically places them onto the 3D surface.
The Summit: The highest point on the mountain is reserved for the asset with the #1 market cap in your list, visually represented by a flag and a custom emblem.
The Mountain Labels: The other assets are distributed across the mountainside, with their rank determining their general elevation. This creates an intuitive visual hierarchy.
The Leaderboard Pole: For clarity, a dedicated pole in the back-right corner provides a clean, ranked list of the symbols and their market caps, ensuring the data is always easy to read.
---
🧐 Example of adjusting the view
To evoke the feeling of flying over mountains
To evoke the feeling of looking at a mountain peak on a low plain
🧐 Example of predefined colors
---
🚀 How to Use
Getting started with the Market Cap Landscape 3D:
Add to Chart: Apply the "Market Cap Landscape 3D" indicator to your active chart.
Open Settings: Double-click anywhere on the 3D landscape or click the "Settings" icon next to the indicator's name.
Customize Your Crypto List: The most important setting is in the Crypto Data tab. In the "Symbols" text area, enter a comma-separated list of the crypto tickers you want to visualize (e.g., BTC,ETH,SOL,XRP ). The indicator supports up to 40 unique symbols.
> Important Note: This indicator exclusively uses TradingView's `CRYPTOCAP` data source. To find valid symbols, use the main symbol search bar on your chart. Type `CRYPTOCAP:` (including the colon) and you will see a list of available options. For example, typing `CRYPTOCAP:BTC` will confirm that `BTC` is a valid ticker for the indicator's settings. Using symbols that do not exist in the `CRYPTOCAP` index will result in a script error. or, to display other symbols, simply type CRYPTOCAP: (including the colon) and you will see a list of available options.
Adjust Your View: Use the settings in the Camera & Projection tab to rotate ( Yaw ), tilt ( Pitch ), and scale the landscape until you find a view you love.
Explore & Customize: Play with the color palettes, flag design, and other settings to make the landscape truly your own!
---
⚙️ Settings & Customization
This indicator is highly customizable. Here’s a breakdown of what each setting does:
#### 🪙 Crypto Data
Symbols: Enter the crypto tickers you want to track, separated by commas. The script automatically handles duplicates and case-insensitivity.
Show Market Cap on Mountain: When checked, it displays the full market cap value next to the symbol on the mountain. When unchecked, it shows a cleaner look with just the symbol and a colored circle background.
#### 📷 Camera & Projection
Yaw (°): Rotates the camera view horizontally (side to side).
Pitch (°): Tilts the camera view vertically (up and down).
Scale X, Y, Z: Stretches or compresses the landscape in width, depth, and height, respectively. Fine-tune these to get the perfect perspective.
#### 🏞️ Grid / Surface
Grid X/Y resolution: Controls the detail level of the 3D mesh. Higher values create a smoother surface but may use more resources.
Fill surface strips: Toggles the beautiful color gradient on the surface.
Show wireframe lines: Toggles the visibility of the grid lines.
Show nodes (markers): Toggles the small dots at each grid intersection point.
#### 🏔️ Peaks / Mountains
Fill peaks volume: Draws vertical lines on high peaks, giving them a sense of volume.
Fill peaks surface: Draws a cross-hatch pattern on the surface of high peaks.
Peak height threshold: Defines the minimum height for a peak to receive the fill effect.
Peak fill color/density: Customizes the appearance of the fill lines.
#### 🚩 Flags (3D)
Show Flag on Summit: A master switch to show or hide the flag and emblem entirely.
Flag height, width, etc.: Provides full control over the dimensions and orientation of the flag on the highest peak.
#### 🎨 Color Palette
Base Gradient Palette: Choose from 13 stunning, pre-designed color themes for the landscape, from the classic SUNSET_WAVE to vibrant themes like NEON_DREAM and OCEANIC .
#### 🛡️ Emblem / Badge Controls
This section gives you granular control over every element of the custom emblem on the flag. Tweak rotation, offsets, and scale to design your unique logo.
---
👨💻 Developer's Corner: Modifying the Core Logic
If you're a developer and wish to customize the indicator's core data source, this section is for you. The script is designed to be modular, making it easy to change what data is being ranked and visualized.
The heart of the data retrieval and ranking logic is within the f_getSortedCryptoData() function. Here’s how you can modify it:
1. Changing the Data Source (from Market Cap to something else):
The current logic uses request.security("CRYPTOCAP:" + syms.get(i), ...) to fetch market capitalization data. To change this, you need to modify this line.
Example: Ranking by RSI (14) on the Daily timeframe.
First, you'll need a function to calculate RSI. Add this function to the script:
f_getRSI(symbol, timeframe, length) =>
request.security(symbol, timeframe, ta.rsi(close, length))
Then, inside f_getSortedCryptoData() , find the `for` loop that populates the `caps` array and replace the `request.security` call:
// OLD LINE:
// caps.set(i, request.security("CRYPTOCAP:" + syms.get(i), timeframe.period, close))
// NEW LINE for RSI:
// Note: You'll need to decide how to format the symbol name (e.g., "BINANCE:" + syms.get(i) + "USDT")
caps.set(i, f_getRSI("BINANCE:" + syms.get(i) + "USDT", "D", 14))
2. Changing the Data Formatting:
The ranking values are formatted for display using the f_fmtCap() function, which currently formats large numbers into "M" (millions), "B" (billions), etc.
If you change the data source to something like RSI, you'll want to change the formatting. You can modify f_fmtCap() or create a new formatting function.
Example: Formatting for RSI.
// Modify f_fmtCap or create f_fmtRSI
f_fmtRSI(float v) =>
str.tostring(v, "#.##") // Simply format to two decimal places
Remember to update the calls to this function in the main drawing loop where the labels are created (e.g., str.format("{0}: {1}", crypto.symbol, f_fmtCap(crypto.cap)) ).
By modifying these key functions ( f_getSortedCryptoData and f_fmtCap ), you can adapt the Market Cap Landscape 3D to visualize and rank almost any dataset you can imagine, from technical indicators to fundamental data.
---
We hope you enjoy using the Market Cap Landscape 3D as much as we enjoyed creating it. Happy charting! ✨
Indikatoren und Strategien
Index Position Size Calculator for [US30 / US100 / SP500]What it does
This tool helps you size positions consistently for index trades on US30 (Dow Jones), NAS100 (Nasdaq-100), and SP500 (S&P 500). Enter your account balance, risk %, and your planned Entry / Stop-Loss / Target and the script calculates:
• Position Size (rounded to your lot/contract step)
• Risk-to-Reward (R/R)
• Potential P/L in USD based on your inputs
• Visual Entry / SL / TP lines with green/red zones and concise labels
Supported contract styles
Choose a preset for common products (e.g., CFD $1/pt, YM/NQ/ES futures, MYM/MNQ/MES micros) or override the economics yourself. You remain in control of the two key levers:
• $/point — how many dollars you gain/lose per 1 index point per contract/lot
• Point size — how many price units equal 1 index point on your chart (often 1.0, but some brokers use 0.1 or 0.5)
Inputs
• Account Balance ($) and Risk % per trade
• Index: US30 / NAS100 / SP500
• Contract: CFD / Futures (YM, NQ, ES) / Micros (MYM, MNQ, MES)
• $/point: auto from Contract or manual override
• Point size: auto from Index or manual override
• Position size step: rounding (e.g., 1 for futures, 0.01 for CFDs)
• Entry / SL / TP: typed values (snapped to tick), with on-chart zones and labels
• Display toggles for lines and labels
How the math works
• StopPoints = |Entry − SL| ÷ PointSize
• ProfitPoints = |TP − Entry| ÷ PointSize
• Position Size = (AccountBalance × Risk%) ÷ (StopPoints × $/point)
• R/R = ProfitPoints ÷ StopPoints
• Potential P/L = PositionSize × Points × $/point
How to use (quick start)
1. Select Index and Contract.
2. Confirm $/point and Point size match your broker’s specs.
3. Enter Entry / SL / TP for the trade idea.
4. Read the Position Size, R/R, and Potential P/L in the info box.
5. Adjust for fees, spreads, and slippage as needed.
Notes & limitations
• Broker symbols can vary. Always verify $/point and Point size for your instrument before risking capital.
• The script does not place orders and does not generate trade signals; it’s a sizing/visualization tool.
• Results can differ across brokers due to pricing, spreads, minimum lot sizes, and execution rules.
• Use on the intended indices; you’ll see a reminder if you load it elsewhere.
Changelog highlights
• Pine v6, constant-safe inputs, tick-snapping, global fills (no local-scope errors).
• Robust label handling and optional minimal chart markers.
Disclaimer
This script is provided for educational purposes only and does not constitute financial advice or a recommendation to buy or sell any security or derivative. Trading involves risk, including the possible loss of principal. Always do your own research, verify contract specifications with your broker, and consider testing in a demo environment before trading live.
Adaptive Rolling Quantile Bands [CHE] Adaptive Rolling Quantile Bands
Part 1 — Mathematics and Algorithmic Design
Purpose. The indicator estimates distribution‐aware price levels from a rolling window and turns them into dynamic “buy” and “sell” bands. It can work on raw price or on *residuals* around a baseline to better isolate deviations from trend. Optionally, the percentile parameter $q$ adapts to volatility via ATR so the bands widen in turbulent regimes and tighten in calm ones. A compact, latched state machine converts these statistical levels into high-quality discretionary signals.
Data pipeline.
1. Choose a source (default `close`; MTF optional via `request.security`).
2. Optionally compute a baseline (`SMA` or `EMA`) of length $L$.
3. Build the *working series*: raw price if residual mode is off; otherwise price minus baseline (if a baseline exists).
4. Maintain a FIFO buffer of the last $N$ values (window length). All quantiles are computed on this buffer.
5. Map the resulting levels back to price space if residual mode is on (i.e., add back the baseline).
6. Smooth levels with a short EMA for readability.
Rolling quantiles.
Given the buffer $X_{t-N+1..t}$ and a percentile $q\in $, the indicator sorts a copy of the buffer ascending and linearly interpolates between adjacent ranks to estimate:
* Buy band $\approx Q(q)$
* Sell band $\approx Q(1-q)$
* Median $Q(0.5)$, plus optional deciles $Q(0.10)$ and $Q(0.90)$
Quantiles are robust to outliers relative to means. The estimator uses only data up to the current bar’s value in the buffer; there is no look-ahead.
Residual transform (optional).
In residual mode, quantiles are computed on $X^{res}_t = \text{price}_t - \text{baseline}_t$. This centers the distribution and often yields more stationary tails. After computing $Q(\cdot)$ on residuals, levels are transformed back to price space by adding the baseline. If `Baseline = None`, residual mode simply falls back to raw price.
Volatility-adaptive percentile.
Let $\text{ATR}_{14}(t)$ be current ATR and $\overline{\text{ATR}}_{100}(t)$ its long SMA. Define a volatility ratio $r = \text{ATR}_{14}/\overline{\text{ATR}}_{100}$. The effective quantile is:
Smoothing.
Each level is optionally smoothed by an EMA of length $k$ for cleaner visuals. This smoothing does not change the underlying quantile logic; it only stabilizes plots and signals.
Latched state machines.
Two three-step processes convert levels into “latched” signals that only fire after confirmation and then reset:
* BUY latch:
(1) HLC3 crosses above the median →
(2) the median is rising →
(3) HLC3 prints above the upper (orange) band → BUY latched.
* SELL latch:
(1) HLC3 crosses below the median →
(2) the median is falling →
(3) HLC3 prints below the lower (teal) band → SELL latched.
Labels are drawn on the latch bar, with a FIFO cap to limit clutter. Alerts are available for both the simple band interactions and the latched events. Use “Once per bar close” to avoid intrabar churn.
MTF behavior and repainting.
MTF sourcing uses `lookahead_off`. Quantiles and baselines are computed from completed data only; however, any *intrabar* cross conditions naturally stabilize at close. As with all real-time indicators, values can update during a live bar; prefer bar-close alerts for reliability.
Complexity and parameters.
Each bar sorts a copy of the $N$-length window (practical $N$ values keep this inexpensive). Typical choices: $N=50$–$100$, $q_0=0.15$–$0.25$, $k=2$–$5$, baseline length $L=20$ (if used), adaptation strength $s=0.2$–$0.7$.
Part 2 — Practical Use for Discretionary/Active Traders
What the bands mean in practice.
The teal “buy” band marks the lower tail of the recent distribution; the orange “sell” band marks the upper tail. The median is your dynamic equilibrium. In residual mode, these tails are deviations around trend; in raw mode they are absolute price percentiles. When ATR adaptation is on, tails breathe with regime shifts.
Two core playbooks.
1. Mean-reversion around a stable median.
* Context: The median is flat or gently sloped; band width is relatively tight; instrument is ranging.
* Entry (long): Look for price to probe or close below the buy band and then reclaim it, especially after HLC3 recrosses the median and the median turns up.
* Stops: Place beyond the most recent swing low or $1.0–1.5\times$ ATR(14) below entry.
* Targets: First scale at the median; optional second scale near the opposite band. Trail with the median or an ATR stop.
* Symmetry: Mirror the rules for shorts near the sell band when the median is flat to down.
2. Continuation with latched confirmations.
* Context: A developing trend where you want fewer but cleaner signals.
* Entry (long): Take the latched BUY (3-step confirmation) on close, or on the next bar if you require bar-close validation.
* Invalidation: A close back below the median (or below the lower band in strong trends) negates momentum.
* Exits: Trail under the median for conservative exits or under the teal band for trend-following exits. Consider scaling at structure (prior swing highs) or at a fixed $R$ multiple.
Parameter guidance by timeframe.
* Scalping / LTF (1–5m): $N=30$–$60$, $q_0=0.20$, $k=2$–3, residual mode on, baseline EMA $L=20$, adaptation $s=0.5$–0.7 to handle micro-vol spikes. Expect more signals; rely on latched logic to filter noise.
* Intraday swing (15–60m): $N=60$–$100$, $q_0=0.15$–0.20, $k=3$–4. Residual mode helps but is optional if the instrument trends cleanly. $s=0.3$–0.6.
* Swing / HTF (4H–D): $N=80$–$150$, $q_0=0.10$–0.18, $k=3$–5. Consider `SMA` baseline for smoother residuals and moderate adaptation $s=0.2$–0.4.
Baseline choice.
Use EMA for responsiveness (fast trend shifts) and SMA for stability (smoother residuals). Turning residual mode on is advantageous when price exhibits persistent drift; turning it off is useful when you explicitly want absolute bands.
How to time entries.
Prefer bar-close validation for both band recaptures and latched signals. If you must act intrabar, accept that crosses can “un-cross” before close; compensate with tighter stops or reduced size.
Risk management.
Position size to a fixed fractional risk per trade (e.g., 0.5–1.0% of equity). Define invalidation using structure (swing points) plus ATR. Avoid chasing when distance to the opposite band is small; reward-to-risk degrades rapidly once you are deep inside the distribution.
Combos and filters.
* Pair with a higher-timeframe median slope as a regime filter (trade only in the direction of the HTF median).
* Use band width relative to ATR as a range/trend gauge: unusually narrow bands suggest compression (mean-reversion bias); expanding bands suggest breakout potential (favor latched continuation).
* Volume or session filters (e.g., avoid illiquid hours) can materially improve execution.
Alerts for discretion.
Enable “Cross above Buy Level” / “Cross below Sell Level” for early notices and “Latched BUY/SELL” for conviction entries. Set alerts to “Once per bar close” to avoid noise.
Common pitfalls.
Do not interpret band touches as automatic signals; context matters. A strong trend will often ride the far band (“band walking”) and punish counter-trend fades—use the median slope and latched logic to separate trend from range. Do not oversmooth levels; you will lag breaks. Do not set $q$ too small or too large; extremes reduce statistical meaning and practical distance for stops.
A concise checklist.
1. Is the median flat (range) or sloped (trend)?
2. Is band width expanding or contracting vs ATR?
3. Are we near the tail level aligned with the intended trade?
4. For continuation: did the 3 steps for a latched signal complete?
5. Do stops and targets produce acceptable $R$ (≥1.5–2.0)?
6. Are you trading during liquid hours for the instrument?
Summary. ARQB provides statistically grounded, regime-aware bands and a disciplined, latched confirmation engine. Use the bands as objective context, the median as your equilibrium line, ATR adaptation to stay calibrated across regimes, and the latched logic to time higher-quality discretionary entries.
Disclaimer
No indicator guarantees profits. Adaptive Rolling Quantile Bands is a decision aid; always combine with solid risk management and your own judgment. Backtest, forward test, and size responsibly.
The content provided, including all code and materials, is strictly for educational and informational purposes only. It is not intended as, and should not be interpreted as, financial advice, a recommendation to buy or sell any financial instrument, or an offer of any financial product or service. All strategies, tools, and examples discussed are provided for illustrative purposes to demonstrate coding techniques and the functionality of Pine Script within a trading context.
Any results from strategies or tools provided are hypothetical, and past performance is not indicative of future results. Trading and investing involve high risk, including the potential loss of principal, and may not be suitable for all individuals. Before making any trading decisions, please consult with a qualified financial professional to understand the risks involved.
By using this script, you acknowledge and agree that any trading decisions are made solely at your discretion and risk.
Enhance your trading precision and confidence 🚀
Best regards
Chervolino
Anchored Grids ft. VolumeINTRO
The 'Volume Profile' is a great tool, isn’t it? It shows us where volume has accumulated on the chart and helps guide trading decisions. The only catch is that we can’t really choose the levels—it’s all based on where volume happens to cluster. But what if we reversed the logic and measured the volume at the levels we define? That’s exactly what this script does, giving you a fresh way to spot support and resistance :)
OVERVIEW
'Anchored Grids ft. Volume' is a sophisticated technical analysis tool that combines price grid analysis with volume accumulation metrics. This indicator dynamically calculates and displays custom support and resistance levels based on a user-defined timeframe, while simultaneously tracking and visualizing volume accumulation at each specific price level. Unlike traditional volume profile indicators that use complex statistical clustering, this tool provides straightforward volume measurement at predetermined technical levels. It answers a critical question: "How much trading activity occurred near the key price levels I care about?".
HOW DOES THIS INDICATOR WORK?
This indicator builds a customizable grid system anchored to the opening price of any user-selected timeframe (hourly, daily, weekly, etc.). From that anchor point, it continuously tracks the highest high and lowest low, then calculates equidistant grid levels within that range. Two calculation modes are available—Arithmetic and Geometric—allowing flexibility in how the levels are distributed.
Once the grid is established, a volume accumulation engine comes into play. For each price bar, the script checks whether the bar’s range intersects with any level’s tolerance zone (default 0.01%). If a touch is detected, that bar’s volume is added to the corresponding level. Over time, this process builds a clear picture of where significant trading activity has clustered.
The visualization system highlights these dynamics by applying a color gradient based on volume intensity and adjusting line thickness proportional to accumulated volume. Each level is also labeled with four key data points:
The grid number (in square brackets)
The price of the level
The percentage distance between the level and the opening price of the selected timeframe
The total volume accumulated within the level’s tolerance range
PARAMETERS
Timeframe: Defines the anchor period for grid calculation. Then, the indicator automatically determines the open, high, and low prices.
Mode: This option determines how the distance between levels is calculated: Arithmetic (linear) means equal price spacing between levels, while Geometric (logarithmic) means equal percentage spacing between levels.
Grids: It's the number of levels between high and low.
Color: Base color for grid lines and labels. When volume data is displayed, lower values are darkened by 50%.
Show Volume Accumulation: When this parameter is activated, the volume calculation is enabled.
Tolerance : The Tolerance parameter (default range: 0.01%) defines the price range around each grid level where volume accumulation is registered. It acts as a sensitivity control that determines how close price must be to a level to count trading volume toward that level's accumulation.
ORIGINALITY
It’s possible to find comprehensive grid-drawing tools among community indicators, but I haven’t come across an example that combines this concept with volume data. More importantly, I wanted to demonstrate how volume accumulation can be generated for any data modeled as an array on the chart by developers.
SUMMARY
In conclusion, the selected timeframe and the number of grids are only used as a reference to determine where the levels are drawn. The true value of this indicator lies in its ability to calculate volume accumulation directly from the chart’s own candles, showing how much trading activity occurred around each level. The result is a hybrid framework that merges structural price analysis with volume distribution, offering traders deeper insights into where markets are likely to react.
NOTE
While powerful, this tool should be used as part of a comprehensive trading strategy rather than as a standalone system. Always combine with risk management principles and market context awareness. I hope it helps everyone. Trade as safely as possible. Best of luck!
SMC - Institutional Confidence Oscillator [PhenLabs]📊 Institutional Confidence Oscillator
Version: PineScript™v6
📌 Description
The Institutional Confidence Oscillator (ICO) revolutionizes market analysis by automatically detecting and evaluating institutional activity at key support and resistance levels using our own in-house detection system. This sophisticated indicator combines volume analysis, volatility measurements, and mathematical confidence algorithms to provide real-time readings of institutional sentiment and zone strength.
Using our advanced thin liquidity detection, the ICO identifies high-volume, narrow-range bars that signal institutional zone formation, then tracks how these zones perform under market pressure. The result is a dual-wave confidence oscillator that shows traders when institutions are actively defending price levels versus when they’re abandoning positions.
The indicator transforms complex institutional behavior patterns into clear, actionable confidence percentiles, helping traders align with smart money movements and avoid common retail trading pitfalls.
🚀 Points of Innovation
Automated thin liquidity zone detection using volume threshold multipliers and zone size filtering
Dual-sided confidence tracking for both support and resistance levels simultaneously
Sigmoid function processing for enhanced mathematical accuracy in confidence calculations
Real-time institutional defense pattern analysis through complete test cycles
Advanced visual smoothing options with multiple algorithmic methods (EMA, SMA, WMA, ALMA)
Integrated momentum indicators and gradient visualization for enhanced signal clarity
🔧 Core Components
Volume Threshold System: Analyzes volume ratios against baseline averages to identify institutional activity spikes
Zone Detection Algorithm: Automatically identifies thin liquidity zones based on customizable volume and size parameters
Confidence Lifecycle Engine: Tracks institutional defense patterns through complete observation windows
Mathematical Processing Core: Uses sigmoid functions to convert raw market data into normalized confidence percentiles
Visual Enhancement Suite: Provides multiple smoothing methods and customizable display options for optimal chart interpretation
🔥 Key Features
Auto-Detection Technology: Automatically scans for institutional zones without manual intervention, saving analysis time
Dual Confidence Tracking: Simultaneously monitors both support and resistance institutional activity for comprehensive market view
Smart Zone Validation: Evaluates zone strength through volume analysis, adverse excursion measurement, and defense success rates
Customizable Parameters: Extensive input options for volume thresholds, observation windows, and visual preferences
Real-Time Updates: Continuously processes market data to provide current institutional confidence readings
Enhanced Visualization: Features gradient fills, momentum indicators, and information panels for clear signal interpretation
🎨 Visualization
Dual Oscillator Lines: Support confidence (cyan) and resistance confidence (red) plotted as percentage values 0-100%
Gradient Fill Areas: Color-coded regions showing confidence dominance and strength levels
Reference Grid Lines: Horizontal markers at 25%, 50%, and 75% levels for easy interpretation
Information Panel: Real-time display of current confidence percentiles with color-coded dominance indicators
Momentum Indicators: Rate of change visualization for confidence trends
Background Highlights: Extreme confidence level alerts when readings exceed 80%
📖 Usage Guidelines
Auto-Detection Settings
Use Auto-Detection
Default: true
Description: Enables automatic thin liquidity zone identification based on volume and size criteria
Volume Threshold Multiplier
Default: 6.0, Range: 1.0+
Description: Controls sensitivity of volume spike detection for zone identification, higher values require more significant volume increases
Volume MA Length
Default: 15, Range: 1+
Description: Period for volume moving average baseline calculation, affects volume spike sensitivity
Max Zone Height %
Default: 0.5%, Range: 0.05%+
Description: Filters out wide price bars, keeping only thin liquidity zones as percentage of current price
Confidence Logic Settings
Test Observation Window
Default: 20 bars, Range: 2+
Description: Number of bars to monitor zone tests for confidence calculation, longer windows provide more stable readings
Clean Break Threshold
Default: 1.5 ATR, Range: 0.1+
Description: ATR multiple required for zone invalidation, higher values make zones more persistent
Visual Settings
Smoothing Method
Default: EMA, Options: SMA/EMA/WMA/ALMA
Description: Algorithm for signal smoothing, EMA responds faster while SMA provides more stability
Smoothing Length
Default: 5, Range: 1-50
Description: Period for smoothing calculation, higher values create smoother lines with more lag
✅ Best Use Cases
Trending market analysis where institutional zones provide reliable support/resistance levels
Breakout confirmation by validating zone strength before position entry
Divergence analysis when confidence shifts between support and resistance levels
Risk management through identification of high-confidence institutional backing
Market structure analysis for understanding institutional sentiment changes
⚠️ Limitations
Performs best in liquid markets with clear institutional participation
May produce false signals during low-volume or holiday trading periods
Requires sufficient price history for accurate confidence calculations
Confidence readings can fluctuate rapidly during high-impact news events
Manual fallback zones may not reflect actual institutional activity
💡 What Makes This Unique
Automated Detection: First Pine Script indicator to automatically identify thin liquidity zones using sophisticated volume analysis
Dual-Sided Analysis: Simultaneously tracks institutional confidence for both support and resistance levels
Mathematical Precision: Uses sigmoid functions for enhanced accuracy in confidence percentage calculations
Real-Time Processing: Continuously evaluates institutional defense patterns as market conditions change
Visual Innovation: Advanced smoothing options and gradient visualization for superior chart clarity
🔬 How It Works
1. Zone Identification Process:
Scans for high-volume bars that exceed the volume threshold multiplier
Filters bars by maximum zone height percentage to identify thin liquidity conditions
Stores qualified zones with proximity threshold filtering for relevance
2. Confidence Calculation Process:
Monitors price interaction with identified zones during observation windows
Measures volume ratios and adverse excursions during zone tests
Applies sigmoid function processing to normalize raw data into confidence percentiles
3. Real-Time Analysis Process:
Continuously updates confidence readings as new market data becomes available
Tracks institutional defense success rates and zone validation patterns
Provides visual and numerical feedback through the oscillator display
💡 Note:
The ICO works best when combined with traditional technical analysis and proper risk management. Higher confidence readings indicate stronger institutional backing but should be confirmed with price action and volume analysis. Consider using multiple timeframes for comprehensive market structure understanding.
Apex Edge - London Open Session# Apex Edge - London Open Session Trading System
## Overview
The London Open Session indicator captures institutional price action during the first hour of the London forex session (8:00-9:00 AM GMT) and identifies high-probability breakout and retest opportunities. This system tracks the session's high/low range and generates precise entry signals when price breaks or retests these key institutional levels.
## Core Strategy
**Session Tracking**: Automatically identifies and marks the London Open session boundaries, creating a trading zone from the first hour's price range.
**Dual Entry Logic**:
- **Breakout Entries**: Triggers when price closes beyond the session high/low and continues in that direction
- **Retest Entries**: Activates when price returns to test the broken level as new support/resistance
**Performance Analytics**: Built-in win rate tracking displays real-time performance statistics over user-defined lookback periods, enabling data-driven optimization for each currency pair.
## Key Features
### Automated Zone Detection
- Precise London session timing with timezone offset controls
- Visual session boundaries with customizable colours
- Automatic high/low range calculation and display
### Smart Entry System
- Breakout confirmation requiring candle close beyond zone
- Retest detection with configurable pip distance tolerance
- Separate risk/reward ratios for breakout vs retest entries
- Visual entry arrows with clear trade direction labels
### Performance HUD
- Real-time win rate calculation over customizable periods (7-365 days)
- Total trades tracking with win/loss breakdown
- Average risk-reward ratio display
- Color-coded performance metrics (green >70%, yellow >50%, red <50%)
### PineConnector Integration
- Direct MT4/MT5 execution via PineConnector alerts
- Proper forex pip calculations for all currency pairs
- Customizable risk percentage per trade
- Symbol override capability for broker compatibility
- Automatic SL/TP level calculation in pips
## Critical Usage Requirements
### Pair-Specific Optimization
Each currency pair requires individual optimization due to varying volatility characteristics, institutional participation levels, and typical price ranges during London hours. The performance HUD is essential for identifying optimal settings before live trading.
**Recommended Testing Process**:
1. Apply indicator to desired currency pair and timeframe
2. Experiment with session timing - while 8:00-9:00 AM GMT is standard, some pairs may show improved performance with alternative hourly windows (e.g., 7:00-8:00 AM or 9:00-10:00 AM)
3. Adjust Stop Loss distances, Risk/Reward ratios, and Retest distances
4. Monitor win rate over 30+ day periods using the performance HUD
5. Only proceed with live alerts once consistent 60%+ win rates are achieved
6. Create separate optimized chart setups for each profitable pair/timeframe combination
### Timeframe Specifications
This indicator is specifically designed and tested for:
- **1-minute charts**: Optimal for capturing immediate institutional reactions
- **5-minute charts**: Balanced approach between noise reduction and opportunity frequency
Higher timeframes generally produce inferior results due to increased noise and reduced institutional edge during the London session window.
## Settings Configuration
### Session Timing
- **London Open/Close Hours**: Adjust for your chart's timezone
- **Rectangle End Time**: Set to 4:30 PM to stop signals before NY session close
- **Timezone Offset**: Ensure accurate London session capture
### Entry Parameters
- **Retest Distance**: 3-8 pips depending on pair volatility
- **Stop Loss Pips**: Separate settings for breakouts (10-15 pips) and retests (8-12 pips)
- **Risk/Reward Ratios**: Independent ratios for different entry types
### PineConnector Setup
- **License ID**: Your PineConnector license key
- **Symbol Override**: MT4/MT5 symbol names if different from TradingView
- **Risk Percentage**: Position size as percentage of account balance
- **Prefix/Comment**: Organize trades in terminal
## Manual Trading Limitations
Without PineConnector automation, traders face significant practical challenges:
**Settings Management**: Each currency pair requires different optimized parameters. Switching between charts means manually adjusting multiple settings each time, creating potential for errors and missed opportunities.
**Timing Sensitivity**: London Open signals can occur rapidly during high-volatility periods. Manual execution may result in slippage or missed entries.
**Multi-Pair Monitoring**: Tracking 4-11 currency pairs simultaneously while manually adjusting settings for each switch becomes impractical for most traders.
**Parameter Consistency**: Risk of using suboptimal settings when quickly switching between pairs, potentially compromising the careful optimization work.
## Recommended Workflow
1. **Historical Testing**: Use win rate HUD to identify profitable pairs and optimal parameters
2. **Demo Automation**: Test PineConnector alerts on demo accounts with optimized settings
3. **Live Implementation**: Deploy alerts only on proven profitable pair/timeframe combinations
4. **Ongoing Monitoring**: Regular review of performance metrics to maintain edge
## Risk Disclaimer
This indicator provides analysis tools and automation capabilities but does not guarantee profitable trading outcomes. Past performance does not predict future results. Users should thoroughly backtest and demo trade before risking live capital. The London session strategy works best during specific market conditions and may underperform during low volatility or unusual market environments.
## Support Requirements
Successful implementation requires:
- Basic understanding of London session market dynamics
- PineConnector subscription for automation features
- Patience for proper optimization process
- Realistic expectations about win rates and drawdown periods
This system is designed for serious traders willing to invest time in proper optimization and risk management rather than plug-and-play solutions.
Macro Pulse Dashboard [SwissAlgo]Macro Pulse Dashboard
What is it?
The Macro Pulse Dashboard is a multi-asset performance dashboard designed to give traders and investors a quick snapshot of global market conditions. The indicator tracks price and momentum across crypto, equities, sectors, commodities, bonds, and macro indicators—considering multiple timeframes—in one color-coded table with a trend indication for each asset.
Purpose
Give you a fast, single-glance read of global markets so you can gauge whether conditions are broadly risk-on or risk-off and where strength/weakness clusters across markets.
Who it’s for
Traders and investors who want a clear, beginner-friendly macro overview to frame ideas and risk, without digging through multiple charts.
Why this may help you
Gives context fast : before focusing on one chart, you see the broader environment. This can help avoid trades that fight the macro tide.
Reduces noise : instead of jumping between watchlists and windows, you get a single, consistent view each day.
Improves decision quality : aligning ideas with the table’s short-term and medium-term bias can assist with timing and position sizing.
Builds routine : spend 30 seconds at the open scanning for agreement or conflict across crypto, equities, sectors, commodities, bonds, and macro gauges. If signals are mixed, consider waiting or sizing down; if they align, proceed with your plan.
Beginner-friendly : clear green/red percentages and a simple Trend icon make it easy to interpret without advanced indicators. The trend is determined using a simplified rule in this version.
What’s included
Crypto (BTC/ETH, dominance, total/alt caps), equity indices (US futures, Europe 50, FTSE, HSI, Nikkei, Nifty), US sectors (XLK, SOXX, ARKK, XLY, XLV), commodities (Gold, Silver, WTI, Nat Gas), bonds/credit ETFs (SHY, IEF, TLT, LQD, HYG, AGG, EMB), and macro gauges (US10Y, DXY, EURUSD, VIX).
Columns
Price/Value, % change over 1D, 1W, 2W, 1M, YTD, plus a simple trend glyph (▲ up, ▼ down, ◆ mixed).
Trend logic
The Trend icon is a simple overview (not a signal): ▲ if both short-term (1W) and 1M changes are positive, ▼ if both are negative, ◆ otherwise.
How numbers are computed
All changes use the last completed daily close.
1D = change since the prior daily close.
1W/2W/1M: crypto uses 7/14/30 calendar days; other assets use 5/10/21 trading sessions.
YTD compares to the first daily close of the year.
Prices show a $ prefix where applicable and are compacted (M/B/T).
Repainting
The table uses daily data with lookahead_off and updates only after the daily bar completes. It does not repaint intrabar.
Settings
Anchor (top-left) and Table Size (Small/Normal/Large).
Notes
Informational/educational tool only. Not trading advice. No buy/sell signals or alerts are generated.
Symbols depend on TradingView data availability; if a symbol isn’t accessible on your plan, that row will show “—”.
Sunmool's Silver Bullet Model FinderICT Silver Bullet Model Indicator - Complete Guide
📈 Overview
The ICT Silver Bullet Model indicator is a supplementary tool for utilizing ICT's (Inner Circle Trader) market structure analysis techniques. This indicator detects institutional liquidity hunting patterns and automatically identifies structural levels, helping traders analyze market structure more effectively.
🎯 Core Features
1. Structural Level Identification
STL (Short Term Low): Recent support levels formed in the short term
STH (Short Term High): Recent resistance levels formed in the short term
ITL (Intermediate Term Low): Stronger support levels with more significance
ITH (Intermediate Term High): Stronger resistance levels with more significance
2. Kill Zone Time Display
London Kill Zone: 02:00-05:00 (default)
New York Kill Zone: 08:30-11:00 (default)
These are the most active trading hours for institutional players where significant price movements occur
3. Smart Sweep Detection
Bear Sweep (🔻): Pattern where price sweeps below lows then recovers - Simply indicates sweep occurrence
Bull Sweep (🔺): Pattern where price sweeps above highs then declines - Simply indicates sweep occurrence
Important: Sweep labels only mark liquidity hunting locations, not directional bias.
🔧 Configuration Parameters
Basic Settings
Sweep Detection Lookback: Number of candles for sweep detection (default: 20)
Structure Point Lookback: Number of candles for structural point detection (default: 10)
Sweep Threshold: Percentage threshold for sweep validation (default: 0.1%)
Time Settings
London Kill Zone: Active hours for London session
New York Kill Zone: Active hours for New York session
Visualization Settings
Customizable colors for each level type
Enable/disable alert notifications
📊 How to Use
1. Chart Setup
Most effective on 1-minute to 1-hour timeframes
Recommended for major currency pairs (EUR/USD, GBP/USD, etc.)
Also applicable to cryptocurrencies and indices
2. Signal Interpretation
🔻 Bear Sweep / 🔺 Bull Sweep Labels
Simply indicate liquidity hunting occurrence points
Not directional bias indicators
Reference for understanding overall context on HTF
🟢 Silver Bullet Long (Huge Green Triangle)
After Bear Sweep occurrence
Within Kill Zone timeframe
Current price positioned above swept level
→ Actual BUY entry signal
🔴 Silver Bullet Short (Huge Red Triangle)
After Bull Sweep occurrence
Within Kill Zone timeframe
Current price positioned below swept level
→ Actual SELL entry signal
3. Risk Management
Use swept levels as stop-loss reference points
Approach signals outside Kill Zone hours with caution
Recommended to use alongside other technical analysis tools
💡 Trading Strategies
Silver Bullet Strategy
Preparation Phase: Monitor charts 30 minutes before Kill Zone
Sweep Observation: Identify liquidity hunting points with 🔻🔺 labels (reference only)
Entry: Enter ONLY when huge triangle Silver Bullet signal appears within Kill Zone
Take Profit: Target opposite structural level or 1:2 reward ratio
Stop Loss: Beyond the swept level
Important: Small sweep labels are NOT trading signals!
Multi-Timeframe Approach
Step 1: HTF (Higher Time Frame) Sweep Reference
Observe 🔻🔺 sweep labels on 4-hour and daily charts
Reference only sweeps occurring at major structural levels
HTF sweeps are used to identify liquidity hunting points
Reference only, not for directional bias
Step 2: Transition to LTF (Lower Time Frame)
Move to 15-minute, 5-minute, and 1-minute charts
Analyze LTF with reference to HTF sweep information
Use STL, STH, ITL, ITH for precise entry point identification
Structural levels on LTF are the core of actual trading decisions
Only huge triangle (Silver Bullet) signals are actual entry signals
Recommended Usage
Identify overall sweep occurrence points on HTF (🔻🔺 labels)
Use this indicator on LTF to identify structural levels
Reference only huge triangle signals for actual trading during Kill Zone
Small sweep labels (🔻🔺) are for reference only, not entry signals
📋 Information Table Interpretation
Real-time information in the top-right table:
Kill Zone Status: Current active session status
Level Counts: Number of each structural level type
⚠️ Important Disclaimers
Backtesting results do not guarantee future performance
Exercise caution during high market volatility periods
Always apply proper risk management
Recommend comprehensive analysis with other analytical tools
🎓 Learning Resources
Study original ICT concepts through free YouTube educational content
Research Market Structure analysis techniques
Optimize through backtesting for personal use
🔬 Technical Implementation
Algorithm Logic
Pivot Point Detection: Uses TradingView's built-in pivot functions to identify swing highs and lows
Classification System: Automatically categorizes levels based on recent price action frequency
Sweep Validation: Confirms legitimate sweeps through price action analysis
Time-Based Filtering: Prioritizes signals during institutional active hours
Performance Optimization
Efficient array management prevents memory overflow
Dynamic level cleanup maintains chart clarity
Real-time calculation ensures minimal lag
🛠️ Customization Tips
Adjust lookback periods based on market volatility
Modify kill zone times for different market sessions
Experiment with sweep threshold for different instruments
Color-code levels according to personal preference
📈 Expected Outcomes
When properly implemented, this indicator can help traders:
Identify high-probability reversal points
Time entries with institutional flow
Reduce false signals through kill zone filtering
Improve risk-to-reward ratios
This indicator automates ICT's concepts into a user-friendly tool that can be enhanced through continuous learning and practical application. Success depends on understanding the underlying market structure principles and combining them with proper risk management techniques.
Trend detection for stocksThis Pine Script indicator combines exponential moving averages (EMA) with the Average Directional Index (ADX) to identify clear upward and downward trends. The chart colors the background according to the trend and optionally displays buy and sell signals as well as alerts.
Functionality in detail:
The Fast EMA (Standard 21) reacts quickly to price changes.
The Slow EMA (Standard 55) smooths the trend more.
If the Fast EMA is above the Slow EMA and the ADX is above the defined threshold, the background turns green – indicating a clear upward trend.
Conversely, a red background signals a dominant downward trend.
Buy and sell arrows appear at the EMA crossover as soon as the ADX confirms that a trend is intact.
PDH/PDL Breakout—Anchored Ghost Targets + (Truth Table)What this does (integrated purpose—not a mashup):
This tool implements a “prove-it” breakout framework around prior-day levels. It (1) anchors Previous Day High/Low (PDH/PDL) to RTH, (2) reveals anchored ghost targets only after price proves itself beyond PDH/PDL, and (3) confirms direction using a 3-consecutive-closes rule. A compact Truth Table summarizes regime: Control Line, PDH/PDL position, and a microstructure-based composite trend score. Everything is designed to work together to filter fake breaks and provide objective upside/downside targets.
How it works (math/logic in plain English):
Prior-day levels (no repaint):
Pulls High, Low, Close of the previous day and extends PDH/PDL through today’s RTH session. (Daily values are read from the prior bar so signals don’t look ahead.)
Session scoping:
RTH is 09:30–16:00 ET. The script resets at 09:30, pre-creates all lines to the 16:00 session end, and confines triggers to RTH context.
Ghost target packs (original piece):
Compute classic pivot set from prior day:
P = (H+L+C) / 3, R1 = 2P − L, S1 = 2P−H
Create one full range-shift above and below the prior day:
range=H−L.
Add Fib overlays (0.382) around P/R1/S1 to form the pack.
Anchoring rule: packs are shifted so the upper pack never dips below PDH and the lower pack never rises above PDL. This prevents visual crossing with PDH/PDL and keeps targets clean after a confirmed break. Packs stay hidden until price proves itself (see next point).
Directional “prove-it” trigger:
You only get a signal after an actual cross of PDH/PDL followed by N consecutive RTH closes beyond that level (default 3; user input).
• Long: crossover above PDH → then 3 closes > PDH → one-bar pulse + optional alert.
• Short: crossunder below PDL → then 3 closes < PDL → one-bar pulse + optional alert.
After the first qualified trigger each session, bars beyond the level get a subtle Neo candle style so breakouts are visually distinct.
Truth Table (integration, not decoration):
Control Line = a smoothed multi-EMA control band (we expose a single “control line” derived from it),
PDH/PDL position (above, below, or inside),
Composite Trend = non-lag microstructure score combining: close-location value, thrust, wick imbalance, range-expansion direction, and HH/HL vs LL/LH structure (all summed over a short causal window).
Header colors use majority vote across those three rows so you see regime at a glance. This is used to interpret breaks and avoid chasing noise.
How to use it (practical workflow):
On equities during RTH, watch PDH/PDL.
When a break occurs, wait for the 3-close confirmation—that’s your “prove-it” trigger.
Upon trigger, the corresponding ghost pack becomes visible and provides objective intraday targets (pack lines + dashed Fib lines).
Use the Truth Table to sanity-check regime (e.g., bullish majority + PDH break = higher-confidence continuation).
Inputs & alerts:
Consecutive closes required (default 3).
Show Truth Table (on/off).
EMA ribbon/control line (on/off).
Alerts: “Bullish Trigger” and “Bearish Trigger” fire on the one-bar pulses right when confirmation completes.
Notes & limitations:
Designed for stocks using 09:30–16:00 ET. On 24/7 markets (e.g., crypto) RTH logic isn’t applicable.
Prior-day values are fixed from the daily timeframe, so the logic does not repaint.
The “Neo” candle styling is post-trigger only to keep earlier bars clean.
Why this is original/useful:
This is a single, integrated framework: anchored ghost targets (with a non-crossing constraint), prove-it confirmation (3-close rule), and a non-lag composite microstructure score summarized in a Truth Table. The components are purpose-built to work together to reduce false breakouts and supply clean, objective targets after confirmation—this is not a cosmetic mashup.
Educational note: Not financial advice. Test before use.
CAT FLD SmoothWhat is an FLD?
The FLD stands for Future Line of Demarcation, introduced by J.M. Hurst in his Cyclic Analysis work.
It is constructed by shifting the price forward in time by half the length of a given cycle. For example, if you want to analyze a 40-bar cycle, you would plot price shifted forward by 20 bars. This creates a projected line that acts as a dynamic reference for where the cycle rhythm should align.
In practice, each cycle has its own FLD (20, 40, 80 bars, etc.), and when price interacts with those FLDs, it often reveals the underlying rhythm of market waves.
How Traders Use the FLD
1. Cycle Detection
When price crosses its FLD, it is often the signal that a cycle trough or peak has recently formed. This allows the trader to recognize where one wave ends and the next begins.
Upward cross → suggests a new upward cycle has started.
Downward cross → suggests a downward cycle is unfolding.
2. Projection of Price Targets
One of Hurst’s key insights is that after crossing an FLD, price often travels a distance roughly equal to the recent cycle’s amplitude. This makes the FLD a tool not only for timing but also for projecting targets.
Example:
If price rises through the 40-bar FLD after a cycle trough, the expected move is often the same height as the move off the last trough to the point of a break through the FLD.
3. Support and Resistance
FLDs can act like invisible levels of support and resistance, but unlike static horizontal levels, they are dynamic and cycle-based. Price often hesitates, bounces, or accelerates when touching its FLD.
4. Multi-Cycle Confluence
Markets rarely move in just one cycle length. By plotting multiple FLDs (for example, 20-bar, 40-bar, and 80-bar), traders can see where several FLDs line up. These confluences are particularly powerful—they highlight high-probability turning points.
Why FLDs Matter?
They help separate noise from structure by focusing on repeating time rhythms.
They provide early signals of where cycles invert.
They give price targets that are not arbitrary, but cycle-derived.
They can be combined with other tools (trendlines, oscillators, volume) for confirmation.
👉 With this indicator, you can visualize Hurst’s FLDs directly on your TradingView charts, making it easier to detect cycles, project targets, and anticipate turning points before they become obvious to everyone else.
CastAway Trader LLC, the publisher of this indicator is not registered as an investment adviser nor a broker/dealer with either the U. S. Securities & Exchange Commission or any state securities regulatory authority.
CastAway Trader LLC reserves the right to un-publish this indicator or change it without any written notice.
Past results are not indicative of future profits.
Smart Money Trades Pro [BOSWaves]Smart Money Trades Pro – Advanced Market Structure & Liquidity Visualizer
Overview
Smart Money Trades Pro is a comprehensive trading tool designed for traders seeking an in-depth understanding of market structure, liquidity dynamics, and institutional flow. The indicator systematically identifies key market turning points, including break of structure (BOS) and change of character (CHoCH) events, and overlays these with adaptive visualizations to highlight high-probability trade setups. By integrating ATR-based risk zones, progressive take-profit levels, and real-time trade analytics, Smart Money Trades Pro transforms complex price action into an interpretable framework suitable for multiple trading styles, including scalping, intraday, and swing trading.
Unlike traditional static indicators, Smart Money Trades Pro adapts continuously to market conditions. It evaluates swing highs and lows over a configurable lookback period, then determines structural breaks using customizable confirmation methods (candle body or wick). The resulting signals are augmented with dynamic entry, stop-loss, and target levels, allowing traders to analyze potential trade opportunities with both precision and context. The indicator’s design ensures that each visual element—trend-colored candles, signal markers, and risk/reward boxes—reflects real-time market conditions, offering an actionable interpretation of institutional activity.
How It Works
The indicator’s foundation is built upon market structure analysis. By calculating pivot highs and lows over a specified period, Smart Money Trades Pro identifies potential points of liquidity accumulation and exhaustion. When price breaks a pivot high or low, the indicator evaluates whether this constitutes a BOS or a CHoCH, signaling trend continuation or reversal. These events are marked on the chart with distinct visual cues, allowing traders to quickly discern shifts in market sentiment without manually analyzing historical price action.
Once a structural break is confirmed, the indicator automatically determines entry levels, stop-loss placements, and progressive take-profit zones (TP1, TP2, TP3). These calculations are based on ATR-derived volatility, ensuring that targets scale with current market conditions. Risk and reward zones are plotted as shaded boxes, providing a clear visual representation of potential profit relative to risk for each trade setup. This system allows traders to maintain discipline and consistency, with dynamic trade management baked directly into the visualization.
Trend direction is further reinforced by color-coded candles, which reflect the prevailing market bias. Bullish trends are represented by one color, bearish trends by another, and neutral conditions are displayed in muted tones. This continuous visual feedback simplifies the process of trend assessment and helps confirm the validity of trade setups alongside BOS and CHoCH markers.
Signals and Breakouts
Smart Money Trades Pro includes structured visual signals to indicate actionable price movements:
Bullish Break Signals – Triangular markers below the candle appear when a swing high is broken, suggesting potential long opportunities.
Bearish Break Signals – Triangular markers above the candle appear when a swing low is broken, indicating potential short setups.
Change of Character (CHoCH) – Special markers highlight trend reversals, showing where momentum shifts from bullish to bearish or vice versa.
These markers are strategically spaced to prevent overlap and remain clear during high-volatility periods. Traders can use them in combination with trend-colored candles, risk/reward zones, and ATR-based targets to assess the strength and reliability of each setup. The integrated table provides live trade information, including entry price, stop-loss level, take-profit levels, risk/reward ratio, and trade direction, ensuring that trade decisions are informed and data-driven.
Interpretation
Trend Analysis : The indicator’s trend coloring, combined with BOS and CHoCH detection, provides an immediate view of market direction. Rising structures indicate bullish momentum, while falling structures signal bearish momentum. CHoCH markers highlight potential trend reversals or significant liquidity sweeps.
Volatility and Risk Assessment : ATR-based calculations determine stop-loss distances and target levels, giving a quantitative measure of risk relative to market volatility. Wide ATR readings indicate periods of high price fluctuation, whereas narrow readings suggest consolidation and reduced risk exposure.
Market Structure Insights : By monitoring swing highs and lows alongside break confirmations, traders can identify where institutional players are likely active. Areas with multiple structural breaks or overlapping targets can indicate liquidity hotspots, potential reversal zones, or areas of market congestion.
Trade Management : The built-in trade zones allow traders to visualize entry, risk, and reward simultaneously. Progressive targets (TP1, TP2, TP3) reflect incremental profit-taking strategies, while dynamic stop-loss levels help preserve capital during adverse moves.
Strategy Integration
Smart Money Trades Pro supports a range of trading approaches:
Trend Following : Enter trades in the direction of confirmed BOS while using CHoCH markers and trend-colored candles to validate momentum.
Pullback Entries : Use failed breakout retests or minor reversals toward broken structure levels for lower-risk entries.
Mean Reversion : In consolidated zones with narrow ATR and repeated BOS/CHoCH activity, anticipate reversals or short-term corrective moves.
Multi-Timeframe Confirmation : Overlay signals on higher or lower timeframes to filter noise and improve trade accuracy.
Stop-loss levels should be placed just beyond the opposing structural point, while take-profit targets can be scaled using the ATR-based zones. Progressive targets allow for partial exits or scaling out of trades while maintaining exposure to larger moves.
Advanced Techniques
Traders seeking greater precision can combine Smart Money Trades Pro with volume, momentum, or volatility indicators to validate signals. Observing sequences of BOS and CHoCH markers across multiple timeframes provides insight into liquidity accumulation and depletion trends. Tracking the expansion or contraction of ATR-based zones helps anticipate shifts in volatility, enabling better timing for entries and exits.
Customizing the structure period and confirmation type allows the indicator to adapt to different asset classes and timeframes. Shorter periods increase sensitivity to smaller swings, while longer periods filter noise and emphasize higher-probability structural breaks. By integrating these features, the indicator offers a robust statistical framework for disciplined, data-driven trading decisions.
Inputs and Customization
Structure Detection Period : Defines the lookback window for pivot high and low calculation.
Break Confirmation : Choose whether to confirm breaks using candle body or wick.
Display CHoCH : Toggle visibility of change-of-character markers.
Color Trend Bars : Enable color-coding of candles based on market structure direction.
Show Info Table : Display trade dashboard showing entry, stop-loss, take-profits, risk/reward, and bias.
Table Position : Choose from top-left, top-right, bottom-left, or bottom-right placement.
Color Customization : Configure bullish, bearish, neutral, risk, reward, and text colors for enhanced visual clarity.
Why Use Smart Money Trades Pro
Smart Money Trades Pro transforms complex market behavior into an actionable visual framework. By combining market structure analysis, liquidity tracking, ATR-based risk/reward mapping, and a dynamic trade dashboard, it provides a multidimensional view of the market. Traders can focus on execution, interpret trends, and evaluate overextensions or reversals without relying on guesswork. The indicator is suitable for scalping, intraday, and swing strategies, offering a comprehensive system for understanding and trading alongside institutional participants.
ICT OTE (Optimal Trade Entry) IndicatorWhat This Indicator Does:
This is an ultra-clean ICT (Inner Circle Trader) indicator that shows only ONE high-probability signal at a time when multiple confluences perfectly align. It eliminates chart clutter and focuses on the absolute best trading opportunities.
How It Takes Positions:
🔍 Signal Requirements (ALL Must Align):
Market Structure Break - Significant swing high/low break with volume confirmation
Fair Value Gap (FVG) - Large price imbalance/gap (minimum 0.5% size)
Order Block - Institutional supply/demand zone from recent rejection candle
OTE Sweet Spot - Price retraces to 70.5% Fibonacci level (optimal entry zone)
Volume Confirmation - 50% above 50-bar average volume
Rejection Candle - Proper candle formation showing rejection at the level
📊 Position Entry Logic:
BUY Signal Triggers When:
Price breaks above a significant swing high (bullish structure break)
Price retraces back down into a Fair Value Gap or Order Block
Retracement reaches exactly the 70.5% optimal level
Volume spike confirms institutional interest
Rejection candle forms (closes higher than it opened during retracement)
No other signal has been active in the last 50 bars (cooldown system)
SELL Signal Triggers When:
Price breaks below a significant swing low (bearish structure break)
Price retraces back up into a Fair Value Gap or Order Block
Retracement reaches exactly the 70.5% optimal level
Volume spike confirms institutional interest
Rejection candle forms (closes lower than it opened during retracement)
No other signal has been active in the last 50 bars (cooldown system)
⚡ Key Features:
Ultra-Strict Filtering: Only 2-4 signals per month on average (quality over quantity)
One Signal Rule: Only one active signal at a time - no confusion
50-Bar Cooldown: Prevents signal spam and overtrading
Perfect Confluence: Requires 3+ ICT concepts to align simultaneously
Clean Chart: No boxes, lines, or visual clutter - just clear BUY/SELL labels
🎯 Trading Strategy:
Wait for Signal: Large BUY or SELL label appears on chart
Entry: Enter immediately when signal appears (all confluences already confirmed)
Stop Loss: Place beyond the Fair Value Gap or Order Block (typically 1-2% risk)
Take Profit: Target previous swing high/low or major liquidity levels
Risk Management: Only trade when signal appears - no guessing or early entries
💡 Why It Works:
This indicator combines ICT's most powerful concepts (market structure, FVGs, order blocks, optimal retracements) into one confluence-based system. It only signals when institutional money is likely moving, giving you the highest probability entries with minimal noise.
Perfect for: Swing traders, day traders, and anyone wanting clean, high-probability ICT signals without chart clutter.
Configurable 3MA with Crossover CloudThis script is a versatile and powerful enhancement of the classic triple moving average setup, designed to provide clear, at-a-glance insights into market trends and momentum shifts. It plots three moving averages on your chart and colors the area between the two shorter-term MAs, creating a visual "cloud" that instantly signals bullish or bearish sentiment.
The core of this indicator is its complete customizability, allowing you to tailor it precisely to your trading strategy and the asset you are analyzing.
Key Features:
Dynamic Crossover Cloud: The space between the first two moving averages is colored to represent momentum:
Green Cloud: Indicates a bullish crossover, where the shorter-term MA is above the medium-term MA.
Red Cloud: Indicates a bearish crossover, where the shorter-term MA is below the medium-term MA.
Complete Customization: Unlike standard MA indicators, every aspect of the three moving averages can be configured independently:
Length: Set the period for each MA.
Type: Choose between a Simple Moving Average (SMA) or an Exponential Moving Average (EMA) for each line.
Source: Base the calculation on any price source (close, open, high, low, hl2, etc.).
Individual Visibility Toggles: Clean up your chart by hiding any of the three moving averages directly from the settings panel.
How to Use:
This indicator is ideal for trend-following and crossover strategies.
Identify Momentum: Use the color of the cloud to quickly gauge short-term momentum. A green cloud suggests bullish strength, while a red cloud suggests bearish pressure.
Confirm the Trend: Use the third, long-term moving average (e.g., a 200-period MA) as a macro trend filter. For a higher probability trade, only consider long positions when the price is above the long-term MA and the cloud is green. Conversely, only consider short positions when the price is below the long-term MA and the cloud is red.
Customize for Your Style: Adjust the default settings (13 EMA, 50 SMA, 200 EMA) to fit your preferred timeframes and trading style, whether you're a scalper, day trader, or swing trader.
Dynamic Momentum Oscillator with Adaptive ThresholdsDynamic Momentum Oscillator with Adaptive Thresholds (DMO-AT)
This advanced indicator is designed to provide traders with a robust tool for identifying momentum shifts, overbought/oversold conditions, and potential reversals in any market. Unlike traditional oscillators with fixed thresholds, DMO-AT uses adaptive levels that adjust based on current volatility (via ATR) and incorporates volume weighting for more accurate signals in high-volume environments.
#### Key Features:
- **Momentum Calculation**: A normalized momentum value derived from price changes, optionally weighted by volume for enhanced sensitivity.
- **Adaptive Thresholds**: Overbought and oversold levels dynamically adjust using ATR, making the indicator adaptable to volatile or ranging markets.
- **Signal Line**: An EMA of the momentum for crossover signals, helping confirm trend directions.
- **Divergence Detection**: Built-in alerts for bullish and bearish divergences between price and momentum.
- **Visual Enhancements**: Background coloring for quick zone identification, dashed static lines for reference, and a customizable stats table displaying real-time values.
- **Alerts**: Multiple alert conditions for crossovers, zone entries, and divergences to keep you notified without constant chart watching.
#### How to Use:
1. Add the indicator to your chart via TradingView's indicator search.
2. Customize inputs: Adjust the momentum length, source, ATR length, and threshold multiplier to fit your trading style (e.g., shorter lengths for scalping, longer for swing trading).
3. Interpret Signals:
- **Crossover**: Momentum crossing above the signal line suggests bullish momentum; below indicates bearish.
- **Zones**: Entering the overbought (red) zone may signal a potential sell; oversold (green) for buys.
- **Divergences**: Use alerts to spot hidden opportunities where price and momentum disagree.
4. Combine with other tools like moving averages or support/resistance for confluence.
5. Enable the stats table for at-a-glance insights on the chart.
This indicator is versatile across timeframes and assets, from stocks to crypto. It's optimized for clarity and performance, with no repainting.
Manish's Momentum Indicator
Combines **Trend Highlighter** (GMMA + SMA89) with **Trend Power** (MFI + ATR Normalization) for a dual framework.
Auto-marks fresh **BULL/BEAR trend shifts** and momentum extremes (Overheated, Oversold, Volatile Reversals, Calm Distribution).
ATR is normalized (0–100 scale) to identify whether moves happen in calm or volatile conditions.
Optionally plots the **15-min opening range box** to highlight the day’s initial balance.
Background coloring distinguishes trend bias vs. momentum extremes for quick chart scanning.
Built-in info table shows live readings of MFI, ATR Normalization, Composite Signal, and Trend Signal.
All-in-one dashboard for fast assessment of trend alignment, volatility regime, and momentum strength.
US Presidents 1789–1916Description:
This indicator displays all U.S. presidential elections from 1789 to 1916 on your chart.
Features:
Vertical lines at the date of each presidential election.
Line color by party:
Red = Republican
Blue = Democrat
Gray = Other/None
Labels showing the name of each president.
Historical flag style: All presidents before 1900 are considered historical, providing visual distinction.
Fully overlayed on the price chart for timeline context.
Customizable: Label position (above/below bar) and line width.
Use case: Great for studying historical market behavior around elections or for general reference of U.S. presidents during the early history of the country.
US Presidents 1920–2024Description:
This indicator displays all U.S. presidential elections from 1920 to 2024 on your chart.
Features:
Vertical lines at the date of each presidential election.
Line color by party:
Red = Republican
Blue = Democrat
Gray = Other/None
Labels showing the name of each president.
Modern flag style: Presidents from 1900 onward are highlighted as modern, giving clear historical separation.
Fully overlayed on the price chart for timeline context.
Customizable: Label position (above/below bar) and line width.
Use case: Useful for analyzing modern U.S. presidential cycles, market reactions to elections, or quickly referencing recent presidents directly on charts.
MTF Adaptive Trendline Scalper (ATR + EMA System) By GouravThe MTF Adaptive Trendline Scalper is a precision-built trading tool designed for intraday scalpers and swing traders.
🔹 Core Features:
Adaptive Trendline Engine: Dynamically shifts trendline support/resistance using volatility (ATR) and Bollinger-band extremes.
Multi-Timeframe Mode: Calculate signals on your chosen higher timeframe or sync with the chart resolution.
Automatic Buy/Sell Signals: Clear trend reversal markers (💣 Buy / 🔨 Sell) for fast execution.
Volatility Filtering: ATR-based buffer reduces noise in choppy conditions.
Extra EMA Overlay: Plots 9 / 15 / 50 / 200 EMAs to help confirm trend bias and momentum.
🔹 How It Helps You Trade:
Catch scalping entries with trendline flips.
Trade trend-following continuations using EMA alignment.
Spot reversals when price pierces the adaptive channel.
Works on all assets (Forex, Crypto, Stocks, Indices) and any timeframe.
⚠️ Note: This is not financial advice. Always combine with your own risk management and strategy.
Killzones High/Low [FD] - ENGKillzones High/Low - ENG
Advanced Pine Script v5 indicator designed for ICT (Inner Circle Trader) strategies that identifies trading killzones, key support/resistance levels and midnight prices with granular controls for every element.
SETTINGS
General controls that affect all indicator elements:
Session Drawings Limit (1): Determines how many historical sessions to keep on chart for each element type. Higher values show more history but may slow performance
Timeframe Limit (30): Drawings disappear on timeframes equal or higher to avoid visual overload
Time Zone: Select reference timezone for sessions. America/New_York automatically adjusts for daylight saving, GMT options are fixed
Label Size: Controls global size of all labels (from Tiny to Huge)
Drawings Cutoff Time: Stops extension of all pivots at specified time (useful for end of trading day)
KILLZONES
Manages critical trading sessions with colored boxes and pivot lines:
General Controls
Show Boxes/Text: Enables visualization and texts in session boxes
Transparency: Controls opacity of boxes and text (0=opaque, 100=transparent)
Available Sessions
Five configurable sessions with individual controls for enabling, custom text, times and colors:
Asia (18:00-00:00): Blue by default
London (02:30-05:30): Red by default
N.Y. AM (07:00-11:30): Green by default
Lunch (11:30-13:00): Golden yellow, enabled by default
N.Y. PM (13:00-16:00): Purple by default
PDH / PDL
Manages Previous Day High and Previous Day Low levels:
Show PDH/PDL: Enables previous day's maximum/minimum
Extension: "Until Mitigation" (stops when broken) or "Most Recent Candle" (continues always)
Colors/Thickness: Visual customization of lines (dark purple by default, 1px thickness)
Labels: Shows "PDH"/"PDL" texts with customizable color (white by default)
PWH / PWL
Manages Previous Week High and Previous Week Low levels:
Show PWH/PWL: Enables previous week's maximum/minimum
Extension: Independent control of line extension
Colors/Thickness: Orange by default for both, 2px thickness
Labels: Configurable "PWH"/"PWL" texts
PMH / PML
Manages Previous Month High and Previous Month Low levels:
Show PMH/PML: Enables previous month's maximum/minimum using security()
Extension: Independent control like other systems
Colors/Thickness: Blue by default for both, 1px thickness
Labels: Customizable "PMH"/"PML" texts
MIDNIGHT PRICE LEVEL
Advanced system for multiple midnight prices:
Base Controls
Show Midnight Price: Enables line at pre-00:00 closing price (ICT strategy)
Midnight -2/-3 Days: Extends system to 2 and 3 days prior
Extension/Mitigation: "Until Mitigation" or "Most Recent Candle" with "Once" or "Multiple" mode
Customization
Separate Colors: D-1, D-2, D-3 with progressive transparency (gold by default)
Style/Thickness: Customizable lines (Solid, Dotted, Dashed)
Labels: Configurable texts (🌙1, 🌙2, 🌙3) with customizable background/text colors
Alerts: Alerts when mitigated during active killzones
KILLZONE LEVEL
Controls pivot lines and killzone labels:
Line Controls
Show Lines: Enables horizontal lines on killzone highs/lows
Break Alerts: Alerts when pivots are exceeded
Midpoints: Dashed lines at range center with stop option after mitigation
Label Offset: Moves labels ahead by 5 candles (0-20 configurable), rejoining when mitigated
Label Controls
Text Customization: Configurable labels for each session (Asia_H/L, London_H/L, etc.)
Background/Colors: Transparent or visible labels with customizable colors
Broken Labels: Additional text (❌ by default) and special colors when pivots mitigated
Extension: "Until Mitigation" or "Beyond Mitigation" with session filter ("Most Recent" or "All")
LABEL STYLES
Four dedicated sections to customize label graphic shapes:
Killzone Line Label Styles: Separate controls for killzone High/Low
PDH/PDL Label Styles: Customizable shapes for Previous Day levels
PWH/PWL Label Styles: Customizable shapes for Previous Week levels
PMH/PML Label Styles: Customizable shapes for Previous Month levels
Each section offers 15+ shape options (Arrows, Center, Circle, Square, Diamond, Triangles, Crosses, Flags, etc.)
MIDNIGHT LINES
System for vertical lines at 00:00:
Show Lines/Labels: Vertical lines with upward arrow labels
Customization: Color (gray by default), style, thickness of vertical lines
Labels: Configurable text ("00:00" by default) with customizable text color (black by default)
Label Offset: Percentage control (-10000% to +10000%) for vertical positioning
Extension: Configurable directions (None, Above, Below, Both)
Limit: Maximum number of lines maintained (4 by default, max 50)
The indicator offers granular control over every visual and functional aspect, making it possible to adapt it to any ICT trading strategy or personal setup.
BTC Sessions, Anchored VWAP and Session Brackets This indicator is helpful for me so I'm sharing with everyone. It does the following:
Marks every session ( US, Asian, European) - you can change the colours or toggle them off
Anchors VWAP at the beginning of every trading session so that you can long/short with a point of reference
brackets the previous session with dotted plain lines.
The indicator is configurable and you can switch these on/off individually.
EMA Distance Risk Manager
An advanced risk management tool showing distance to the farthest EMA with precise monetary risk calculations and smart position sizing alerts.
🎯 What is EMA Distance Risk Manager?
The EMA Distance Risk Manager is a professional risk management indicator designed for traders who use EMAs as dynamic stop-loss levels. It calculates your exact monetary risk to the farthest EMA and provides intelligent position sizing recommendations.
⚡ Key Features
📊 Smart Risk Calculations
Measures distance to the farthest of 3 customizable EMAs (default: 8, 13, 21)
Converts distance to precise monetary risk in your account currency
Works with any instrument: Forex (pips), Futures (points/ticks), Stocks (points)
Handles complex futures contracts with automatic tick-to-point conversions
🚨 Advanced Risk Alerts
Visual color-coded warnings when risk exceeds your threshold
Automatic position sizing suggestions (e.g., "Reduce volume to 67% of current")
Customizable risk threshold in currency units (default: $10)
High-visibility alerts are impossible to miss
🎛️ Full Customization
Choose between Real Market Data or Chart Type Data (Heiken Ashi friendly)
4 table sizes: Tiny, Small, Normal, Large
9 position options: any corner or center location
Customizable display title and currency formatting
🔍 Professional Features
Shows 1 tick/pip/point value for position sizing calculations
Debug mode displays all EMA values and distances
Works with any chart type: Candles, Heiken Ashi, Line, Renko, Point & Figure
Real-time updates on every bar
💡 How It Works
EMA Calculation: Uses your choice of chart data or real market data
Distance Measurement: Finds the EMA farthest from the current price
Risk Calculation: Converts distance to monetary units using instrument specifications
Alert System: Warns when risk exceeds your threshold with position sizing advice
🎯 Perfect For
Swing Traders using EMAs as dynamic stop-losses
Risk Managers who need precise monetary risk calculations
Position Sizers requiring exact volume reduction suggestions
Multi-Timeframe Traders managing risk across different instruments
⚙️ Settings Overview
EMA Configuration
3 customizable EMA periods (default: 8, 13, 21)
Real OHLC vs Chart Type data selection
Show/hide EMA plots (style via TradingView's Style tab)
Risk Management
Risk threshold in currency units
Automatic volume reduction calculations
High-visibility warning system
Display Options
4 table sizes for different screen setups
9 positioning options
Custom title and formatting
Debug mode for troubleshooting
📈 Use Cases
Example 1: Forex Trading
EURUSD with a 20-pip distance to the farthest EMA
Risk threshold: $25
Shows: "Risk: $20.00 USD" (✅ Safe to trade)
Example 2: Futures Trading
ES with 15-point distance to the farthest EMA
Risk threshold: $50
Shows: "Risk: $75.00 USD" + "⚠️ Reduce volume to 67% of current"
🔧 Installation & Setup
Add an indicator to your chart
Set your risk threshold in currency units
Adjust EMA periods to match your strategy
Choose table size and position
Style EMAs via TradingView's Style tab if desired
📊 Works With All Instruments
Forex: Automatic pip calculations
Futures: Point/tick conversions (tested on ES, NQ, GC, etc.)
Stocks: Standard point calculations
Crypto: Precise decimal handling
⚠️ Risk Warning: This indicator is for informational purposes only. Always verify calculations and manage your risk appropriately. Past performance does not guarantee future results.
Full Chart Quadrant Grid - Cleanit automatically creates ranges on how the algorithm IPDA. delivers price action to premium and discount according the pricing structure . thin indicator levels can be changed to any number works best with nasdaq