LibbyThis script is a refined chopzone index script with additional functionalities.
it produce buy and sell signals as directed by chopzone
How to use:
BUY: Look for buy signal on the chart and proceed to place buy or long orders
SELL: Look for sell on the chart and proceed to place sell or short orders.
NOTE: i recommend you set alerts and make it activate on bar close to avoid fadeouts and sideways.
expect sideways market and multiple opposite signals within a short time during news or when economic data are released.
as always, no indicator is failproof, it is recommended to always pair more than 1 indicator for more clarity and practice safe trading.
Buscar en scripts para "纳斯达克指数期货cfd"
OR Box + Full Key Levels (Cash Hours • Strict v5)This is the final working script, just choose from the drop down to adjkust for Europeon / US markets
Advanced MA Slope Tool(by ExpertCBCD)New version of MA Slope, originally made by ExpertCBCD.Now you can choose many indicators then compare and confirm their slope. Thanks for ExpertCBCD, hope you can use it like the bow of Robinhood to defeat big banks and take money in the market.
MACD Josh MACD Study — Visual Crossover Tags
Overview:
This script displays MACD signals in a clear, visual way by showing:
Histogram = EMA(Fast) − EMA(Slow)
Signal = EMA(Histogram, Signal Length)
It adds labels and arrows to help you see crossover events between the Histogram and the Signal line more easily.
⚠️ Disclaimer: This tool is for educational and research purposes only. It is not financial advice or an investment recommendation. Past performance does not guarantee future results. Users should make their own decisions and manage risk responsibly.
Features
Central Zero Line with Signal and Histogram plots
Optional labels/arrows to highlight Histogram–Signal crossovers
Alerts for crossover and crossunder events, integrated with TradingView’s alert system
Standard adjustable inputs: Fast EMA, Slow EMA, Signal EMA
How to Interpret (for study only)
When the Histogram crosses above the Signal, a visual label/arrow marks a positive MACD event
When the Histogram crosses below the Signal, a visual label/arrow marks a negative MACD event
The “BUY/SELL” labels are visual study tags only — they do not represent trade instructions or recommendations
Responsible Usage Tips
Test across multiple timeframes and different assets
Combine with higher-timeframe trend, support/resistance, or volume for confirmation
Use alerts with caution, and always test in a demo environment first
Technical Notes
The script does not use future data and does not repaint signals once bars are closed
Results depend on market conditions and may vary across assets and timeframes
License & Credits
Written in Pine Script® v5 for TradingView
The indicator name shown on chart is for labeling purposes only and carries no implication of advice or solicitation
Initial Balance SMC-V3
Initial Balance SMC-V3 – An Advanced Mean Reversion Indicator for Index Markets
The Initial Balance SMC-V3 indicator is the result of continuous refinement in mean reversion trading, with a specific focus on index markets (such as DAX, NASDAQ, S&P 500, etc.). Designed for high-liquidity environments with controlled volatility, it excels at precisely identifying value zones and statistical reversal points within market structure.
🔁 Mean Reversion at Its Core
At the heart of this indicator lies a robust mean reversion logic: rather than chasing extreme breakouts, it seeks returns toward equilibrium levels after impulsive moves. This makes it especially effective in ranging markets or corrective phases within broader trends—situations where many traders get caught in false breakouts.
🎯 Signals Require Breakout + Confirmation
Signals are never generated impulsively. Instead, they require a clear sequence of confirmations:
Break of a key level (e.g., Initial Balance high/low or an SMC zone);
Price re-entry into the range accompanied by a crossover of customizable moving averages (SMA, EMA, HULL, TEMA, etc.);
RSI filter to avoid entries in overbought/oversold extremes;
Volatility filter (ATR) to skip low-volatility, choppy conditions.
This multi-layered approach drastically reduces false signals and significantly improves trade quality.
📊 Built-in Multi-Timeframe Analysis
The indicator features native multi-timeframe logic:
H1 / 15-minute charts: for structural analysis and identification of Supply & Demand zones (SMC);
M1 / M5 charts: for precise trade execution, with targeted entries and dynamic risk management.
SMC zones are calculated on higher timeframes (e.g., 4H) to ensure structural reliability, while actual trade signals trigger on lower timeframes for maximum precision.
⚙️ Advanced Customization
Full choice of moving average type (SMA, EMA, WMA, RMA, VWMA, HULL, TEMA, ZLEMA, etc.);
Revenge Trading logic: after a stop loss is hit without reaching the 1:1 breakeven level, the indicator automatically prepares for a counter-trade;
Dynamic ATR-based stop loss with customizable multiplier;
Session filters to trade only during optimal liquidity windows (e.g., European session).
🧠 Who Is It For?
This indicator is ideal for traders who:
Primarily trade indices;
Prefer mean reversion strategies over pure trend-following;
Seek a disciplined, rule-based system with multiple confluence filters;
Use a multi-timeframe approach to separate analysis from execution.
In short: Initial Balance SMC-V3 is more than just an indicator—it’s a complete trading framework for mean reversion on index markets, where every signal emerges from a confluence of statistical, structural, and temporal factors.
Happy trading! 📈
Hosoda’s CloudsMany investors aim to develop trading systems with a high win rate, mistakenly associating it with substantial profits. In reality, high returns are typically achieved through greater exposure to market trends, which inevitably lowers the win rate due to increased risk and more volatile conditions.
The system I present, called “Hosoda’s Clouds” in honor of Goichi Hosoda , the creator of the Ichimoku Kinko Hyo indicator, is likely one of the first profitable systems many traders will encounter. Designed to capture trends, it performs best in markets with clear directional movements and is less suitable for range-bound markets like Forex, which often exhibit lateral price action.
This system is not recommended for low timeframes, such as minute charts, due to the random and emotionally driven nature of price movements in those periods. For a deeper exploration of this topic, I recommend reading my article “Timeframe is Everything”, which discusses the critical importance of selecting the appropriate timeframe.
I suggest testing and applying the “Hosoda’s Clouds” strategy on assets with a strong trending nature and a proven track record of performance. Ideal markets include Tesla (1-hour, 4-hour, and daily), BTC/USDT (daily), SPY (daily), and XAU/USD (daily), as these have consistently shown clear directional trends over time.
Commissions and Configuration
Commissions can be adjusted in the system’s settings to suit individual needs. For evaluating the effectiveness of “Hosoda’s Clouds,” I’ve used a standard commission of $1 per order as a baseline, though this can be modified in the code to accommodate different brokers or preferences.
The margin per trade is set to $1,000 by default, but users are encouraged to experiment with different margin settings in the configuration to match their trading style.
Rules of the “Hosoda’s Clouds” System (Bullish Strategy)
This strategy is designed to capture trending movements in bullish markets using the Ichimoku Kinko Hyo indicator. The rules are as follows:
Long Entry: A long position is triggered when the Tenkan-sen crosses above the Kijun-sen below the Ichimoku cloud, identifying potential reversals or bounces in a bearish context.
Stop Loss (SL): Placed at the low of the candle 12 bars prior to the entry candle. This setting has proven optimal in my tests, but it can be adjusted in the code based on risk tolerance.
Take Profit (TP): The position is closed when the Tenkan-sen crosses below the bottom of the Ichimoku cloud (the minimum of Senkou Span A and Senkou Span B).
Notes on the Code
margin_long=0: Ideal for strategies requiring a fixed position size, particularly useful for manual entries or testing with a constant capital allocation.
margin_long=100: Recommended for high-frequency systems where positions are closed quickly, simulating gradual growth based on realized profits and reflecting real-world broker constraints.
System Performance
The following performance metrics account for $1 per order commissions and were tested on the specified assets and timeframes:
Tesla (H1)
Trades: 148
Win Rate: 29.05%
Period: Jan 2, 2014 – Jan 6, 2020 (+172%)
Simple Annual Growth Rate: +34.3%
Trades: 130
Win Rate: 30.77%
Period: Jan 2, 2020 – Sep 24, 2025 (+858.90%)
Simple Annual Growth Rate: +150.7%
Tesla (H4)
Trades: 102
Win Rate: 32.35%
Period: Jun 29, 2010 – Sep 24, 2025 (+11,356.36%)
Simple Annual Growth Rate: +758.5%
Tesla (Daily)
Trades: 56
Win Rate: 35.71%
Period: Jun 29, 2010 – Sep 24, 2025 (+3,166.64%)
Simple Annual Growth Rate: +211.5%
BTC/USDT (Daily)
Trades: 44
Win Rate: 31.82%
Period: Sep 30, 2017 – Sep 24, 2025 (+2,592.23%)
Simple Annual Growth Rate: +324.8%
SPY (Daily)
Trades: 81
Win Rate: 37.04%
Period: Jan 23, 1993 – Sep 24, 2025 (+476.90%)
Simple Annual Growth Rate: +14.3%
XAU/USD (Daily)
Trades: 216
Win Rate: 32.87%
Period: Jan 6, 1833 – Sep 24, 2025 (+5,241.73%)
Simple Annual Growth Rate: +27.1%
SPX (Daily)
Trades: 217
Win Rate: 38.25%
Period: Feb 1, 1871 – Sep 24, 2025 (+16,791.02%)
Simple Annual Growth Rate: +108.1%
Conclusion
With the “ Hosoda’s Clouds ” strategy, I aim to showcase the potential of technical analysis to generate consistent profits in trending markets, challenging recent doubts about its effectiveness. My goal is for this system to serve as both a practical tool for traders and a source of inspiration for the trading community I deeply respect. I hope it encourages the creation of new strategies, fosters creativity in technical analysis, and empowers traders to approach the markets with confidence and discipline.
MC WITH ALERTS DINESH SETHIYAManipulation Candle (MC): A candlestick that initially suggests price movement in one direction but then reverses, manipulating liquidity and closing in the opposite direction.
Types of MCs:
Bullish MC: Takes out the previous candle's low, reverses, takes out the previous candle's high, and closes above it.
Bearish MC: Takes out the previous candle's high, reverses, takes out the previous candle's low, and closes below it.
Ideal MC Characteristic: The rejection wick (bottom wick for bullish MC, top wick for bearish MC) should be larger than the directional wick.
Stochastic 6TF by jjuiiStochastic 6TF by J is a Multi-Timeframe (MTF) Stochastic indicator
that displays %K values from up to 6 different timeframes
in a single window. This helps traders analyze momentum
across short, medium, and long-term perspectives simultaneously.
Features:
- Supports 6 customizable timeframes (e.g., 5m, 15m, 1h, 4h, 1D, 1W)
- Option to show/hide each timeframe line
- Standard reference levels (20 / 50 / 80) with background shading
- Smoothed %K for clearer visualization
Best for:
- Cross-timeframe momentum analysis
- Spotting aligned Overbought / Oversold signals
- Confirming market trends and timing entries/exits
-------------------------------------------------------------
Stochastic 6TF by J คืออินดิเคเตอร์ Stochastic Multi Timeframe (MTF)
ที่สามารถแสดงค่า %K จากหลายกรอบเวลา (สูงสุด 6 TF)
ไว้ในหน้าต่างเดียว ช่วยให้นักเทรดมองเห็นโมเมนตัมของราคา
ทั้งระยะสั้น กลาง และยาว พร้อมกัน
คุณสมบัติ:
- เลือกกรอบเวลาได้ 6 ชุด (เช่น 5m, 15m, 1h, 4h, 1D, 1W)
- สามารถเปิด/ปิดการแสดงผลแต่ละ TF ได้
- มีเส้นแนวรับ/แนวต้านมาตรฐาน (20 / 50 / 80)
- ใช้เส้น %K ที่ถูกปรับค่าเฉลี่ยให้เรียบขึ้นเพื่ออ่านง่าย
เหมาะสำหรับ:
- การดูโมเมนตัมข้ามกรอบเวลา
- หาจังหวะ Overbought / Oversold ที่สอดคล้องกันหลาย TF
- ใช้ยืนยันแนวโน้มและหาจังหวะเข้า-ออกอย่างแม่นยำมากขึ้น
Key Levels: Open & Midday🔹 Opening Candle (9:30 AM New York Time)
Plots the high and low of the first 5-minute candle after the market opens.
🔹 12:30 PM Candle (3 hours after open)
Plots the high and low of the candle formed exactly 3 hours after the market opens.
These levels are useful for:
Identifying support/resistance zones.
Creating breakout or reversal strategies.
Tracking intraday momentum shifts.
📌 Important Notes:
Designed for 5-minute charts.
Make sure your chart is set to New York time (exchange time) for accurate levels.
Happy Trading!
Adaptive Market Regime Identifier [LuciTech]What it Does:
AMRI visually identifies and categorizes the market into six primary regimes directly on your chart using a color-coded background. These regimes are:
-Strong Bull Trend: Characterized by robust upward momentum and low volatility.
-Weak Bull Trend: Indicates upward momentum with less conviction or higher volatility.
-Strong Bear Trend: Defined by powerful downward momentum and low volatility.
-Weak Bear Trend: Suggests downward momentum with less force or increased volatility.
-Consolidation: Periods of low volatility and sideways price action.
-Volatile Chop: High volatility without clear directional bias, often seen during transitions or indecision.
By clearly delineating these states, AMRI helps traders quickly grasp the overarching market context, enabling them to apply strategies best suited for the current conditions (e.g., trend-following in strong trends, range-bound strategies in consolidation, or caution in volatile chop).
How it Works (The Adaptive Edge)
AMRI achieves its adaptive classification by continuously analyzing three core market dimensions, with each component dynamically adjusting to current market conditions:
1.Adaptive Moving Average (KAMA): The indicator utilizes the Kaufman Adaptive Moving Average (KAMA) to gauge trend direction and strength. KAMA is unique because it adjusts its smoothing period based on market efficiency (noise vs. direction). In trending markets, it becomes more responsive, while in choppy markets, it smooths out noise, providing a more reliable trend signal than static moving averages.
2.Adaptive Average True Range (ATR): Volatility is measured using an adaptive version of the Average True Range. Similar to KAMA, this ATR dynamically adjusts its sensitivity to reflect real-time changes in market volatility. This helps AMRI differentiate between calm, ranging markets and highly volatile, directional moves or chaotic periods.
3.Normalized Slope Analysis: The slope of the KAMA is normalized against the Adaptive ATR. This normalization provides a robust measure of trend strength that is relative to the current market volatility, making the thresholds for strong and weak trends more meaningful across different instruments and timeframes.
These adaptive components work in concert to provide a nuanced and responsive classification of the market regime, minimizing lag and reducing false signals often associated with fixed-parameter indicators.
Key Features & Originality:
-Dynamic Regime Classification: AMRI stands out by not just indicating trend or range, but by classifying the type of market regime, offering a higher-level analytical framework. This is a meta-indicator that provides context for all other trading tools.
-Adaptive Core Metrics: The use of KAMA and an Adaptive ATR ensures that the indicator remains relevant and responsive across diverse market conditions, automatically adjusting to changes in volatility and trend efficiency. This self-adjusting nature is a significant advantage over indicators with static lookback periods.
-Visual Clarity: The color-coded background provides an immediate, at-a-glance understanding of the current market regime, reducing cognitive load and allowing for quicker decision-making.
-Contextual Trading: By identifying the prevailing regime, AMRI empowers traders to select and apply strategies that are most effective for that specific environment, helping to avoid costly mistakes of using a trend-following strategy in a ranging market, or vice-versa.
-Originality: While components like KAMA and ATR are known, their adaptive integration into a comprehensive, multi-regime classification system, combined with normalized slope analysis for trend strength, offers a novel approach to market analysis not commonly found in publicly available indicators.
Multi-Symbol Volatility Tracker with Range DetectionMulti-Symbol Volatility Tracker with Range Detection
🎯 Main Purpose:
This indicator is specifically designed for scalpers to quickly identify symbols with high volatility that are currently in ranging conditions . It helps you spot the perfect opportunities for buying at lows and selling at highs repeatedly within the same trading session.
📊 Table Data Explanation:
The indicator displays a comprehensive table with 5 columns for 4 major symbols (GOLD, SILVER, NASDAQ, SP500):
SYMBOL: The trading instrument being analyzed
VOLATILITY: Color-coded volatility levels (NORMAL/HIGH/EXTREME) based on ATR values
Last Candle %: The percentage range of the most recent 5-minute candle
Last 5 Candle Avg %: Average percentage range over the last 5 candles
RANGE: Shows "YES" (blue) or "NO" (gray) indicating if the symbol is currently ranging
🔍 How to Identify Trading Opportunities:
Look for symbols that combine these characteristics:
RANGE column shows "YES" (highlighted in blue) - This means the symbol is moving sideways, perfect for range trading
VOLATILITY shows "HIGH" or "EXTREME" - Ensures there's enough movement for profitable scalping
Higher candlestick percentages - Indicates larger candle ranges, meaning more profit potential per trade
⚡ Optimal Usage:
Best Timeframe: Works optimally on 5-minute charts where the ranging patterns are most reliable for scalping
Trading Strategy: When you find a symbol with "YES" in the RANGE column, switch to that symbol and look for opportunities to buy near the lows and sell near the highs of the ranging pattern
Risk Management: Higher volatility symbols offer more profit potential but require tighter risk management
⚙️ Settings:
ATR Length: Adjusts the Average True Range calculation period (default: 14)
Range Sensitivity: Fine-tune range detection sensitivity (0.1-2.0, lower = more sensitive)
💡 Pro Tips:
The indicator updates in real-time, so monitor for symbols switching from "NO" to "YES" in the RANGE column
Combine HIGH/EXTREME volatility with RANGE: YES for the most profitable scalping setups
Use the candlestick percentages to gauge potential profit per trade - higher percentages mean more movement
The algorithm uses advanced statistical analysis including standard deviation, linear regression slopes, and range efficiency to accurately detect ranging conditions
Perfect for day traders and scalpers who want to quickly identify which symbols offer the best ranging opportunities for consistent buy-low, sell-high strategies.
15m-REMA Breakout [XAU + XAG] – MusDescription
This indicator is designed to capture high-conviction breakout opportunities on gold (XAUUSD) and silver (XAGUSD) using a zero-lag Recursive EMA (REMA) as the trend backbone, combined with volatility and body-strength filters.
It is tuned for the 15-minute timeframe, where metals often show sharp moves after consolidation.
How it works
Zero-Lag REMA → Smooth but responsive trend detection.
ATR-based Breakout Filter → Confirms that price clears recent highs/lows with volatility support.
Body Size & Buffer Rules → Blocks weak candles and fake breaks near range levels.
Trend Filter (optional) → Only allows signals in the dominant REMA slope direction.
De-duplication Logic → Avoids repeated signals on consecutive bars.
Signals
Green ▲ (Bull Breakout): Candle breaks above recent range with strength.
Red ▼ (Bear Breakout): Candle breaks below recent range with strength.
Optional Pivots: Micro pivot highs/lows for additional context.
REMA Line: Plotted in teal (uptrend) or orange (downtrend).
Inputs / Customisation
REMA period & sensitivity.
ATR lookback and multiplier.
Minimum candle body (%).
Buffer multiplier to reduce noise.
Trend filter on/off.
Toggle arrows & pivot markers.
Best Practice
Apply on XAUUSD / XAGUSD, 15-minute charts.
Use as a confirmation tool, not a standalone entry system.
Combine with higher-timeframe bias or your own risk management.
Alerts
Built-in alert conditions let you set automated notifications for bullish or bearish breakouts at bar close.
Disclaimer
This script is for educational purposes only. It does not constitute financial advice. Always test on demo before applying to live trading.
XAU/USD Day Trading Alarm 15M (v6) • EMA-RSI-MACD + ATR TP/SLDay Trading Alarm for XAU/USD – 15M (EMA-RSI-MACD + ATR TP/SL)
This indicator is specifically designed for gold (XAU/USD) trading on the 15-minute timeframe.
It combines EMA trend filtering, RSI overbought/oversold signals, and MACD momentum confirmation to generate reliable entry points.
Additionally, it automatically calculates ATR-based Stop Loss (SL) and Take Profit (TP) levels according to your chosen Risk/Reward ratio, displaying them directly on the chart.
HUNT_line [dr.forexy]_strategy3“This strategy is optimized for the 5-minute timeframe. Please follow the setup carefully and do not use it independently without understanding the signals. Always test in a demo account first.”
BUY/SELL ✅ Fibonacci FULL TP 1-2-3-4 SL ATRUSE SL ATR
الفكرة العامة
تحديد الاتجاه (Bias):
يعتمد على المتوسط المتحرك 20 (SMA).
يقارن موقع الإغلاق داخل نطاق الشمعة.
يستخدم مؤشر انحراف (Linear Regression) كعامل إضافي.
إذا تحققت الشروط = إشارة شراء قوية (Bullish) أو بيع قوية (Bearish).
مستويات الدخول (ENTRY):
يتم حسابها من مناطق الـ OB (أعلى/أدنى سعر خلال عدد معين من الشموع).
يتم ضبطها باستخدام نسبة فيبوناتشي (افتراضياً 0.382).
وقف الخسارة (SL):
إما باستخدام OB (ذيل الشمعة السابقة). غير مستخسن
أو باستخدام مسافة ثابتة/ATR (حسب الإعدادات). مستخسن
أهداف الأرباح (TP1–TP4):
محسوبة كنِسب مضاعفة من قيمة المخاطرة (Risk).
مستويات TP مضبوطة بقيم فيبوناتشي (افتراضياً 1.15 – 1.85 – 2.618 – 3.618).
الرسم على الشارت:
يرسم خطوط أفقية لكل من: ENTRY – SL – TP1–TP4.
يضيف Labels ملونة (BUY باللون الأخضر، SELL بالبرتقالي).
الجدول (Table):
يظهر في الزاوية العلوية اليمنى.
يحتوي على تفاصيل الصفقة (النوع، ENTRY، SL، TP1–TP4).
التنبيهات (Alerts):
يصدر تنبيه عند ظهور إشارة شراء قوية أو بيع قوية.
General Idea
Bias Detection:
Based on the 20-period Simple Moving Average (SMA).
Compares the closing price position within the candle range.
Uses Linear Regression as an additional factor.
If conditions are met = strong Buy (Bullish) or strong Sell (Bearish) signal.
Entry Levels (ENTRY):
Calculated from OB zones (highest/lowest price within a certain number of candles).
Adjusted using Fibonacci ratio (default 0.382).
Stop Loss (SL):
Either using OB (previous candle’s wick) – not recommended.
Or using fixed distance/ATR (based on settings) – recommended.
Take Profit Targets (TP1–TP4):
Calculated as multiples of the risk value.
TP levels aligned with Fibonacci ratios (default 1.15 – 1.85 – 2.618 – 3.618).
Chart Drawing:
Draws horizontal lines for ENTRY – SL – TP1–TP4.
Adds colored labels (BUY in green, SELL in orange).
Table:
Displayed in the top-right corner.
Contains trade details (type, ENTRY, SL, TP1–TP4).
Alerts:
Sends an alert when a strong Buy or strong Sell signal appears.
Summary
This indicator:
Detects market bias (BUY/SELL).
Automatically calculates entry, stop loss, and targets.
Displays them on the chart with clear lines and colors.
Organizes the values inside a structured table.
Sends an alert with every new entry signal.
cd_bsl_ssl_CxGeneral
This indicator is designed to show the levels where stop-loss orders from buyers and sellers are most likely clustered.
Swing levels formed on the aligned higher time frame (HTF) are displayed on the chart as Buy Side Liquidity (BSL) and Sell Side Liquidity (SSL).
________________________________________
Menu & Usage
• HTF Selection:
o In “Auto” mode, the HTF is selected automatically.
o In “Manual” mode, the user can choose the HTF themselves.
• Bar Control:
By adjusting the bar control value, the user can define the number of bars required for a valid BSL or SSL sweep.
This option helps keep the number of alerts under control.
________________________________________
I’d be happy to hear your feedback and suggestions.
Happy trading! 🎉
DST-Aware Session Highlighter (1 or 2 Sessions + VLines)Custom Session and Time Zone Plotter with Daylight saving time adjuster.
Jaxon007 Trend Cloud StrategyThe Jaxon007 Trend Cloud Strategy is a trend-following trading system that combines custom moving averages with ATR-based volatility zones to generate high-quality entries and exits. It is designed for traders who want to visualize trend strength and participate in retests during strong directional moves.
🔍 How It Works:
Trend Direction is determined by comparing a fast and slow moving average.
The selected moving average is adjusted using the Average True Range (ATR) to create dynamic volatility bands.
When price crosses above the adjusted band in an uptrend, it triggers a long entry.
When price crosses below the band in a downtrend, it triggers a short entry.
Exits occur when the trend reverses or when price crosses the band in the opposite direction.
⚙ Customizable Parameters:
MA Length – base moving average period.
MA Type – choose from SMA, EMA, SMMA (RMA), WMA, or VWMA.
ATR Length – fixed at 200 (can be made adjustable if needed).
Cloud Colors – customizable for uptrend and downtrend visuals.
Visual Features:
Trend Cloud formed between the base MA and ATR-adjusted band.
Buy/Sell Labels appear at valid entry points.
Clear color-coded lines for quick trend recognition.
Institutional Levels (CNN) - [PhenLabs]📊Institutional Levels (Convolutional Neural Network-inspired)
Version : PineScript™v6
📌Description
The CNN-IL Institutional Levels indicator represents a breakthrough in automated zone detection technology, combining convolutional neural network principles with advanced statistical modeling. This sophisticated tool identifies high-probability institutional trading zones by analyzing pivot patterns, volume dynamics, and price behavior using machine learning algorithms.
The indicator employs a proprietary 9-factor logistic regression model that calculates real-time reaction probabilities for each detected zone. By incorporating CNN-inspired filtering techniques and dynamic zone management, it provides traders with unprecedented accuracy in identifying where institutional money is likely to react to price action.
🚀Points of Innovation
● CNN-Inspired Pivot Analysis - Advanced binning system using convolutional neural network principles for superior pattern recognition
● Real-Time Probability Engine - Live reaction probability calculations using 9-factor logistic regression model
● Dynamic Zone Intelligence - Automatic zone merging using Intersection over Union (IoU) algorithms
● Volume-Weighted Scoring - Time-of-day volume Z-score analysis for enhanced zone strength assessment
● Adaptive Decay System - Intelligent zone lifecycle management based on touch frequency and recency
● Multi-Filter Architecture - Optional gradient, smoothing, and Difference of Gaussians (DoG) convolution filters
🔧Core Components
● Pivot Detection Engine - Advanced pivot identification with configurable left/right bars and ATR-normalized strength calculations
● Neural Network Binning - Price level clustering using CNN-inspired algorithms with ATR-based bin sizing
● Logistic Regression Model - 9-factor probability calculation including distance, width, volume, VWAP deviation, and trend analysis
● Zone Management System - Intelligent creation, merging, and decay algorithms for optimal zone lifecycle control
● Visualization Layer - Dynamic line drawing with opacity-based scoring and optional zone fills
🔥Key Features
● High-Probability Zone Detection - Automatically identifies institutional levels with reaction probabilities above configurable thresholds
● Real-Time Probability Scoring - Live calculation of zone reaction likelihood using advanced statistical modeling
● Session-Aware Analysis - Optional filtering to specific trading sessions for enhanced accuracy during active market hours
● Customizable Parameters - Full control over lookback periods, zone sensitivity, merge thresholds, and probability models
● Performance Optimized - Efficient processing with controlled update frequencies and pivot processing limits
● Non-Repainting Mode - Strict mode available for backtesting accuracy and live trading reliability
🎨Visualization
● Dynamic Zone Lines - Color-coded support and resistance levels with opacity reflecting zone strength and confidence scores
● Probability Labels - Real-time display of reaction probabilities, touch counts, and historical hit rates for active zones
● Zone Fills - Optional semi-transparent zone highlighting for enhanced visual clarity and immediate pattern recognition
● Adaptive Styling - Automatic color and opacity adjustments based on zone scoring and statistical significance
📖Usage Guidelines
● Lookback Bars - Default 500, Range 100-1000, Controls the historical data window for pivot analysis and zone calculation
● Pivot Left/Right - Default 3, Range 1-10, Defines the pivot detection sensitivity and confirmation requirements
● Bin Size ATR units - Default 0.25, Range 0.1-2.0, Controls price level clustering granularity for zone creation
● Base Zone Half-Width ATR units - Default 0.25, Range 0.1-1.0, Sets the minimum zone width in ATR units for institutional level boundaries
● Zone Merge IoU Threshold - Default 0.5, Range 0.1-0.9, Intersection over Union threshold for automatic zone merging algorithms
● Max Active Zones - Default 5, Range 3-20, Maximum number of zones displayed simultaneously to prevent chart clutter
● Probability Threshold for Labels - Default 0.6, Range 0.3-0.9, Minimum reaction probability required for zone label display and alerts
● Distance Weight w1 - Controls influence of price distance from zone center on reaction probability
● Width Weight w2 - Adjusts impact of zone width on probability calculations
● Volume Weight w3 - Modifies volume Z-score influence on zone strength assessment
● VWAP Weight w4 - Controls VWAP deviation impact on institutional level significance
● Touch Count Weight w5 - Adjusts influence of historical zone interactions on probability scoring
● Hit Rate Weight w6 - Controls prior success rate impact on future reaction likelihood predictions
● Wick Penetration Weight w7 - Modifies wick penetration analysis influence on probability calculations
● Trend Weight w8 - Adjusts trend context impact using ADX analysis for directional bias assessment
✅Best Use Cases
● Swing Trading Entries - Enter positions at high-probability institutional zones with 60%+ reaction scores
● Scalping Opportunities - Quick entries and exits around frequently tested institutional levels
● Risk Management - Use zones as dynamic stop-loss and take-profit levels based on institutional behavior
● Market Structure Analysis - Identify key institutional levels that define current market structure and sentiment
● Confluence Trading - Combine with other technical indicators for high-probability trade setups
● Session-Based Strategies - Focus analysis during high-volume sessions for maximum effectiveness
⚠️Limitations
● Historical Pattern Dependency - Algorithm effectiveness relies on historical patterns that may not repeat in changing market conditions
● Computational Intensity - Complex calculations may impact chart performance on lower-end devices or with multiple indicators
● Probability Estimates - Reaction probabilities are statistical estimates and do not guarantee actual market outcomes
● Session Sensitivity - Performance may vary significantly between different market sessions and volatility regimes
● Parameter Sensitivity - Results can be highly dependent on input parameters requiring optimization for different instruments
💡What Makes This Unique
● CNN Architecture - First indicator to apply convolutional neural network principles to institutional-level detection
● Real-Time ML Scoring - Live machine learning probability calculations for each zone interaction
● Advanced Zone Management - Sophisticated algorithms for zone lifecycle management and automatic optimization
● Statistical Rigor - Comprehensive 9-factor logistic regression model with extensive backtesting validation
● Performance Optimization - Efficient processing algorithms designed for real-time trading applications
🔬How It Works
● Multi-timeframe pivot identification - Uses configurable sensitivity parameters for advanced pivot detection
● ATR-normalized strength calculations - Standardizes pivot significance across different volatility regimes
● Volume Z-score integration - Enhanced pivot weighting based on time-of-day volume patterns
● Price level clustering - Neural network binning algorithms with ATR-based sizing for zone creation
● Recency decay applications - Weights recent pivots more heavily than historical data for relevance
● Statistical filtering - Eliminates low-significance price levels and reduces market noise
● Dynamic zone generation - Creates zones from statistically significant pivot clusters with minimum support thresholds
● IoU-based merging algorithms - Combines overlapping zones while maintaining accuracy using Intersection over Union
● Adaptive decay systems - Automatic removal of outdated or low-performing zones for optimal performance
● 9-factor logistic regression - Incorporates distance, width, volume, VWAP, touch history, and trend analysis
● Real-time scoring updates - Zone interaction calculations with configurable threshold filtering
● Optional CNN filters - Gradient detection, smoothing, and Difference of Gaussians processing for enhanced accuracy
💡Note
This indicator represents advanced quantitative analysis and should be used by traders familiar with statistical modeling concepts. The probability scores are mathematical estimates based on historical patterns and should be combined with proper risk management and additional technical analysis for optimal trading decisions.
BB 3-Step Signals (Setup→Trigger→Target) + RSI + MACDHow it uses Upper, Middle, Lower together
Lower/Upper define the Setup with stretch + momentum agreement.
Middle is the Trigger (confirmation) via a proper cross through the basis.
Opposite Outer Band is the Target validation. If not reached within maxBarsSeq, the sequence expires.