Pivot Zones Break Close MM200 This strategy is a trend-following and reversal algorithm based on the dynamic identification of institutional price zones (Pivots). The objective is to capture precise movements when price "breaks and closes" above a support or below a resistance level, while filtering signals with a 200-period Simple Moving Average (SMA) to ensure maximum safety.
圖表形態
PRO RSI + MACD AI - INST TOGGLEMac d and rsi cobination with ai signals usefull for all tyme frame and all type of scripts
JD Moon - Intraday Boxကျွန်တော် JD Moon ပါ၊
ဒီ Box Indicator က Intraday Trader တွေအတွက် အချိန်ကုန်သက်သာအောင် တကူးတက ဆွဲစရာမလိုအောင် Price Action သမားတွေအတွက် အသုံးလိုတဲ့အရာမို့ ဖန်တီးထားတာပါ၊ အရမ်း ရိုးရှင်းပြီး အရမ်း အသုံးဝင်ပါတယ်။ တစ်ရက်အတွင်း စျေးနှုန်းအရွေ့ကို စောင့်ကြည့်ဖို့ပါ။ အထူးသဖြင့်ကျွန်တော့်အတွက် ဖန်တီးထားတာဖြစ်ပြီး လိုအပ်သူတွေ ကျွန်တော့်လို Chart တိုင်းမှာ လှိုင်းဆွဲဖို့ ငပျင်းလေးတွေ ယူသုံးနိုင်ပါတယ်။
Prev HL Labels + TF Filter + INTRADAY Alerts OnlyWhat it does
Displays the previous candle’s High and Low prices as two price labels plotted near the previous bar (one above the high, one below the low).
Triggers intraday alerts only when price breaks above the previous high or breaks below the previous low.
Lets you choose which timeframes the script is allowed to run on (labels + alerts), via a timeframe filter.
Renko + Heikin Ashi Strategy v1🔷 Renko + Heikin Ashi Strategy (Sonu179208)
Renko + Heikin Ashi Strategy is a powerful trend-following and reversal-based TradingView strategy that combines custom Renko brick logic with smoothed Heikin Ashi confirmation to filter noise and capture high-probability trades.
This strategy is designed for intraday, positional, and options trading, especially useful for NIFTY, SENSEX, BankNifty, and option premiums.
🚀 Core Concepts
🧱 Renko Logic (Non-Time Based)
Custom-built Renko engine (no built-in Renko charts required)
Brick size can be calculated using:
ATR
Percentage
Fixed points
Traditional divider
Detects trend continuation and 2-brick reversals
Multiple bricks per candle supported with safety limits
🔥 Heikin Ashi Confirmation
Smoothed Heikin Ashi candles using EMA
Optional confirmation logic:
Renko + HA must agree
OR HA reversal within Renko trend
Helps avoid false Renko reversals in sideways markets
📈 Trade Logic
✅ Buy (Long)
Renko reversal from Bear → Bull
Optional Heikin Ashi bullish confirmation
Trade direction allows Long / Short / Both
❌ Sell (Short)
Renko reversal from Bull → Bear
Optional Heikin Ashi bearish confirmation
🔁 Smart Position Handling
Automatically closes opposite positions before new entries
Separate logic for:
Long-only mode
Short-only mode
🛑 Risk Management
Optional Fixed Stop Loss (points)
Optional Trailing Stop Loss
Works for both Long and Short trades
Designed to be compatible with strategy backtesting
⏱ Backtest Controls
Enable / Disable Date Range Filter
Define custom Start & End dates
Useful for forward testing and historical validation
🔔 Alerts & Webhooks (Automation Ready)
Entry Alerts:
Buy
Sell
Exit Alerts
Fully customizable Webhook messages
Ideal for:
Algo trading
Broker API
TradingView → automation tools
🎨 Visual Features
Renko bricks drawn directly on chart
Optional:
Renko connecting lines
Reversal arrows
Heikin Ashi candles
Color-coded bullish & bearish bricks
On-chart Info Table displaying:
Box size & method
Renko direction
HA direction
Trade mode
Stop loss & trailing status
Active date filter status
⚙️ Highly Customizable Inputs
Renko source: Close / HL2 / HLC3 / OHLC4 / High / Low
Brick size parameters
Heikin Ashi smoothing
Display toggles
Safety limits for performance
⚠️ Disclaimer
This strategy is for educational and research purposes only.
Always forward-test and manage risk properly before using in live trading.
Market conditions vary, and no strategy guarantees profits.
Heikin Ashi + RSI Strategy📊 Heikin Ashi + RSI Strategy (Advanced)
This strategy combines Heikin Ashi trend confirmation with RSI momentum analysis to generate high-probability Long & Short trading signals, supported by advanced risk management, multi-timeframe filters, and visual trade tracking.
Designed for intraday, swing, and positional traders, this system is fully customizable and works across stocks, indices, crypto, and forex.
🔹 Core Logic
✅ BUY (Long) Conditions
A long trade is triggered based on your selected mode:
HA Turns Green → Heikin Ashi candle flips from red to green
RSI Upward → RSI rising compared to previous bars
Both → Heikin Ashi confirmation + RSI momentum (strongest)
❌ SELL (Short) Conditions
A short trade is triggered based on:
HA Turns Red → Heikin Ashi candle flips from green to red
RSI Downward → RSI declining compared to previous bars
Both → Trend + momentum alignment
🔹 Trade Direction Control
Long Only
Short Only
Both (Default)
Perfect for directional markets or index trading.
🔹 Multi-Timeframe Support
Separate timeframes for:
Heikin Ashi
RSI
Leave empty to use the chart timeframe
This allows higher-TF trend + lower-TF entries.
🔹 Risk Management (Highly Flexible)
🛑 Stop Loss Options
Percentage-based
ATR-based
Fixed points
🎯 Take Profit Options
Percentage-based
ATR-based
Fixed points
Risk-Reward based (RR)
🔁 Trailing Stop
Optional percentage-based trailing SL
🔹 Time & Session Filters
Trade only between custom date ranges
Optional session filter (e.g. market hours)
Ideal for avoiding low-liquidity periods.
🔹 Visual Features
Buy / Sell arrows with optional labels
SL / TP / Entry price lines
Position-based background coloring
Clean on-chart execution markers
📋 Smart Info Table (Top-Right)
Displays real-time data:
Heikin Ashi status
RSI direction & value
Active timeframes
Current position (LONG / SHORT / FLAT)
Open P&L
Total trades
Win rate %
🔔 Alerts Included
Long Entry Alert
Short Entry Alert
Any Entry Alert
➡️ Ready for TradingView webhooks & automation
⚠️ Disclaimer
This strategy is for educational and research purposes only.
Always backtest, forward test, and use proper risk management before live trading.
BTC Arbitrage Detector套利检测器 — 技术原理与 Webhook 实时监控指南
许可证:Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
作者:加密社
适用市场:加密货币(如 BTC/USDT)、外汇(如 EUR/USD)
一、核心目标
本指标旨在实时监测同一交易品种在多个交易所或经纪商之间的价格极差(Price Spread),并通过统计方法识别当前价差是否处于“异常”状态。当价差显著扩大时,可能意味着存在套利机会、流动性断裂或数据源异常,用户可据此采取相应操作。
二、关键技术原理
1. 多源数据聚合
指标通过 request.security() 函数并行请求多个交易所的实时价格与成交量数据。例如,当图表品种为 BTCUSD 且类型为 crypto 时,自动从以下 19 家交易所获取数据:
BITSTAMP, COINBASE, BINANCE, KRAKEN, OKX, BYBIT, KUCOIN, MEXC, BITGET...
对于外汇品种(如 EURUSD),则切换至 OANDA, PEPPERSTONE, IBKR, SAXO 等 13 家外汇经纪商。
注意:若某交易所不支持该品种(如 GEMINI 无 ETH/BTC),系统会自动忽略无效符号(ignore_invalid_symbol = true),确保脚本稳定运行。
2. 价差计算与滑动窗口
价差定义:在每个 K 线周期,取所有有效交易所的最新价格,计算其最大值与最小值之差(即 range())。
历史窗口:默认使用最近 1000 根 K 线的价差序列(可通过输入参数调整),构成动态参考分布。用户也可启用“完整数据集”以使用全部历史数据(需注意资源限制)。
3. 百分位分级机制
对当前价差在其历史分布中的位置进行百分位排名(percentrank),并按以下阈值划分等级:
异常(Unusual):> 98% 分位(默认)
高(High):> 75% 分位
典型(Typical):> 25% 分位
低(Low):≤ 25% 分位
该分级基于非参数统计,无需假设价差服从正态分布,适应性强。
4. 自适应平滑算法(AMA)
为减少噪声干扰,指标提供两种平滑选项:
固定 EMA:对原始价差序列应用指数移动平均(默认周期 9)
自适应移动平均(AMA):将当前价差的百分位排名作为“效率比率”(Efficiency Ratio),动态调整平滑系数。当价差突变(高百分位)时响应更快,平稳期则更平滑。
5. 交互式仪表盘
仪表盘展示每家交易所的:
最新价格 / 成交量
平均价格 / 成交量(基于用户设定的平均周期,默认 20)
可选显示与主图资产的绝对差值(如 Binance 价格比主图高 $ 120)
支持按任意列升序/降序排序,快速定位最高/最低报价源
三、如何利用 Webhook 实现异常价差实时告警
TradingView 的 Alert + Webhook 功能可将指标信号推送至外部服务(如 Telegram、Discord、自建服务器),实现 7×24 小时监控。
步骤 1:修改脚本,添加 Alert 条件
原脚本为纯指标(indicator),不支持 alertcondition()。需在脚本末尾添加以下代码:
// 在脚本最后添加(calc_bars_count 行之后)
var float spreadPercentRank = na
spreadPercentRank := spreads.percentrank(spreads.size() - 1)
// 定义异常价差条件(例如 >98% 分位)
unusualCondition = spreadPercentRank > unusualPercentilInput
// 创建告警条件
alertcondition(unusualCondition, title="异常价差触发", message="【{{ticker}}】出现异常跨交易所价差!当前百分位:{{plot0}}%,价差:{{plot1}}")
注意:{{plot0}} 和 {{plot1}} 会自动替换为第一个和第二个 plot() 的当前值(即 spreadPercentRank 和 currentSpread)。
步骤 2:在 TradingView 创建告警
打开图表,加载修改后的指标
点击指标名称 → “添加告警”(Add Alert)
触发条件选择 “异常价差触发”
在“操作”中选择 Webhook URL
填入你的 Webhook 地址(例如:https://your-server.com/arbitrage-alert)
勾选 “仅当条件首次为真时触发”(避免重复通知)
保存
Arbitrage Detector — Technical Principles and Webhook Real-Time Monitoring Guide
License: Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)
Author: Crypto Community
Applicable Markets: Cryptocurrencies (e.g., BTC/USDT), Forex (e.g., EUR/USD)
1. Core Objective
This indicator is designed to monitor the price spread—the difference between the highest and lowest quoted prices—of the same trading instrument across multiple exchanges or brokers in real time. Using statistical methods, it evaluates whether the current spread falls into an "anomalous" regime. A significantly widened spread may signal potential arbitrage opportunities, liquidity fragmentation, or data feed anomalies, enabling users to take timely action.
2. Key Technical Principles
2.1 Multi-Source Data Aggregation
The script uses Pine Script’s request.security() function to fetch real-time price and volume data from multiple venues simultaneously. For example:
When the chart symbol is BTCUSD and its type is crypto, the script automatically pulls data from 19 major cryptocurrency exchanges:
BITSTAMP, COINBASE, BINANCE, KRAKEN, OKX, BYBIT, KUCOIN, MEXC, BITGET, GEMINI, CRYPTOCOM, WHITEBIT, BTSE, HTX, GATE, etc.
For forex pairs like EURUSD, it switches to 13 leading brokers:
OANDA, PEPPERSTONE, IBKR, SAXO, TICKMILL, FXCM, FOREX.COM, CAPITAL.COM, etc.
Note: If a venue does not support the symbol (e.g., GEMINI lacks ETH/BTC), the script safely skips it using ignore_invalid_symbol = true, ensuring robust execution.
2.2 Spread Calculation and Sliding Window
Spread Definition: At each confirmed bar, the script collects all valid latest prices and computes their range (max – min).
Historical Reference Window: By default, it maintains a rolling window of the last 1,000 spread values to form a dynamic empirical distribution. Users can adjust this length or enable “Full Dataset” mode to use all available historical data (subject to TradingView’s runtime limits).
2.3 Percentile-Based Classification
The current spread is ranked against its historical distribution using percentrank(). It is then classified into one of four tiers based on user-defined thresholds:
Unusual: >98th percentile (default)
High: >75th percentile
Typical: >25th percentile
Low: ≤25th percentile
This non-parametric approach makes no assumptions about the underlying distribution of spreads, offering strong adaptability across volatile and stable market regimes.
2.4 Adaptive Smoothing Algorithm (AMA)
To reduce noise while preserving responsiveness, two smoothing options are provided:
Fixed EMA: Applies a standard exponential moving average (default period: 9) to the raw spread series.
Adaptive Moving Average (AMA): Uses the current spread’s percentile rank as an “efficiency ratio” to dynamically adjust the smoothing factor. During sharp divergences (high percentile), the AMA reacts quickly; during calm periods, it becomes smoother.
2.5 Interactive Dashboard
The on-chart dashboard displays, for each venue:
Latest price and volume
Average price and volume (over a user-defined lookback period, default: 20 bars)
Optional absolute delta vs. the chart’s primary symbol (e.g., “Binance price is $ 120 higher than chart”)
Sortable columns (ascending/descending) by price or volume to instantly identify outliers
3. Setting Up Webhook Alerts for Real-Time Anomaly Notifications
TradingView’s Alert + Webhook system allows you to push signals to external services (e.g., Telegram, Discord, or a custom server) for 24/7 monitoring.
Step 1: Modify the Script to Add Alert Conditions
Since the original script is declared as an indicator(), it cannot trigger alerts by default. Append the following code at the end of the script (after the calc_bars_count line):
pinescript
编辑
// Add at the very end of the script
var float spreadPercentRank = na
spreadPercentRank := spreads.percentrank(spreads.size() - 1)
// Define alert condition: spread exceeds "Unusual" threshold
bool unusualCondition = spreadPercentRank > unusualPercentilInput
// Create alert condition with dynamic message
alertcondition(unusualCondition, title="Unusual Spread Detected",
message="【{{ticker}}】Unusual cross-exchange spread detected! Percentile: {{plot0}}%, Spread: {{plot1}}")
Note: {{plot0}} and {{plot1}} will be replaced at runtime with the values of the first and second plot() calls in the script—corresponding to spreadPercentRank and currentSpread, respectively.
Step 2: Create an Alert in TradingView
Apply the modified indicator to your chart.
Click the indicator name in the legend → “Add Alert”.
Under Condition, select “Unusual Spread Detected”.
In the Actions section, choose “Webhook URL”.
Enter your webhook endpoint (e.g., your-server.com).
Check “Once Per Bar” or “Once Per Condition” to avoid repeated notifications.
Save the alert.
Trend Matrix Open Interest EnhancedOpen interest happy
he provided materials offer a technical guide on enhancing trading efficiency through specific technical indicators and visual data workflows. One source emphasises the importance of streamlined infographic designs to better illustrate complex processes with clear examples. The primary content focuses on a VWAP strategy for Bitcoin, specifically highlighting the utility of standard deviation bands as pivot points for high-frequency scalping. The presenter explains how to integrate Volume Bubble Pro to identify market absorption and reward, allowing traders to distinguish between winning and losing participants. By combining these volume-based tools, the author demonstrates how to execute aggressive entries and manage risk through precise sniper setups. Ultimately, the sources aim to provide a practical fram
[X342] Structure & Entry Structure & Entry — SMC Toolkit
OVERVIEW
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Structure & Entry is a Smart Money Concepts (SMC) indicator that identifies market structure, order blocks, and optimal trade entry zones based on institutional trading principles.
METHODOLOGY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
The indicator implements core ICT/SMC concepts:
1. Market Structure Analysis
- Swing High/Low detection using pivot logic
- Market Structure Break (MSB) identification
- Bullish MSB: Price breaks above previous swing high
- Bearish MSB: Price breaks below previous swing low
- Tracks current market bias (bullish/bearish)
2. Order Block Detection
- Bullish OB: Last bearish candle before bullish MSB
- Bearish OB: Last bullish candle before bearish MSB
- Order blocks represent institutional entry zones
- Auto-extends to current bar
- Removed when mitigated (price passes through)
3. Optimal Trade Entry (OTE)
- Fibonacci retracement zone (0.618-0.786)
- Calculated from last swing high to swing low
- Adjusts direction based on current bias
- Premium zone for entry in direction of bias
WHY SMC?
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Smart Money Concepts focus on identifying where institutions are likely to enter the market. Order blocks and OTE zones represent high-probability areas where large players accumulate or distribute positions.
FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✓ Dual language support (English / Türkçe)
✓ Auto MSB detection and labeling
✓ Dynamic Order Block zones
✓ OTE Fibonacci zones
✓ Mitigation tracking (Wick or Close)
✓ Market bias panel
✓ Comprehensive alerts
VISUAL ELEMENTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Swing Points: Small circles at pivot highs/lows
• MSB Labels: "MSB ↑" or "MSB ↓" at structure breaks
• Order Blocks: Colored boxes at detected OB zones
- Green boxes: Bullish OBs (demand zones)
- Red boxes: Bearish OBs (supply zones)
• OTE Zone: Purple dashed box at Fibonacci retracement
SETTINGS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Structure:
- Swing Length: Bars for pivot detection (default: 5)
- Show MSB: Toggle structure break labels
- Show Swing Points: Toggle pivot markers
Order Block:
- Show Order Blocks: Toggle OB zones
- OB Lookback: Bars to search for OB candle (default: 10)
- Max OB Count: Maximum active OBs (default: 5)
- Mitigation Type: Wick or Close-based removal
OTE:
- Show OTE Zone: Toggle Fibonacci zone
- OTE Upper: Upper boundary (default: 0.786)
- OTE Lower: Lower boundary (default: 0.618)
INFO PANEL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Displays:
- Current market bias (BULL/BEAR)
- Last MSB price level
- Active Order Block count
ALERTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Bullish MSB: Structure break to the upside
• Bearish MSB: Structure break to the downside
• Bullish OB Formed: New demand zone created
• Bearish OB Formed: New supply zone created
TRADING APPLICATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Wait for MSB to confirm direction
2. Look for price to retrace to OTE zone
3. Enter when price reacts at Order Block within OTE
4. Place stop beyond the Order Block
5. Target: Previous swing high/low or liquidity levels
BEST PRACTICES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
- Use higher timeframe for bias, lower for entry
- Fresh (untested) Order Blocks are stronger
- OTE + OB confluence = high probability setup
- Combine with Liquidity Hunter for targets
- Respect the current bias until new MSB
2026 Model2026 Model
OVERVIEW
This Pine Script indicator is a comprehensive trading tool designed for identifying key market structure patterns, session-based trading opportunities, and higher timeframe context. It combines multiple trading concepts including Fair Value Gaps (FVGs), Turtle Soup patterns, Smart Money Technique (SMT) divergence, and session-based analysis.
CORE FEATURES
1. SESSION/KILLZONE DETECTION
What It Does:
- Identifies and highlights major trading sessions based on New York time (EDT/EST)
- Displays session labels that change color: light green for the current session, grey for past sessions
- Shows background shading for active sessions
Sessions Tracked:
- Asia Session: 8:00 PM - 12:00 AM NY time
- London AM: 2:00 AM - 5:00 AM NY time
- NY AM: 9:30 AM - 11:00 AM NY time
- NY PM: 1:30 PM - 4:00 PM NY time
How It Works:
- Uses timezone conversion to check if current time falls within each session range
- Creates labels at the start of each session
- Updates label colors every bar to highlight the active session
- Labels are positioned at a consistent Y-level (aligned with HTF boundary lines)
Killzone Status:
- Active during 1:00 AM - 12:59 PM NY time
- Displayed in the dashboard table
2. DAILY BIAS CALCULATION
What It Does:
- Determines market bias based on the relationship between the last two completed daily candles
- Only calculates on weekdays (Monday-Friday) for traditional markets
- Works 24/7 for crypto markets
Bias Logic:
- Bullish:
* Previous day's high exceeded the day before's high AND close was above previous day's high
* OR previous day's low was below the day before's low BUT close recovered above the day before's low
- Bearish:
* Previous day's low was below the day before's low AND close was below previous day's low
* OR previous day's high exceeded the day before's high BUT close fell below the day before's high
How It Works:
- Compares wicks and closes of the last two completed daily candles
- Persists the last weekday bias on weekends
- Displayed in the dashboard table
3. FAIR VALUE GAPS (FVGs)
What It Does:
- Identifies price gaps where liquidity was skipped
- Draws boxes on the chart showing potential retracement zones
- Uses adaptive thresholds that adjust to market volatility
FVG Types:
- Bullish FVG: Gap between candle 1's low and candle 2's high (price jumped up)
- Bearish FVG: Gap between candle 1's high and candle 2's low (price jumped down)
Threshold Modes:
1. ATR-based (Default): Automatically adapts to asset volatility
- Calculates threshold as: (ATR / Close Price) × 100 × Multiplier
- More sensitive for volatile assets, less sensitive for stable ones
2. Auto: Uses cumulative average of price changes
3. Manual: Fixed percentage threshold (e.g., 0.01%)
How It Works:
- Only detects FVGs on confirmed (closed) bars
- Requires the middle candle's percentage change to exceed the threshold
- Extends FVG boxes 15 bars forward
- Limits to 50 FVG boxes to prevent memory issues
Settings:
- Threshold multiplier (default: 1.0) - lower = more FVGs detected
- Minimum threshold override - ensures minimum quality
- ATR length for volatility calculation
4. HIGHER TIMEFRAME (HTF) CANDLE OVERLAY
What It Does:
- Displays the last 3-5 completed HTF candles on the right side of the chart
- Shows HTF context without cluttering the main chart
- Supports 1H, 4H, Daily, Weekly, and Monthly timeframes
Features:
- Candle Display: Shows completed HTF candles with proper wicks and bodies
- Boundary Lines: Optional vertical lines on the main chart marking HTF candle boundaries
- Labels: Optional time/day/month labels under each candle
- SMT Integration: Draws SMT lines connecting swing points on the overlay candles
- Turtle Soup Integration: Shows TS levels as horizontal lines on overlay candles
How It Works:
- Fetches HTF data using request.security() with lookahead_off to get only confirmed candles
- Positions candles to the right of the current chart using future bar indices
- Calculates boundary high/low from all visible candles for consistent line heights
- Only displays when chart timeframe ≤ HTF timeframe
Settings:
- HTF timeframe selection (1H, 4H, 1D, 1W, 1M)
- Number of candles to display (3, 4, or 5)
- Toggle boundary lines and labels
5. TURTLE SOUP PATTERN DETECTION
What It Does:
- Identifies false breakouts followed by reversals
- Draws horizontal lines at the price level that was broken and then reversed
- Works on multiple timeframes (15min, 1H, 4H)
Pattern Definition:
- Bullish Turtle Soup:
* Candle breaks below previous candle's low (wick goes lower)
* BUT closes above the previous candle's low
* Indicates a false breakdown, potential reversal up
- Bearish Turtle Soup:
* Candle breaks above previous candle's high (wick goes higher)
* BUT closes below the previous candle's high
* Indicates a false breakout, potential reversal down
Threshold System:
- ATR-based (Default): Adapts to volatility
- Converts ATR to PIPs: (ATR × Multiplier) / Pip Size
- Only triggers if the initial candle meets minimum size requirement
- Fixed PIPs: Uses a fixed minimum candle size in PIPs
How It Works:
- Checks patterns when HTF candles complete
- Finds the exact swing high/low time within the HTF candle (on lower timeframes)
- Finds when price broke through that level in the reversal candle
- Draws horizontal line from swing point to break point
- Tracks patterns for HTF overlay display
Settings:
- Timeframe selection (15min, 1H, 4H)
- Threshold mode (Fixed PIPs or ATR-based)
- ATR multiplier (default: 0.4)
- Minimum PIPs (for fixed mode)
6. SMART MONEY TECHNIQUE (SMT) / DIVERGENCE
What It Does:
- Detects divergence between correlated trading pairs
- Draws lines connecting swing points when one pair shows Turtle Soup but the other doesn't
- Only works on 4H timeframe and lower
SMT Logic:
- Bullish SMT:
* Correlated pair has bullish Turtle Soup (reversed upward)
* Current pair does NOT have bullish Turtle Soup
* Current pair stayed within previous candle's range (true divergence)
* Draws line connecting swing lows
- Bearish SMT:
* Correlated pair has bearish Turtle Soup (reversed downward)
* Current pair does NOT have bearish Turtle Soup
* Current pair stayed within previous candle's range (true divergence)
* Draws line connecting swing highs
Correlated Pairs:
- ES ↔ NQ (futures)
- SPX ↔ YM (indices)
- BTC ↔ ETH (crypto)
- GBPUSD ↔ EURUSD (forex)
- XAU ↔ XAG (metals)
How It Works:
- Fetches 4H Turtle Soup status for both current and correlated pair
- Checks if current pair showed true divergence (stayed in range)
- On lower timeframes, finds actual swing points within 4H candles
- Draws line connecting the two swing points
- Only triggers on new 4H bar close to avoid duplicates
- Displays on both main chart and HTF overlay
Settings:
- Toggle SMT display on/off
7. DASHBOARD TABLE
What It Does:
- Displays key market information in a table at the bottom-right corner
- Updates in real-time as market conditions change
Information Shown:
1. Killzone: Y/N - Whether currently in active trading hours (1 AM - 12:59 PM NY)
2. Daily Bias: Bullish/Bearish/N/A - Market direction from daily candle analysis
3. 4H Turtle Soup: Bullish/Bearish/No - Most recent 4H TS pattern (within last 5 candles)
4. 4H SMT: Bullish/Bearish/No - Most recent 4H SMT divergence (within last 5 candles)
How It Works:
- Checks arrays of TS and SMT occurrences
- Finds the most recent pattern within the last 5 completed 4H candles
- Updates only on the last bar to optimize performance
HOW IT ALL WORKS TOGETHER
Workflow Example:
1. Session Context: The indicator identifies you're in NY AM session (9:30-11 AM), highlights it in green
2. Daily Bias: Shows "Bullish" from yesterday's price action
3. HTF Overlay: Displays last 5 completed 4H candles on the right, showing higher timeframe structure
4. Turtle Soup: Detects a bearish TS on 4H - price broke above previous high but closed below it
5. SMT: If correlated pair (e.g., NQ) had bullish TS but current pair (ES) didn't, draws SMT line
6. FVGs: Identifies gaps in price that may get filled
7. Dashboard: Summarizes all this information in one place
Key Design Principles:
1. Adaptive Thresholds: Both FVG and Turtle Soup use ATR-based thresholds that adjust to volatility
2. Multi-Timeframe: Works across different chart timeframes while maintaining HTF context
3. Visual Clarity: Current session highlighted in green, past sessions in grey
4. Memory Management: Limits arrays to prevent performance issues
5. Confirmed Data Only: Uses lookahead_off to ensure only completed candles are analyzed
Best Practices for Use:
1. Timeframe Selection: Use lower timeframes (5m, 15m) for entries, but always check HTF overlay for context
2. Session Awareness: Trade during active killzones when liquidity is highest
3. Daily Bias: Align trades with daily bias for higher probability
4. Turtle Soup: Look for TS patterns at key support/resistance levels
5. SMT Divergence: Use SMT to identify when one pair is leading/diverging from correlated pair
6. FVG Fills: Watch for price to return and fill FVG gaps
TECHNICAL DETAILS
Performance Optimizations:
- Limits arrays to 50 elements (FVGs, TS, SMT)
- Only updates dashboard on last bar
- Clears and redraws HTF overlay each bar to prevent duplicates
- Uses efficient time-based lookups for swing point detection
Timezone Handling:
- All sessions use New York time (America/New_York)
- Handles EDT/EST automatically
- Daily bias uses exchange timezone for daily candles
Symbol Support:
- Works with forex, futures, stocks, crypto
- Automatically detects JPY pairs for correct pip calculation (0.01 vs 0.0001)
- Handles 24/7 markets (crypto) vs traditional market hours
SETTINGS SUMMARY
Display Settings:
- Show FVGs
- Show HTF Candle Overlay
- Show Session Times
- Turtle Soup Threshold Mode (Fixed PIPs / ATR-based)
- Turtle Soup ATR Multiplier
- ATR Length
FVG Settings:
- FVG Threshold Mode (Auto / Manual / ATR-based)
- FVG Threshold Multiplier
- FVG Manual Threshold (%)
- Minimum Threshold Override (%)
- FVG ATR Length
HTF Candle Overlay:
- HTF Overlay Timeframe (1H, 4H, 1D, 1W, 1M)
- Number of Candles (3, 4, 5)
- Show HTF Candle Boundaries
- Show HTF Candle Labels
HTF Turtle Soup Settings:
- Show HTF Turtle Soup
- Turtle Soup Timeframe (15, 60, 240)
- Lookback Candles
SMT Settings:
- Show SMT
This indicator is designed to provide a comprehensive view of market structure, combining multiple trading concepts into a unified tool for better trading decisions.
PIP HUNTERS Target MarkerHelp you guys find LQ targets on GOLD/NAS
any help setting up let me know. i just delete the line
Tesseract 3.0Tesseract 3.0 is a multi-purpose ICT/SMC indicator built to make intraday market context obvious at a glance. It highlights key liquidity and imbalance areas, structure shifts, and important reference levels so you can align execution with where the market is likely to react. The goal is a clean, decision-support overlay that reduces chart noise while keeping the most actionable information visible.
Sniper Strategy + Inducement Filter (AI Forecast)I create scripts as trading tools. Hope it's useful.
TTC Open Lines v1This liquidity-based key level indicator displays previous highs and lows from the daily, weekly, monthly, quarterly, and yearly charts. These price levels serve as important reference points in the trading of any market or financial instrument.
They also represent high-probability reaction zones, making them ideal areas to look for trades using simple confirmation patterns.
Each level plays a crucial role in determining whether the market is likely to continue its current trend or reverse direction. I like to think of these levels as two magnets — they can either attract price or push it away.
You might wonder how two opposing behaviors can both be useful. The key is to remain directionally neutral and develop your own set of rules to identify when price is more likely to react by being drawn toward these areas or rejected from them.
I have my own rules for this, and you can develop a framework that fits your own trading style as well.
ORB 369 - Opening Range Breakout The ORB 369 is a professional-grade momentum indicator designed to capture the volatility of the New York market open. While many Opening Range Breakout (ORB) scripts simply draw lines, this script integrates time-segmented price action with Supply and Demand (S/D) theory to filter out "fakeouts" and identify high-probability institutional entries.
💡 The Core Concept: Why 3-6-9?
The strategy is rooted in the "Market Open Volatility" principle. The first 15 minutes (9:30–9:45 AM EST) represent the period where institutional orders are processed and "price discovery" is most aggressive.
The Range: We define the 15-minute high and low as the "Battlefield."
The 369 Logic: This script focuses on the 3rd 5-minute candle of the session (completing the 15m range) and monitors the subsequent 5m and 15m cycles for a definitive trend shift.
🛠️ How It Works
The script utilizes Pine Script v6 high-precision time-tracking and state-handling to ensure accuracy even on historical data.
1. Dynamic Session Anchoring
Unlike static indicators, this script uses America/New_York timezone anchoring. It identifies the Opening Range (OR) regardless of your local time, ensuring you are aligned with the NYSE floor traders.
2. Supply & Demand Detection
The script doesn't just look at the high/low; it analyzes the micro-structure within that 15-minute window.
It identifies unmitigated zones (areas where price moved so fast it left "imbalances").
If a breakout occurs but price immediately hits an internal S/D zone, it warns the trader of a potential "Look Above and Fail" scenario.
3. Breakout Confirmation (5m Logic)
A common mistake is entering on a "wick." This script uses Closing Logic:
Bullish Signal: A 5-minute candle must close entirely above the 15m High.
Bearish Signal: A 5-minute candle must close entirely below the 15m Low.
The script then repaints the candle body (defaulting to Blue/Red) to provide an instant visual cue that the "Breakout is Confirmed."
📈 How to Use It
Wait for the Box: At 9:45 AM EST, the script will automatically lock in the High, Low, and Midpoint (Mean) of the range.
Monitor the Midpoint: The Midpoint acts as the "Line in the Sand." If a breakout occurs but price stays near the Midpoint, the trend is weak. If price stays in the upper half of the range, the Bullish bias is stronger.
The Entry: Wait for the Candle Color Change. A blue candle above the range suggests a long entry; a red candle below suggests a short.
Supply/Demand Zones: If the script highlights a "Demand Zone" at the bottom of the range and price bounces off it before breaking the top, this provides a "double-confluence" setup.
⚙️ Technical Features
Customizable Aesthetics: Use the Settings menu to change the breakout colors (Green/Blue/Red) to match your personal chart theme.
Smart Tooltips: Hover over the inputs in the settings to see detailed explanations of what each parameter does.
Alert Ready: Built-in alerts for "Bullish Breakout" and "Bearish Breakout" that can be sent directly to your phone or desktop via TradingView.
AI Indicator EMA big moveThe Institutional big move+ big move + Target indicator is designed to help trader identify high probabilty breakout,
Divergence Detector with GradingIt detects divergences in real time and grades the divergence based on the probability of that divergence playing out. It will grade divergences with a higher grade if near major support and resistantance levels.
Pivot Points AvancadoOlá Amigos,
Indicador Pivot Points com Cruzamento de Médias Móveis
Fabricio Nicolau
Previous High & LowPrevious High & Low plots key reference levels from higher timeframes directly on your chart to help you spot liquidity targets, support/resistance, and reaction zones faster.
What it shows:
PDH / PDL (Previous Day High & Low): yesterday’s high and low, extended to the end of the current day (works on all timeframes, including low TF).
H-2 / H-3 (1H levels): the high/low from the previous-previous hour (H-2) and an optional extra set (H-3) for additional intraday context. These lines are limited up to the current candle.
H4-1 / H4-2 (4H levels): the high/low of the previous 4-hour candle (H4-1) and the previous-previous 4-hour candle (H4-2), also limited up to the current candle.
Customization:
Toggle each group on/off (PDH/PDL, H-2, H-3, H4-1, H4-2)
Fully style lines (color, width, solid/dashed/dotted)
Optional labels for each level
How to use:
Use these levels as “areas of interest” for breakouts, pullbacks, stop runs/liquidity sweeps, and mean-reversion reactions—especially around PDH/PDL and prior 4H/1H extremes.
Custom Trading Strategy (1H)Overview: This indicator is a technical tool designed for the 1-Hour timeframe (1H).
It combines Trend following with Momentum to filter false signals.
The strategy only triggers a signal when three classic indicators align perfectly.
How it Works? The script plots a green "N" label when the following 4 conditions are met simultaneously:
MACD: Both MACD Line and Signal Line must be above Zero (Bullish Territory).
MACD Crossover: A bullish crossover occurred either on the current bar or the previous bar.
SMA: Simple Moving Average (5) crosses over SMA (20).
RSI: Relative Strength Index is above 50 (Positive Momentum).
Features:
Clean Chart: Calculates SMAs and Stop Loss levels in the background without cluttering the chart with lines.
Only the signal label "N" is displayed.
Filtering: Filters out weak signals by requiring RSI > 50 and MACD > 0 confirmation.






















