Teemo Volume Delta & Market HUDTeemo Volume Delta & Market HUD
Description:
Teemo Volume Delta goes beyond simple volume indicators to provide expert-level analysis of Buy and Sell pressure within the market. It visualizes supply/demand imbalances inside candles and provides an immediate grasp of market control via a real-time HUD.
With the v1.2.0 update, we have removed unnecessary overlays (like EMAs) to focus on Pure Delta Analysis and a flexible Smart Accumulation System, making the tool lighter and more powerful.
🚀 Key Features
1. Dual Calculation Modes Offers two calculation methods tailored to your trading environment and goals:
Estimation: Rapidly estimates buy/sell volume based on candle shape (OHLC) and price range. It features fast loading times and works instantly on all assets.
Intraday: Analyzes lower timeframe data (e.g., 1-minute bars) to calculate the precise delta of the current timeframe. (Loading time may vary depending on TradingView data limits.)
2. Smart Accumulation System Supports strategic analysis beyond simple summation with two distinct modes:
Time Based: Resets the Cumulative Delta to 0 at specific intervals (e.g., every 4 hours, Daily). This is optimized for session-based analysis or day trading.
Infinite: Continuously accumulates data without resetting, ideal for analyzing long-term Divergences between price and delta.
3. Intuitive HUD (Heads-Up Display) Displays critical market data on the chart for instant decision-making:
Delta Panel: Shows real-time Buy/Sell volume and Net Delta for the current candle.
Market HUD: Provides a comprehensive view of Trend Strength (ADX), Momentum (RSI), and the Cumulative Buy/Sell status for the current period.
4. Teemo Design System (v1.2) Provides optimized color themes for visual comfort during long trading sessions:
Teemo Neon: High-contrast Mint/Purple theme optimized for dark backgrounds.
Classic Soft: A calming Soft Green/Red theme designed to reduce eye strain (Recommended for all backgrounds).
⚙️ Settings Guide
Calculation Mode: Choose between Estimation (Speed) or Intraday (Precision).
Accumulation Mode: Choose Time Based (Periodic Reset) or Infinite (Continuous).
Reset Period: Set the reset interval for Time Based mode (e.g., 1D = Daily Reset).
Color Preset: Select between Teemo Neon or Classic Soft themes.
💡 Trading Tips
Delta Divergence: If the price makes a higher high but the Cumulative Delta (HUD) makes a lower high, it signals weakening buying pressure and a potential reversal.
Candle Coloring: A solid Mint (or Green) candle body indicates a price rise accompanied by strong actual buying volume, offering higher reliability than standard candles.
HUD Confluence: Consider trend-following entries when the ADX is above 25 and the Delta is heavily skewed in one direction.
This indicator is for informational purposes only and does not constitute financial advice. The Estimation mode provides approximations based on algorithms, and the Intraday mode's accuracy depends on the quality of the lower timeframe data provided by the exchange.
Developed by Teemo Trading Systems
------------------------------------------------------------------------
Teemo Volume Delta & Market HUD
설명 본문:
Teemo Volume Delta는 단순한 거래량 지표를 넘어, 시장 내부의 매수(Buy)와 매도(Sell) 압력을 정밀하게 분석하는 전문가용 도구입니다. 캔들 내부의 수급 불균형을 시각화하고, 실시간 HUD를 통해 시장의 주도권이 누구에게 있는지 즉각적으로 파악할 수 있도록 돕습니다.
v1.2.0 업데이트를 통해 불필요한 보조지표(EMA)를 제거하고, 순수한 델타 분석과 유연한 누적(Accumulation) 시스템에 집중하여 더욱 가볍고 강력해졌습니다.
🚀 주요 기능 (Key Features)
1. 듀얼 계산 모드 (Dual Calculation Modes) 사용자의 환경과 목적에 맞춰 두 가지 계산 방식을 제공합니다.
Estimation (추정 모드): 캔들의 형태(OHLC)와 가격 변동폭을 기반으로 매수/매도 볼륨을 빠르게 추정합니다. 로딩 속도가 빠르며 모든 자산에 즉시 적용 가능합니다.
Intraday (정밀 분석 모드): 하위 타임프레임(예: 1분봉)의 데이터를 분석하여 상위 타임프레임의 델타를 정밀하게 계산합니다. (TradingView 데이터 제한에 따라 로딩 시간이 소요될 수 있습니다.)
2. 스마트 누적 시스템 (Smart Accumulation) 단순 누적을 넘어, 전략적 분석을 위한 두 가지 모드를 지원합니다.
Time Based: 지정한 주기(예: 4시간, 1일)마다 누적 델타를 **0으로 초기화(Reset)**합니다. 세션별 수급 분석이나 데이 트레이딩에 최적화되어 있습니다.
Infinite: 초기화 없이 데이터를 계속 누적하여, 장기적인 가격과 델타의 **다이버전스(Divergence)**를 분석하는 데 유용합니다.
3. 직관적인 HUD (Heads-Up Display) 차트 우측과 좌측에 핵심 정보를 요약하여 보여줍니다.
Delta Panel: 현재 캔들의 매수/매도 거래량과 순매수(Net Delta) 상태를 실시간으로 표시합니다.
Market HUD: ADX(추세 강도), RSI(모멘텀), 그리고 현재 구간의 누적 매수/매도 현황을 한눈에 볼 수 있습니다.
4. Teemo Design System (v1.2) 장시간 차트를 보는 트레이더를 위해 시인성이 뛰어난 컬러 테마를 제공합니다.
Teemo Neon: 어두운 배경에 최적화된 고대비 민트/퍼플 테마.
Classic Soft: 눈의 피로를 줄여주는 차분한 그린/레드 테마 (밝은/어두운 배경 모두 추천).
⚙️ 설정 가이드 (Settings)
Calculation Mode: Estimation(속도 중심) 또는 Intraday(정확도 중심) 중 선택.
Accumulation Mode: Time Based(주기별 리셋) 또는 Infinite(무한 누적) 선택.
Reset Period: Time Based 모드 사용 시 리셋할 주기 설정 (예: 1D = 매일 리셋).
Color Preset: Teemo Neon 또는 Classic Soft 테마 선택.
💡 활용 팁 (Trading Tips)
델타 다이버전스: 가격은 신고가를 갱신하지만 누적 델타(Cum Delta)는 낮아진다면, 매수세가 약화되고 있다는 강력한 반전 신호입니다.
캔들 컬러링: 캔들의 몸통 색상이 짙은 민트색(또는 그린)이라면 강력한 매수세가 동반된 상승을 의미하며, 신뢰도가 높습니다.
HUD 활용: ADX가 25 이상이면서 델타가 한쪽 방향으로 쏠릴 때 추세 매매를 고려하세요.
이 지표는 정보 제공의 목적으로만 사용되며, 재정적 조언이 아닙니다. Estimation 모드는 근사치를 제공하며, Intraday 모드는 거래소에서 제공하는 하위 데이터의 품질에 따라 정확도가 달라질 수 있습니다.
Indicadores y estrategias
Evidenzia Data Specifica DinamicaSpecific Date Highlighter
Descrizione (Italiano)
Questo indicatore semplice ma estremamente efficace permette di evidenziare graficamente un'intera giornata specifica selezionata dall'utente. È lo strumento ideale per chi ha bisogno di analizzare il comportamento del prezzo durante eventi macroeconomici passati, date di earnings, o particolari sessioni storiche.
Caratteristiche principali:
Selettore Calendario Intuitivo: Grazie all'input di tipo time, puoi selezionare la data esatta tramite un calendario pop-up senza dover inserire manualmente numeri per giorno, mese e anno.
Compatibilità Multi-Timeframe: L'indicatore funziona su qualsiasi timeframe. Se sei su grafici intraday (1m, 5m, 1h), colorerà lo sfondo di tutte le candele appartenenti a quel giorno. Su grafici Daily, evidenzierà la singola candela selezionata.
Colore Personalizzabile: Puoi scegliere il colore dello sfondo e la sua opacità direttamente dalle impostazioni per adattarlo al tuo tema (Light o Dark).
Data Dinamica: Lo script è progettato per riconoscere automaticamente la data odierna come punto di partenza, facilitando l'analisi rapida dell'ultima sessione.
Casi d'uso:
Backtesting visivo: Evidenzia i giorni di rilascio dei dati CPI o decisioni FOMC per studiare la volatilità.
Journaling: Segna i giorni in cui hai effettuato trade importanti per ritrovarli facilmente nello storico.
Analisi Ciclica: Identifica rapidamente date specifiche in cui si sono verificati minimi o massimi storici.
Description (English)
This lightweight and effective tool allows you to highlight a specific full day on your chart. It is perfect for traders who need to visually isolate price action during macroeconomic events, earnings dates, or key historical sessions.
Key Features:
Calendar Picker: Easily select your target date using a built-in calendar input.
MTF Ready: Works seamlessly across all timeframes. On intraday charts, it highlights every bar within the 24-hour period. On daily charts, it highlights the specific daily candle.
Fully Customizable: Change the background color and transparency to match your chart layout.
Smart Default: The script is optimized to handle time logic correctly, ensuring the highlight starts exactly at 00:00 and ends at 23:59.
How to use: Go to settings, click on "Select Date", pick your day from the calendar, and the chart will instantly move the focus to that specific session.
Dual RSI Spread Strategy [Custom]
概述
这是一个综合性的动量交易工具,结合了双重 RSI 交叉系统与经典 RSI 背离检测功能。该指标旨在通过分析短期与长期动量的“剪刀差”来识别潜在的超买/超卖区域,并辅以顶底背离信号作为反转确认。
核心功能与逻辑
1. 双重 RSI 差值信号 (Dual RSI Spread) 该策略同时计算两条 RSI 曲线:
短周期 RSI (默认 13):对价格变化反应灵敏。
长周期 RSI (默认 42):代表长期趋势基准。
交易信号基于两条 RSI 的差值 (Spread) 生成,逻辑如下:
🟢 买入信号 (Buy):当 长周期 RSI - 短周期 RSI > 20。这意味着短期动量严重低于长期基准,市场可能处于深度超卖状态,存在均值回归需求。
🔴 卖出信号 (Sell):当 短周期 RSI - 长周期 RSI > 20。这意味着短期动量冲高过快,远超长期基准,市场可能过热。
2. RSI 顶底背离 (Divergence) 指标内置了经典的背离检测算法(可选择开启/关闭),应用于短周期 RSI:
Bullish Divergence (看涨背离):价格创新低,但 RSI 底部抬高。
Bearish Divergence (看跌背离):价格创新高,但 RSI 顶部降低。 (注意:背离功能默认关闭,请在设置中勾选 "Calculate Divergence" 开启)
3. 高度自定义
支持自定义 RSI 长度、平滑类型 (SMA/EMA) 及平滑长度。
支持自定义差值阈值(默认 20)。
完整的告警支持:可分别为差值信号和背离信号设置 TradingView 告警。
如何使用 建议将“差值信号”作为预警,结合“背离信号”作为确认。当出现“买入”标签且随后出现 Bullish 背离时,胜率通常更高。
Overview
This is a comprehensive momentum trading tool that combines a Dual RSI Cross System with Classic RSI Divergence Detection. It is designed to identify potential overbought/oversold conditions by analyzing the "spread" between short-term and long-term momentum, reinforced by divergence signals for reversal confirmation.
Key Features & Logic
1. Dual RSI Spread Signals The script calculates two RSI lines simultaneously:
Short RSI (Default 13): Sensitive to immediate price changes.
Long RSI (Default 42): Represents the longer-term baseline.
Trading signals are generated based on the Spread (Difference) between these two lines:
🟢 BUY Signal: Triggers when Long RSI - Short RSI > 20. This implies short-term momentum is significantly below the long-term baseline, suggesting a deep oversold condition and potential mean reversion.
🔴 SELL Signal: Triggers when Short RSI - Long RSI > 20. This implies short-term momentum has spiked too far above the baseline, suggesting an overheated market.
2. RSI Divergence The indicator includes a built-in divergence detection algorithm (optional) applied to the Short RSI:
Bullish Divergence: Price makes a lower low, but RSI makes a higher low.
Bearish Divergence: Price makes a higher high, but RSI makes a lower high. (Note: Divergence is disabled by default. Please check "Calculate Divergence" in the settings to enable).
3. Fully Customizable
Configurable RSI lengths, Smoothing types (SMA/EMA), and Smoothing lengths.
Adjustable Spread Threshold (Default is 20).
Full Alert Support: Set alerts specifically for Spread Signals or Divergence detections.
How to Use It is recommended to use the "Spread Signals" as an early warning system and the "Divergence Signals" as confirmation. A setup where a "BUY" spread label is followed by a Bullish Divergence line often presents a higher probability trade.
NY Session 15 min ORB + Fib RetracementThis indicator builds a New York session Opening Range (ORB) and plots Fibonacci retracement levels based on that range.
What it does
Defines the Opening Range using the NY cash open (default: 9:30–9:45 ET)
Tracks the ORB high and low during that window
Locks the ORB once the window ends (recommended)
Draws Fibonacci retracement levels from the ORB range
Optionally fills the space between fib levels
Displays price tags for ORB levels and fib levels on the right side
Sessions
ORB window is configurable (default: 9:30–9:45 ET)
Fib levels are only shown during the selected plot session
(default: 9:30–16:00 ET)
Nothing plots outside the selected fib session
Prevents lines from connecting across trading days
Fib behavior
Fibs are calculated from the ORB high and low
Direction can be:
High → Low (default)
Low → High
Common fib ratios are included by default:
0.236
0.382
0.500
0.618
0.786
All ratios are user-editable
Visuals
ORB High = green line
ORB Low = red line
Fib levels = gray lines
Optional shaded fill between fib levels
Optional right-side labels showing:
ORB High / Low price
Fib ratio and exact price
Recommended use
Designed for intraday trading
Best used on NY session instruments (ES, NQ, SPY, QQQ, etc.)
Works well on lower timeframes (1–15 min)
Locking the ORB at session end is recommended for consistency
Notes
Indicator does not generate trade signals
Levels are intended as reference only
Always use proper risk management
KCP MACD Pro [Dr. K. C. Prakash]📊 KCP MACD Pro
KCP MACD Pro is a clean, low-noise momentum indicator designed for clear trend and momentum analysis without clutter. Unlike the classical MACD, this version is built without EMA, using Simple Moving Averages (SMA) to provide smoother, more stable signals, making it ideal for training, classroom use, and disciplined trading.
🔹 Core Concept
The indicator measures momentum strength and direction by calculating the difference between:
a Fast SMA and a Slow SMA (MACD line), and
a Signal SMA applied to the MACD line.
The result is a MACD-style oscillator that reacts less aggressively than EMA-based MACD, helping traders focus on structure and trend quality rather than short-term noise.
🔹 Components Explained
MACD Line (SMA-based):
Shows the underlying momentum by comparing short-term and long-term price averages.
Signal Line (SMA):
Smooths the MACD line to highlight momentum shifts.
Histogram:
Displays the distance between the MACD and Signal lines, visually representing momentum strength.
Zero Line:
Acts as a trend equilibrium level:
Above zero → bullish momentum bias
Below zero → bearish momentum bias
🔹 How to Use
Trend Identification:
Stay aligned with the market bias using the zero line.
Momentum Analysis:
Expanding histogram bars indicate strengthening momentum; contracting bars suggest weakening momentum.
Manual Trade Decisions:
Designed intentionally without buy/sell arrows, encouraging traders to combine it with price action, support–resistance, or market structure.
Athanor - Context Execution EngineAthanor is a discretionary-to-mechanical execution indicator designed for traders who want to apply market judgment once and then remove themselves entirely from the trade.
Rather than generating signals or predictions, Athanor acts as a controlled execution furnace: you define the trade context (entry, invalidation, and target), and the system executes that decision exactly as specified — without interference, re-entries, or emotional overrides.
This makes Athanor especially suited for:
Prop firm evaluations
Set-and-forget trading
Overnight or “sleep-safe” execution
Traders who want discipline enforced after analysis is complete
Key Features
• Supports up to four independent trade scenarios (e.g. range fades and breakouts)
• One-and-done execution — first fill locks all others (OCO behavior)
• Daily arming logic prevents historical or stale triggers
• Time-based expiry ensures trades only execute while context is valid
• Optional global cancel time for session-based trading
• Webhook alerts compatible with automation services (e.g. TradersPost)
What Athanor Is Not
Athanor does not:
Predict direction
Trail stops
Scale positions
Re-enter after a stop
Override your decisions
It executes only what you explicitly authorize.
Intended Workflow
Analyze the market and identify a complete, self-contained trade idea
Define entry, stop, and target levels
Arm Athanor for the current session
Walk away and let the trade resolve
If price reaches your level, the trade executes.
If not, the idea expires without consequence.
Philosophy
Athanor is built on the principle that judgment and execution should not occur at the same time.
By separating analysis from execution, traders reduce emotional interference, over-management, and rule-breaking — especially during high-pressure environments such as prop firm evaluations.
Inside Bar False Breakout (IBFB)The Inside Bar False Breakout (IBFB) is a price action tool that identifies high-probability reversal setups by detecting false breakouts from inside bar patterns. This strategy is widely used by traders to catch market traps and potential trend reversals.
What is an Inside Bar False Breakout?
An Inside Bar occurs when a candle's high and low are completely contained within the previous candle's range. A False Breakout happens when price initially breaks above or below this range but then closes back inside it, indicating a failed breakout and potential reversal.
How It Works
Step 1: Inside Bar Detection
Identifies candles where high < previous high AND low > previous low
Marks consolidation zones where market indecision occurs
Step 2: False Breakout Recognition
Bullish IBFB: Price breaks below the inside bar's low but closes back inside the range (bullish reversal signal)
Bearish IBFB: Price breaks above the inside bar's high but closes back inside the range (bearish reversal signal)
Step 3: Signal Confirmation
Applies a cooldown period (default 5 bars) to filter out noise and prevent signal clustering
Key Features
✅ Visual Signals
Color-coded bars (green for bullish, red for bearish IBFB)
Free-floating arrow markers (⬆ bullish, ⬇ bearish) without label boxes
Clean, minimalist design that doesn't clutter your chart
✅ Signal History Table
Displays the last 5 IBFB signals in real-time
Shows date/time, signal type, and price level
Color-coded for quick reference
✅ Customizable Settings
Enable/disable bullish or bearish signals independently
Adjustable cooldown period (1-100 bars) to control signal frequency
Customizable colors for both signal types
Toggle arrows and history table on/off
✅ Alert System
Built-in alert conditions for both bullish and bearish IBFB patterns
Fires once per bar close to avoid false alarms
Perfect for automated trading or notifications
✅ Universal Compatibility
Works on ANY timeframe (1m to 1M)
Lightweight and efficient - won't slow down your charts
No repainting - signals appear only on confirmed bar close
Best Use Cases
a.Scalping & Day Trading: Catch intraday reversals on lower timeframes (5m, 15m)
b.Swing Trading: Identify multi-day reversal patterns on higher timeframes (4H, D)
c.Trend Confirmation: Combine with trend indicators to filter trades in the direction of the main trend
d.Support/Resistance: Works exceptionally well near key S/R levels where false breakouts are common
Trading Tips
Confluence is Key: Combine IBFB signals with support/resistance zones, trendlines, or Fibonacci levels
Volume Matters: Look for decreasing volume on the false breakout for stronger confirmation
Risk Management: Place stop-loss just beyond the false breakout wick; target the opposite side of the inside bar range
Trend Alignment: Best results when trading in the direction of the higher timeframe trend
Cooldown Period: Increase the cooldown on lower timeframes to reduce noise; decrease on higher timeframes for more signals
Settings Explained
Signal Settings
Show Bullish/Bearish IBFB: Toggle each signal type independently
Cooldown Period: Minimum bars between signals (prevents over-trading)
Visual Settings
Show Arrows: Display ⬆⬇ markers on chart
Show Last 5 Signals Table: Display signal history panel
Bullish/Bearish Color: Customize signal colors
Alert Settings
Enable Alerts: Turn on/off automatic alert notifications
Why This Indicator?
Unlike many indicators that lag behind price action, the IBFB indicator identifies real-time market manipulation and traps. False breakouts often indicate:
Stop-loss hunting by institutional traders
Exhaustion of buying/selling pressure
Potential trend reversals or strong counter-moves
This makes it an excellent tool for contrarian traders and those looking to fade false moves.
Performance Notes
Signals confirm at bar close (no repainting)
Optimized for speed and efficiency
Works alongside other indicators without conflicts
Suitable for manual and automated trading strategies
Suitable for any instrument & market
Disclaimer: This indicator is for educational purposes only. Always practice proper risk management and combine with your own analysis before making trading decisions. Happy trading.
Trinity Multi-Timeframe MA TrendUser Guide: Trinity Multi-Timeframe MA Trend - 10 MAs Indicator
Welcome to the Trinity Multi-Timeframe MA Trend indicator! This is a versatile TradingView tool designed for traders who rely on moving averages to gauge trend direction across multiple timeframes. It supports up to 10 customizable moving averages (MAs), displays their trend directions in a compact dashboard, plots the MAs on the chart with color-coded trend indications, and optionally fills the areas between consecutive MAs for visual clarity. The indicator is built to help you quickly assess alignment between short-term and long-term trends, making it ideal for multi-timeframe analysis in strategies like trend following, swing trading, or confirming entry/exit points.
The core idea is to show whether each MA is in an uptrend (price above the MA's previous value) or downtrend (price below), not only on the current chart timeframe but also on up to 5 higher timeframes. This allows you to spot trend convergence or divergence at a glance, reducing the need to switch charts manually. The indicator is fully customizable, so you can tailor it to your preferred lengths, types, and visuals without cluttering your chart.
#### Key Features
- **Multi-Timeframe Dashboard**: A resizable and repositionable table that shows trend directions (↑ for up, ↓ for down) for each enabled MA across 5 user-defined timeframes. The cells are color-coded (green for up, red for down) with subtle background shading for easy reading.
- **Customizable Moving Averages**: Up to 10 MAs, each with independent length, type (EMA, SMA, or HMA), visibility, and transparency settings. You can enable/disable individual MAs to focus on specific ones.
- **Trend-Based Coloring**: Lines and fills change color based on the trend direction of the MA (green for uptrend, red for downtrend).
- **Background Fills**: Optional fills between consecutive MAs, colored according to the faster MA's trend, to highlight crossovers or trend strength visually.
- **Direction Change Arrows**: Small up/down arrows appear on the chart when an MA changes trend direction on the current timeframe, helping spot potential reversals.
- **Dynamic and Lightweight**: The dashboard adjusts automatically if you disable MAs (rows are hidden), and the indicator won't disappear from the chart even if all plots are turned off.
- **No Repainting Option**: Uses `lookahead_on` for security calls, so trends from higher timeframes are consistent but may repaint in realtime (standard for MTF indicators).
This indicator is particularly useful for traders using Fibonacci-based lengths (like your defaults: 5, 8, 13, 21, 34, 50, 100, 144, 200, 244), which align with natural market cycles. It's flexible for any asset class, from stocks and forex to crypto.
#### How the Indicator Works
The indicator calculates 10 moving averages on the current chart timeframe. For each MA, it determines the trend direction by comparing the current value to its value two bars ago (a simple slope check). It then fetches the same trend calculation from 5 higher timeframes using `request.security`, allowing you to see if the trend is aligned across scales.
The dashboard summarizes this in a grid:
- Rows: Each enabled MA (labeled as "Type Length", e.g., "EMA 5").
- Columns: The 5 timeframes (labeled with converted names, e.g., "5m" for 5-minute, "1D" for daily).
- Cells: ↑ (uptrend, green) or ↓ (downtrend, red), with background shading for emphasis.
On the chart:
- MAs are plotted as lines with trend colors and user-set transparency.
- Fills (if enabled) shade the area between MAs, inheriting the color from the faster MA's trend.
- Arrows appear above/below bars when an MA's trend changes on the current timeframe.
#### Setting Up the Indicator
Add the indicator to your chart in TradingView, then customize via the Inputs tab. The inputs are grouped for ease:
- **Timeframes Group**: Set the 5 higher timeframes for MTF analysis (defaults: 5m, 15m, 1h, 4h, 1D). Use standard TradingView notation like "15" for 15 minutes or "D" for daily.
- **Moving Averages Group**: Adjust lengths and types for each of the 10 MAs. Start with the Fibonacci defaults, but experiment (e.g., shorter for scalping, longer for investing).
- **Visibility Group**: Toggle "Show MA#" to enable/disable individual lines on the chart. Disabling hides the row in the dashboard too.
- **Background Fills Group**: Toggle fills between MAs. These are great for visualizing ribbon-like setups but can clutter busy charts—turn off if not needed.
- **Colors Group**: Set the uptrend (default lime) and downtrend (default red) colors for lines, fills, and dashboard cells.
- **Transparency Group**: Adjust opacity for each MA line (0 = fully opaque/solid, 100 = fully transparent/invisible). Defaults start low for visibility and increase for slower MAs to reduce clutter.
- **Dashboard Group**: Choose position (e.g., "Top Right") and size (e.g., "Normal") for the table. Resize to fit your screen.
After customizing, apply and refresh the chart if needed.
#### Interpreting the Dashboard
The dashboard is the heart of the indicator—use it to confirm trend alignment:
- **Strong Uptrend Signal**: Most cells in a row (or column) show ↑ in green, indicating the MA is upward on multiple timeframes.
- **Strong Downtrend Signal**: Mostly ↓ in red.
- **Divergence**: Mixed ↑/↓ across timeframes suggests caution (e.g., short-term up but long-term down could mean a pullback).
- **Trend Flip**: Watch for rows where the current timeframe cell changes—combine with arrows on the chart for entries.
For example, if you're on a 5m chart and the dashboard shows ↑ on all timeframes for your fast MAs (e.g., MA1-MA3), it's a good buy signal in an uptrend strategy.
#### Using the Chart Plots and Fills
- **MA Lines**: Each enabled MA is plotted with its trend color. Use transparency to layer them without overwhelming the price action—faster MAs (low transparency) stand out, slower ones (high transparency) fade into the background.
- **Fills**: These highlight the space between MAs. In an uptrend, green fills expanding mean strengthening momentum. In a downtrend, red fills contracting could signal a squeeze or reversal. Disable fills if you prefer clean lines.
- **Arrows**: Up arrow (↑) means the MA turned bullish; down (↓) means bearish. These are only on the current timeframe and can be used for alerts (e.g., set TradingView alerts on crossover conditions).
To avoid double lines, ensure no other indicators are plotting similar MAs. If you disable all "Show MA#" toggles, the chart should be clean, but the dashboard remains.
#### Customization and Advanced Usage
- **Strategy Integration**: Use the dashboard for confluence. For example, enter long only when 80% of cells are ↑. Pair with oscillators like RSI for overbought/oversold filters.
- **Scalping vs. Swing**: For short-term trading, focus on fast MAs (1–5) and lower timeframes. For long-term, emphasize slow MAs (6–10) and higher timeframes.
- **HMA vs. EMA/SMA**: HMA is smoother for noisy markets; EMA for responsiveness; SMA for simplicity. Test combinations.
- **Transparency Tips**: Start with low values (0–30) for key MAs to make them prominent. Increase for others to layer without clutter.
- **Dashboard Tips**: Position in "Top Right" for quick glances. Use "Small" size on mobile or crowded screens. If the table is too wide, reduce timeframes.
- **Performance Notes**: With 10 MAs and 5 timeframes, it uses 5 security calls—efficient but may lag on very old devices. Disable unused MAs to optimize.
- **Alerts**: Set alerts on trend changes, e.g., "MA1 trend up" via TradingView's alert setup on the indicator.
#### Troubleshooting
- **No Dashboard**: Ensure at least one MA is enabled and the chart has enough bars (zoom out if needed).
- **Double Lines**: Check for overlapping indicators or duplicates. Reload the chart or TradingView.
- **Repainting**: Higher timeframe trends may repaint in realtime—use for confirmation, not sole signals.
- **Transparency Not Working**: Adjust sliders in Inputs; values above 80 make lines faint. Test on a white background chart if using dark mode.
This indicator is inspired by multi-timeframe trend analysis tools like BigBeluga's original, with these modifications for transparency, fills, extra MA lines, more MA selections and dynamic table.
Original script: Multi-Timeframe Trend Analysis
All credit to the original author: www.tradingview.com
Modifications by 34EMATRADER
Opening Range Breakout (ORB) with Dual Timezones + Auto-OffOpening Range (Dual TZ) + Auto-Off (Clean)
This indicator plots a clean Opening Range Box (ORB) with ORH/ORL levels and a midline, built for traders who want structure without clutter.
The main feature is Dual Timezone support, meaning you can run two separate Opening Ranges in parallel (TZ1 + TZ2) on the same chart — ideal if you track multiple market opens (e.g., NY + London) from one workspace.
Key Features
• Dual ORB sessions (TZ1 + TZ2)
• Customization of both timezones, ORB principles (that suits you the best)
• Run two independent opening range sessions simultaneously
• Each has its own range calculation, box, ORH/ORL lines, labels, fill, and midline
• Clean output (no targets, no breakout signals)
• Focused on the core OR structure only
• Great for discretionary trading and level-based execution
• Separate Auto-Off for TZ1 and TZ2
• Automatically removes ALL drawings after a user-defined time (minutes after OR end)
• Helps keep charts clean during the rest of the day
• TZ1 and TZ2 can be disabled on different timers
• Historical toggle
• If Show Historical Data = OFF, the script deletes previous session drawings at the next session start
• If ON, prior sessions remain visible
What’s Drawn
• Opening Range box (high/low during session)
• ORH (Opening Range High) line + label
• ORL (Opening Range Low) line + label
• Midline (average of ORH/ORL)
• Highlight fill between ORH/ORL
Typical Use Cases
• Track NY ORB + London ORB at the same time
• Use ORH/ORL as intraday support/resistance anchors
• Keep your chart clean with Auto-Off after your active trading window
Notes
• Works best on the 1/5 minute timeframes (the OR is session-based).
• If both sessions overlap, drawings may overlap as well — that’s expected since both ORBs are active simultaneously.
srd786-Intraday VWAP Price Action IndicatorDISCLAIMER
This Pine Script indicator does not constitute financial advice; it is just intended for educational and informational purposes. It functions as a tool for technical analysis that could help traders spot possible trading opportunities. It is crucial to remember that participating in financial markets has a number of risks that might result in large losses and are not suitable for all investors.
Users are encouraged to conduct their own thorough investigation and analysis prior to using this indicator. Avoiding trading with money that one cannot afford to lose is essential. It is also advised to seek advice from a certified financial expert. Users must use suitable risk management techniques and recognize that past success does not guarantee future outcomes.
Any losses, damages, or other consequences resulting from the usage of this indicator are not the author's responsibility. The user is ultimately responsible for all trading decisions, therefore using this tool is at their own risk.
INTRODUCTION
The “srd786-Intraday VWAP Price Action Indicator” is a sophisticated Pine Script (version 6) trading tool designed for intraday traders who focus on New York session trading hours. This indicator combines multiple technical analysis concepts including Volume Weighted Average Price (VWAP), Average True Range (ATR) for risk management, swing point detection for support/resistance identification, and momentum analysis through RSI. The primary objective is to generate high-probability long and short signals based on price action confluence with trend, momentum, and key structural levels.
1.
VWAP (Volume Weighted Average Price): Shows the "fair" average price based on both price and trading volume.
2.
ATR (Average True Range): Measures how much the price typically moves each day.
3.
Trend Analysis: Identifies whether the market is going up, down, or sideways.
4.
Momentum Indicators: Shows how strong the current price movement is.
5.
Support & Resistance: Identifies key price levels where the price might stop or reverse.
6.
Swing Points: Finds significant turning points in the price.
This indicator is specifically optimized for the New York trading session (9:30 AM to 4:00 PM ET), making it particularly suitable for traders who focus on US market hours. It provides a complete trading framework that includes not only signal generation but also precise trade management levels including entry prices, stop-loss orders, and profit targets based on a configurable reward-to-risk ratio.
The philosophy behind this indicator is confluence-based trading. Rather than relying on a single indicator or condition, it requires multiple factors to align before generating a trade signal. This approach filters out lower-probability setups and focuses only on high-quality opportunities where price action, trend direction, momentum, and key technical levels all point in the same direction.
CORE CONCEPT AND METHODOLOGY
Volume Weighted Average Price (VWAP)
VWAP is the cornerstone of this indicator's trading methodology. Unlike a simple moving average that treats all price bars equally, VWAP incorporates volume data into its calculation, giving more weight to bars with higher trading volume. This makes VWAP a more accurate representation of the true average price where the most significant trading activity occurred.
The calculation of VWAP is performed using the built-in 'ta.vwap()' function, which computes the cumulative volume-weighted average price from the beginning of the session. For intraday traders, VWAP serves as a critical reference point that indicates whether the current price is trading at a premium (above VWAP) or discount (below VWAP) relative to the session's volume-weighted average.
In this indicator, the VWAP source is configurable through the 'vwapSource' parameter, with the default being HLC3 (High + Low + Close / 3). This source selection allows traders to experiment with different price types such as typical price, weighted close, or even custom sources to suit their trading style and market preferences.
Average True Range (ATR) for Risk Management
The Average True Range, calculated using 'ta.atr()', measures market volatility by decomposing the current range of price movement. ATR does not indicate price direction;
instead, it quantifies the degree of price movement or volatility over a specified period. In this indicator, ATR serves dual purposes: determining the distance for limit orders and calculating stop-loss levels.
The 'atrLength' parameter (default: 14) controls the lookback period for the ATR calculation. A shorter length makes the indicator more responsive to recent volatility, while a longer length provides a smoother average that may be more suitable for less volatile markets. The 'atrMultiplier' (default: 1.5) determines how many ATR units away the stop-loss is placed from the entry price, allowing traders to adjust their risk exposure based on current market conditions.
Swing Detection and Support/Resistance
Swing points represent significant turning points in price action where the market has temporarily exhausted its directional momentum. This indicator uses pivot high and pivot low calculations to identify swing highs and swing lows, which then form the basis for dynamic support and resistance levels.
The 'swingLength' parameter (default: 5) defines how many bars to the left and right of a potential pivot point must be lower (for pivot highs) or higher (for pivot lows) to confirm the swing point. This lookback period helps filter out minor price fluctuations and focuses on more significant structural levels.
Support and resistance levels are stored in arrays ('swingHighArray' and 'SwingLowArray'), with the most recent swing points serving as the primary reference levels. The 'srLookback' parameter (default: 20) controls the overall lookback window and also determines how many
swing points to maintain in each array, ensuring that only relevant historical levels are considered.
Breakout Detection
When a price moves past a major support or resistance level, this is known as a price breakout. This price breakout suggests that there is a possibility of a new trend direction heading forward.Breakout detection eliminates noise, as little price fluctuations or volatility may momentarily drive prices past a threshold without authentic conviction.Detection of breakouts affirms robustness when the price above the threshold by 2%, indicating genuine market interest, and mitigates whipsaws to prevent placing trades based on transient price swings.
The Breakout Tolerance parameter, set by default to 2%, regulates the breakout tolerance for the indicator. A price closure above the current high plus a minor tolerance buffer (usually 2%) indicates a potential continuation of upward movement, classified as a Bullish Breakout. Conversely, when the price closes below the recent low plus a minor tolerance buffer (usually 2%), it suggests that the price may continue to decline, which is classified as a Bearish Breakout Down.
Trend Identification
Trend determination is accomplished through an Exponential Moving Average (EMA) with a configurable length ('trendMaLength', default: 9). The indicator classifies trend into three
states: BULLISH (price above EMA with confirmation from the previous bar), BEARISH (price below EMA with confirmation), and SIDEWAYS (price crossing or near the EMA).
The EMA is chosen over simple moving averages because it responds more quickly to recent price changes while still providing enough smoothing to filter out noise. The confirmation requirement (both current and previous bar must be on the same side of the EMA) reduces false signals during periods of choppy price action.
Momentum Analysis
Momentum is measured using the Relative Strength Index (RSI) with a configurable length ('momentumLength', default: 9). RSI values are categorized into five states to provide nuanced momentum readings: STRONG BULL (RSI above 70), BUILDING (RSI between 55 and 70), NEUTRAL (RSI between 45 and 55), WEAKENING (RSI below 45), and STRONG BEAR (RSI below 30).
This momentum categorization allows traders to distinguish between strong trending conditions (STRONG BULL/BEAR) and transitions (BUILDING/WEAKENING), providing context for trade signals and helping to avoid entering positions during momentum divergences.
CONFIGURATION PARAMETERS
VWAP Settings
The 'vwapSource' parameter determines which price value is used in the VWAP calculation. The default value of 'hlc3' (High + Low + Close / 3) provides a balanced representation of each bar's price action. Traders can modify this to use typical price ('high + low + close / 3'), weighted close ('high + low + close + close / 4'), or other price types depending on their analytical preferences.
ATR Settings
The 'atrLength' parameter sets the lookback period for the Average True Range calculation. The default of 14 periods is standard across most trading platforms and timeframes, providing a good balance between responsiveness and smoothness. The 'atrMultiplier' parameter (default: 1.5) scales the ATR value to determine stop-loss distances. A multiplier of 1.5 means the stop-loss is placed 1.5 ATR units away from the entry price, providing enough buffer to accommodate normal volatility while limiting risk.
Trade Settings
The 'rrRatio' parameter (default: 3.0) establishes the reward-to-risk ratio for trade targets. A ratio of 2.0 means the profit target is twice the distance of the stop-loss from the entry price. The 'limitOrderDistance' parameter (default: 0.5) determines how far below (for long trades)
or above (for short trades) the current close the limit order is placed, measured in ATR units. This allows traders to enter positions at better prices while waiting for pullbacks.
Swing Detection Settings
The 'swingLength' parameter (default: 5) controls pivot identification sensitivity. Higher values identify more significant swing points but may miss shorter-term opportunities. The 'showSwings' boolean parameter toggles the visual display of swing high and low points on the chart.
Support & Resistance Settings
The 'srLookback' parameter (default: 20) defines how many bars back to search for swing points and support/resistance levels. The 'breakoutTolerance' parameter (default: 0.02 or 2%) adds a small buffer to breakout detection to account for minor penetration of support/resistance levels due to price spikes or slippage.
Trend & Momentum Settings
The 'trendMaLength' parameter (default: 9) sets the EMA length for trend determination, while 'momentumLength' (default: 9) sets the RSI lookback period. Both should be at least 5 periods for meaningful calculations.
Table Settings
The 'showTable' parameter (default: true) enables the display of two information tables that provide real-time data on Indicator values and trade levels.
SIGNAL GENERATION LOGIC
Long Signal Conditions
A long signal is generated when all the following conditions are simultaneously true:
1.
Session Filter: The trade must occur during New York session hours (9:30 AM - 4:00 PM ET).
2.
Trend Confirmation: The trend must be BULLISH (price above EMA with confirmation).
3.
Price Position: Current price must be above VWAP, indicating bullish price action.
4.
Breakout or No Resistance: Either price is breaking out above resistance level with tolerance, or there is no prior resistance level to overcome.
5.
Momentum Alignment: Momentum must be either STRONG BULL or BUILDING.
This confluence of conditions ensures that long trades are only taken when the market is trending higher, price is confirming strength by trading above VWAP, and momentum is supportive of continued upward movement.
Short Signal Conditions
A short signal is generated when all the following conditions are simultaneously true:
1.
Session Filter: The trade must occur during New York session hours
2.
Trend Confirmation: The trend must be BEARISH (price below EMA with confirmation)
3.
Price Position: Current price must be below VWAP, indicating bearish price action
4.
Breakout or No Support: Either price is breaking down below support level with tolerance, or there is no prior support level to overcome
5.
Momentum Alignment: Momentum must be either STRONG BEAR or WEAKENING
Similar to long signals, short trades require alignment across multiple timeframes and analytical approaches, filtering out counter-trend trades and focusing on high-probability setups.
TRADE MANAGEMENT FRAMEWORK
Entry Price Calculation
For long trades, the limit order price is calculated as: 'Close - (ATR Value × Limit Order Distance)'. This places the entry price below the current close, allowing traders to buy on dips while maintaining a favorable entry price. For short trades, the limit order is placed above the current close: 'Close + (ATR Value × Limit Order Distance)'.
The limit order distance is expressed in ATR units, making it adaptive to current volatility conditions. In more volatile markets, the limit order will be placed further from the current price, while in calmer markets, it will be closer.
Stop-Loss Placement
Stop-loss levels are calculated using the ATR multiplier to ensure adaptive risk management. For long trades: 'Entry Price - (ATR Value × ATR Multiplier)'. For short trades: 'Entry Price + (ATR Value × ATR Multiplier)'.
This adaptive approach to stop-loss placement means that in volatile markets, stops are wider to avoid being stopped out by normal price fluctuations, while in quieter markets, stops are tighter to limit potential losses. The default multiplier of 1.5 provides approximately 1.5 times the average true range of protection.
Target Price Calculation
Profit targets are determined by the reward-to-risk ratio: 'Entry Price + (ATR Stop Distance × RR Ratio)' for long trades and 'Entry Price - (ATR Stop Distance × RR Ratio)' for short trades. The default ratio of 2.0 means the target is twice the distance of the stop-loss, providing a favorable risk-reward profile.
New York Session Tracking
The indicator includes specialized logic for tracking the New York session open price. When a new NY session begins (determined by the 'isNewNySession' variable), the current open price is recorded and maintained throughout the session. This provides a reference point for measuring intraday directional bias from the session's starting level.
INFORMATION TABLES
Indicators Table
This table displays the current price, VWAP value, NY session open price, support level,resistance level, ATR, ATR-scaled stop distance, current trend classification, momentum state with RSI value, and breakout status. All values are color-coded based on their bullish or bearish implications. The VWAP cell is color-coded green if price is above VWAP (bullish) and red if below (bearish), providing instant visual confirmation of price's position relative to this critical level.
Trade Levels Table
This table shows current signal status (LONG, SHORT, or WAIT), limit order distance in ATR units, calculated limit order price, stop-loss level, and target price with the reward-to-risk ratio displayed. The signal cell is highlighted in green for long signals and red for short signals.
ALERT CONDITIONS
The indicator includes four alert conditions that can be configured in TradingView:
1.
LONG Signal: Triggers when a long signal is generated, providing entry price, stop-loss, and target information.
2.
SHORT Signal: Triggers when a short signal is generated with corresponding trade details.
3.
Breakout Up: Notifies when price breaks out above resistance level.
4.
Breakout Down: Notifies when price breaks down below support level.
These alerts enable traders to receive notifications via TradingView's alert system without continuously monitoring the charts.
USAGE EXAMPLES AND TRADING SCENARIOS
Strong Bullish Trend with VWAP Support
In this scenario, price has been trading above the 9-period EMA for multiple bars, confirming a bullish trend. The current price is above VWAP, indicating buyers are willing to pay a premium. A recent swing low has established a support level, and RSI is reading 65, indicating building momentum without being overextended. When price breaks above the recent swing high resistance with a 2% tolerance, the indicator generates a long signal. The trader places a limit order below the current bar's close (0.5 ATR units) and sets the stop-loss 1.5 ATR units below the entry, with a target 2.0 times the stop distance away.
Short Setup During Volatile Session
During a particularly volatile NY session, price gaps down below VWAP early in the day. The 9-period EMA is declining, and both current and previous bars are below it, confirming a bearish trend. The RSI has dropped to 28, indicating strong bearish momentum. A recent swing high serves as resistance, and when price breaks below the swing low support level, the indicator generates a short signal. The trader enters on a limit order placed 0.5 ATR units above the current price, with the stop-loss 1.5 ATR units above the entry and the target at a 2.0 reward-to-risk ratio.
Avoiding Counter-Trend Trades
Consider a scenario where price is above VWAP and the RSI reads 72 (overbought), but the price is below the 9-period EMA and the previous bar was also below the EMA. In this case, the trend is classified as BEARISH (or SIDEWAYS) despite the bullish price position relative to VWAP. The indicator will not generate a long signal because the trend condition is not met, protecting the trader from what could be a bear trap or continuation pattern.
No Prior Levels Scenario
At the beginning of a trading session or after significant volatility has cleared prior swing points, there may be no established support or resistance levels in the lookback window. In this case, the breakout condition 'or na(resistanceLevel)' allows long signals to be generated without requiring a resistance level to be broken, enabling traders to participate in emerging trends without waiting for prior levels to form.
BEST PRACTICES AND TIPS
Timeframe Selection
This indicator is optimized for intraday timeframes (1-minute to 60-minute charts) and specifically for NY session trading. Higher timeframes may produce more reliable signals but fewer opportunities, while lower timeframes will generate more signals but with potentially lower reliability. Traders should backtest on their preferred timeframe before trading live.
Market Conditions
The indicator performs best in trending markets with clear directional bias. During ranging or sideways markets, the trend condition may oscillate frequently, and VWAP may oscillate around price, reducing signal quality. Consider filtering signals or reducing position size during low-volatility, range-bound conditions.
Parameter Optimization
While the default parameters have been selected for general applicability, traders should consider optimizing certain parameters for specific markets or instruments. For highly volatile instruments like crude oil or natural gas, increasing the 'atrMultiplier' to 2.0 or 2.5 may provide more appropriate risk management. For less volatile instruments like certain forex pairs, reducing the multiplier to 1.0 or 1.2 may improve signal quality.
Multiple Timeframe Analysis
For enhanced performance, traders can analyze the trend on a higher timeframe (such as 15-minute or hourly) while taking signals on a lower timeframe (such as 5-minute or 1-minute). This multi-timeframe approach ensures that signals are aligned with the larger trend direction.
Risk Management
While the indicator provides calculated stop-loss levels, traders should consider their overall position sizing and portfolio risk. The ATR-based stops provide a market-adaptive approach, but individual risk tolerance and account size should ultimately determine position sizing. The 2.0 reward-to-risk ratio is fixed but can be adjusted based on personal preferences or the specific characteristics of the instrument being traded.
INTEGRATION WITH TRADINGVIEW
Adding the Indicator
To add this indicator to a TradingView chart, paste the code into the Pine Script editor and click "Add to Chart." The indicator will appear in the chart's sidebar and begin calculating immediately once sufficient historical data is available.
Configuring Alerts
To set up alerts, right-click on any of the alert conditions in the indicator's settings panel (long signal, short signal, breakout up, or breakout down) and select "Add Alert." Configure the alert frequency and notification methods (push notification, email, webhook, etc.) according to your preferences.
Customization
All input parameters can be adjusted through the indicator's settings panel without modifying the source code. Traders can experiment with different VWAP sources, ATR lengths and multipliers, swing detection parameters, and table display options to suit their trading style and market preferences.
LIMITATIONS AND CONSIDERATIONS
Session Dependency
The indicator is specifically designed for NY session trading and will not generate signals outside these hours. Traders focused on other sessions or 24-hour markets may need to modify the session string to match their trading hours.
Historical Data Requirements
The indicator requires sufficient historical data to accurately calculate swing points and support/resistance levels. On lower timeframe charts with limited history, the initial signals may be less reliable until adequate swing points are identified.
Lag in Swing Detection
By definition, swing points are confirmed after the price has moved away from them, introducing some lag into support/resistance identification. Traders should be aware that the most recent swing point may not be confirmed until several bars after it occurs.
Not Financial Advice
This indicator is a technical analysis tool and should not be construed as financial advice. Traders are responsible for their own research and risk management decisions. Past performance of any trading system does not guarantee future results.
SUMMARY
The code follows a logical flow:
•
Version and Declaration: Pine Script version 6 indicator declaration with overlay enabled
•
Input Parameters: All user-configurable settings grouped by category
•
Session Logic: New York session tracking and open price recording
•
Core Calculations: VWAP, ATR, EMA, RSI, swing points
•
Support/Resistance Logic: Array-based storage and retrieval of swing levels
•
Trend and Momentum Classification: Categorization of current market state
•
Signal Generation: Confluence-based long and short conditions
•
Trade Level Calculations: Entry, stop-loss, and target pricing
•
Visual Plots: Hidden plots for alert data access
•
Information Tables: Real-time display of key values
•
Alert Conditions: Four configurable alert triggers
This structured approach ensures clarity, maintainability, and extensibility for future modifications or enhancements.
Volume SessionsTrading sessions showed. You can add or remove sessions in settings. You can also adjust timings of session openings and close.
VIG + ICT FVG/Imbalance [PRO FIXED]for personal use only for personal use only for personal use only for personal use only for personal use only for personal use only for personal use only for personal use only for personal use only for personal use only for personal use only
TSS : Trend Sniper System [DoNotFollowMeGod]"Inspired by classic Tunnel Strategies"
Tunnel Green + Label Blue/Green = LONG
Tunnel Red + Label Red/Maroon = SHORT
Trade safe. Risk management is key.
Liquidity Gravity Engine [Pineify]```markdown
Liquidity Gravity Engine - Market Structure, Displacement, Liquidity Rails
Overview
Liquidity Gravity Engine is a market structure + liquidity visualization indicator designed to help you read flow , impulse , and liquidity magnets on any symbol and timeframe. Instead of relying on a single moving average, it builds a dynamic “flow ribbon” from confirmed swing structure, highlights displacement candles that create imbalance (FVG-style gaps), and projects unmitigated swing levels as liquidity rails that price often revisits.
Key Features
Liquid Flow Ribbon: a structure-based dynamic band that adapts to volatility.
Displacement Highlighting: flags momentum candles that expand beyond ATR and form an imbalance.
Liquidity Rails: extends unmitigated swing highs/lows as potential targets until swept.
Trend Context: displacement is filtered using the ribbon’s smoothed centerline.
How It Works
Market Structure (Swings) : swing highs/lows are detected using pivot logic over your “Structure Lookback”. Pivots become confirmed only after the lookback window completes, which means historical swing points can update until they are confirmed.
Flow Construction : the most recent confirmed swing high and swing low define a top and bottom boundary. Their midpoint is then smoothed with an EMA to create the “liquid” centerline.
Displacement + Imbalance : a candle is considered displacement when its range expands beyond ATR(14) × Displacement Factor and it creates a simple FVG-style gap (current low above the high two bars back for bullish, or current high below the low two bars back for bearish). The bar is then filtered by being on the correct side of the smoothed flow center.
Liquidity Rails : each new confirmed swing high/low can become a dotted rail. Rails extend forward and are removed once price sweeps beyond the level (mitigation), keeping the chart focused on active liquidity.
Trading Ideas and Insights
Use the ribbon as context : bias is stronger when price holds one side of the flow centerline.
Treat displacement markers as impulse confirmation : they often appear at breakout moments or at the start of expansions.
Use liquidity rails as magnets : unmitigated swing highs/lows can act as targets for continuation or mean-reversion moves.
Combine structure + displacement: a sweep into a rail followed by an opposite displacement can hint at a reversal attempt.
How Multiple Components Work Together
This indicator is intentionally built as a single liquidity-driven workflow:
Swings define structure.
Structure defines the flow ribbon (trend/volatility context).
The ribbon filters displacement so you see momentum that aligns with flow.
Liquidity rails provide objective target zones derived from the same swing structure.
The result is a cohesive view of market structure flow, institutional-style displacement, and liquidity targets without stacking multiple separate indicators.
Unique Aspects
Structure-first ribbon: the band is anchored to confirmed swing points, not just a price average.
Imbalance-aware displacement: requires both range expansion and a gap-style condition, reducing generic “big candle” noise.
Self-cleaning liquidity rails: mitigated levels are removed to keep the chart readable.
How to Use
Start with defaults on a clean chart.
Identify the flow: price above the smoothed centerline favors bullish flow; below favors bearish flow.
Watch for displacement diamonds (“D”): they often validate a push away from structure and can mark the start of a leg.
Plan around rails: treat dotted lines as potential objectives and areas where reactions/sweeps can occur.
Customization
Structure Lookback : smaller values = more sensitive swings; larger values = cleaner, slower structure.
Displacement Factor : higher values = fewer, stronger displacement bars; lower values = more signals.
Show Liquidity Rails + Liquidity Lookback : control whether rails are plotted and how active levels are emphasized.
Visuals : adjust bullish/bearish flow colors and liquidity line styling for your chart theme.
Conclusion
Liquidity Gravity Engine helps you map market structure, highlight displacement and imbalance (FVG-style) momentum, and visualize liquidity targets with rails that stay relevant until swept. Use it for trend context, breakout confirmation, and liquidity-based trade planning on forex, crypto, stocks, and indices.
DollarVolCalculates dollar volume and projected volume.
Highest volume ever and highest volume in a year
Average CandleAverage Candle is a custom indicator that plots a synthetic candle built from the average open, high, low, and close of the last X periods, providing a smoother view of price behavior and trend. It helps filter noise by summarizing recent market action into a single, representative **candle** per bar.
1. Introduction
Average Candle calculates the simple moving average of each OHLC component (Open, High, Low, Close) over a user-defined lookback period and renders that as a separate candle on the chart.
This creates a smoothed representation of price that is less affected by short-term volatility while still respecting the overall structure of the market.
By visualizing these averaged candles, traders can better identify underlying direction and momentum without removing the original price bars.
2. Key features
- Uses the average of the last X opens, highs, lows, and closes to build a synthetic candle for each bar, allowing consistent smoothing across all OHLC components.
- Colors the Average Candle bullish or bearish based on whether the average close is above or below the average open, making directional bias visually clear at a glance.
- Can be overlaid on the main chart to compare raw price candles with their averaged counterpart, helping traders distinguish meaningful swings from short-term noise.
3. How to use
- Add the indicator to your chart, choose the desired lookback length (X periods), and tune it according to your trading timeframe and style—for example, shorter lengths for more responsive signals and longer lengths for smoother trends.
- Use the Average Candle to confirm trend direction, detect potential reversals, or validate entries and exits by checking whether price action aligns with the smoothed average structure.
- Combine it with other tools such as support/resistance, volume, or momentum indicators, ensuring it is used as a complementary visualization aid rather than a standalone signal generator.
Market Health Indicator# Market Health Indicator - Documentation
## Overview
The Market Health Indicator is a Pine Script technical analysis tool designed for TradingView that evaluates overall market conditions by analyzing the relationship between price and three Exponential Moving Averages (EMAs), as well as the relationships between the EMAs themselves. The indicator provides a quantitative score and actionable investment recommendations.
---
## Purpose
This indicator helps traders and investors:
- Assess the overall health and trend strength of a market or security
- Make informed decisions about position sizing
- Identify bullish, bearish, or neutral market conditions
- Determine when to increase, reduce, or exit positions
---
## Scoring Methodology
### Scoring System
The indicator evaluates **6 conditions**, each contributing either **+1** or **-1** to the total score:
#### Price vs EMA Conditions (3 conditions)
1. **Price vs EMA 21**
- Price > EMA 21 → +1
- Price < EMA 21 → -1
2. **Price vs EMA 50**
- Price > EMA 50 → +1
- Price < EMA 50 → -1
3. **Price vs EMA 100**
- Price > EMA 100 → +1
- Price < EMA 100 → -1
#### EMA Relationship Conditions (3 conditions)
4. **EMA 21 vs EMA 100**
- EMA 21 > EMA 100 → +1
- EMA 21 < EMA 100 → -1
5. **EMA 21 vs EMA 50**
- EMA 21 > EMA 50 → +1
- EMA 21 < EMA 50 → -1
6. **EMA 50 vs EMA 100**
- EMA 50 > EMA 100 → +1
- EMA 50 < EMA 100 → -1
### Total Score Range
- **Minimum Score**: -6 (all conditions bearish)
- **Maximum Score**: +6 (all conditions bullish)
---
## Market Health Status
Based on the total score, the indicator assigns one of five market health statuses:
| Score Range | Status | Interpretation |
|-------------|--------|----------------|
| 4 to 6 | **Strong Bullish** | All or most conditions favor upward momentum |
| 2 to 3 | **Bullish** | Majority of conditions are positive |
| -1 to 1 | **Neutral** | Mixed signals, no clear directional bias |
| -3 to -2 | **Bearish** | Majority of conditions are negative |
| -6 to -4 | **Strong Bearish** | All or most conditions favor downward momentum |
---
## Investment Level Recommendations
The indicator provides position sizing recommendations based on the score:
| Score Range | Investment Level | Action |
|-------------|-----------------|--------|
| 4 to 6 | **100% Invested** | Maximum exposure - strong bullish conditions |
| 2 to 3 | **75% Invested** | High exposure - moderately bullish conditions |
| 0 to 1 | **50% Invested** | Moderate exposure - neutral to slightly positive conditions |
| Below 0 | **Exit Weak Stocks** | Reduce exposure - bearish conditions, exit underperforming positions |
---
## Installation & Setup
### Installation Steps
1. Open TradingView and navigate to any chart
2. Click on **Pine Editor** at the bottom of the screen
3. Copy the entire Pine Script code
4. Paste it into the Pine Editor
5. Click **"Add to Chart"**
### Configuration Options
The indicator includes two customizable settings accessible via the settings gear icon:
#### 1. Table Position
Choose where the indicator table appears on your chart:
- **Top**: top_left, top_center, top_right
- **Middle**: middle_left, middle_center, middle_right
- **Bottom**: bottom_left, bottom_center, bottom_right
**Default**: top_right
#### 2. Table Size
Adjust the text size of the indicator table:
- **tiny**: Smallest text size
- **small**: Small text size
- **normal**: Standard text size (default)
- **large**: Large text size
- **huge**: Largest text size
**Default**: normal
---
## Understanding the Display
### Table Components
The indicator displays a table with the following rows:
1. **Header Row (Colored)**
- Left cell: Market Health status
- Right cell: Current score out of 6
- Color indicates market condition (green = bullish, yellow = neutral, red = bearish)
2. **Investment Level Row (Blue)**
- Shows recommended position sizing based on current score
- Helps with portfolio management decisions
3. **Column Headers (Gray)**
- "Condition" - describes each evaluation criteria
- "Score" - shows the +1 or -1 value
4. **Condition Rows (6 rows)**
- Each row shows one of the 6 scoring conditions
- Left column: condition description
- Right column: score value (+1 in green or -1 in red)
---
## Interpretation Guidelines
### Strong Bullish (Score 4-6)
**Characteristics:**
- Price trading above all major EMAs
- EMAs aligned in bullish order (21 > 50 > 100)
- Strong upward momentum
**Action:**
- Maintain full exposure (100% invested)
- Consider adding to winning positions
- Look for pullbacks as buying opportunities
### Bullish (Score 2-3)
**Characteristics:**
- Price above most EMAs
- Generally positive EMA alignment
- Moderate upward trend
**Action:**
- Maintain high exposure (75% invested)
- Hold existing positions
- Be selective with new entries
### Neutral (Score -1 to 1)
**Characteristics:**
- Mixed signals from price and EMAs
- No clear trend direction
- Market indecision
**Action:**
- Reduce exposure to 50%
- Wait for clearer signals
- Focus on risk management
- Consider range-bound strategies
### Bearish (Score -2 to -3)
**Characteristics:**
- Price below most EMAs
- Generally negative EMA alignment
- Moderate downward trend
**Action:**
- Exit weak positions
- Reduce overall exposure
- Raise cash levels
- Protect capital
### Strong Bearish (Score -4 to -6)
**Characteristics:**
- Price trading below all major EMAs
- EMAs aligned in bearish order (21 < 50 < 100)
- Strong downward momentum
**Action:**
- Exit weak stocks immediately
- Minimal to no long exposure
- Preserve capital
- Wait for market conditions to improve
---
## Best Practices
### Usage Tips
1. **Timeframe Selection**
- Works on all timeframes
- Higher timeframes (daily, weekly) provide more reliable signals
- Lower timeframes (intraday) may generate more frequent signals but with higher noise
2. **Combine with Other Analysis**
- Use as a component of a comprehensive trading strategy
- Complement with support/resistance levels
- Consider volume and other momentum indicators
- Factor in fundamental analysis for longer-term positions
3. **Position Sizing**
- Treat investment level recommendations as guidelines, not rigid rules
- Adjust based on your risk tolerance and account size
- Consider your overall portfolio allocation
4. **Risk Management**
- Always use stop losses regardless of indicator reading
- Don't ignore risk management during "Strong Bullish" periods
- The indicator shows trend, not specific entry/exit points
### Limitations
- **Lagging Nature**: EMAs are lagging indicators, so signals may come after trend changes have begun
- **Whipsaw Risk**: In choppy, sideways markets, the indicator may generate mixed signals
- **Not a Standalone System**: Should be used as part of a broader trading strategy
- **No Predictive Power**: Shows current conditions, not future direction
- **Market Context**: May need adjustment during extreme market conditions or unusual volatility
---
## Technical Details
### EMA Calculations
The indicator uses three standard Exponential Moving Averages:
- **EMA 21**: Short-term trend (approximately 1 month of trading days)
- **EMA 50**: Medium-term trend (approximately 2.5 months)
- **EMA 100**: Long-term trend (approximately 5 months)
EMAs give more weight to recent prices compared to Simple Moving Averages (SMAs), making them more responsive to price changes.
### Update Frequency
- The indicator recalculates on every bar close
- Real-time updates during the current bar formation
- Table displays the most recent completed bar data
### Performance
- Lightweight indicator with minimal computational overhead
- Suitable for use with multiple charts simultaneously
- No historical data storage required beyond standard EMA calculations
---
## Frequently Asked Questions
**Q: Can I change the EMA periods (21, 50, 100)?**
A: The current version uses fixed EMA periods. Modifying these would require editing the Pine Script code directly.
**Q: Does this indicator work on all assets?**
A: Yes, it works on stocks, forex, cryptocurrencies, commodities, and indices - any asset with price data.
**Q: Can I use this for day trading?**
A: Yes, but it's designed for swing trading and position trading. For day trading, consider using lower timeframes and being aware of increased signal noise.
**Q: What if the score keeps changing?**
A: Frequent score changes indicate a choppy or transitional market. Consider waiting for a more stable reading before taking action.
**Q: Should I exit ALL positions when score is negative?**
A: The recommendation is to "Exit Weak Stocks" - focus on underperforming positions. Strong stocks may still be held with appropriate stop losses.
**Q: Can I get alerts based on score changes?**
A: The current version doesn't include alerts, but this functionality could be added with Pine Script modifications.
---
## Version History
**Version 1.0**
- Initial release
- 6-condition scoring system
- Investment level recommendations
- Customizable table position and size
- Overlay on main chart
---
## Support & Feedback
For questions, suggestions, or issues with the indicator:
- Review this documentation thoroughly
- Test the indicator on historical data before live trading
- Adjust settings to match your chart layout preferences
- Always paper trade new strategies before risking real capital
---
## Disclaimer
This indicator is provided for educational and informational purposes only. It does not constitute financial advice, investment advice, trading advice, or any other type of advice. Trading and investing involve substantial risk of loss. Past performance is not indicative of future results. Always do your own research and consult with a qualified financial advisor before making investment decisions.
james S/R Trend Pro v6//@version=6
strategy("jaems_MACD+RSI ", shorttitle="jaems_MACD+RSI ", overlay=false, initial_capital=10000, currency=currency.USD, default_qty_type=strategy.percent_of_equity, default_qty_value=10, commission_type=strategy.commission.percent, commission_value=0.05, calc_on_every_tick=false)
// =============================================================================
// 1. 설정 (Inputs)
// =============================================================================
group_macd = "📊 MACD 설정"
fastLen = input.int(12, "Fast Length", group=group_macd)
slowLen = input.int(26, "Slow Length", group=group_macd)
sigLen = input.int(9, "Signal Smoothing", group=group_macd)
src = input.source(close, "Source", group=group_macd)
group_col = "🎨 시각화 색상"
col_up = input.color(color.new(#00E676, 0), "상승 (Neon Green)", group=group_col)
col_dn = input.color(color.new(#FF1744, 0), "하락 (Red)", group=group_col)
col_sig = input.color(color.new(#FFEA00, 0), "Signal 기본색", group=group_col)
// =============================================================================
// 2. 계산 (Calculations)
// =============================================================================
fastMA = ta.ema(src, fastLen)
slowMA = ta.ema(src, slowLen)
macd = fastMA - slowMA
signal = ta.ema(macd, sigLen)
hist = macd - signal
// 교차 확인 (Crossovers)
bool crossUp = ta.crossover(macd, signal)
bool crossDn = ta.crossunder(macd, signal)
// 추세 상태 확인
bool isBullish = macd >= signal
// =============================================================================
// 3. 전략 실행 (Execution)
// =============================================================================
if crossUp
strategy.entry("Long", strategy.long)
if crossDn
strategy.entry("Short", strategy.short)
// =============================================================================
// 4. 시각화 (Visualization) - 수정된 부분
// =============================================================================
// 4.1 MACD 라인 색상 동적 변경
color macdDynamicColor = isBullish ? col_up : col_dn
// 4.2 라인 그리기
plot(macd, title="MACD Line", color=macdDynamicColor, linewidth=2)
plot(signal, title="Signal Line", color=col_sig, linewidth=1)
// 4.3 교차점 도트 (Thick Dots) - 괄호 오류 방지를 위해 명시적 변수 할당
float dotLevelUp = crossUp ? signal : na
float dotLevelDn = crossDn ? signal : na
plot(dotLevelUp, title="Golden Cross Dot", style=plot.style_circles, color=col_up, linewidth=5)
plot(dotLevelDn, title="Dead Cross Dot", style=plot.style_circles, color=col_dn, linewidth=5)
// 4.4 히스토그램 색상 (오류 수정: 중첩 삼항연산자 제거 -> if-else 변환)
color histColor = na
if isBullish
// 상승 추세일 때: 히스토그램이 직전보다 커지면 진한색, 작아지면 연한색
if hist < hist
histColor := col_up
else
histColor := color.new(col_up, 50)
else
// 하락 추세일 때: 히스토그램이 직전보다 커지면(덜 음수면) 연한색, 작아지면 진한색
if hist < hist
histColor := color.new(col_dn, 50)
else
histColor := col_dn
plot(hist, title="Histogram", style=plot.style_columns, color=histColor)
// 4.5 기준선
hline(0, "Zero Line", color=color.gray, linestyle=hline.style_dotted)
Gold/Silver Ratio with Supply ZonesGold/Silver Ratio with Supply Zones
Overview
Professional-grade indicator that tracks the Gold/Silver Ratio in real-time
Identifies potential market imbalances and rotation opportunities between precious metals
Features customizable threshold bands, moving averages, and automated trading signals
Built on Pine Script v6 for maximum stability and performance
Key Features
Real-Time Ratio Calculation : Automatically calculates Gold/Silver ratio using OANDA:XAUUSD and OANDA:XAGUSD price feeds
Dynamic Threshold Zones : Visual bands showing when silver or gold may be undervalued relative to each other
Moving Average Overlay : 20-period SMA to identify trend direction and momentum
Automated Buy Signals : Triangle markers appear when ratio reaches extreme levels
Live Information Table : Displays current ratio, moving average, individual metal prices, and market interpretation
Custom Alerts : Set notifications when ratio crosses your defined thresholds
Color-Coded Zones : Green zones indicate gold undervaluation, red zones indicate silver undervaluation
Trading Applications
Mean Reversion Strategy : Enter silver positions when ratio exceeds 90, enter gold when ratio falls below 70
Rotation Trading : Switch between metals based on relative value signals
Portfolio Rebalancing : Identify optimal times to adjust precious metals allocation
Divergence Analysis : Compare ratio behavior against individual metal price action
Default Settings
High Threshold : 90.0 (Silver undervalued zone)
Low Threshold : 70.0 (Gold undervalued zone)
Moving Average : 20-period SMA
Historical Reference : 80:1 ratio marked as long-term mean
How to Interpret
Ratio Above 90 : Silver is undervalued relative to gold - consider increasing silver exposure
Ratio Below 70 : Gold is undervalued relative to silver - consider increasing gold exposure
Ratio Between 70-90 : Neutral range - no clear relative value advantage
Rising Ratio : Gold outperforming silver
Falling Ratio : Silver outperforming gold
Signal Logic
Green Triangle (Bottom) : Ratio crosses above high threshold → Buy Silver Signal
Red Triangle (Top) : Ratio crosses below low threshold → Buy Gold Signal
MA Crossovers : Use 20-period MA for trend confirmation and entry timing
Visual Elements
Blue Line : Current gold/silver ratio value
Orange Line : 20-period moving average smoothing
Red Shaded Zone : Area where gold is relatively expensive
Green Shaded Zone : Area where gold is relatively cheap
Gray Dotted Line : Historical mean at 80:1
Info Table : Real-time statistics and market interpretation
Best Practices
Use on daily timeframe or higher for most reliable signals
Combine with volume analysis and individual metal technicals
Monitor Federal Reserve policy and USD strength as macro context
Consider industrial demand factors for silver (solar, EV, electronics)
Watch safe-haven flows during economic uncertainty for gold
Customization Options
Adjust threshold levels based on your preferred lookback period
Modify moving average length to suit your trading timeframe
Toggle bands on/off for cleaner chart visualization
Change data source tickers if using different brokers (FXCM, FOREXCOM, etc.)
Alert Conditions
Silver Undervalued Alert : Triggers when ratio crosses above your high threshold
Gold Undervalued Alert : Triggers when ratio crosses below your low threshold
Receive notifications via TradingView mobile app , email , or webhook
Who This Is For
Precious metals traders seeking relative value opportunities
Portfolio managers balancing gold and silver allocations
Macro traders using metals as inflation hedges
Swing traders capitalizing on mean reversion patterns
Long-term investors optimizing entry points
Important Notes
This indicator tracks price ratios , not physical supply data
COMEX warehouse stocks are not directly available in TradingView
Ratio analysis assumes historical mean reversion tendencies
Always combine with fundamental analysis and risk management
Past performance does not guarantee future results
Data Sources
Gold Price : OANDA:XAUUSD (spot gold in US dollars)
Silver Price : OANDA:XAGUSD (spot silver in US dollars)
Update Frequency : Real-time during market hours
Historical Data : Full TradingView historical coverage available
EMA 9 & 15 with Live Angle (Anchored)Description:
This indicator is designed to measure market trend strength and direction using two exponential moving averages (EMAs) — 9 EMA (fast) and 15 EMA (slow) — and their angle of slope.
EMA 9 (Fast EMA): reacts quicker to price changes and shows short-term trend direction.
EMA 15 (Slow EMA): reacts slower and represents a more stable trend.
Slope / Angle of EMA: tells how steeply the trend is moving.
Calculated using ATR-normalized slope to adjust for volatility.
Converted to degrees for easy interpretation.
Labels: Show the current EMA angle live on the chart.
Positive angle: Uptrend
Negative angle: Downtrend
Steeper angle → stronger trend






















