OPEN-SOURCE SCRIPT
تم تحديثه Automated Institutional Levels + Weekly (v6 Published)

Overview:
Tired of spending your pre-market hours manually plotting higher timeframe levels and session boundaries every single morning?This lightweight, comprehensive script automates the tedious technical analysis process for futures, forex, and equities traders. It dynamically projects institutional key levels, daily and weekly ranges, macro market structure, and session extremes directly onto your execution charts—all with zero lag and zero diagonal chart slopes.Unlike 95% of the multi-timeframe indicators available on TradingView, this script is fully Bar Replay Optimized. By utilizing custom lookahead configurations and historical indexing, the levels render flawlessly during backtesting sessions, allowing you to practice historical trading setups without data leak distortions or misalignments.
Key Features:
Recommended Setup for Day Traders:
Tired of spending your pre-market hours manually plotting higher timeframe levels and session boundaries every single morning?This lightweight, comprehensive script automates the tedious technical analysis process for futures, forex, and equities traders. It dynamically projects institutional key levels, daily and weekly ranges, macro market structure, and session extremes directly onto your execution charts—all with zero lag and zero diagonal chart slopes.Unlike 95% of the multi-timeframe indicators available on TradingView, this script is fully Bar Replay Optimized. By utilizing custom lookahead configurations and historical indexing, the levels render flawlessly during backtesting sessions, allowing you to practice historical trading setups without data leak distortions or misalignments.
Key Features:
- Previous Week High / Low (PWH / PWL):Automatically locks and projects the completed extremes of the prior week. It holds perfectly flat, ignoring the current developing week's price data to give you macro expansion targets.
- Previous Day High / Low (PDH / PDL):Tracks the definitive 24-hour highs and lows, shifting dynamically at the daily session crossover with precise stair-step tracking.
- London Session Extremes (LH / LL):Isolates the exact high and low wicks formed during the standalone London hours (03:00 AM to 08:00 AM EST). The script automatically projects these liquidity pools forward into the New York AM and PM sessions—perfect for identifying Judas Swing traps and session liquidity sweeps.
- Automated 4H Structural BOS Ceiling:Mechanically scans the 4-hour timeframe for true 3-candle swing high peaks. It projects the macro structural lower high forward onto your lower timeframes (1m, 5m, 15m), maintaining a clear look at macro bearish resistance until a true 4H candle body close invalidates it.
- Dynamic Confluence Label Stacking:Keeps your charts clean. When multiple high-timeframe zones collapse onto the exact same price tick, the individual labels disappear and convert into an eye-catching CONFLUENCE or TRIPLE WALL box on your price scale, alerting you to a high-probability institutional reversal wall.
Recommended Setup for Day Traders:
- Load the script onto an intraday execution chart (such as the 1-minute or 5-minute charts).
- Use a clean continuous futures contract ticker (like ES1! or NQ1!).
- Pair this framework with a Fair Value Gap (FVG) or Order Block indicator. Look for fast 09:30 AM EST New York opening volume to sweep the white London High/Low or blue PDH/PDL lines right beneath the orange 4H BOS wall before hunting A+ displacement triggers.
ملاحظات الأخبار
What's New in this Update:- Integrated Daily 50% Equilibrium (EQ) Line:Completely removed the need to manually drag a Fibonacci Retracement tool every morning to find your Premium and Discount execution parameters. The script now automatically takes the Previous Day High (PDH) and Previous Day Low (PDL), divides the mathematical range perfectly by two, and projects a clean, horizontal white stair-step midline directly across your intraday chart workspace.
- Dynamic "Daily 50% EQ" Sidebar Label:Added a dedicated dark navy structural tracking badge that sits on the far right price axis margin. This allows you to instantly visualize whether the active session price action or New York opening volume is trading at a premium (above the EQ midline) or a discount wholesale price (below the EQ midline).
- Pine Script v6 Optimization & Bug Fixes:Fully upgraded the core architecture to comply with the strict parameters of the native TradingView Pine Script v6 compiler. Fixed historical index variable errors and corrected undeclared color identifier bugs to guarantee a flawless, error-free save and execution.
ملاحظات الأخبار
v3.0 Release Notes: Critical Replay Offset Hotfix (PWH/PWL Stabilization)What's New in this Patch:Fixed Weekly Level Data Leakage:Resolved a critical lookahead bug where the Previous Week High (PWH) and Previous Week Low (PWL) levels were prematurely updating to track the current active week's high/low as soon as the Monday session kicked off. This patch permanently locks the historical indexing variables, forcing the purple levels to stay perfectly flat and frozen across the entire active week based strictly on the completed extremes of the prior week.Restored Intraday Bar Replay Accuracy:Re-engineered the daily, weekly, and 4H structural lookback queries. The script now behaves flawlessly inside the historical Bar Replay tool, ensuring your baseline liquidity pools do not shift or warp while backtesting past data sessions.Optimized Label Alignment:Fine-tuned the dynamic text label positions on the right-hand price axis margin to prevent layout overlapping when the Daily 50% Equilibrium midline sits in close proximity to the London session ranges.ملاحظات الأخبار
Bug fixملاحظات الأخبار
Bug fix.ملاحظات الأخبار
Bug fix.ملاحظات الأخبار
Bug fixملاحظات الأخبار
Bug fixنص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.