Breakout SignalShow big bars closing on the high or low
This script allows you to find highlighted bars (bullish green and bearish red ) for bars that close with a particular Internal Bar Strength and ATR. I set the default at showing bars with an ATR > ATR10 and the IBS can be effected to show if the bar closes at its high or low.
I also put a EMA filter here. i usually set this quite low to about 7 but can be changed depending on your preference.
Educational
SMC Pivot Confluence Strategy-onlyThe **SMC Pivot Confluence Strategy** is a **trend-following price action strategy** based on:
* **Smart Money Concepts (SMC, Market Structure)**
* **Pivot Points**
It is specifically designed for **Crypto Spot and Perpetual Contract markets (24/7)**.
### Core Strategy Philosophy:
> **Enter trades following the trend only when the Smart Money structure is clearly defined, positioned near key price pivots (Pivot P), utilizing distinct structural stop losses and fixed risk-to-reward ratios for position management.**
This is a trading system that is:
* **Backtestable** (Strategy-based)
* **Parameterized** (Adjustable settings)
* **Explainable** (Logic-driven)
* **Suitable for Invite-only membership models.**
---
## 1. Use Cases and Scope
### 1.1 Recommended Markets
* BTC / ETH Perpetual Contracts
* High-liquidity mainstream coins
### 1.2 Markets to Avoid
* Low-liquidity altcoins
* Newly listed coins
* Extremely manipulated coins
### 1.3 Recommended Timeframes
* **Primary Timeframe: 15m (Highly Recommended)**
* Optional: 5m (Aggressive) / 1h (Conservative)
---
## 2. Overall Strategy Structure (Modular Breakdown)
* **A. Smart Money Concepts (Structure Module)**
* **B. Pivot Points (Price Pivot Module)**
* **C. Trend Confluence Filter**
* **D. Entry Logic**
* **E. Risk & Position Management**
* **F. Exit Logic (SL / TP)**
* **G. State Management (Avoiding Duplicate Trades)**
* **H. Visualization (Trade & Structure Display)**
Ultimate Lines Statistical Backtest @MaxMaseratiUltimate lines (MAs/MACD/VWAP,DWA etc..) Statistical Backtest
This is a comprehensive statistical backtesting tool that allows traders to objectively measure the performance of 27+ different trading lines across multiple timeframes and sessions. Instead of guessing which moving averages, VWAPs, or volume levels actually work for your trading style, this indicator provides hard data showing exactly how price behaves around each line at specific times of day.
The indicator solves a critical problem: most lines create whipsaws in choppy markets, but knowing which lines have the highest continuation rates vs reversal rates at specific session times helps you avoid false signals and focus on setups with proven statistical edges.
🎯 LINES YOU CAN TEST
MMM Core Lines:
Mid MA: Trend velocity tracker using simple moving average
MMPD Line: Premium/Discount change-of-direction indicator
Fair Value Golden Ratio: 0.618 equilibrium level between premium and discount zones
Volume-Based Lines:
VWAP Daily/Weekly: Volume-weighted average price (daily and weekly sessions)
Volume POC Multi-TF: Multi-timeframe Point of Control (highest volume price level)
Volume POC Weekly: Weekly momentum pivot based on volume distribution
Range Midpoints:
Range Midpoint 50: 50-period high/low midpoint
Range Midpoint 14 TF1/TF2: Configurable timeframe range midpoints with smoothing options
Moving Averages (10 MA Types):
MACD Fast (12) / Signal (26): Standard MACD moving averages
Fast MA 20 / Mid MA 50 / Slow MA 200: Classic trend-following averages
Available MA Types: SMA, EMA, WMA, HMA, DEMA, TEMA, LSMA, KAMA, ALMA, VWMA
Volatility Indicators:
MVM Upper/Lower Bands: Momentum-based volatility bands with adaptive option
HVC Bullish/Bearish: High Volume Candle support/resistance levels
Ultimate Suite Advanced Lines:
DWAP (Delta Weighted Average Price): Directional volume-weighted price with upper/lower bands
HVN (High Volume Node): High-frequency trading node detection
Hybrid Line: Volume-weighted momentum composite
Trend Filter: Two-pole smoothing filter for trend clarity
STL Lines:
iBuSTL / iBeSTL: Internal Bullish/Bearish Structural Trend Liquidity levels
⚙️ HOW TO TEST
Select Lines: Check the boxes for lines you want to analyze (Mid MA, VWAP Daily, Volume POC, etc.)
Choose Times: Enable tracking for specific session times (default: 8:30 AM, 9:30 AM, 10:00 AM, Daily Close - EST)
Set Lookback: Choose how many days of historical data to analyze (default: 60 days)
Enable Pattern Analysis: Turn on "Enable Pattern Analysis" in settings
Wait for Data: The indicator needs 20 bars after each signal time to complete analysis
Review Statistics: Check the statistics table for detailed breakdowns
📈 STATISTICS EXPLAINED
For Each Tracked Time, You'll See:
🟢 Above Selected Lines (X samples):
Continued↑: Price stayed above the lines = bullish continuation
Reversed↓: Price broke below the lines = reversal/rejection
→Kept Going↓: After reversing down, price continued lower (bars 11-20)
→Stalled: After reversing down, price came back up (consolidation)
Neutral: Price didn't make a clear move either way
🔴 Below Selected Lines (X samples):
Continued↓: Price stayed below the lines = bearish continuation
Reversed↑: Price broke above the lines = reversal/support bounce
→Kept Going↑: After reversing up, price continued higher (bars 11-20)
→Stalled: After reversing up, price came back down (consolidation)
Neutral: No clear directional move
⭐ Star Ratings: Show which outcome happens most frequently (best probability)
🔬 HYBRID DETECTION SYSTEM (ADVANCED)
When enabled, the indicator uses a multi-signal composite scoring system that goes beyond simple percentage movements:
Signal A - % Movement Direction (40% weight):
Measures the strength and direction of price movement. Strong directional moves (>0.8%) score higher, while opposite-direction moves score negatively.
Signal B - Inside Candles (30% weight):
Detects true consolidation by counting how many candles close within a defined range. High inside-candle counts indicate choppy, stalled price action rather than clean continuation.
Signal C - Successive Closes (30% weight):
Tracks momentum persistence by counting consecutive closes in the expected direction. Long streaks (6+ bars) indicate strong follow-through, while breaks in the sequence suggest weakness.
Composite Score Classification:
⭐⭐⭐ Strong (75-100 points): All three signals align - high-confidence pattern
⭐⭐ Moderate (50-75 points): Two signals agree - reliable pattern
⭐ Weak (25-50 points): Mixed signals - lower confidence
⚠️ Strong Stalled (0-25 points): Signals show consolidation/reversal
This provides nuanced pattern detection that identifies not just IF a pattern succeeded, but HOW STRONGLY it performed.
💡 INTERPRETING RESULTS
Good Lines Show:
High continuation % when price is above/below (>60% is strong)
Clean "Kept Going" patterns after reversals (>50% indicates reliable rejection)
Low stalled % (less whipsaw/consolidation)
Consistent patterns across multiple times (validates the line's reliability)
Poor Lines Show:
50/50 continuation vs reversal (coin flip = no edge)
High stalled % (lots of whipsaw/false signals)
Inconsistent patterns across different times (unreliable)
Example Interpretation:
9:30 AM - VWAP Daily (120 samples)
🟢 Above:
Continued↑ 75 (62.5%) ⭐ BEST
Reversed↓ 30 (25.0%)
Meaning: When price is above VWAP Daily at 9:30 AM, it continues higher 62.5% of the time - this is a statistically strong bullish signal for that session time.
🎯 PRACTICAL VALUE
Solves the Whipsaw Problem:
Most moving averages and lines work beautifully in trending markets but create endless false signals in choppy, range-bound conditions. By analyzing specific session times and continuation vs reversal patterns, you can:
Identify high-probability setups: Focus on lines that show >60% continuation at your preferred trading times
Avoid weak signals: Skip lines with high stall rates or 50/50 outcomes
Time your entries better: Know which session times produce the cleanest patterns
Combine complementary lines: Stack multiple high-scoring lines for confluence
Adapt to market conditions: Switch to different lines when market structure changes
Real-World Application:
Instead of blindly trading VWAP crosses or MA bounces, you'll have objective data showing: "At 9:30 AM on ES, when price is above Mid MA + VWAP Daily + Volume POC, it continues higher 68% of the time with strong momentum (⭐⭐⭐)." This transforms discretionary guesswork into data-driven decision making.
⚙️ LINE DEFINITIONS
Moving Averages: Smooth price data over X periods to identify trend direction and dynamic support/resistance.
VWAP: Anchored average price weighted by volume - institutional traders' benchmark for "fair value."
Volume POC (Point of Control): Price level with the most traded volume - represents maximum market acceptance.
Fair Value Golden Ratio: Fibonacci 0.618 level between recent premium (high) and discount (low) - equilibrium zone.
DWAP (Delta Weighted): Price average weighted by buying vs selling volume delta - shows directional money flow.
Range Midpoints: Geometric center of recent high/low range - mean reversion pivot.
Volatility Bands: Envelope around momentum lines showing normal price deviation ranges.
HVN (High Volume Node): Automated detection of high-volume price clusters - institutional accumulation/distribution zones.
Note: This indicator is purely for statistical analysis and backtesting. It does not generate trade signals or provide entry/exit recommendations. Use the statistics to inform your own trading decisions and strategy development.
Entradas Inteligentes Oro JosePR indicador creado para el oro, pero funciona tambien en el mercado de futuros
BTC - DCA vs HODL Calculator MatrixBTC - DCA vs. HODL Calculator Matrix | RM
Overview
The BTC - DCA vs. HODL Calculator Matrix is a high-performance telemetry laboratory designed to settle the ultimate debate in Bitcoin accumulation: Is it more efficient to deploy all capital at once ( Lump Sum & HODL ) or utilize a recurring purchase strategy ( DCA )? More importantly, if DCA is the choice, which exact frequency and weekday provides the mathematical edge?
The Calculator Matrix was engineered to solve a critical limitation in the current script ecosystem (at least I couldnt find such an indicator): the inability to compare multiple DCA frequencies and specific calendar days simultaneously within a single dashboard. While developing this tool, I found that existing calculators typically only permit testing one strategy at a time (e.g., a generic "Weekly" buy). This script fills that gap by utilizing a high-performance array-based "Telemetry Engine" to rank dozens of variables—including every individual weekday and specific monthly dates—against a HODL benchmark in real-time. This unique simultaneous comparison allows investors to mathematically identify "Weekday Alpha" across any user-defined timeframe.
Core Philosophy
The script utilizes a Normalized Capital Model . To ensure a true "apples-to-apples" comparison, your total capital (e.g., $10,000) is distributed with mathematical precision across the exact number of entries for each specific strategy. This eliminates the ROI skewing commonly found in basic scripts, ensuring that every strategy is judged on the same total dollar expenditure over the same "Race Track."
Key Features & Analytics
• The Podium System: An automated ranking algorithm that awards 🥇 Gold, 🥈 Silver, and 🥉 Bronze medals to the top three performing strategies. Spoiler: Regular Winner: 1-time HODL (Lump Sum)
• Simultaneous Strategy Testing: Compare Daily, 7 different Weekly days (Mon-Sun), and Monthly dates (1st–28th) all at once.
• Risk Telemetry: Integrated Max Drawdown (MDD) sensors for every strategy, revealing the "Emotional Cost" of your accumulation path.
• Race Track Visuals: Blue dashed "Green Flag" and "Checkered Flag" lines visually define the boundaries of your backtest.
• Dashboard Customization: Use the "Odd/Even" filter to keep the matrix sleek and readable on (nearly) any screen resolution.
The Strategies Tested
• 1-TIME HODL: The benchmark (Lump sum entry on Day 1 - meaning all the capital is deployed at the start date).
• DAILY DCA: High-frequency, day-by-day accumulation (the capital is split amongst the different entries).
• WEEKLY (SUN-SAT): Evaluates which specific day of the week historically captures the best entries (e.g., "Weekend Dips").(The capital is split amongst the different entries).
• MONTHLY (1-28 + END): Tests monthly date performance to optimize for beginning-of-month or end-of-month cycles. (The capital is split amongst the different entries).
Monte Carlo Simulation & Python Research
While this tool allows you to manually check any specific timeframe, manual testing is limited by "Start Date Bias." To find the Universal Winner , I have conducted a Monte Carlo Simulation using 100 random entry dates over the last 5 years via Python/Colab. This research reveals the statistical probability of a day (like Saturday) winning the Gold medal across all market conditions.
Access the Python Heatmap Research in my substack article (link for substack in Bio).
How to Use
1. Set the Race Track: Input Start and End dates in the settings.
2. Fuel the Engine: Set your Total Capital ($).
3. Analyze the Matrix: Compare ROI vs. MAX DD. The goal is not just the highest return, but the best Risk-Adjusted return.
Technical Implementation
This script utilizes an array-based telemetry engine to handle the simultaneous calculation of 30+ independent investment strategies. To ensure computational efficiency and bypass the limitations of standard security-based backtesting, I implemented a custom-built accumulator logic using array.new_float() and array.set() . The core calculation loop ( if in_race and is_new_day ) processes capital deployment on a per-bar basis, utilizing ta.change(time("D")) to ensure entry synchronization with the Daily UTC close. By decoupling the unit accumulation ( u_weekly , u_monthly ) from the final valuation logic ( f_get_stats ), the script maintains a Normalized Capital Model. This ensures that even with complex comparative logic across varying frequencies, the script provides a mathematically rigorous, reproducible result that matches real-world execution at the Daily UTC Midnight close.
Note: All calculations are made on the "close" bar, which means UTC 00:00. By creating a strategy or using the research, make sure to be aware of your time zone
Disclaimer: Past performance is not indicative of future results. This tool is for educational and research purposes only. Rob Maths is not liable for any financial losses.
Tags:
robmaths, Rob Maths, DCA, HODL, Bitcoin, BTC, Backtest, RiskManagement, Investment, Strategy, Statistics
Sessions for IndexesTitle: Sessions for Indexes (Intraday Precision)
Description
This indicator is a specialized tool designed for intraday traders (Indices) who focus on specific market sessions and liquidity windows. It visually highlights key trading periods and provides a clean, real-time dashboard for better market orientation.
Key Features:
Intraday Focus: Automatically restricts visibility to timeframes of 15 minutes and below to keep your high-timeframe charts clean.
Comprehensive Session Tracking: Covers major US and EU sessions, including:
US: Pre-market, AM Session, Lunch, and PM Session.
EU/Asia: Asia, EU Pre-market, London Session, and NY Overlap.
Dynamic HUD (Heads-Up Display): A modern table in the top-right corner that displays the currently active session name and changes color dynamically.
On-Chart Labels: Each session is clearly labeled at the bottom of the price action, making it easy to review historical sessions without cluttering the candles.
Fully Customizable: You can adjust session times, colors, and visibility according to your local timezone and trading plan.
How to Use:
Timezone: Set the timezone in the inputs to match your broker or local time (default is UTC).
Visuals: Use the colored background zones to identify "Silver Bullet" windows or session transitions.
Active Session: Quickly check the top-right corner to know exactly which session you are currently trading.
Technical Note:
To ensure performance and chart clarity, this indicator will display an error message ("TF too high") if used on timeframes higher than 15m. This is intentional to promote disciplined intraday analysis.
PA SystemPA System - Price Action Trading System
价格行为交易系统
📊 概述 / Overview
PA System is a comprehensive price action trading indicator that combines Smart Money Concepts (SMC), market structure analysis, and multi-timeframe confirmation to identify high-probability trade setups. Designed for both manual traders and algorithmic trading systems.
PA System 是一个综合性价格行为交易指标,结合了Smart Money概念(SMC)、市场结构分析和多时间框架确认,用于识别高概率交易机会。适用于手动交易者和算法交易系统。
✨ 核心特性 / Key Features
🎯 Four-Phase Signal System / 四阶段信号系统
H1 (First Pullback) - Initial bullish retracement in uptrend
H2 (Confirmed Entry) - Breakout confirmation for long entries
L1 (First Bounce) - Initial bearish bounce in downtrend
L2 (Confirmed Entry) - Breakdown confirmation for short entries
中文说明:
H1(首次回调) - 上升趋势中的初次回撤信号
H2(确认入场) - 突破确认的做多入场点
L1(首次反弹) - 下降趋势中的初次反弹信号
L2(确认入场) - 跌破确认的做空入场点
📐 Market Structure Detection / 市场结构识别
HH (Higher High) - Uptrend confirmation / 上升趋势确认
HL (Higher Low) - Bullish pullback / 多头回调
LH (Lower High) - Bearish bounce / 空头反弹
LL (Lower Low) - Downtrend confirmation / 下降趋势确认
💎 Smart Money Concepts (SMC) / 智能资金概念
BoS (Break of Structure) - Trend continuation signal / 趋势延续信号
CHoCH (Change of Character) - Potential trend reversal / 潜在趋势反转
📈 Dynamic Trendlines / 动态趋势线
Auto-drawn support and resistance trendlines / 自动绘制支撑阻力趋势线
Real-time extension to current bar / 实时延伸至当前K线
Slope-filtered for accuracy / 斜率过滤确保准确性
🎚️ Multi-Timeframe Analysis / 多时间框架分析
Higher timeframe trend filter (default 4H) / 大周期趋势过滤(默认4小时)
Prevents counter-trend trades / 防止逆势交易
Configurable timeframe / 可配置时间周期
📊 Volume Confirmation / 成交量确认
Filters signals based on volume strength / 基于成交量强度过滤信号
20-period volume MA comparison / 与20期成交量均线对比
High-volume bars highlighted / 高成交量K线高亮显示
🎯 Risk Management Tools / 风险管理工具
Automatic SL/TP calculation and display / 自动计算并显示止损止盈
Visual stop loss and take profit lines / 可视化止损止盈线条
Risk percentage and R:R ratio display / 显示风险百分比和盈亏比
Dynamic stop loss sizing (0.3% - 1.5%) / 动态止损范围(0.3% - 1.5%)
📱 Real-Time Alerts / 实时警报
Instant notifications on H2/L2 signals / H2/L2信号即时通知
Webhook support for automation / 支持Webhook自动化
Mobile, email, and popup alerts / 手机、邮件和弹窗警报
📊 Professional Dashboard / 专业仪表盘
Real-time market state (CHANNEL/RANGE/BREAKOUT) / 实时市场状态
Local and MTF trend indicators / 本地及大周期趋势指标
Order flow status (HIGH VOL / LOW VOL) / 订单流状态
Last signal tracker / 最新信号追踪
🔧 参数设置 / Parameter Settings
Structure Settings / 结构设置
Parameter Default Range Description
Swing Length / 摆动长度 5 2-20 Pivot detection sensitivity / 枢轴点检测灵敏度
Trend Confirm Bars / 趋势确认根数 3 2-10 Consecutive bars for breakout / 突破所需连续K线数
Channel ATR Mult / 通道ATR倍数 2.0 1.0-5.0 Range detection threshold / 区间检测阈值
Signal Settings / 信号设置
Parameter Default Description
Enable H2 Longs / 启用H2做多 ✅ Toggle long signals / 开关做多信号
Enable L2 Shorts / 启用L2做空 ✅ Toggle short signals / 开关做空信号
Micro Range Length / 微平台长度 3 Breakout detection bars / 突破检测K线数
Close Strength / 收盘强度 0.6 Minimum close position in bar / K线内最小收盘位置
Filter Settings / 过滤设置
Parameter Default Description
Use MTF Filter / 大周期过滤 ✅ Enable higher timeframe filter / 启用大周期过滤
MTF Timeframe / 大周期时间框架 240 (4H) Higher timeframe period / 大周期时间
Use Volume Filter / 成交量过滤 ✅ Require high volume confirmation / 需要高成交量确认
Volume MA Length / 成交量均线周期 20 Volume comparison period / 成交量对比周期
Fast EMA / 快速EMA 20 Short-term trend / 短期趋势
Slow EMA / 慢速EMA 50 Long-term trend / 长期趋势
Risk Management / 风险管理
Parameter Default Description
Risk % / 风险百分比 1.0% Risk per trade / 每笔交易风险
R:R Ratio / 盈亏比 2.0 Reward to risk ratio / 盈亏比率
Max SL ATR / 最大止损ATR 3.0 Maximum stop loss in ATR / 最大止损ATR倍数
Min SL % / 最小止损百分比 0.3% Minimum stop loss percentage / 最小止损百分比
Max SL % / 最大止损百分比 1.5% Maximum stop loss percentage / 最大止损百分比
📖 使用方法 / How to Use
1. 基础设置 / Basic Setup
For Day Trading (5-15 min charts) / 日内交易(5-15分钟图)
text
Swing Length: 5
MTF Timeframe: 240 (4H)
Risk %: 1.0%
R:R: 2.0
For Swing Trading (1-4H charts) / 波段交易(1-4小时图)
text
Swing Length: 8
MTF Timeframe: D (Daily)
Risk %: 0.5%
R:R: 3.0
For Scalping (1-5 min charts) / 剥头皮(1-5分钟图)
text
Swing Length: 3
MTF Timeframe: 60 (1H)
Risk %: 0.5%
R:R: 1.5
Use Volume Filter: ✅
2. 信号识别 / Signal Identification
Long Entry / 做多入场
✅ Dashboard shows "Local Trend: BULL" / 仪表盘显示"本地趋势:多头"
✅ MTF Trend shows "BULLISH" / 大周期趋势显示"看涨"
✅ Green circle (H1) appears below bar / 绿色圆点(H1)出现在K线下方
⏳ Wait for H2 signal (green triangle ▲) / 等待H2信号(绿色三角▲)
📊 Check volume bar is cyan (HIGH VOL) / 检查成交量柱为青色(高成交量)
🎯 Enter at close of H2 bar / 在H2 K线收盘价入场
🛡️ Set SL at red dashed line / 止损设在红色虚线位置
🎁 Set TP at green dashed line / 止盈设在绿色虚线位置
Short Entry / 做空入场
✅ Dashboard shows "Local Trend: BEAR" / 仪表盘显示"本地趋势:空头"
✅ MTF Trend shows "BEARISH" / 大周期趋势显示"看跌"
✅ Red circle (L1) appears above bar / 红色圆点(L1)出现在K线上方
⏳ Wait for L2 signal (red triangle ▼) / 等待L2信号(红色倒三角▼)
📊 Check volume bar is cyan (HIGH VOL) / 检查成交量柱为青色(高成交量)
🎯 Enter at close of L2 bar / 在L2 K线收盘价入场
🛡️ Set SL at red dashed line / 止损设在红色虚线位置
🎁 Set TP at green dashed line / 止盈设在绿色虚线位置
3. 警报设置 / Alert Setup
Step-by-Step / 分步操作
Click the "⏰" alert icon on chart / 点击图表上的"⏰"警报图标
Select "PA System - Indicator Version" / 选择"PA System (V1.1) - Indicator Version"
Condition: "Any alert() function call" / 条件:选择"Any alert() function call"
Choose notification method: / 选择通知方式:
📱 Mobile Push / 手机推送
📧 Email / 邮件
🔗 Webhook URL (for automation) / Webhook网址(用于自动化)
Set frequency: "Once Per Bar Close" / 频率:选择"Once Per Bar Close"
Click "Create" / 点击"创建"
Webhook Example for IBKR API / IBKR API的Webhook示例
json
{
"signal": "{{strategy.order.action}}",
"ticker": "{{ticker}}",
"entry": {{close}},
"stop_loss": {{plot_0}},
"take_profit": {{plot_1}},
"timestamp": "{{timenow}}"
}
4. 交易管理 / Trade Management
Position Sizing / 仓位计算
text
Account: $10,000
Risk per Trade: 1% = $100
Entry Price: $690.45
Stop Loss: $687.38
Risk per Share: $690.45 - $687.38 = $3.07
Position Size: $100 / $3.07 = 32 shares
Partial Profit Taking / 部分止盈
Close 50% position at 1:1 R:R / 在1:1盈亏比时平仓50%
Move SL to breakeven / 移动止损至保本位
Let remaining 50% run to 2R target / 让剩余50%跑向2R目标
🎨 视觉元素说明 / Visual Elements Guide
Chart Markers / 图表标记
Symbol Color Meaning
⚫ Small Circle / 小圆点 🟢 Green / 绿色 H1 - First bullish pullback / 首次多头回调
▲ Triangle / 三角形 🟢 Green / 绿色 H2 - Confirmed long entry / 确认做多入场
⚫ Small Circle / 小圆点 🔴 Red / 红色 L1 - First bearish bounce / 首次空头反弹
▼ Inverted Triangle / 倒三角 🔴 Red / 红色 L2 - Confirmed short entry / 确认做空入场
Structure Labels / 结构标签
Label Position Meaning
HH Above high / 高点上方 Higher High - Bullish / 更高的高点-看涨
HL Below low / 低点下方 Higher Low - Bullish / 更高的低点-看涨
LH Above high / 高点上方 Lower High - Bearish / 更低的高点-看跌
LL Below low / 低点下方 Lower Low - Bearish / 更低的低点-看跌
BoS/CHoCH Lines / 破位线条
Type Color Width Meaning
BoS 🔵 Teal / 青色 2px Break of Structure - Trend continues / 结构突破-趋势延续
CHoCH 🔴 Red / 红色 2px Change of Character - Trend reversal / 性质改变-趋势反转
Trendlines / 趋势线
Type Color Style Meaning
Bullish / 看涨 🔵 Teal / 青色 Solid / 实线 Uptrend support / 上升趋势支撑
Bearish / 看跌 🔴 Red / 红色 Solid / 实线 Downtrend resistance / 下降趋势阻力
Risk Lines / 风险线条
Type Color Style Meaning
Stop Loss / 止损 🔴 Red / 红色 Dashed / 虚线 Suggested stop loss level / 建议止损位
Take Profit / 止盈 🟢 Green / 绿色 Dashed / 虚线 Suggested take profit level / 建议止盈位
Dashboard Colors / 仪表盘颜色
Status Color Meaning
BULL / 多头 🟢 Green / 绿色 Bullish trend / 看涨趋势
BEAR / 空头 🔴 Red / 红色 Bearish trend / 看跌趋势
NEUTRAL / 中性 ⚪ Gray / 灰色 No clear trend / 无明确趋势
BREAKOUT / 突破 🟡 Lime / 黄绿 Strong momentum / 强劲动能
HIGH VOL / 高成交量 🔵 Cyan / 青色 High volume confirmation / 高成交量确认
💡 交易策略建议 / Trading Strategy Tips
✅ High Probability Setups / 高概率设置
Trend Alignment / 趋势一致
Local Trend = BULL + MTF Trend = BULLISH / 本地多头 + 大周期看涨
Or: Local Trend = BEAR + MTF Trend = BEARISH / 或:本地空头 + 大周期看跌
Volume Confirmation / 成交量确认
H2/L2 signal appears with cyan volume bar / H2/L2信号伴随青色成交量柱
Volume > 20-period MA / 成交量 > 20期均线
Trendline Support / 趋势线支撑
H2 appears near bullish trendline / H2出现在看涨趋势线附近
L2 appears near bearish trendline / L2出现在看跌趋势线附近
BoS Confirmation / BoS确认
Recent BoS in same direction / 最近同方向的BoS
No CHoCH against the trade / 无逆向的CHoCH
❌ Avoid These Setups / 避免这些情况
Conflicting Trends / 趋势冲突
Local BULL but MTF BEARISH / 本地多头但大周期看跌
Market State = RANGE / 市场状态 = 区间
Low Volume / 低成交量
Order Flow shows "LOW VOL" / 订单流显示"低成交量"
Volume bar is red (below MA) / 成交量柱为红色(低于均线)
Against Trendline / 逆趋势线
Shorting at bullish trendline support / 在看涨趋势线支撑处做空
Buying at bearish trendline resistance / 在看跌趋势线阻力处做多
Recent CHoCH / 近期CHoCH
CHoCH appeared within 10 bars / 10根K线内出现CHoCH
Potential trend reversal zone / 潜在趋势反转区域
🔄 优化建议 / Optimization Tips
For Different Markets / 针对不同市场
Stocks / 股票
text
Swing Length: 5-8
MTF: 240 (4H) or D (Daily)
Risk %: 0.5-1.0%
Best on: SPY, QQQ, AAPL, TSLA
Forex / 外汇
text
Swing Length: 5
MTF: 240 (4H)
Risk %: 1.0-2.0%
Best on: EUR/USD, GBP/USD, USD/JPY
Use Volume Filter: OFF (Forex volume is unreliable)
Crypto / 加密货币
text
Swing Length: 3-5
MTF: 240 (4H)
Risk %: 0.5-1.0% (high volatility)
Max SL %: 2.0-3.0%
Best on: BTC, ETH, SOL
Futures / 期货
text
Swing Length: 5
MTF: 240 (4H)
Risk %: 1.0-1.5%
Best on: ES, NQ, RTY, CL
🤖 自动化集成 / Automation Integration
Python + IBKR API Example / Python + IBKR API示例
python
import requests
from ib_insync import *
def handle_tradingview_alert(alert_data):
"""
Receives webhook from TradingView alert
接收来自TradingView警报的webhook
"""
signal = alert_data # "H2 LONG" or "L2 SHORT"
ticker = alert_data # "SPY"
entry = alert_data # 690.45
stop_loss = alert_data # 687.38
take_profit = alert_data # 696.59
# Connect to IBKR
ib = IB()
ib.connect('127.0.0.1', 7497, clientId=1)
# Create contract
contract = Stock(ticker, 'SMART', 'USD')
# Calculate position size (1% risk)
account_value = ib.accountValues() .value
risk_amount = float(account_value) * 0.01
risk_per_share = abs(entry - stop_loss)
quantity = int(risk_amount / risk_per_share)
# Place order
if "LONG" in signal:
order = MarketOrder('BUY', quantity)
else:
order = MarketOrder('SELL', quantity)
trade = ib.placeOrder(contract, order)
# Set stop loss and take profit
ib.placeOrder(contract, StopOrder('SELL', quantity, stop_loss))
ib.placeOrder(contract, LimitOrder('SELL', quantity, take_profit))
ib.disconnect()
TradersPost Integration / TradersPost集成
Create TradersPost account / 创建TradersPost账户
Connect IBKR broker / 连接IBKR券商
Get Webhook URL / 获取Webhook网址
Add to TradingView alert / 添加到TradingView警报
Test with paper trading / 用模拟账户测试
📊 性能指标 / Performance Metrics
Expected Performance (Backtested) / 预期表现(回测)
Metric Value Notes
Win Rate / 胜率 60-75% With all filters enabled / 启用所有过滤器
Avg R:R / 平均盈亏比 1.8-2.2 Using 2R target / 使用2R目标
Max Drawdown / 最大回撤 8-12% 1% risk per trade / 每笔1%风险
Profit Factor / 盈利因子 1.8-2.5 Trend-following bias / 趋势跟随偏向
Best Markets / 最佳市场 Trending Avoid ranging markets / 避免区间市场
⚠️ Disclaimer: Past performance does not guarantee future results. Always test in paper trading first.
⚠️ 免责声明:历史表现不保证未来结果。请先在模拟账户测试。
🛠️ 故障排除 / Troubleshooting
Problem: No signals appearing / 问题:没有信号出现
Solution / 解决方案:
Disable MTF Filter temporarily / 暂时关闭大周期过滤
Disable Volume Filter / 关闭成交量过滤
Reduce Swing Length to 3 / 将摆动长度降至3
Check if market is ranging (no clear trend) / 检查市场是否处于区间(无明确趋势)
Problem: Too many signals / 问题:信号太多
Solution / 解决方案:
Enable MTF Filter / 启用大周期过滤
Enable Volume Filter / 启用成交量过滤
Increase Swing Length to 8 / 将摆动长度增至8
Enable Break Filter / 启用破位过滤
Problem: Alerts not working / 问题:警报不工作
Solution / 解决方案:
Check "Enable Alerts" is ON / 检查"启用警报"已开启
Verify alert condition is "Any alert() function call" / 确认警报条件为"Any alert() function call"
Check notification settings in TradingView / 检查TradingView通知设置
Test alert with "Test" button / 用"测试"按钮测试警报
Problem: SL/TP lines not showing / 问题:止损止盈线不显示
Solution / 解决方案:
Enable "Show SL/TP Labels" in settings / 在设置中启用"显示止损止盈标签"
Check if signal is recent (lines expire after 10 bars) / 检查信号是否近期(线条在10根K线后消失)
Zoom in to see lines more clearly / 放大图表以更清楚地看到线条
📚 常见问题 FAQ
Q1: Can I use this on any timeframe? / 可以在任何时间框架使用吗?
A: Yes, but works best on 5min-4H charts. Recommended: 15min (day trading), 1H (swing trading).
可以,但在5分钟-4小时图表效果最佳。推荐:15分钟(日内交易),1小时(波段交易)。
Q2: Do I need to enable all filters? / 需要启用所有过滤器吗?
A: No. Start with all enabled, then disable based on your risk tolerance. MTF filter is highly recommended.
不需要。从全部启用开始,然后根据风险承受能力禁用。强烈推荐MTF过滤器。
Q3: Can I automate this with IBKR? / 可以与IBKR自动化吗?
A: Yes! Use TradingView alerts + Webhook + Python script + IBKR API. See automation example above.
可以!使用TradingView警报 + Webhook + Python脚本 + IBKR API。参见上方自动化示例。
Q4: What's the difference between Strategy and Indicator version? / 策略版和指标版有什么区别?
A: Strategy = backtesting only. Indicator = real-time alerts + automation. Use both: backtest with strategy, trade with indicator.
策略版=仅回测。指标版=实时警报+自动化。两者结合使用:用策略版回测,用指标版交易。
Q5: Why does H2 appear but no trade? / 为什么出现H2但没有交易?
A: This is an indicator, not a strategy. You need to manually place orders or use automation via alerts.
这是指标,不是策略。你需要手动下单或通过警报使用自动化。
⚖️ 免责声明 / Disclaimer
IMPORTANT / 重要提示:
This indicator is for educational purposes only. Trading involves substantial risk of loss. Past performance does not guarantee future results. Always:
本指标仅供教育目的。交易涉及重大亏损风险。历史表现不保证未来结果。请务必:
✅ Test in paper trading first / 先在模拟账户测试
✅ Use proper risk management (1-2% max per trade) / 使用适当风险管理(每笔最多1-2%)
✅ Never risk more than you can afford to lose / 永远不要冒超出承受能力的风险
✅ Understand the strategy before using / 使用前理解策略原理
Not financial advice. Trade at your own risk.
非投资建议。交易风险自负。
Tactical Volume Matrix Divergence Pro🟦 Tactical Volume Matrix: Divergence Pro
Structured RSI Environment Intelligence & Tactical Volume Interpretation
Product Class: RSI Context Awareness, Tactical Volume Visualization, Divergence Intelligence
Designed For: Traders who value clarity, discipline, and responsible analytical support across Crypto, Forex, Stocks, Commodities, and Indices
🟦 1 Overview
Tactical Volume Matrix: Divergence Pro is engineered to give traders a disciplined, structured, and visually clear understanding of RSI environments, tactical volume behavior, and potential divergence conditions.
Rather than overwhelming users with aggressive alerts or exaggerated promises, the system focuses on calm clarity, organized interpretation, and educational guidance that supports responsible decision-making.
It is built for traders who prioritize understanding, situational awareness, and structured visual intelligence over “signal chasing.”
🟦 2 Core Concept
The indicator revolves around three analytical pillars:
RSI Environment Classification
Evaluates RSI conditions to identify potential bullish environments, potential bearish environments, or neutral states. This creates context instead of simple “yes/no” reactions.
Tactical Volume Visualization
Volume is visually expressed through tactical color logic, helping traders quickly observe whether participation strength aligns with RSI conditions.
Divergence Awareness System
Continuously scans for potential bullish and bearish RSI divergences, helping traders recognize early signs of possible momentum imbalance. These are awareness signals, not forced decisions.
🟦 3 Key Features
✔ Clear RSI environment interpretation
✔ Tactical volume color adaptation
✔ Matrix HUD tactical interface
✔ Bullish divergence awareness markers
✔ Bearish divergence awareness markers
✔ Optional candle-close confirmation
✔ Beginner-friendly presentation
✔ Designed for clarity and education
✔ Works on all markets and timeframes
This is a structured analytical tool, not a hype-based signal generator.
🟦 4 Customization & Flexibility
The indicator remains adaptable while preserving structural discipline.
RSI Controls
• Adjustable RSI period
• Adjustable RSI zone thresholds
Confirmation Behavior
• Instant mode
• Candle-close secured confirmation
Visual Customization
• Full tactical color controls
• Volume transparency tuning
• Matrix structure preserved for clarity
This allows each trader to personalize behavior while maintaining a clean, structured analytical flow.
🟦 5 Usage Guidance
Tactical Volume Matrix: Divergence Pro is designed as situational awareness support, not a standalone decision enforcer.
Recommended approach:
• Use RSI zone classification to understand environment bias
• Use tactical volume visualization to assess participation strength
• Use divergence awareness as a caution framework
• Always combine with your broader trading system, price structure, and disciplined execution
This results in more confident, measured, and controlled market interpretation.
🟦 6 Example Scenario
RSI enters above the bullish threshold.
The Matrix HUD reflects a bullish tactical environment. Light blue represents Rsi value trapped between oversold and overbought. Green color indicates overbought potential bullish scenario. Red signal of the Matrix represent the Rsi as oversold and potential bearish continuation.
Volume adapts visually to bullish strength.
Price continues higher, but RSI begins weakening while price forms new highs.
The tool marks a potential bearish divergence.
This does not force a sell.
Instead, it informs the trader, allowing time to reassess exposure, evaluate risk, and respond intelligently within their trading framework.
🟦 7 Settings Overview
RSI Logic Controls
Define environment sensitivity and structure.
Confirmation Mode
Choose between instant responsiveness or secured non-repainting confirmation.
Visual Controls
Personalize appearance while maintaining clarity and organizational consistency.
Every setting is designed to enhance understanding without sacrificing usability.
🟦 8 Conclusion
Tactical Volume Matrix: Divergence Pro focuses on clarity, discipline, and educational value.
It helps traders develop stronger situational awareness, recognize evolving market behavior, and understand momentum dynamics in a structured, visually intuitive way. Light blue
This is a tool for traders who appreciate thoughtful design, conservative communication, and analytical support that encourages responsible trading behavior.
🟦 9 Disclaimer
This indicator does not guarantee results and does not constitute financial advice.
Trading involves risk, and users remain fully responsible for trading decisions, execution, and capital management.
It is designed as an educational and informational support tool.
Session ModelSessionModel.pine - Indicator Overview
Purpose: A deterministic session model indicator that identifies trading sessions (Asian, London, NY), builds range levels from specific time windows, detects price action states (Range → Sweep → Displacement → Rebalance), and tracks divergences across 3 index symbols.
Key Feature: Uses a fixed internal timeframe (engineTF) for all decision logic, ensuring identical results regardless of what chart timeframe you're viewing.
---
HUD Display Rows - Explanations
1. SESSION
- Values: ASIAN | LONDON | NY | WAITING
- Meaning: Which trading session is currently active
- Why it matters: Each session uses different range references (ASIAN uses NY PM range, LONDON uses Asia range, NY uses London or ORB range)
2. STATE
- Values: Range | Sweep | Displacement | Rebalance
- Meaning: Current phase of the price action state machine
- Why it matters:
- Range: Building session extremes, awaiting price structure break
- Sweep: Price penetrated range boundary and closed back inside (rejection)
- Displacement: Directional move away from the range (trend confirmation)
- Rebalance: Retracement within displacement zone before resuming direction
3. CORRELATION (SMT)
- Values: Bull | Bear | Neutral
- Color: Green (Bull) | Red (Bear) | Orange (Neutral)
- Meaning: Smart Money divergence detection between US500, US100, US30
- Why it matters:
- Bull: At least one index makes new LOW but NOT all (weak shorts = bullish)
- Bear: At least one index makes new HIGH but NOT all (weak longs = bearish)
- Neutral: All indices move same direction OR insufficient window data
4. RANGE H (Range High)
- Values: Price level or "-" (not set)
- Color: Red (matching input.color rangeHighColor)
- Meaning: The highest price reached during the active range window
- Why it matters: Upper boundary for sweep detection and displacement measurement
5. RANGE L (Range Low)
- Values: Price level or "-" (not set)
- Color: Green (matching input.color rangeLowColor)
- Meaning: The lowest price reached during the active range window
- Why it matters: Lower boundary for sweep detection and displacement measurement
6. SWEEP
- Values: High | Low | "-" (not in sweep)
- Color: Yellow (if sweeping) | Gray (if not)
- Meaning: Direction of the current sweep if state == 2
- Why it matters:
- High: Price broke above range high and closed back below (bearish rejection)
- Low: Price broke below range low and closed back above (bullish rejection)
- Shows which boundary was "swept" and rejected
7. DISP DIR (Displacement Direction)
- Values: Bullish | Bearish | "-" (not displacing)
- Color: Green (Bullish) | Red (Bearish) | Gray (Not active)
- Meaning: Direction of the current displacement move (state == 3 or 4)
- Why it matters: Confirms directional bias during displacement phase
- Bullish: Price displaced above range after sweeping low
- Bearish: Price displaced below range after sweeping high
8. LEG 50% (Displacement 50% Retracement)
- Values: Price level or "-" (not set)
- Color: Cyan/Aqua
- Meaning: 50% retracement level between displacement origin and extreme
- Formula: displacementOrigin + (displacementExtreme - displacementOrigin) * 0.5
- Why it matters:
- Key retracement zone during displacement and rebalance phases
- Often acts as resistance (if bullish displacement) or support (if bearish)
- Used in rebalance trigger logic
---
How to Read the HUD Together
Example 1: Waiting for Entry
Session: NY
State: Range
Correlation: Neutral
Range H: 4050.25
Range L: 4040.50
Sweep: -
Disp Dir: -
Leg 50%: -
→ NY session active, building range. No sweep yet, no displacement. Waiting for price action.
Example 2: Sweep Detected
Session: NY
State: Sweep
Correlation: Neutral
Range H: 4050.25
Range L: 4040.50
Sweep: Low
Disp Dir: -
Leg 50%: -
→ Price swept below range low (rejected), now countdown timer running. Likely reversal coming.
Example 3: In Displacement
Session: NY
State: Displacement
Correlation: Bull
Range H: 4050.25
Range L: 4040.50
Sweep: Low
Disp Dir: Bullish
Leg 50%: 4060.75
→ After sweeping low, price displaced bullish. SMT confirming (bull divergence on indices). 50% at 4060.75 is key retracement zone.
HTF Bias Detector=== HUD DISPLAY ITEMS ===
1. **HTF (Timeframe Label)**
Shows the selected higher timeframe being monitored (e.g., "4h", "1D", "1W"). This confirms which timeframe data you're viewing above your current chart.
2. **Open, High, Low, Close (OHLC Values)**
Displays the candlestick values from the higher timeframe:
• Open: Entry price when the HTF candle opened
• High: Highest price reached during the HTF period
• Low: Lowest price during the HTF period
• Close: Most recent closing price on the HTF
Use these to identify key HTF price levels and support/resistance zones.
3. **TP (True Price Range)**
Shows the maximum price movement within the HTF candle. Calculated as: max(High - Low, |High - Previous Close|, |Low - Previous Close|)
Higher TP indicates greater volatility; lower TP suggests a consolidation period.
4. **ATR (Average True Range)**
Displays the average volatility over the last 14 HTF periods (customizable).
Use this to gauge typical price movement on the higher timeframe and set realistic profit targets and stop losses.
5. **MACD Value**
Shows the MACD momentum indicator (difference between 12 and 26-period EMAs) on the HTF.
Positive values suggest upward momentum; negative values indicate downward momentum on the higher timeframe.
6. **Signal Line**
The 9-period EMA of MACD on the HTF.
When MACD crosses above the signal line, it indicates bullish momentum confirmation on the higher timeframe.
7. **Histogram**
The difference between MACD and its Signal Line, visualized as bars.
Expanding bars show increasing momentum; shrinking bars show weakening momentum.
8. **Price Deviation**
Displays how far current price deviates from the HTF close in percentage terms.
Helps identify overbought/oversold conditions relative to the higher timeframe context.
---
=== HOW TO USE ===
• Select your chart timeframe (e.g., 5m, 15m, 1h)
• Set the HTF to a higher timeframe (e.g., 4h, 1D) in indicator settings
• Look for confluence: when both timeframes align, trades are stronger
• Use HTF volatility (ATR) to size positions appropriately
• Combine HTF MACD direction with your current chart setup for confirmation
---
=== SETTINGS ===
• HTF Period: Choose the higher timeframe to monitor
• ATR Length: Adjust sensitivity of volatility measurement (default: 14)
• MACD Settings: Customize fast/slow/signal periods for momentum analysis
CRSI-TSA Colored RSI Entry Exit signals PRO🟦 CRSI-TSA Colored RSI Entry Exit Signals PRO
Institutional Momentum Precision System
Product Category: Momentum Reversal & Continuation Execution Intelligence
Designed For: Traders who require disciplined RSI execution, zero-repaint confidence, and professional-grade reliability
🟦 PURPOSE & ROLE OF THE INDICATOR
CRSI-TSA Colored RSI Entry Exit Signals PRO is a next-generation RSI execution framework engineered to transform RSI from a basic momentum oscillator into a structured professional decision system.
Built on an enhanced adaptive RSI engine with institutional-grade confirmation logic, it identifies:
• High-probability reversal opportunities
• Structured continuation entries
• Reliable momentum transitions
• Action-ready entry confirmations
With strict candle-close validation and zero-repaint enforcement, signals remain locked, stable, and trustworthy — even in volatile environments.
Designed for scalpers, swing traders, crypto, forex, indices, stocks, and futures traders, CRSI-TSA PRO converts traditional RSI usage into disciplined market intelligence.
🟦 CORE CONCEPT & INTELLIGENCE MODEL
The indicator integrates three foundational pillars.
▶ Enhanced RSI Engine
A mathematically optimized RSI variant increases momentum sensitivity while maintaining structural smoothness, resulting in clearer directional bias and superior responsiveness compared to standard RSI.
▶ Smart Signal Crossover Logic
Signals are generated only when momentum alignment confirms strength, not noise. Internal confirmation logic ensures entries appear only at validated market decision points.
▶ Institutional-Grade Stability
Reliability is a core priority. CRSI-TSA PRO includes:
• Candle-close validation to prevent repaint
• Optional higher-timeframe RSI with freeze-lock protection
• Strict Institutional Mode providing 100% zero-repaint guarantee
Result: signals you can trust — not illusions.
🟦 FEATURE SET
CRSI-TSA PRO delivers professional capability through a disciplined feature suite:
✔ Zero-Repaint Confirmation Engine
✔ Optional Higher Timeframe RSI with Lock Protection
✔ Strict Institutional Mode ensuring absolute signal integrity
✔ Bull/Bear Momentum Ribbon visualization
✔ Fully colored RSI structure for clarity
✔ Clear Entry Circles for instant execution awareness
✔ Dynamic Overbought & Oversold Levels
✔ Optional Trend Filter for directional discipline
✔ Alert system included
✔ Lightweight and highly optimized performance
This is not a decorative RSI enhancement.
It is a serious execution instrument.
🟦 CUSTOMIZATION & FLEXIBILITY
CRSI-TSA PRO adapts naturally to your strategy and trading style.
You can configure:
• RSI length
• Smoothing method (EMA / SMA / RMA / TMA)
• Background visibility
• Ribbon color logic
• Trend filtering behavior
• Higher Timeframe Mode activation
• Strict Institutional Mode
• Overbought & Oversold thresholds
• Confirmation sensitivity
Every trader can tune the system to match their execution discipline.
🟦 PRACTICAL USAGE FRAMEWORK
This indicator is ideal for multiple trading methodologies.
▶ Reversal Trading
Identifies exhaustion zones and structured momentum shifts.
▶ Trend Trading
Supports disciplined pullback re-entries when used with trend filtering.
▶ Scalping
Provides fast, precise lower-timeframe momentum entries.
▶ Swing Trading
Delivers clear mid-term directional transitions.
Compatible with:
Crypto • Forex • Indices • Commodities • Stocks • Futures
🟦 PRACTICAL EXECUTION EXAMPLES
Bullish Execution Logic
1️⃣ Price above optional trend filter
2️⃣ RSI crosses above signal line
3️⃣ Green entry circle prints
4️⃣ Ribbon turns bullish
5️⃣ Execute according to strategy
Bearish Execution Logic
1️⃣ Price below optional trend filter
2️⃣ RSI crosses below signal
3️⃣ Red entry circle prints
4️⃣ Ribbon confirms bearish bias
5️⃣ Execute short logic
Interpretation remains simple. Execution remains disciplined.
🟦 SETTINGS OVERVIEW
Primary configurable controls include:
• RSI length
• Signal smoothing & method
• No-repaint confirmation mode
• Higher timeframe RSI + freeze lock
• Strict Institutional Mode
• Trend Filter / EMA Length
• Ribbon visualization controls
• Overbought / Oversold thresholds
• Alerts
All controls are structured for intuitive workflow inside TradingView.
🟦 CONCLUSION
CRSI-TSA Colored RSI Entry Exit Signals PRO is designed for traders who demand clarity, trust, and execution confidence.
Whether operating in fast environments or structured swing conditions, it provides:
• Actionable entries
• Visual intelligence
• Zero-repaint assurance
• Institutional-grade discipline
If you are tired of repainting indicators, unreliable RSI tools, and noisy signals, this is the professional upgrade.
🟦 DISCLAIMER
This indicator is for educational and analytical purposes only. It does not guarantee profits or provide financial advice. Trading involves risk, and users remain responsible for their decisions and risk management. Past performance does not guarantee future outcomes.
Financial Markets Composite Custom Index PRO🟦 Financial Markets Composite Custom Index (FMCCI PRO)
Professional Multi-Asset Index Construction Platform
Product Category: Institutional Analytics & Custom Index Engineering
Designed For: Traders, analysts, portfolio managers, and macro researchers who need true multi-asset structural insight
🟦 PURPOSE & ROLE OF THE INDICATOR
FMCCI PRO is an institutional-grade market composition framework that enables users to build real, mathematically accurate custom indices directly inside TradingView.
Unlike standard indicators that analyze a single instrument, FMCCI PRO constructs a fully weighted, normalized synthetic index by combining up to 20 assets into a single chart — following the same methodology used by global index institutions.
It is ideal for:
• Equity & sector analysis
• ETF replication
• Portfolio benchmarking
• Macro structural research
• Multi-asset strategy development
• Risk monitoring and divergence detection
Instead of inefficiently watching 10–20 charts, FMCCI PRO consolidates complex market behavior into one clear, transparent, professional index.
🟦 CORE CONCEPT & ENGINE DESIGN
FMCCI PRO is built on professional index-engineering principles.
▶ Composite Market Representation
It blends weighted OHLC price data from multiple instruments into a single synthetic instrument, revealing macro structure, momentum stability, and underlying strength that cannot be seen from isolated charts.
▶ Advanced Weighted Construction
Users can assign individual weighting allocations to create:
• Equal-weighted indices
• Market-cap style structures
• Sector baskets
• Custom multi-asset portfolios
• Strategic conviction weighting
All weights are automatically normalized to 100% — ensuring mathematical precision.
▶ Institutional Methodology
FMCCI PRO implements the same structural logic used by index providers:
1️⃣ Weighted OHLC computation
2️⃣ Base value normalization (default: 1000)
3️⃣ True candlestick price plotting
4️⃣ Multi-timeframe stability
5️⃣ Historical reliability suitable for analytical backtesting
You are not applying an indicator.
You are constructing a true professional index.
🟦 FEATURE SET
▶ Technical Capabilities
✔ Up to 20 assets
✔ Independent weight assignment
✔ Auto-normalization engine
✔ Institutional OHLC weighting model
✔ Base index scaling (default 1000, fully adjustable)
✔ True candlestick chart plotting
✔ Timeframe compatibility from 1-minute to Monthly
✔ Backtest-friendly architecture
▶ Market Coverage
Fully compatible with:
Stocks • ETFs • Global Indices • Commodities • Forex • Crypto • Bonds
▶ Transparency Dashboard
Built-in live composition panel shows:
• Active tickers
• Assigned weights (%)
• Normalized contribution (%)
Includes professional UI positioning flexibility.
▶ Professional Visual Themes
Multiple institutional visual modes including TradingView Standard and Black/White presentation.
🟦 CUSTOMIZATION & CONTROL
FMCCI PRO offers full construction flexibility while maintaining professional consistency.
▶ Instrument Construction Possibilities
Create:
• Sector indices
• Regional market composites
• Multi-asset strategy blends
• Crypto market indices
• Personal portfolio trackers
▶ Weighting Methodologies
• Equal weight
• Market-cap style logic
• Performance-centric allocation
• Risk-balanced models
• Fully custom discretionary allocation
▶ Visual Interface Control
• Theme selection
• Base value customization
• Show / Hide composition table
• Nine positioning zones
• Optimized text clarity
🟦 PRACTICAL USAGE APPLICATIONS
FMCCI PRO delivers strong value across professional analytical workflows:
• Market sentiment & structural breadth reading
• ETF & index replication comparisons
• Risk & divergence tracking
• System development confirmation
• Portfolio performance tracking
• Global macro environment monitoring
It consolidates information overload into objective clarity.
🟦 CONCLUSION
FMCCI PRO transforms TradingView into a professional-grade market analytics platform typically available only to banks, institutional desks, hedge funds, and asset managers.
If your work requires true insight into:
• Market structure
• Sector dynamics
• Portfolio health
• Macro sentiment
FMCCI PRO is not optional.
It is essential.
Stop analyzing 20 independent charts.
Start analyzing one professional market index.
🟦 DISCLAIMER
This tool is designed for educational and analytical purposes. It does not constitute financial advice and does not guarantee profit. Trading and investing involve risk. Users remain fully responsible for their decisions and risk management.
Decoy Long / Decoy ShortThis indicator plots a decoy bar. A Decoy bar can be a 'decoy long' or a 'decoy short' bar. A 'decoy long' is a bar that creates a higher high and higher low but ends up as a red bar. A 'decoy short' is a bar that creates a lower high and lower low but still ends up as a green bar.
Half Closing CandleHalf Closing Candle
This indicator identifies candles whose closing price falls within the upper or lower half of the candle range, measured from the midpoint relative to the candle’s open. It helps traders quickly spot candles that close toward the open or high/low extremes, providing insight into momentum, indecision, or potential reversal areas.
The script highlights these candles with a subtle, non-intrusive overlay directly on the chart, without altering candle wicks or overall price representation, ensuring visual clarity and professional presentation.
4H & Daily Previous Candle + Fibonacci + OTE# Multi-Timeframe OTE & Fibonacci Indicator (4H & Daily)
This Pine Script v5 indicator is designed for traders who utilize **Optimal Trade Entry (OTE)** zones and **Fibonacci retracements** based on higher timeframe market structures. It automatically identifies and plots key levels from the previous 4-hour and Daily candles to help find high-probability reversal zones.
## Key Features
### 1. Dual Timeframe OTE Zones
- **4H OTE Zone**: Automatically calculates and shades the Optimal Trade Entry area (default 61.8% - 78.6%) based on the previous 4-hour candle's range.
- **Daily OTE Zone**: Plots a secondary OTE zone based on the previous Daily candle, allowing for multi-timeframe confluence analysis.
- **Dynamic Adaptation**: The zones automatically flip based on whether the previous candle was bullish or bearish, ensuring you are always looking at the correct retracement levels.
### 2. Automated Market Structure
- **High/Low Tracking**: Plots clear horizontal lines for the previous 4H and Daily Highs and Lows.
- **Visual Distinction**: Daily levels are highlighted with thicker lines to distinguish them from 4H levels.
- **Price Labels**: Displays real-time price labels for all structural levels for quick reference.
### 3. Customizable Fibonacci Retracements
- **4H Fibonacci Levels**: Plots standard retracement levels (23.6%, 38.2%, 50%, 61.8%, 78.6%) for the 4H timeframe.
- **Fully Adjustable**: Users can input custom Fibonacci levels via the settings menu.
### 4. Real-Time Information Dashboard
- **Range Summary**: A clean table in the top-right corner displays the total pip/point range for both the previous 4H and Daily candles.
- **Clean UI**: All visual elements (colors, line widths, labels) can be toggled or customized to fit any chart theme.
## How to Use
This indicator is ideal for "Smart Money" or "ICT" style trading. Look for **confluence** where the 4H OTE zone overlaps with the Daily OTE zone or other key structural levels to identify high-precision entry points.
Threshold-Triggered Asset Rotation (TTAR) ModelJust an attempt at tracking historical rotational capital flows between assets
VWAP Engine Pro V3# VWAP Candles Pro V3 - Advanced Volume-Weighted Price Analysis
## 📊 Overview
**VWAP Candles Pro V3** is a comprehensive volume-weighted average price (VWAP) analysis system that transforms traditional VWAP indicators into an intelligent, multi-dimensional trading tool. Instead of treating VWAP as just another moving average, this indicator creates a complete analytical framework that combines volume-weighted candle visualization, statistical deviation bands, momentum indicators, and intelligent signal scoring to help you understand where money is flowing and how price is behaving relative to true fair value.
At its core, the indicator reconstructs price action through the lens of volume, showing you not just where price went or where it will go (NOT PREDICTIVE), but where the significant trading activity has occurred. It then layers on momentum analysis through Moving VWAPs (MVWAPs), identifies high-probability setups through multi-factor signal strength scoring, and provides real-time context through an intelligent information dashboard—all of which MAY help a trader take informed decisions and identify trading opportunities with proper risk and rewards.
## ✨ Key Features
* **Volume-Weighted Candle Reconstruction** - Visualizes price action weighted by trading volume, revealing where activity is concentrated
* **Intelligent Signal Strength System** - Multi-factor scoring engine that evaluates volume, body size, alignment, trend context, and momentum to quantify setup quality from 0-100
* **Dual MVWAP Momentum Framework** - Fast and Slow Moving VWAPs that identify momentum shifts and trend alignment in volume-weighted price flow
* **Multi-Layer Standard Deviation Bands** - Statistical zones (1σ, 2σ, 3σ) that identify extension, exhaustion, and mean-reversion opportunities
* **Session & Historical Context** - Tracks current session VWAP alongside previous session levels to identify key reference points
* **Adaptive Candle Coloring** - Visual strength grading system that fades weak signals and highlights high-conviction setups based on configurable thresholds
* **Comprehensive Signal Detection** - Automated identification of VWAP crosses, MVWAP momentum shifts, and statistical band rejections with strength filtering
* **Multi-Dimensional Information Dashboard** - Real-time display of signal strength, price zone, trend bias, distance metrics, and component breakdowns
## 🔧 How It Works
### 🎯 Volume-Weighted Candle Construction
The indicator analyzes each bar within your selected lookback period and reconstructs OHLC values based on volume distribution rather than simple time-based averaging.
The attempt is to create a "cleaner" view of price action that filters out low-volume noise and emphasizes areas where real money changed hands.
### 📈 MVWAP Momentum System
Moving VWAPs (MVWAPs) apply moving average smoothing to the VWAP itself, creating momentum indicators specifically designed for volume-weighted analysis:
* **Fast MVWAP** (default 9 periods) - Captures immediate shifts in volume-weighted momentum
* **Slow MVWAP** (default 20 periods) - Establishes longer-term trend direction
* **Crossover Logic** - When Fast crosses above Slow, volume-weighted momentum is bullish; when it crosses below, momentum is bearish
* **Trend Alignment Filter** - Used as a component in the signal strength system to ensure trades align with dominant volume flow
### 🎯 Signal Strength Intelligence
Rather than treating every VWAP cross or setup equally, the indicator employs a sophisticated multi-factor scoring system that evaluates:
* **Volume Intensity** - Compares current bar volume to recent average to gauge commitment level
* **Candle Body Size** - Measures decisiveness of the move relative to recent action
* **Price-VWAP Alignment** - Confirms regular price candles align with volume-weighted candles
* **Trend Context** - Verifies setup agrees with broader VWAP trend and MVWAP positioning
* **Consecutive Momentum** - Rewards sustained directional moves that show follow-through
* **Statistical Distance Bonus** - Adds points when price is near extreme deviations (2σ+)
Each factor is weighted according to your preferences, producing a final strength score from 0-100. This allows you to:
* Filter out weak, low-conviction setups automatically
* Focus attention on trades with multiple confirming factors
* Visualize signal quality through adaptive candle transparency and color intensity
* Set custom strength thresholds for alerts and labels
### 📊 Statistical Deviation Framework
The indicator calculates and displays three layers of standard deviation bands around VWAP:
* **1σ Bands** - Normal trading range where most price action occurs
* **2σ Bands** - Extended zones suggesting overextension; mean-reversion setups often emerge here
* **3σ Bands** - Extreme statistical outliers indicating exhaustion or major moves; high-probability reversal areas
Price behavior at these bands is automatically monitored for rejection patterns, with signals fired when price reaches extreme deviations but fails to sustain, suggesting institutional profit-taking or absorption.
### 🎨 Adaptive Visual Feedback
The indicator provides multiple layers of visual intelligence:
* **Gradient Candle Coloring** - Transparency adjusts based on signal strength, so weak setups appear faded while strong ones are vivid
* **Strength Labels** - Display actual numeric strength scores on qualifying candles with detailed component breakdowns in tooltips
* **Signal Markers** - Automatically place labeled alerts for VWAP crosses, MVWAP momentum shifts, and band rejections
* **Information Dashboard** - Real-time table showing current strength, VWAP level, distance metrics, zone classification, trend bias, and component scores
### 📍 Zone Classification System
Price is continuously classified into zones relative to VWAP:
* **At VWAP (Fair Value)** - Within ±0.2σ, considered equilibrium
* **Slightly Above/Below** - 0.2–1σ, normal activity zone
* **Above/Below VWAP** - 1–2σ, extended but not yet extreme
* **Extended High/Low** - 2–3σ, overextension zone with reversion probability
* **Extreme High/Low** - 3+σ, statistical outliers with high mean-reversion probability
This classification, combined with MVWAP positioning and trend context, produces the overall **Bias** reading (Strong Bull, Bullish, Bearish, Strong Bear) displayed in the dashboard.
## 💡 How to Use
### 🎯 Identifying High-Probability Setups
Switch on **Enable Strength Scoring** and set your **Min Strength to Color** threshold (typically 50-70). This causes:
* Weak signals to appear gray/faded, allowing you to ignore them
* Medium signals to show standard coloring for context
* Strong signals (70+) to appear bold and receive strength labels
Focus your trading attention on setups that show:
* Strength scores above your threshold
* Alignment between price candles and VWAP candles
* Confirmation from MVWAP positioning (Fast above/below Slow matching signal direction)
* Appropriate zone classification (e.g., not buying at 3σ high)
### 📊 Using MVWAP for Trend Context
The MVWAP crossover system provides institutional momentum context:
* **When Fast MVWAP > Slow MVWAP**: Look primarily for long entries on pullbacks to VWAP or lower bands
* **When Fast MVWAP < Slow MVWAP**: Look primarily for short entries on rallies to VWAP or upper bands
* **On MVWAP Crossovers**: Consider these as early warning signals of momentum regime change; wait for price confirmation before trading
Enable **Show MVWAP Crossover Signals** to receive labeled alerts when momentum shifts occur.
### 🎯 Mean-Reversion vs Continuation
The indicator supports both mean-reversion and continuation strategies:
**Mean-Reversion Trading:**
* Watch for price reaching 2σ or 3σ bands
* Look for rejection signals (high/low beyond band but close back inside)
* Confirm with opposing signal strength (bearish at upper bands, bullish at lower bands)
* Target return to VWAP or opposite band
**Continuation Trading:**
* Wait for VWAP crosses with strong signal scores (70+)
* Confirm MVWAP alignment supports the direction
* Look for consecutive candles building momentum
* Use bands as initial targets and VWAP as trailing stop reference
### 📍 Session & Anchor Settings
Choose your **Anchor Period** based on trading style:
* **Session** - Best for intraday trading; resets VWAP each trading session
* **Week** - For swing trading; tracks weekly institutional levels
* **Month** - For position trading; long-term volume-weighted fair value
* **Rolling** - Adaptive moving window; useful for continuous markets or crypto
Enable **Show Previous VWAP** and **Show Previous VWAP High/Low** to see institutional reference levels from prior periods—these often act as support/resistance.
### 🎨 Dashboard Configuration
The **Info Table** provides real-time intelligence:
* **Strength** - Current signal quality (0-100) with classification
* **VWAP** - Current volume-weighted fair value level
* **Distance** - Points and percentage away from VWAP
* **SD Dist** - Statistical distance in standard deviations
* **Zone** - Current price classification relative to VWAP
* **Bias** - Overall trend/momentum assessment
* **MVWAP** - Fast/Slow relationship status
* **Strength Breakdown** - Component scores showing what's driving current strength
Position and customize the table to match your chart layout preferences.
### ⚙️ Signal Filtering
Use **Only Show Strong Signals** to filter labels to setups meeting your **Strong Signal Threshold** (typically 70). This prevents chart clutter while ensuring you see genuinely high-probability opportunities.
Adjust the **Strength Weights** to match your trading style:
* Increase **Volume Weight** if you trade breakouts and strong moves
* Increase **Trend Alignment** if you prefer trading with established momentum
* Increase **Consecutive Candles** if you favor follow-through setups
* Balance weights equally for a general-purpose scoring approach
### 🔔 Alerts
Set up automated alerts for:
* Strong VWAP crosses (above/below your strength threshold)
* MVWAP momentum crossovers (bullish/bearish)
* Very strong signals (80+ strength)
* 3σ band rejections (extreme mean-reversion opportunities)
## ⚙️ Configuration Overview
### VWAP Settings
* **Anchor Period** - Session/Week/Month/Rolling basis for VWAP calculation
* **Rolling Length** - Lookback bars when using Rolling anchor
* **Session Time** - Defines trading session hours (default IST market hours)
* **Use Regular Session Only** - Filter calculations to regular trading hours
### VWAP Candles
* **Show VWAP Candles** - Toggle volume-weighted candle display
* **Candle Smoothing Length** - Lookback for constructing VW candles
* **Color Settings** - Bullish/bearish/weak candle colors and wick color
### Signal Strength
* **Enable Strength Scoring** - Activate intelligent signal evaluation
* **Min Strength to Color** - Threshold for displaying candle colors (weak signals appear gray)
* **Show Strength Labels** - Display numeric scores on strong candles
* **Strong Signal Threshold** - Defines "strong" vs "moderate" signals
* **Strength Weights** - Configure relative importance of each scoring component
### VWAP Line & Bands
* **Show VWAP Line** - Display main VWAP level with color/width options
* **Show SD Bands** - Toggle standard deviation band display
* **SD Multipliers** - Adjust 1σ, 2σ, 3σ band distances
* **Fill Between Bands** - Gradient fill for visual band identification
### MVWAP Settings
* **Show Fast/Slow MVWAP** - Toggle momentum indicator displays
* **MVWAP Lengths** - Period settings for Fast (9) and Slow (20) MVWAPs
* **Show Crossover Signals** - Label MVWAP momentum shifts
### Signals & Labels
* **Show VWAP Cross Signals** - Mark price crosses of VWAP line
* **Show Band Rejection Signals** - Identify mean-reversion setups at bands
* **Only Show Strong Signals** - Filter labels by strength threshold
* **Label Sizes & Colors** - Customize appearance of all labels and signals
### Info Table
* **Show Info Table** - Display real-time dashboard
* **Table Position/Size** - Layout and text size settings
* **Color Scheme** - Comprehensive color customization for table components
---
## ⚠️ Disclaimer
This indicator is provided for **educational and informational purposes only**. It does not constitute financial advice, investment recommendations, or a solicitation to buy or sell any financial instruments.
All trading involves risk. Past performance of any strategy, indicator, or system does not guarantee future results. You are fully responsible for your own trading decisions, which should be based on your personal financial situation, risk tolerance, investment objectives, and independent analysis.
The signal strength scores, zone classifications, and automated alerts are analytical tools designed to assist in decision-making—they are not trade recommendations. Always conduct your own due diligence and consider consulting with a qualified financial advisor before making investment decisions.
Conditions GateNon-directional indicator gating risk and permissions based purely on seasonal calendar patterns and mechanical event window detection without price analysis.
---
Key Insights from HUD
What to watch:
- State: Primary output for permission decisions
- SeasonPrior vs State: Difference shows event impact
- EventWindow + ActiveEvent: Explains why State changed (seasonal vs event-driven)
- RiskMult: Direct risk cap applicable to position sizing
- Runner / MarketMaker: Binary permission gates (green = allowed, red = blocked)
- ForcedState: If not "—", an override is active (useful for manual testing)
Color Logic:
- Green: FAVOURABLE state or allowed (1.0 risk, YES permissions)
- Orange: NEUTRAL state or event window active (0.5 risk, NO permissions)
- Red: UNFAVOURABLE state or blocked (0.25 risk, NO permissions)
- Gray: Neutral info (inactive event, no override)
Paavvrri Nifty Gainers/Losers DashboardPaavvrri® Nifty Gainers/Losers Dashboard
Introduced an advanced Nifty Gainers/Losers Dashboard with top gainer & loser highlights, page-wise Nifty 50 support, Prev Close / Open based % change, customizable row limits, flexible table positioning & text size, and improved sorting for faster market breadth analysis. 🚀
Paavvrri Sectors Returns Dashboard📊 Paavvrri® Sectors Returns Dashboard — Update Release Notes
Enhanced sector returns dashboard with multi-timeframe performance, auto-sorted rankings, and Top Gainer / Loser highlights. Added custom table positioning & text sizing, improved visuals, and optimized performance. 🚀
KP Support ResistneSummary for TradingView Publication: Demand and Supply Indicator
The Demand and Supply Indicator automatically identifies and plots high-probability supply and demand zones on your chart, eliminating the need for manual zone drawing. These zones represent areas where institutional buying or selling previously caused significant price movements, making them critical for predicting future price reactions and reversals.
Key Features
Automated Zone Detection: The indicator uses price action analysis to identify where aggressive buying creates demand zones (support) and aggressive selling creates supply zones (resistance)
Multi-Timeframe Support: Works seamlessly across all timeframes — from 1-minute scalping to daily swing trading — providing consistent zone visibility regardless of chart view
Zone Quality Scoring: Evaluates and scores each zone based on strength, freshness, and institutional activity to highlight the most reliable trading opportunities
Visual Clarity: Supply zones appear above price (typically red), demand zones below price (typically green), with customizable colors and line thickness to match your charting style
Alert System: Set up notifications for when price approaches or interacts with key zones, ensuring you never miss potential trade setups
Trading Applications
This indicator excels in multiple trading strategies:
Identifying reversal points at untested zones
Planning trend continuation entries during pullbacks to demand (uptrends) or rallies to supply (downtrends)
Setting logical stop-loss levels below demand or above supply zones
Combining with other indicators like RSI, MACD, or volume for enhanced confirmation
Why Use This Indicator
Supply and demand zones frequently mark strong turning points due to institutional order flow, often detecting reversals earlier than lagging indicators. The indicator works across all markets including forex, crypto, stocks, and futures, providing clear entry/exit points and natural risk-defined trade structures.
Ultimate Auto Trendlines - No Lag, No repaint, & High Accuracy Non-Repainting Auto Trendlines by Pivots – The cleanest way to draw real trendlines automatically!
Connects confirmed pivot highs/lows → solid, angled trendlines (no flat junk)
Filters by minimum angle → only meaningful trends
Shows recent pivots with "R" / "S" labels (optional)
Long extension to the right – see future zones instantly
Perfect for SPY, QQQ, NASDAQ daily swings – 85%+ touch rate in backtests
Why traders love it:
• No repaint – safe for live trading & alerts
• Keeps chart clean – only recent levels
• Angle filter = no useless horizontal lines
• Works on any timeframe – daily/4H/1H killer
Add to chart now → see the difference immediately!
How to Use the "Auto Trendlines by Pivots" Indicator Effectively
This indicator automatically draws clean, non-repainting trendlines by connecting confirmed pivot highs and lows, helping you visualize dynamic trend direction, support/resistance from swings, and potential reversal or continuation zones. It's especially powerful on daily and 4H charts for SPY, QQQ, NASDAQ stocks, forex majors, and crypto.
Quick Start Guide
Add to Chart
Open TradingView → Pine Editor → paste the script → Save → Add to Chart.
Best symbols/timeframes: SPY/QQQ/ES1! daily, 4H, or 1H.
Key Settings (Recommended Starting Values)
Pivot Left/Right Bars: 5/5 (default) → balanced strength.
Increase to 8–10 for stronger, fewer lines (less noise, higher accuracy).
Decrease to 3–4 for more frequent lines (scalping/intraday).
Max Trendlines: 8 (default) → keeps chart readable.
Lower to 4–6 for minimalism; raise to 12–15 for more history.
Min Trend Angle: 15° (default) → filters out flat/weak lines.
Increase to 20–25° for steeper trends only (very clean chart).
Decrease to 10° to see shallower trends.
Line Extension: 100–200 bars → long enough to project forward zones.
Show Labels: On → "R" (red) and "S" (green) marks pivot points.
Turn off for ultra-clean look.
How to Read & Trade with It
Uptrend (Bullish): Greenish upward-sloping lines connecting higher lows → act as dynamic support.
→ Buy pullbacks to the trendline + confirmation (e.g., RSI oversold, volume spike, candlestick reversal).
→ Target next resistance line or previous pivot high.
Downtrend (Bearish): Reddish downward-sloping lines connecting lower highs → act as dynamic resistance.
→ Short rejections at trendline + confirmation (e.g., RSI overbought, bearish engulfing).
→ Target next support line or previous pivot low.
Range / Sideways: Mixed criss-crossing lines → avoid trading or use horizontal S/R levels (when trendlines flatten).
Confluence = where multiple lines cluster → highest-probability zones.
Breakouts: When price closes decisively through a trendline → signals potential trend change or acceleration.
Wait for retest of broken line as new support/resistance.
Pro Trading Tips (High-Probability Setups)
Confluence is King: Trade when price reaches a trendline + horizontal S/R level from pivots (yellow zones if you add confluence logic).
Timeframe Alignment: Use daily lines for bias, 4H/1H for entries.
Confirmation Tools:
RSI(2) < 10 near support (long) or > 90 near resistance (short)
Volume > 20-period SMA on touch
Candlestick patterns (hammer, engulfing) at line
Risk Management:
Stop below support trendline (longs) or above resistance trendline (shorts)
Target 1.5–3R (next major level or opposite line)
Avoid trades if VIX > 25–30 (high volatility kills accuracy)
Best Markets: Strong trends (bullish SPY/QQQ 2020–2025) → 70–85% bounce rate at lines.
Common Mistakes to Avoid
Over-trading flat markets → wait for clear trend angle.
Ignoring angle filter → flat lines are noise, not real trends.
Not zooming out → always check higher timeframe (weekly) for major lines.
Performance Insight
Backtests on SPY daily (2010–2025): ~80% price interaction (touch/bounce) at trendlines in trending periods.
Combine with RSI(2) or EMA50 → win rate often >75% on pullback entries.
Dynamic Support & Resistance Lines📊 Dynamic Support & Resistance Lines - AI-Based Price Level Detection
Overview:
This advanced indicator intelligently identifies and tracks key support and resistance levels using a proprietary algorithm that analyzes price action patterns. The indicator dynamically updates multiple layers of support and resistance lines, providing traders with critical decision points for entries, exits, and stop-loss placement. With integrated smart alerts, you'll never miss important price movements at critical levels.
Key Features:
🎯 Multi-Layer Support & Resistance System:
Primary trend lines (Blue/Red) connecting global extremes with recent key levels
Secondary resistance lines from last 5 and 10 significant price points
Secondary support lines from last 5 and 10 significant price points
All lines extend to the right for forward-looking analysis
Dynamic updates as new key levels form in real-time
⚙️ Highly Customizable:
Adjustable timeframe analysis (works on any timeframe)
Control the number of key levels tracked (10-50 bars, default: 30)
Customize colors, styles (Solid/Dashed/Dotted), and widths for all line types
Toggle visibility of primary trend lines
Separate styling controls for each resistance and support layer
Individual color coding for clear visual distinction
📈 Smart Algorithm:
Automatically identifies significant price levels based on volatility expansion patterns
Tracks up to 50 historical key levels for comprehensive analysis
Primary trend lines connect absolute extremes with the highest/lowest from the last 3 key levels
Secondary lines provide multiple layers of potential support/resistance zones
Continuously adapts to market conditions and price structure changes
🔔 Intelligent Alert System:
New Key Level Alerts: Instant notification when the algorithm identifies a new significant price level
Resistance Touch Alerts: Get alerted when price approaches or touches any resistance line (Resistance 1, Resistance 2, or Upper Trend Line)
Support Touch Alerts: Receive notifications when price approaches or touches any support line (Support 1, Support 2, or Lower Trend Line)
Breakout/Breakdown Alerts: Critical alerts when price breaks above upper trend line or below lower trend line
Adjustable Touch Sensitivity: Fine-tune alert triggers with customizable percentage threshold (0.01% - 1.0%)
Anti-Spam Protection: Built-in 3-bar cooldown system prevents excessive duplicate alerts
Fully Customizable: Enable or disable specific alert types based on your trading strategy and preferences
Multi-Notification Support: Works with TradingView's popup, email, SMS, and webhook notifications
🎨 Visual Clarity:
Color-coded lines for easy distinction between resistance (orange tones) and support (green tones)
Clean, professional appearance suitable for all chart styles
Minimal clutter - only shows the essential support and resistance lines
Distraction-free interface for focused trading decisions
Professional color scheme that works in both light and dark modes
How to Use:
Initial Setup:
Timeframe Selection: Choose your preferred timeframe for analysis (current chart timeframe by default)
Number of Key Levels: Adjust how many historical levels to track (default: 30, range: 10-50)
Customize Appearance: Modify colors, line styles, and widths to match your trading setup and chart theme
Understanding the Lines:
Blue line: Upper primary trend line connecting the highest global extreme with the strongest recent resistance
Red line: Lower primary trend line connecting the lowest global extreme with the strongest recent support
Orange lines (Resistance):
Solid orange: Resistance level from the last 5 key levels
Semi-transparent orange: Resistance level from the last 10 key levels
Green lines (Support):
Solid green: Support level from the last 5 key levels
Semi-transparent green: Support level from the last 10 key levels
Setting Up Alerts:
Click the "Create Alert" button (clock icon) on your TradingView chart
In the Condition dropdown, select "Dynamic Support & Resistance Lines"
In the indicator settings, enable your desired alert types:
Toggle "Enable Alerts" ON
Select which alert types you want (New Level, Resistance Touch, Support Touch, Breakout/Breakdown)
Adjust "Touch Sensitivity %" to control how close price needs to be (default: 0.1%)
Choose your notification method (Popup, Email, SMS, Webhook)
Set alert frequency to "Once Per Bar Close" for best results
Name your alert and click "Create"
Trading Applications:
For Day Traders:
Use on 5-min to 15-min timeframes for intraday support/resistance
Set alerts for resistance/support touches to catch reversals
Watch for breakout alerts to enter momentum trades
Use multiple timeframe analysis for confluence
For Swing Traders:
Apply on daily or 4-hour timeframes for multi-day levels
Monitor trend line breaks for position entries
Use resistance/support zones for profit targets
Enable new level alerts to update your trading plan
For Position Traders:
Implement on weekly timeframes for long-term structure
Track major support/resistance for portfolio decisions
Use primary trend lines for overall market direction
Set breakout alerts for major trend changes
Best Practices:
Use on multiple timeframes simultaneously for confluence confirmation
Combine with volume analysis to validate support/resistance strength
Watch for price reactions at line intersections (highest probability zones)
Pay special attention when multiple lines converge in the same area
Lines extending right project future support/resistance zones - use for planning
Set alerts before key trading sessions to catch early moves
Adjust touch sensitivity based on asset volatility (higher for crypto, lower for forex)
Review alert history to identify which levels produce best trading opportunities
Technical Details:
Maximum 500 lines for optimal performance and chart clarity
Real-time updates as new key levels form - no repainting
Works on all instruments (stocks, forex, crypto, commodities, indices)
Compatible with all timeframes from 1-minute to monthly
Transparent, semi-transparent, and solid line style options
Efficient algorithm designed for minimal CPU usage
Alert system processes on confirmed bar close only (no false signals)
What Makes This Different:
Unlike static support/resistance indicators, this tool dynamically adapts to changing market structure
Proprietary algorithm identifies high-probability levels that traditional indicators miss
Multi-layer approach provides both immediate and historical context
Smart alert system saves screen time while keeping you informed
Professional-grade tool suitable for both beginners and advanced traders
⚠️ RISK DISCLAIMER:
This indicator is provided for educational and informational purposes only. Trading stocks, futures, forex, options, and cryptocurrencies involves substantial risk of loss and is not suitable for every investor. Past performance is not indicative of future results.
USE AT YOUR OWN RISK. The creator of this indicator assumes no responsibility for any financial losses incurred through the use of this tool. Support and resistance levels are analytical tools and do not guarantee future price movements. Always conduct your own research, implement proper risk management, and consult with a licensed financial advisor before making trading decisions.
No Financial Advice: This indicator does not constitute financial, investment, or trading advice. All trading decisions are solely your responsibility.
📬 GET STARTED:
For Trial Access:
Interested in trying this indicator before committing? Send me a direct message through TradingView with "Trial Request" in the subject line, and I'll provide you with temporary access details and setup guidance.
Need Support?
Questions about setup or configuration
Alert troubleshooting
Custom settings recommendations
General indicator inquiries
Contact: Send a direct message via TradingView for questions, support, feature requests, or trial access.
💡 Pro Tips:
Start Simple: Begin with default settings and only one or two alert types enabled
Optimize Sensitivity: Test different touch sensitivity values for your specific asset and timeframe
Layer Your Analysis: Combine this with volume indicators and price action for best results
Document Performance: Keep track of which alert types produce the best trading opportunities for you
Multiple Timeframe Setup: Run the indicator on 2-3 different timeframes for comprehensive market view
Alert Management: Use specific alert names (e.g., "SPY 5m Resistance Touch") for quick identification






















