Pine Script® インジケーター
騰落株線
Skyline Ventures SMI//@version=5
// Stochastic Momentum Index
// Author: Surjith S M (sudia arabia)
// Copyright: CC 3.0
// Thanks MR:Ahmed Moussa
// Release: v2.1
indicator("Stochastics Momentum Index", shorttitle = "Skyline_SMI")
// Input parameters
a = input.int(10, "Percent K Length", minval=1)
b = input.int(3, "Percent D Length", minval=1)
c = input.int(10, "EMA Signal Length", minval=1)
smooth_period = input.int(5, "Smoothing Period", minval=1)
ob = input.float(40, "Overbought", minval=-100, maxval=100)
os = input.float(-40, "Oversold", minval=-100, maxval=100)
// Range Calculation
ll = ta.lowest(low, a)
hh = ta.highest(high, a)
diff = hh - ll
rdiff = close - (hh+ll)/2
avgrel = ta.ema(rdiff, b)
avgdiff = ta.ema(diff, b)
// SMI calculations
SMI = avgdiff != 0 ? (avgrel/(avgdiff/2)*100) : 0.0
// Apply smoothing to SMI
SMI_smoothed = ta.sma(SMI, smooth_period)
SMIsignal = ta.ema(SMI_smoothed, b)
emasignal = ta.ema(SMI_smoothed, c)
// Plotting
plot(SMI_smoothed, "Stochastic", color=color.rgb(154, 157, 167))
plot(emasignal, "EMA", color=color.red)
h0 = hline(ob, "Overbought", color=color.gray)
h1 = hline(os, "Oversold", color=color.gray)
level_ob = ob
level_obsmi = SMI_smoothed > level_ob ? SMI_smoothed : level_ob
level_os = os
level_ossmi = SMI_smoothed < level_os ? SMI_smoothed : level_os
p1 = plot(level_ob, display=display.none)
p2 = plot(level_obsmi, display=display.none)
p3 = plot(level_os, display=display.none)
p4 = plot(level_ossmi, display=display.none)
fill(p1, p2, color=color.new(color.red, 60), title='OverBought')
fill(p3, p4, color=color.new(color.green, 60), title='OverSold')
Pine Script® インジケーター
ADALPE Help Trade - Entry + SL + TPScript sencillo para acompañar una entrada de trade hecho en tu Broker y que lo visualices mientras analizas el mercado.
Simple script to accompany a trade entry made in your Broker and to visualize it while you analyze the market.
Script simple pour accompagner une saisie d'ordre effectuée chez votre Broker et pour la visualiser pendant votre analyse du marché.
Um script simples para acompanhar uma entrada de negociação feita no seu Broker e visualizá-la enquanto analisa o mercado.
Pine Script® インジケーター
Zweig Breadth Thrust (ZBT) Complete ValidationZweig Breadth Thrust (ZBT) – Full Validation (Pine Script v6)
This script implements the classic Zweig Breadth Thrust (ZBT) indicator and adds a full validation layer to objectively identify complete signals based on Martin Zweig’s original rules.
⸻
🔎 What it measures
The ZBT tracks market breadth momentum:
• Ratio of advancing vs declining stocks:
ADV / (ADV + DECL)
• Smoothed using a 10-day EMA
It captures a rapid transition:
from oversold conditions → to broad market participation
⸻
⚙️ Signal logic (Zweig rules)
The script automatically validates the full signal:
1. Setup (oversold)
• ZBT drops below 0.40
2. Time window
• A 10 trading day window is triggered
3. Thrust (confirmation)
• ZBT must rise above 0.615 within that window
⸻
📊 States displayed
• 🔴 Setup
Market in oversold condition (< 0.40)
• 🟡 Setup Active
Countdown window in progress
• 🟢 VALID ZBT
Fully confirmed signal (high statistical significance)
• 🟠 Near Miss
Indicator approached the trigger but failed to confirm
• ⚫ Setup Expired
No confirmation within the allowed window
⸻
📈 Interpretation
• VALID ZBT
A rare signal historically associated with:
• Strong bullish phases
• Broad-based participation (not just mega caps)
• Near Miss
Typically reflects a short-term bounce rather than a structural shift
⸻
🧠 Practical use
This indicator is designed as:
• A risk-on / risk-off timing tool
• A confirmation of market regime change
• A complement to fundamental and technical analysis
⸻
⚠️ Notes
• Intended for daily timeframe
• Uses market breadth data (ADV / DECL), which may vary depending on TradingView data feeds
• Based on the original methodology by Martin Zweig
⸻
🧭 Use cases
Particularly useful for:
• Portfolio management
• Tactical asset allocation
• Confirming rallies after market corrections
Pine Script® インジケーター
Killzones & Key LevelsThe ICT Killzones + Key Levels indicator is a comprehensive technical analysis tool that consolidates institutional trading logic and ICT (Inner Circle Trader) concepts into a single interface. Its primary distinction lies in optimizing all calculations based on actual market opening times—specifically the New York 18:00 session rollover—rather than the standard midnight (00:00) reset.
It visually represents critical Killzone regions, such as Asia, London, New York AM/PM, and New York Lunch, using dynamic boxes on the chart. These zones highlight periods of peak volatility and liquidity, clarifying areas where price is most likely to react. Additionally, it calculates session-based Daily, Weekly, and Monthly (DWM) open levels to align with institutional data, making intraday bias much easier to determine.
The indicator provides a True Day Open (TDO => NYMO) level as a vital reference point throughout the day while automatically tracking Previous Day, Week, and Month Highs and Lows (H/L). By drawing vertical day-divider lines at 18:00, it allows traders to see the "true" trading day. This enables Futures and Forex traders to analyze market cycles based on institutional liquidity flow rather than just calendar hours.
Finally, it includes a volatility analysis table that displays the current price range for each session. With a fully customizable structure, you can adjust sessions, colors, and timeframes to fit your specific strategy. In essence, this tool serves as a professional roadmap for Smart Money Concepts (SMC) traders who prioritize session structure over traditional timekeeping.
Pine Script® インジケーター
indicator("Fibo Semaphore Auto Dashboard V2", overlay=true)Fibo Semáforo Automático & Dashboard V2
Indicador que detecta automáticamente los niveles de retroceso de Fibonacci usando pivotes de precio, y los presenta en un dashboard visual con sistema de semáforo para facilitar la toma de decisiones.
🔹 ¿Qué hace?
El indicador identifica el swing high y swing low más relevante del gráfico mediante pivotes configurables, y traza automáticamente los niveles clásicos de Fibonacci: 23.6%, 38.2%, 50%, 61.8% y 78.6%. No necesitas dibujar nada manualmente — se adapta dinámicamente al activo y temporalidad que estés analizando.
🔹 Dashboard con semáforo
Incluye una tabla integrada con tres columnas: Nivel, Precio y Estado. La columna Estado muestra en tiempo real si el precio se encuentra por encima (🟢) o por debajo (🔴) de cada nivel de Fibonacci, junto con la distancia porcentual. Esto permite evaluar de un vistazo la posición del precio respecto a cada zona clave.
🔹 Zonas de color por contexto
Cada nivel tiene un código de color según su importancia técnica:
🟢 Verde (23.6% y 38.2%) → Zona alcista, retrocesos superficiales
🟡 Amarillo (50% y 61.8%) → Zona de decisión y Golden Ratio
🔴 Rojo (78.6%) → Zona crítica, retroceso profundo
⚪ Gris (0% y 100%) → Extremos del rango (mínimo y máximo)
🔹 Configuración
Pivotes Izquierda (Lookback): Define cuántas barras hacia atrás buscar el swing. Mayor valor = swings más significativos.
Pivotes Derecha (Confirmación): Barras de confirmación del pivote. Mayor valor = mayor fiabilidad, menor reactividad.
Posición del Dashboard: Esquina del gráfico donde se muestra la tabla.
Tamaño de texto: Tiny, Small o Normal según tu preferencia.
Toggle para mostrar/ocultar el dashboard.
🔹 ¿Para quién es?
Ideal para traders que utilizan retrocesos de Fibonacci en su operativa y buscan automatizar la identificación de niveles. Funciona en cualquier activo (acciones, crypto, forex, índices) y en cualquier temporalidad. Especialmente útil para swing trading y análisis intradiario en timeframes de 15 min a diario.
🔹 Cómo usarlo
Aplica el indicador al gráfico.
Ajusta los pivotes según tu temporalidad (valores más altos para temporalidades mayores).
Consulta el dashboard para ver la posición del precio respecto a cada nivel.
Usa las zonas de color como guía: entradas en zonas verdes en tendencia alcista, precaución en zonas amarillas, y alerta máxima en zona roja.
Nota: Este indicador es una herramienta de análisis técnico y no constituye asesoría financiera. Úsalo en conjunto con otros indicadores y tu propio criterio de gestión de riesgo.
Pine Script® インジケーター
Fibonacci Dynamic Extended Fibonacci Levels (5000-Bar Lookback)
This script dynamically calculates Fibonacci support and resistance levels based on the highest high and lowest low of the last 5000 bars on your chart. It provides a clear visual framework for identifying key price zones and potential reversal areas.
🔹 Features:
Dynamic Fibonacci levels: Automatically adjusts to the last 5000 bars
Customizable line style and thickness: Solid, dotted, or dashed lines
Color-coded levels: Easily distinguish each Fibonacci level at a glance
Labels for clarity: 0%, 23.6%, 38.2%, 50%, 61.8%, 78.6%, 100%
🔹 Benefits:
Quickly identify long-term support and resistance zones
Helps spot potential reversal points and trend continuation levels
Provides a clean, easy-to-read visual guide for swing trading or analysis
💡 Note: For informational purposes only; not financial advice. Always apply proper risk management.
Pine Script® インジケーター
J.E. TradingJ.E. Trading is a market session and liquidity level indicator designed for intraday traders who focus on institutional trading concepts.
The indicator automatically displays important price levels used in professional trading analysis, helping traders quickly identify liquidity areas and key market reactions.
Features included in this script:
• Asian session range (High and Low) displayed as a box
• Weekly High and Weekly Low levels
• Previous Day High (PDH) and Previous Day Low (PDL)
• Daily Open price level
• Clean visualization of important market levels
• Customizable colors and visibility settings
This tool helps traders understand how price reacts around major liquidity zones and session ranges, which are often used in ICT-style or liquidity-based trading strategies.
The indicator works on any market including indices, forex, crypto, and futures, and is optimized for intraday timeframes.
It is designed to keep the chart clean while highlighting the most important institutional levels that traders monitor during the trading day.
Pine Script® インジケーター
Advanced Session Reversal iFVGAdvanced Session Reversal iFVG is designed to identify Inversion Fair Value Gap (iFVG) structures that occur during session reversals and highlight high-probability trading opportunities. The indicator incorporates three professional confirmation filters to detect institutional price movement: Volume Confirmation, EMA 200 Trend Filter, and Displacement Candle Structure.
Signal candles must have above-average volume compared to the last 20 candles, confirming strong market participation. Additionally, the breakout candle must pass an ATR-based displacement check, ensuring that only strong, decisive moves generate signals while weak or indecisive candles are filtered out.
To align trades with the broader market direction, the indicator uses EMA 200 as a trend filter. When price is above EMA 200, only Long signals are active; when price is below, only Short signals are generated.
Labels such as STRONG BUY and STRONG SELL represent the highest-quality setups where all confirmation filters are satisfied.
The goal of this indicator is to produce fewer but higher-probability trading signals by filtering out low-quality market movements.
Pine Script® インジケーター
Advance-Decline LineAdvance-Decline Line — Market Breadth Indicator
The NYSE Advance-Decline Line measures the internal health of the broad market by tracking how many stocks are actually participating in any given move — not just the mega-caps driving the index.
Every session the NYSE reports how many stocks closed up (advances) vs. down (declines). This indicator plots the raw daily difference as a histogram and applies two EMAs to identify the underlying breadth trend, cutting through daily noise to reveal the true market regime.
Why price alone isn't enough
The S&P 500 is market-cap weighted. Apple, Microsoft, and Nvidia can hold the index up while the other 490 stocks quietly deteriorate. The A/D Line weights every stock equally — exposing that divergence immediately. The classic example: the NYSE A/D Line peaked nearly two years before the Nasdaq crashed in 2000, giving attentive traders ample warning.
Background color — the regime signal
🟢 Green — Fast EMA > Slow EMA AND Slow EMA > 0. Broad market breadth is healthy. Favorable conditions for long positions.
🟠 Orange — Mixed signals. One condition is met but not both. Breadth is transitioning — proceed with caution.
🔴 Red — Fast EMA < Slow EMA AND Slow EMA < 0. Breadth is weak across most stocks. Historically, breakouts fail at a much higher rate in this regime.
Histogram bars
Each bar shows the raw daily breadth pulse — teal when more stocks advanced, red when more declined. Individual bars provide context; the background color reflects the dominant trend via the two EMAs.
Settings
Fast EMA (default 50)
Slow EMA (default 200) — moves slowly, only reverses during genuine regime shifts
Alerts
Breadth Turning Bullish — Fast EMA crossed above Slow EMA
Breadth Turning Bearish — Fast EMA crossed below Slow EMA
Slow EMA Above Zero — breadth trend fully positive
Slow EMA Below Zero — breadth trend fully negative
Pine Script® インジケーター
7AM Daily Open (Round to 0/5) + AlertsIndicator Description: 7AM Daily Open Zone (Rounded)
This indicator is designed to establish a daily trading range based on the market open at 07:00 AM (Bangkok Time, UTC+7). It automatically plots a central reference line and two boundary lines (Upper and Lower) to help traders identify key support and resistance zones for the day.
Pine Script® インジケーター
Adaptive EMA (Momentum Entry & Crash Protection)This script is the result of extensive backtesting to find the perfect balance between capturing high-volume momentum and protecting capital during market crashes.
It is not just a standard EMA crossover; it is a fine-tuned trend-following system designed for maximum profit margins.
🚀 KEY OPTIMIZATIONS:
1. Adaptive Logic (Auto-Switching):
The script automatically detects your timeframe and applies the most effective parameters:
• Intraday (≤ 4H): Uses EMA 9 & 21. This classic setup is perfect for filtering noise in short-term trading.
• Swing/Long-Term (> 4H): Uses EMA 7 & 14. *CRITICAL UPDATE:* After testing, the 7/14 combination proved to offer higher profit margins than the traditional 7/21. It reacts faster to major trend reversals, allowing you to lock in profits sooner before a dump.
2. Professional Visuals:
• Fast Line (Gold - 1px): Represents the immediate momentum.
• Slow Line (Deep Blue - 2px): Represents the baseline trend.
• Glow Effect: A subtle white border ensures the lines remain visible even on dark charts.
• Clean Chart Policy: Gradient background signals are included but *disabled by default* to keep your workspace clutter-free. You can enable them in the settings if you prefer visual zones.
💎 HOW TO TRADE:
• Entry (Pump): When the Gold line crosses ABOVE the Blue line. This indicates a surge in volume and upward momentum.
• Exit (Protection): When the Gold line crosses BELOW the Blue line. This is your signal to exit and protect your gains before the price collapses.
No manual configuration is needed. Just add it to your chart, and it adapts instantly.
Pine Script® インジケーター
Relative Strength vs S&P 500 (SPX/ES) Relative Strength vs S&P 500
This indicator measures the relative performance of an asset compared to the S&P 500, helping traders and investors identify whether an asset is outperforming or underperforming the broader market.
The calculation is based on a price ratio between the selected asset and the S&P 500, optionally normalized to a base value (100) for easier interpretation.
How to read it:
Above the baseline (100) → the asset is outperforming the S&P 500
Below the baseline (100) → the asset is underperforming the S&P 500
Rising line → strengthening relative performance
Falling line → weakening relative performance
Why it’s useful:
Helps focus on market leaders, not just assets that “look cheap”
Filters trades and investments in the direction of relative strength
Useful for swing trading, long-term investing, and portfolio allocation
Widely used in institutional and professional asset management
This indicator is best used as a trend and selection filter, in combination with technical setups (support/resistance, VWAP, structure).
Pine Script® インジケーター
MA200 Parallel ChannelDynamic MA100 Parallel Bands – Precision S/R Levels
This indicator builds a clean, parallel channel around the 100-period moving average using a fixed ±4 offset.
Because the offset mirrors the short-term MA1 fluctuations, the channel reveals highly accurate support and resistance zones that react instantly to market micro-structure.
Unlike Bollinger Bands—which expand with volatility—this tool stays perfectly parallel and trend-aligned, making breakouts and pullbacks incredibly easy to spot.
How it works:
Centerline: 100-period moving average (MA100)
Upper Band: MA100 + 4
Lower Band: MA100 – 4
MA1 used as a sensitivity reference for micro-trend behavior
Parallel structure ensures stable, predictable levels
Why it’s powerful:
The ±4 channel creates extremely precise S/R zones
Price respecting the lower band = dynamic support
Price rejecting the upper band = dynamic resistance
A clean break above or below the bands highlights strong momentum shifts
Perfect for intraday traders needing structure without noise
Perfect for:
Identifying high-probability bounce levels
Spotting early trend continuation
Confirming MA100 breakouts
Filtering weak signals and fake volatility spikes
If you want razor-sharp support & resistance levels that stay consistent across all timeframes, these MA100 parallel bands deliver exceptional clarity.
Pine Script® インジケーター
XAUUSD Multi-Timeframe Supertrend Alert v2**Indicator Overview: XAUUSD Multi-Timeframe Supertrend Alert v2**
**Core Components:**
1. **Multi-Timeframe Supertrend System**
- Two Supertrend indicators (ST1 & ST2) with customizable timeframes
- ST1 typically set to Daily, ST2 to Weekly as main trend
- Visualized with distinct colors and background fills
2. **Customizable SMA**
- Adjustable period and timeframe
- Plotted as blue line for additional trend reference
3. **Neutral Zone System**
- Creates a neutral line offset from ST1 by customizable tick distance
- Yellow dashed line that adjusts based on ST1 trend direction
- **Alert Conditions:**
- **Test Buy Zone**: Both ST1 & ST2 in uptrend AND price enters neutral zone above ST1
- **Test Sell Zone**: Both ST1 & ST2 in downtrend AND price enters neutral zone below ST1
4. **Distance Lines from ST2**
- Upper/lower lines at customizable tick distance from ST2
- Purple dashed lines with touch alerts
**Trading Signals:**
- **Bullish Signal**: Price above ST2 but below ST1 (potential buy)
- **Bearish Signal**: Price below ST2 but above ST1 (potential sell)
- **Neutral Zone Alerts**: Price enters defined zone when both trends align
- **Line Touch Alerts**: Price touches distance lines from ST2
**Alert System:**
- Limited to 3 consecutive alerts per signal type
- Visual markers (triangles, diamonds, circles)
- Background coloring for signal zones
- Separate alert conditions for each signal type
**Visual Features:**
- Candles colored green/red based on signals
- Clear trend visualization with colored backgrounds
- Real-time alert markers without information table clutter
This indicator provides multi-timeframe trend analysis with precise entry zone detection and comprehensive alert system for XAUUSD trading. SAM89 M15, ST1 (5:10) M5, ST2 ( 1,5:20) H1, Test Buy Sell 7000, Line 15000
Pine Script® インジケーター
Weighted Sector ADD (sign-weighted)What it is
A true, cap-weighted advances/declines (ADD) proxy for the S&P 500 using sector ETFs. Each sector contributes +1 if it’s up on the bar, −1 if it’s down, 0 if flat. Those signals are then weighted by your sector weights (auto-normalized to 100%) and summed into a single breadth line. The result is a fast, low-noise read of how much of the S&P (by sector weight) is advancing vs. declining right now.
- Tracks participation, not price magnitude—perfect for spotting “broad vs. narrow” moves
- Heavily weighted sectors (e.g., Tech) matter proportionally more, reflecting real index impact
- Simple scale: ~−1 to +1 (all weight down → all weight up)
Chart Elements
- Green/Red Columns – “Weighted ADD”: Current bar’s weighted breadth (sign-based by default)
- Blue Line – “Weighted MA”: SMA of the weighted ADD (regime filter)
- Zero/Guide Lines (optional): 0.0, ±0.2 (mild), ±0.6 (strong)
- Labels (optional): Text markers at those guide levels
- Advancing Weight % (optional): Label showing ((ADD+1)/2)*100 → share of total sector weight advancing
How to Read (Quick Guide)
- +0.60 to +1.00 → Broad, one-sided risk-on (most sector weight advancing)
- +0.20 to +0.60 → Moderate, supportive breadth
- −0.20 to +0.20 → Mixed/choppy; rotation
- −0.60 to −1.00 → Broad, one-sided risk-off
- MA above/below zero → Simple regime indicator; zero-crosses could be potential alert triggers
- Divergence: Strong price move with a weak/flat ADD could potentially warn of narrow participation
Inputs & settings
Calculation
- Use returns instead of up/down sign?
OFF (default): true weighted participation (+1/−1/0)
ON: weighted sector returns (winsor-capped). Use if you want magnitude, not just direction
- Winsor cap (returns mode): Caps per-sector contribution in returns mode (e.g., 0.02 = ±2%)
- Smoothing MA length: SMA period for the blue “Weighted MA” line
- Source timeframe: Compute signals on another TF (e.g., “60”) but plot on your chart TF
Visibility
- Show Weighted ADD (bars): Toggle the green/red columns
- Show Weighted ADD MA: Toggle the blue SMA line
- Show Zero Line (0): Toggle the 0.0 reference line
- Show ±0.2 / ±0.6 guide lines: Toggle the helper levels
- Show guide labels: Draw small text labels at 0, ±0.2, ±0.6
- Guide label offset (bars left): Move labels left if they overlap the right edge values
- Show Advancing Weight % label: Toggle the % of sector weight currently advancing
Sector Symbols (ETF proxies)
- XLK, XLY, XLF, XLV, XLC, XLI, XLP, XLE, XLB, XLU, XLRE: Defaults to the SPDR sector ETFs. You can swap for alternative proxies if desired.
Sector Weights (auto-normalize)
- Weight inputs for each sector (e.g., Tech 0.30, Financials 0.13…). These auto-normalize to 1.0 so you can paste rough numbers; the script scales them.
- Keep weights fresh. GICS sector weights drift; update periodically (e.g., quarterly).
Alerts included
- “Weighted ADD crossed above 0”
- “Weighted ADD crossed below 0”
Version
v1.0 – Initial release (weighted sign-based ADD + SMA, zero/guide lines & labels, Adv % label, alerts).
Pine Script® インジケーター
S&P 500 Weighted Advance Decline LineS&P 500 Weighted Advance Decline Line Indicator
Overview
This indicator creates a market cap weighted advance/decline line for the S&P 500 that tracks breadth based on actual index weights rather than treating all stocks equally. By weighting each stock's contribution according to its true S&P 500 impact, it provides more accurate market breadth analysis and better insights into underlying market strength and potential turning points.
Key Features
Market Cap Weighted: Each stock contributes based on its actual S&P 500 weight
Top 40 Stocks: Covers ~51% of the index with the largest companies
(limited by TradingView's 40 security call maximum for Premium accounts)
Real-Time Updates: Cumulative line shows long-term breadth trends
Visual Indicators: Background coloring, moving average option, and data table
Stock Coverage
Sector Breakdown:
Technology (29.8%) - Dominates the coverage as expected
Financials (5.8%) - Major banking and payment companies
Consumer/Retail (3.7%) - Consumer staples and retail giants
Healthcare (3.2%) - Pharma and healthcare services
Communication (1.97%) - Telecom and tech services
Energy (1.35%) - Oil and gas majors
Industrial (0.9%) - Aerospace and industrial equipment
Other Sectors (4.6%) - Miscellaneous including software and payments
Includes the 40 largest S&P 500 companies by weight, featuring:
Tech Leaders (29.8%): AAPL (7.0%), MSFT (6.5%), NVDA (4.5%), AMZN (3.5%), META (2.5%), GOOGL/GOOG (3.8%), AVGO (1.5%), ORCL (1.22%), AMD (0.51%), plus others
Financials (5.8%): BRK.B (1.8%), JPM (1.2%), V (1.0%), MA (0.8%), BAC (0.63%), WFC (0.46%)
Healthcare (3.2%): LLY (1.2%), UNH (1.2%), JNJ (1.1%), ABBV (0.8%), PG (0.9%)
Consumer/Retail (3.7%): WMT (0.8%), HD (0.8%), COST (0.7%), KO (0.6%), PEP (0.6%), NKE (0.4%)
Communication (1.97%): TMUS (0.47%), CSCO (0.47%), DIS (0.5%), CRM (0.5%)
Energy** (1.35%): XOM (0.8%), CVX (0.55%)
Industrial** (0.9%): GE (0.5%), BA (0.4%)
Other Sectors (4.6%): PLTR (0.65%), ADBE (0.6%), PYPL (0.3%), plus others
How to Interpret
Trend Signals
Rising A/D Line: Broad market strength, more weighted buying than selling
Falling A/D Line: Market weakness, more weighted selling pressure
Flat A/D Line: Balanced market conditions
Divergence Analysis
Bullish Divergence: S&P 500 makes new lows but A/D Line holds higher
Bearish Divergence: S&P 500 makes new highs but A/D Line fails to confirm
Confirmation
Strong trends occur when both price and A/D Line move in the same direction
Weak trends show when price moves but breadth doesn't follow
Settings
Lookback Period: Days for advance/decline comparison (default: 1)
Show Moving Average: Optional trend smoothing
MA Length: Moving average period (default: 20)
Limitations
Covers ~51% of S&P 500 (not complete market breadth)
Optimized for TradingView Premium accounts (40 security limit)
Heavy weighting toward mega-cap technology stocks
Dependent on real-time data quality
Pine Script® インジケーター
NYSE Advancing Issues & Volume RatiosOverview
This comprehensive market breadth indicator tracks two essential NYSE ratios that provide deep insights into market sentiment and internal strength:
NYSE Advancing Issues Ratio
NYSE Advancing Volume Ratio
Dual Ratio Analysis
Issues Ratio: Measures the percentage of NYSE stocks advancing vs. total issues
Volume Ratio: Measures the percentage of NYSE volume flowing into advancing stocks
Both ratios displayed as easy-to-read percentages (0-100%)
Customizable Display Options
Toggle each ratio on/off independently
Choose from multiple moving average types (SMA, EMA, WMA)
Adjustable moving average periods
Custom color schemes for better visualization
Reference Levels
50% Line: Market neutral point (gray dashed)
10% Line: Extremely bearish breadth (red dotted)
90% Line: Extremely bullish breadth (green dotted)
Optional background highlighting for extreme readings
Smart Alerts
Cross above/below 50% (neutral) for both ratios
Extreme readings: Above 90% (strong bullish) and below 10% (strong bearish)
Real-time notifications for key market breadth shifts
📈 How to Interpret
Bullish Signals
Above 50%: More stocks/volume advancing than declining
Above 90%: Extremely strong market breadth (rare occurrence)
Divergence: Price making new highs while breadth weakens (potential warning)
Market Timing
Extreme readings (10%/90%) often coincide with market turning points
Breadth thrusts from extreme levels can signal powerful moves
Use with other technical indicators for enhanced timing
Pine Script® インジケーター
SD Bands Filtered Signals### SD Bands Filtered Signals: Reversion & Volatility Scanner
**Core Description:**
The SD Bands Filtered Signals is a tool developed to help traders identify more accurate buy and sell signals in sideways markets, or during periods of low price movement. It utilizes the principles of Standard Deviation (SD) and a Moving Average (MA), with a unique 'signal filtering' system added to reduce unnecessary noise.
**Key Features:**
* **SD Bands:** Creates upper and lower bands to define price volatility zones, providing a clear overview of market conditions.
* **Intelligent Reversal Signals:** Generates specially filtered Buy/Sell signals for a 'Reversion to the Mean' strategy. These signals appear only when the market has low volatility and the price touches the SD Bands.
* **Advanced Signal Filtering System:** Uses a **`Cooldown Bars`** variable to set a rest period between signals. This prevents repetitive arrows in the same zone, helping you find the best signal at the most suitable point.
* **Fully Customizable:** You can adjust the **`Length`**, **`Multiplier`**, **`Sideways Threshold`**, and **`Cooldown Bars`** to fit your trading style and asset of choice.
**How to Use:**
* **Buy Signal (Green Arrow Up):** Look for this signal when the market is sideways and the price moves down to touch the lower band (SD Low).
* **Sell Signal (Red Arrow Down):** Look for this signal when the market is sideways and the price moves up to touch the upper band (SD High).
* **Customization:** You can adjust the **`Cooldown Bars`** value to control the number of arrows. If you want more accurate but fewer signals, increase this value.
**Disclaimer:**
* This indicator is an **analytical tool only** and is not a 100% guarantee of profit.
* It should be used in conjunction with other forms of analysis, such as candlestick patterns, trading volume, and proper risk management.
ไทย
ชื่ออินดิเคเตอร์ "SD Bands Filtered Signals: Reversion & Volatility Scanner"
คำอธิบายหลัก:
อินดิเคเตอร์ SD Bands Filtered Signals เป็นเครื่องมือที่ถูกพัฒนาขึ้นเพื่อช่วยให้นักเทรดสามารถระบุสัญญาณซื้อ (Buy) และขาย (Sell) ที่แม่นยำขึ้นในตลาดแบบ Sideways หรือช่วงที่ราคาเคลื่อนที่ในกรอบแคบๆ โดยใช้หลักการของ Standard Deviation (SD) และ Moving Average (MA) และเพิ่มระบบ 'กรองสัญญาณ' ที่เป็นเอกลักษณ์เพื่อลดสัญญาณรบกวน (Noise) ที่ไม่จำเป็นออกไป
คุณสมบัติเด่น:
* SD Bands: สร้างเส้นขอบบนและล่างเพื่อระบุโซนความผันผวนของราคา ทำให้เห็นภาพรวมของตลาดได้ง่าย
* สัญญาณ Reversal อัจฉริยะ: สร้างสัญญาณ Buy/Sell ที่ถูกคัดกรองมาเป็นพิเศษสำหรับกลยุทธ์การกลับตัว (Reversion to the Mean) โดยจะปรากฏเฉพาะเมื่อตลาดมีความผันผวนต่ำและราคาแตะขอบของ SD Bands
* ระบบกรองสัญญาณขั้นสูง: ใช้ตัวแปร Cooldown Bars เพื่อกำหนดระยะเวลาพักสัญญาณ ทำให้ไม่เกิดลูกศรซ้ำๆ ในโซนเดียวกัน และช่วยให้คุณได้สัญญาณที่ดีที่สุดในจุดที่เหมาะสมที่สุด
* ปรับแต่งได้เต็มที่: คุณสามารถปรับค่า Length, Multiplier, Sideways Threshold และ Cooldown Bars เพื่อให้เข้ากับสไตล์การเทรดและคู่สินทรัพย์ที่คุณสนใจ
วิธีการใช้งาน:
* สัญญาณ Buy (ลูกศรสีเขียวขึ้น): มองหาสัญญาณนี้เมื่อตลาดอยู่ในช่วง Sideways และราคาวิ่งลงมาแตะเส้นขอบล่าง (SD Low)
* สัญญาณ Sell (ลูกศรสีแดงลง): มองหาสัญญาณนี้เมื่อตลาดอยู่ในช่วง Sideways และราคาวิ่งขึ้นไปแตะเส้นขอบบน (SD High)
* การปรับแต่ง: คุณสามารถปรับค่า Cooldown Bars เพื่อให้ได้จำนวนลูกศรที่ต้องการ หากต้องการสัญญาณที่แม่นยำขึ้นแต่จำนวนน้อยลง ให้เพิ่มค่านี้ให้สูงขึ้น
ข้อควรระวัง:
* อินดิเคเตอร์นี้เป็นเพียงเครื่องมือวิเคราะห์ ไม่ใช่สัญญาณที่การันตีผลกำไร 100%
* ควรใช้ประกอบกับการวิเคราะห์อื่นๆ เช่น รูปแบบแท่งเทียน, ปริมาณการซื้อขาย (Volume) และการจัดการความเสี่ยงที่เหมาะสม
Pine Script® インジケーター
Turtle Trading System + ATR Trailing StopIndicator Description: Turtle ATR Trailing Stop
The **Turtle ATR Trailing Stop** is a technical indicator designed to enhance the classic Turtle Trading System by incorporating a dynamic trailing stop based on the Average True Range (ATR). This indicator is ideal for traders seeking to manage risk and lock in profits on both long and short positions in trending markets.
Key Features:
- Turtle Trading Levels: Calculates the 20-day highest high and lowest low to identify potential breakout points, a core principle of the Turtle Trading System.
- ATR-Based Trailing Stop: Utilizes a trailing stop that adjusts dynamically based on a multiple of the ATR (default multiplier: 2.0), providing a volatility-adjusted exit mechanism.
- Position Flexibility: Supports both long and short positions, with the trailing stop positioned below the highest price for long trades and above the lowest price for short trades.
- Smooth Updates: The trailing stop updates on each bar, ensuring a more responsive adjustment to price movements, rather than only on new highs or lows.
- Reset Mechanism: Automatically resets the trailing stop when the price deviates significantly (configurable threshold, default 0.1%), adapting to major trend reversals.
- Alerts: Includes customizable alerts that trigger when the price reaches the trailing stop level, notifying traders of potential exit points.
- Debugging Tools: Features an on-chart debug table displaying ATR, Close, Highest Price, Lowest Price, Potential Stop, and Trailing Stop values for real-time analysis.
How It Works:
- For **Long Positions**: The trailing stop starts below the initial close price (minus 2*ATR) and moves up as the highest price increases, locking in profits while trailing at a fixed ATR distance.
- For **Short Positions**: The trailing stop starts above the initial close price (plus 2*ATR) and moves down as the lowest price decreases, protecting against upward price movements.
- The stop resets if the price falls (for long) or rises (for short) beyond the set threshold, ensuring adaptability to new market conditions.
Customization:
- Period Settings: Adjust the length for highs/lows (default 20) and ATR period (default 14).
- ATR Multiplier: Modify the distance of the trailing stop (default 2.0).
- Reset Threshold: Fine-tune the percentage at which the stop resets (default 0.1%).
- Position Type: Switch between "Long" and "Short" modes via input settings.
Usage:
Apply this indicator to any chart in TradingView, set your preferred parameters, and monitor the trailing stop line (yellow) alongside the Turtle highs (red) and lows (blue). Use the debug table to validate calculations and set alerts to stay informed of stop triggers.
This indicator combines the trend-following strength of the Turtle System with a flexible, ATR-based stop-loss strategy, making it a powerful tool for both manual and automated trading strategies.
Pine Script® インジケーター
Niveaux Dealers + Previous M W D📊 TradingView Script – Dealers Levels & Previous D/W/M
🔹 General Purpose:
This advanced script provides a clear view of key market levels used by professional traders for scalping, day trading, and technical analysis. It combines manual levels (Dealer) set by the user with automated levels based on the previous day, week, and month’s highs and lows.
⸻
🧩 1. Dealers Levels Module (Manual)
✅ Features:
• Displays 28 customizable levels, grouped into 4 categories:
• Maxima: Buyer Control, Max Day, Max Event, Max Extreme
• Minima: Seller Control, Min Day, Min Event, Min Extreme
• Call Resistance: 10 user-defined levels
• Pull Support: 10 user-defined levels
🎨 Customization:
• Each level’s value is manually entered
• Line color, style, and thickness can be customized
• Display includes transparent labels with a clean design
🔧 Options:
• Line extension configurable:
• To the left: from 1 to 499 bars
• To the right: from 1 to 100 bars
• Label display can be toggled on/off
⸻
🧩 2. Previous Daily / Weekly / Monthly Levels Module (Automatic)
✅ Features:
• Automatically detects and plots:
• Previous Daily High / Low
• Previous Weekly High / Low
• Previous Monthly High / Low
🎯 Technical Details:
• Accurate calculation based on closed periods
• Dynamically extended lines (past and future projection)
• Labels aligned with the right-hand extension of each line
🎨 Customization:
• Each level has configurable color, line style, and thickness
• Labels use rectangle style with transparent background
⸻
⚙ Global Script Settings:
• Toggle display of labels (✔/❌)
• Configurable left extension (1–499) and right extension (1–100)
• Settings panel organized into groups for clarity and ease of use
⸻
💡 Usefulness:
This script provides traders with a precise map of price reaction zones, combining fixed institutional zones (Dealer levels) with dynamic historical levels (D/W/M). It’s ideal for intraday strategies on indices (e.g., Nasdaq), crypto, or forex markets.
Pine Script® インジケーター
RSI Multi Alert KrafturRSI Multi Alert Kraftur
Description
The "RSI Multi-Level Signals" indicator is designed to help traders identify potential buy and sell opportunities based on RSI (Relative Strength Index) crossings of multiple customizable levels. Unlike traditional RSI indicators that focus on single overbought/oversold thresholds (e.g., 70/30), this script stands out by offering four distinct buy and sell levels for enhanced flexibility and precision. It plots signals directly on the price chart and provides real-time alerts when RSI crosses these levels, making it a powerful tool for spotting entry and exit points.
Key Features
Multi-Level RSI: Configurable buy levels (e.g., 30, 25, 20, 15) and sell levels (e.g., 70, 75, 80, 85) to capture varying degrees of overbought and oversold conditions.
Visual Signals: Buy signals are marked with circles below the bars, and sell signals above the bars, each color-coded for easy identification.
Real-Time Alerts: Generates alerts once per bar when RSI crosses a level, with a filter to prevent duplicate signals during oscillations.
Customizable: Adjustable RSI length, timeframe, and level colors to suit different trading strategies.
Recommended Usage
This indicator is best used as a scanning tool for finding entry points across multiple assets. Set up alerts for your entire watchlist of coins or stocks to detect when RSI crosses the configured levels in real time. It’s particularly effective in volatile markets or for traders employing multi-timeframe analysis. Combine it with other indicators (e.g., support/resistance or trend filters) to confirm signals and improve accuracy.
How to Use
Apply the indicator to your chart.
Customize the RSI length, timeframe, and signal levels to match your trading style.
Set up alerts for the indicator and apply them to your watchlist of assets.
Monitor the chart for buy (green) and sell (red) signals, or rely on alert notifications.
Perfect for scalpers, swing traders, or anyone looking to automate signal detection across a portfolio!
Pine Script® インジケーター
Auto Fibonacci LinesThis TradingView script is a modded version of the library called "VisibleChart" created by Pinecoder.
This version has the option for users to change the Fibonacci lines and price labels. This makes the script user-friendly.
Fibonacci extensions are a tool that traders can use to establish profit targets or estimate how far a price may travel after a retracement/pullback is finished. Extension levels are also possible areas where the price may reverse. This study automatically draws horizontal lines that are used to determine possible support and resistance levels.
It's designed to automatically plot Fibonacci retracement levels on chart, aiding in technical analysis for traders.
First, the highest and lowest bars on the chart are calculated. These values are used for Fibonacci extensions.
These values update as traders scroll or zoom their charts, this shows that it is a useful indicator that can dynamically calculate and draw visuals on visible bars only.
Pine Script® インジケーター






















