RW1 Wicket 1.03 (Customer Pro)RW1 Wicket — Z3 Zone + Breakout (Backtest & CRV Compare)
Description:
RW1 Wicket automatically highlights Z3 Fibonacci zones based on an internal swing structure (P2/P3) and displays RW1 long setups with a SET trigger and breakout entry. It also includes a compact stats box to evaluate performance and compare multiple fixed R:R targets (CRV 1.5 / 2.0 / 3.0), optionally separated into Confirmed and Early results.
Features:
Z3 Fibonacci zone box (with optional ZigZag / P2-P3 labels)
SET marker when price triggers inside the zone
RW1 breakout entry above the zone top
Optional Early/Risk entry mode (if enabled)
On-chart stats box: trades, W/L, win rate, and CRV comparison (best CRV by EV)
Disclaimer:
This script is for analysis and educational purposes only and is not financial advice. Backtest results are not a guarantee of future performance. Internal swing parameters are intentionally not exposed as tuning inputs.
Chỉ báo và chiến lược
HIGHS & LOWS RusosTITLE: HIGHS & LOWS Rusos - Multi-Timeframe Liquidity Engine
DESCRIPTION:
HIGHS & LOWS Rusos is a professional-grade structural liquidity tool designed to identify key Highs and Lows across multiple timeframes with a smart filtering engine. This script focuses on high-probability liquidity zones while maintaining a clean and organized chart.
Key Features:
Hierarchical Priority: The script uses a "Waterfall" logic. Monthly levels take priority over Weekly, Weekly over Daily, and so on. If levels from different timeframes overlap (within a tick margin), only the higher-order level is displayed to avoid clutter.
Multi-Timeframe Tracking: Automatically plots Monthly (HM/LM), Weekly (HS/LS), Daily (HD/LD), and 4-Hour (H4h/L4h) structural points.
Precision Anchoring: Lines are drawn from the exact start of their respective cycles (Month, Week, Day), providing accurate historical context.
Dynamic Mitigation: When price touches a level, the line is cut and marked with an "×". You can fully customize the opacity of these mitigated levels in the settings to keep your focus on active liquidity.
Optimized Performance: Built-in memory management limits the number of active and historical lines to ensure smooth performance.
Technical Hierarchy:
Monthly > Weekly > Daily > 4 Hours Lower timeframe levels are automatically hidden when viewing higher timeframe charts to prevent visual artifacts.
SMART HTF LEVELS,(Real PDH / PDL / PWH / PWL / PMH / PML + 50%)🚀 SMART HTF LEVELS – PDH / PDL / PWH / PWL / PMH / PML + 50% MIDPOINTS
This script plots key higher-timeframe support & resistance levels using Previous Day, Week, and Month Highs & Lows, enhanced with 50% equilibrium midpoints for precise price reactions.
🔹 KEY FEATURES
✅ Previous Day High / Low (PDH / PDL)
✅ Previous Week High / Low (PWH / PWL)
✅ Previous Month High / Low (PMH / PML)
✅ 50% Midpoint Levels (PDM / PWM / PMM) – Equilibrium zones
🎨 VISUAL STYLE (Clean & Professional)
🟢 High Levels → Green (Resistance)
🔴 Low Levels → Red (Support)
⚪ 50% Midpoints → Grey dotted step-line
📉 Step-Line Style for institutional clarity
⏱ Lines break only on new Day / Week / Month (no clutter)
🧠 WHY THESE LEVELS WORK
Markets respect previous highs & lows because they represent:
Liquidity pools
Institutional order zones
Stop-loss & breakout areas
The 50% midpoint acts as a:
Balance / equilibrium zone
Reaction & continuation level
High-probability decision area
Together, these levels naturally behave as dynamic Support & Resistance.
📈 BEST USE CASES
✔ Intraday & Swing trading
✔ Break & Retest strategies
✔ Rejection trades at key levels
✔ Target & Stop-loss planning
✔ Works with Price Action, EMA, VWAP, RSI, SMC
Trend Highway (Manual Edition)Trend Highway (Manual Edition)
All-in-One Trend Following System with Smart Filter Logic
This indicator is a comprehensive trading system designed for Manual Traders who seek precision and reduced noise. It merges the power of Trend Highway, Smart Money Concepts (Order Blocks & Market Structure), and Moving Averages into a single, clean chart interface.
⚠️ Note: This is the "Manual Edition". All bot automation codes (BingX/Telegram) have been removed to ensure a lightweight and fast performance.
Key Features (ฟีเจอร์หลัก)
1. Trend Highway Core (ถนนเทรนด์)
Visualizes the trend direction using a dynamic ribbon.
🟢 Green/Orange: Bullish Trend (ขาขึ้น)
🔴 Red/Yellow: Bearish Trend (ขาลง)
2. Smart Chop Filter (ระบบกรองไซด์เวย์ขั้นสูง) 🧠 This is the heart of the system. It prevents "False Breakouts" by enforcing a strict momentum sequence before signaling an entry:
Step 1 (Rest): The Chop Index (CI) must first rise above 61.8. This indicates the market is resting or consolidating (creating "Potential Energy").
Step 2 (Run): The CI must then drop below 50. This confirms the consolidation is over and a true momentum breakout is occurring (releasing "Kinetic Energy").
Result: You only trade when the market has "rested enough" and is ready to run.
3. Strategic Entry & Add-On (ระบบเข้าออเดอร์)
First Entry: Signals when a trend reversal is confirmed with valid momentum.
Add-On (Add+): Allows you to compound positions safely. The system only suggests adding to a winner if the price pulls back, consolidates (triggers the 61.8 memory), and breaks out again.
4. Hybrid Exit Strategy (ระบบปิดทำกำไร) 🛡️ Exits are dynamic and adapt to market conditions:
Unified SL: Trailing Stop Loss calculated from consolidation structures.
CHoCH Exit: Immediately signals an exit if a Change of Character (Trend Structure Shift) occurs against your position.
5. Institutional Context
Order Blocks (OB): Auto-detects high-probability Supply & Demand zones.
Market Structure: Real-time labeling of BOS (Break of Structure) and CHoCH (Change of Character).
EMAs: Includes EMA 50 & 200 for macro trend identification.
How to Trade (วิธีการใช้งาน)
🟢 LONG Setup:
Trend Highway turns Green.
Price is above EMA 200 (Optional but recommended).
Wait for Alert: "Open LONG" signal appears (Confirmed by CI Filter < 50).
Stop Loss: Place at the red "Unified SL" cross or the recent swing low.
🔴 SHORT Setup:
Trend Highway turns Red.
Price is below EMA 200 (Optional but recommended).
Wait for Alert: "Open SHORT" signal appears (Confirmed by CI Filter < 50).
Stop Loss: Place at the red "Unified SL" cross or the recent swing high.
🏁 EXIT Strategy:
Close the position immediately when you receive a "Close LONG/SHORT" alert.
This alert triggers on either a Stop Loss hit OR a structural change (CHoCH), helping you lock in profits before the trend reverses.
Alerts Configuration (การตั้งค่าแจ้งเตือน)
You can set up a single alert to cover all scenarios:
Add Alert on this indicator.
Condition: Select "Trend Highway (Manual Edition)".
Select "Any alert() function call".
You will receive human-readable notifications for:
Open LONG / Add-On Buy 🟢
Open SHORT / Add-On Sell 🔴
Close LONG / SHORT 🏁
Developed by User Request (AomTawan Logic Merged)
EMA 9, 15, 26, 50 and 200EMA 9, 15, 26, 50 and 200 mostly used emas for intraday & positional trading
Stock ScreenerMissing great trade opportunities is annoying, and unless you have 12 screens or only trade one market, you are missing a lot of trades. To fix that, we created this stock screener so you get notified instantly of potential great trading conditions in real time, right on your chart.
You get notified of trading benchmarks being met by the value being displayed on the scanner as well as a color change so that it grabs your attention and makes you aware that you should take a look at the other market and look for a potential trade. It also has built in alerts so you can have an alert notification go off when any of your trading conditions are met instead of needing to watch the scanner for color changes.
The screener will change the ticker symbol background color to red green when price is above or below the previous daily range and above or below both VWAPs. This signals that the ticker is trending, which typically means it is a great time to trade that market and follow the trend.
This stock screener allows you to scan up to 10 different markets at the same time for various different conditions so you always know what is going on with your favorite trading symbols. If you want to scan more tickers, just add the indicator to your chart again and change the table position to the other side of the screen and update the tickers on the 2nd screener, allowing you to have 20 tickers at a time.
The scanner can be fully customized by changing the markets that it screens and turning on or off as many of them as you would like. You can also turn on or off any of the different data sets so that you only get information about trading conditions that matter to you.
The screener can provide data on any type of market, such as stocks, crypto, futures, forex and more. Each ticker can be adjusted to whatever market you would like it to scan for data in the settings panel, the only limitation is that it will not provide data for the VWAP and volume trend score if the ticker you are screening does not provide volume data.
Screener Features
The scanner will provide the following types of data for each ticker that is turned on:
Volume - Provides a volume score compared to the average volume and notifies you of higher than normal volume and volume spikes on individual bars by changing colors.
Volatility - Provides a volatility score compared to the average volatility and notifies you of higher than normal volatility by changing colors.
Oscillator - Choose between the RSI or CCI. The value of that oscillator will be displayed and will notify you when values are in extreme ranges such as overbought or oversold conditions according to the threshold values you enter in the settings panel. When those thresholds have been breached, you will be notified by it changing color.
Big Candles - Compares the current candle to average previous candle sizes, and changes color to notify you of big candles including a big top wick, big bottom wick, big candle body and big candle high to low range.
Daily Level Touches & Trends - Calculates and displays various daily candle and intraday open price levels that act as support and resistance. Notifies you when price is touching any of the daily levels that are turned on. The levels you can have on are as follows: previous day high, previous day low or previous day open. It also will notify you when price is touching the current day’s open, NY 930am open, Asia 8pm open, London 2am open and NY midnight 12am open. It will also say “Above” if price is above the previous day’s high or it will say “Below” if price is below the previous day’s low. The color of the cell will also change when a level touch is happening or price is above the previous day high or below the previous day low.
VWAP - Choose from 2 different VWAP lengths, default settings are daily and weekly VWAPs. You will get notified if price touches either of the VWAPs and they will also say “Above” or “Below” if price is currently above or below each VWAP.
How To Use The Screener To Help You Trade
The main purpose of the screener is to scan other markets and notify you of potential good trading opportunities such as price bouncing off of the daily levels or VWAPs. It can also be used to know when price is trending according to the VWAPs and daily levels. Lastly, you can use it to know how the volume and volatility trends are currently which gives you more confidence in taking a trade with this data when volume and volatility are present.
Volume Score
When volume is high, this represents a good time to trade because there are many market participants and price is likely to be volatile while there is high volume which can present a lot of good trade setups for you to take.
The volume score shown on the screener measures the current volume trend compared to previous volume trends and calculates that into a score based on 100 being the same as the previous volume trend. So any value above 100 means it is high volume and any value less than 100 means it is lower volume than normal.
In the settings panel, you can adjust the volume threshold that needs to be met for a volume notification to show up. The default setting is at 120, so you will get notified when the current volume trend score is 120 or higher or you can adjust that threshold value to whatever value you prefer.
It also will notify you when there is a volume spike on the current bar. This is determined by calculating an average of the recent volume totals and then checking to see if the current bar is greater than or equal to that average multiplied by 3. So if a single bar has volume that is greater than 3 times what the average volume is, then you will get a notification that says “Spike” to make you aware of that volume spike.
The volume trend threshold, volume spike multiplier and lookback length for the average volume used in volume spike calculations can all be adjusted in the settings panel to fit your desired preferences.
Volatility Score
High volatility can mean it is a great time to trade because the market is moving quickly and providing large enough movements that you can get in and out in a short amount of time, while still accruing decent sized trade PnL.
The volatility score will calculate the current volatility for each market compared to previous conditions and then divide the current volatility by the average volatility to give you a volatility score. Anything over 100 means the market is decently volatile and you should look at that market to find potential trade setups to execute on. Anything below 100 means the market is not very volatile and it is usually best to just wait until volatility returns before you start trading again.
The screener will notify you when the volatility score is above the threshold you set. The default value is set to 90, but can be adjusted to your preference. Pay attention to any market that shows an alert and take a look at that chart because the high volatility may present a good trade setup for you in the near future.
Oscillator Score
The oscillator data can be switched between Relative Strength Index(RSI) and Commodity Channel Index(CCI).
The RSI provides a value between 0 and 100 that indicates the momentum and strength of the recent price action. Many traders use the extremes of the 0-100 range to signal overbought or oversold conditions and use that as a sign to look for price to reverse in the near future. The typical values used for this and the default settings to provide notifications are: 70 for overbought and 30 for oversold. The scanner will notify you when the RSI value is considered overbought or oversold so you know to take a look at the chart and analyze if it is ready for a trade to be taken.
The CCI provides a value that can be used to determine the trend strength of the underlying asset when the oscillator moves above 100 or below -100. These extreme values are outside of the normal accumulation range and signify that price is moving strongly in that direction so it may be a good time to take a trade in the direction of the trend. The scanner will show you the value of the CCI for each market and notify you if that value is above 100 or below -100.
Both RSI and CCI settings can be adjusted in the settings panel to your desired settings so you have the exact oscillator settings you prefer to use as well as the exact values that you want to use for being notified.
Big Candles
Big candles can mean that many traders are buying or selling at the same time and many times indicate a good signal to trade in that same direction. That is why we included this calculation in the screener, so you are always aware when a large candle prints.
It calculates the average size of the recent candles and then uses that average as the benchmark to determine if the current candle is considered big and worthy of notifying you to take a look at that chart.
You can adjust the multiplier used for the big candle threshold to whatever you desire, but the default setting is 3 which means the candle will be considered big and notify you if it is 3 times as large as an average candle.
The big candles data will track the following candle values and notify you with these labels:
High to Low candle size = HL
Candle Body from open to close candle size = OC
Top Wick size = TW
Bottom Wick size = BW
Daily Level Touches & Trend
Daily level touches are excellent levels to watch for price to bounce because they often act as support and resistance levels for intraday trading. The scanner will track each market and notify you when the current candle is touching any of the daily levels that you have turned on in the settings panel.
The main levels that are turned on by default and are useful for all markets and how they will be labeled on the scanner are as follows:
Previous Day High = High
Previous Day Low = Low
Previous Day Open = < Open
Previous Day Close = Close
Current Day Open = Open
We also included some extra levels that are useful for futures traders. They are as follows:
NY 930am Open = 930am
NY 12am Midnight Open = 12am
Asia Open at 8pm NY time = Asia
London Open at 2am NY Time = London
Watch how price reacts to these levels and then trade the bounces off of these levels if the price action confirms that it is going to respect that level.
When price is currently above the previous day high, the scanner will say “Above” and show a green color, indicating a bullish trend and that price is above the previous daily candle’s high.
When price is currently below the previous day low, the scanner will say “Below” and show a red color, indicating a bearish trend and that price is below the previous daily candle’s low.
Pay attention to when price is trending above or below the previous daily candle as those trends can provide excellent trend trading opportunities.
The daily levels that you have turned on in the settings will also show as lines on the chart and include a label next to them, identifying each level so you know what each line represents. You can turn on or off all of the lines shown on the chart in the main settings or turn them off one by one in the style panel of the settings. Labels can also be turned on or off for all of the lines in the main settings panel. You can adjust the label positioning in the Label Offset section of the settings panel.
VWAP Touches & Trend
VWAP stands for volume weighted average price and is a very popular tool that traders use to determine trend direction based on volume as well as an excellent level to trade price bounces off of.
The typical VWAP time period used is Daily, which means the volume weighted average price will reset at the beginning of a new day. We set the first VWAP to be the daily VWAP by default and the second one to be the weekly VWAP. You can adjust both of the time periods to be any of the provided time lengths that you choose.
The screener will show “Above” with a green background color when price is above the VWAP, indicating a bullish trend. It will show “Below” with a red background color when price is below the VWAP, indicating a bearish trend. When both VWAPs are showing Above or Below, you can expect price to trend in that direction, so look for pullbacks you can trade in the direction of the trend. If the VWAPs are showing different directions, then you should expect to bounce back and forth between the VWAPs, but be careful and watch out for price to break beyond either one and start a trend.
When the current candle is touching the VWAP, the scanner will change colors and say VWAP to notify you that price is touching the VWAP and you should look at that chart and analyze the market for a potential bounce off of the VWAP to trade.
Trending Market Signals
Strong trends are excellent markets to trade and can many times provide excellent trading opportunities that don’t require expert price action reading skills to be able to take winning trades from. That is why we included a signal to notify you of a strong trending market.
The strong trending market will show up as a green or red background color for the ticker name. If the color of the ticker name is green, it is notifying you that the price is above the previous daily high, above VWAP 1 and above VWAP 2 and is a good market to look for bullish trend trades. If the color of the ticker name is red, it is notifying you that the price is below the previous daily low, below VWAP 1 and below VWAP 2 and is a good market to look for bearish trend trades.
Changing The Tickers It Scans
To change the tickers that the indicator scans, scroll near the bottom of the settings panel and select the ticker symbol you want to update and then search for the exact symbol you want to use. If you want to scan less tickers, then just turn some of the tickers off that you don’t need.
Scanning More Than 10 Tickers
If you want to scan more than 10 tickers, you can add the scanner to your chart again and then just change the table position to the other side of the screen. This will allow you to scan 10 more tickers that will show up separately. Then if you want even more, just add the indicator to your chart again and update the table position until you have as many markets as you want. The table position setting can be found at the bottom of the main settings panel.
Alerts
The screener has alerts that can be used to notify you when any of the data set thresholds have been met or if price is touching one of the levels. You can set alerts for the following events:
Bullish Trend Alert - Price is above the previous daily high and above both VWAPs.
Bearish Trend Alert - Price is below the previous daily low and below both VWAPs.
High Volume Alert - Volume is higher than the threshold or a volume spike is detected.
High Volatility Alert - Volatility is higher than the threshold.
Oscillator Is Extended Alert - Oscillator value has exceeded the upper or lower threshold.
Big Candle Alert - A big candle has been detected.
Daily Level Touch Alert - One of the daily levels that is turned on is being touched.
VWAP Touch Alert - One of the 2 VWAPs are being touched.
An alert will trigger when any one of tickers on your scanner meets the alert conditions, so when you see the alert, you will need to go to your chart and look at the scanner to see which ticker it was and then navigate to that chart to look for potential trade setups.
The alerts will use the exact same settings you have configured in the settings panel to send you alert notifications. With normal settings, this could give you a lot of alerts, so if you only want alerts to fire when abnormal conditions are being met, try setting up a second screener on your chart that has very high threshold values and only has the most important level touches on. Then turn the setting "Do Not Show The Screener On The Chart" to off so the calculations will still run and fire alerts, but won't clog up your charts. This way you can only get alert notifications when major events happen but still have your normal screener settings available on your chart.
Markets This Can Be Used On
This screener uses the price action and volume data so you can use it to scan any type of market you would like as long as the ticker you are scanning has price and volume data feeds. If a market does not have volume data, then it will just show NaN in the volume row and the VWAP rows will not show anything.
DFH * Zenith Plan & Execution Radar - MASTER【Chinese is followed 中文在後面】
DFH * Zenith Plan & Execution Radar – MASTER is a multi-layer market decision framework,
designed to separate “planning” from “execution” and to make each stage observable,
auditable, and risk-aware.
This script is NOT a simple mashup of common indicators. While it internally uses classic market elements (EMA, RSI, volatility, structure), they are not presented as standalone signals. Instead, they are integrated into a staged decision engine with explicit permission gates, priority-based failure diagnostics, and timeframe-aware execution logic.
CORE DESIGN PHILOSOPHY:
• Planning answers: “Should I be biased LONG or SHORT?”
• Execution answers: “Is this the correct moment to act?”
• Failure answers: “Why did a valid setup NOT execute?”
UNIQUE ELEMENTS:
• Plan vs Execution separation (Daily / 15m planning, 2m execution)
• Institutional-style permission system (ENV → ARM → GO)
• Priority-based FAIL analysis (PERMIT / DIR / CD / GATE / BH)
• Persistent last-bar HUD showing current market readiness
• Timeframe-aware logic (GO@2m clearly distinguished on higher charts)
• Replay-friendly visual diagnostics (ARM → GO → FAIL)
WHY CLOSED-SOURCE:
The value of this script lies in its decision architecture and execution control logic,
not in individual indicator formulas.
The closed source protects the structure of this framework while still allowing traders
to clearly understand what each state represents and how decisions are made.
HOW TO USE (HIGH LEVEL):
• Use Daily / 15m charts for PLAN signals and bias evaluation
• Use 2-minute chart for EXEC signals only
• Dashboard and HUD explain “what to do” and “why not” at all times
This script is intended for discretionary traders who value clarity, structure,
and disciplined execution over signal quantity.
============================================================
中文说明
============================================================
DFH * Zenith Plan & Execution Radar – MASTER 是一套「分层式市场决策系统」,其核心目标是将“计划(Plan)”与“执行(Execution)”严格分离,并让每一个阶段都可以被观察、被验证、被追责。
这不是一个简单拼接 EMA / RSI / 均线 的指标。虽然内部使用了经典市场要素,但它们并不作为独立信号存在,而是被组织进一套完整的【决策许可 + 执行门控 + 失败诊断】体系中。
设计核心思想:
• Plan:回答“当前是否具备做多 / 做空的战略条件?”
• Execute:回答“现在是不是正确的执行时机?”
• Fail:回答“为什么一个看似成立的机会没有执行?”
系统独特之处:
• 计划与执行严格分离(D / 15m 规划,2m 执行)
• 类机构级的执行许可系统(ENV → ARM → GO)
• 失败原因优先级系统(PERMIT / DIR / CD / GATE / BH)
• Last-Bar 状态 HUD(始终显示当前市场阶段)
• 多周期感知(GO@2m 在高周期明确标注)
• 支持 Replay 回放的可视化诊断设计
为何采用闭源:
本指标的核心价值在于“决策结构”与“执行控制逻辑”,而非单一指标计算公式。闭源用于保护系统架构,同时已在界面与状态层面充分向用户解释每一步在做什么、为何如此。
使用建议(概览):
• 日线 / 15 分钟:用于计划与方向判断
• 2 分钟图:仅用于执行信号
• Dashboard 与 HUD 持续回答“现在该做什么 / 为什么不能做”
本系统适合重视结构、纪律与执行质量的交易者,而非追求大量信号的交易方式。
SolQuant Liquidation LevelsOVERVIEW
The SolQuant Liquidation Levels indicator provides a comprehensive visualization of potential liquidation zones for leveraged positions ranging from 10x to 200x. By analyzing volume, open interest (OI), and cumulative volume delta (CVD), it identifies high-concurrency activity zones where market participants may face forced closures.
KEY FEATURES
Multi-Leverage Analysis: Tracks estimated liquidation prices for 10x, 25x, 50x, 100x, and 200x leverage tiers.
Dynamic Liquidity Profile: Includes a volume profile that displays the distribution of unclaimed liquidity across price levels.
Smart Consolidation: Automatically merges nearby levels into high-density zones to reduce chart clutter and highlight major interest areas.
Liquidity Boxes & Range Lines: Visualizes liquidity blocks near current price and draws smoothed range lines to define high/low boundaries.
Integrated Signals: Labels trigger when price interacts with critical high-leverage (200x) zones, signaling potential liquidity sweeps.
HOW IT WORKS
The script calculates liquidation levels based on a selected reference price. It filters these levels by volatility thresholds, plotting lines only when a significant volume or OI spike occurs. As price moves, the indicator tracks which levels are "filled" (hit by price) and removes or hides them to maintain focus on remaining liquidity.
DISCLAIMER
This script is for educational and analytical purposes only. It uses mathematical estimates for liquidation levels based on standard leverage calculations and does not represent actual exchange order books. Please manage your risk accordingly.
Colour Grading Candles Simple Color Grading
It sometimes lags, but don't let that stop you — it's actually super helpful.
Test it out and decide for yourself!
Ghost Shadow [Bit2Billions]📌 Ghost Shadow — MACD Percentile Momentum Engine
Ghost Shadow is a closed-source momentum indicator built around a non-standard MACD normalization method designed to solve a core limitation of traditional MACD tools: raw MACD values are not comparable across markets, timeframes, or volatility regimes.
Standard MACD relies on absolute histogram and signal values. This causes momentum readings to vary widely between instruments, making overextension, divergence, and exhaustion difficult to interpret consistently.
Ghost Shadow replaces raw MACD interpretation with a percentile-ranked MACD distribution model, allowing momentum to be evaluated relative to its own historical behavior, not fixed or absolute values.
📌 Core Calculation Method (Non-Standard MACD Logic)
Instead of using raw MACD values directly, Ghost Shadow applies:
* Rolling MACD distribution analysis
* Percentile ranking of MACD and signal values
* Volatility-aware normalization of momentum extremes
This means:
* Momentum strength is measured by how extreme current MACD behavior is relative to its own history
* Overextension and compression are defined statistically, not visually
* MACD behavior becomes consistent across assets and timeframes
This calculation approach cannot be reproduced using built-in MACD alone, which provides no percentile context or distribution awareness.
📌 Reason for Mashup (Why Multiple Components Exist)
Ghost Shadow combines MACD structure, divergence analysis, stochastic confirmation, and candle pressure because percentile-normalized momentum must be validated structurally.
Percentile MACD alone defines momentum intensity, but:
* Divergence defines momentum failure
* Stochastic defines short-term pressure alignment
* Candle structure defines acceptance or rejection
* Supply/demand pressure defines directional follow-through
All components exist to interpret percentile MACD behavior, not to operate independently.
This is not a convenience mashup — it is a single momentum model expressed through multiple validations.
📌 How the Components Work Together
All modules reference the same percentile-normalized MACD state:
1. Percentile MACD Core evaluates momentum strength relative to historical MACD distribution.
2. MACD Structure & Swing Engine defines momentum swings using normalized MACD behavior instead of raw crossings.
3. Divergence Engine compares price swings against percentile-ranked MACD swings using past-data pivots only (non-repainting).
4. Stochastic Momentum Layer confirms short-term pressure relative to percentile MACD regime.
5. Candle Pressure & Supply/Demand Context validates whether percentile extremes are being accepted or rejected.
6. Dashboard Layer summarizes all internal states into a contextual momentum bias.
Because every component references the same normalized MACD logic, signals confirm or invalidate each other instead of conflicting.
📌 What Problem This Script Solves
Ghost Shadow is designed for traders who struggle with:
* MACD behaving differently across markets
* No clear definition of MACD overextension
* Divergences appearing inconsistently
* Momentum tools contradicting each other
* Chart clutter from stacking multiple oscillators
By using percentile-normalized MACD logic, Ghost Shadow provides:
* Consistent momentum interpretation
* Statistically defined exhaustion and expansion
* Structural divergence validation
* Clear momentum context without indicator overlap
📌 How Traders Use Ghost Shadow
Ghost Shadow is not an automated signal tool.
Traders use it to:
* Evaluate momentum expansion vs exhaustion
* Identify statistically significant MACD extremes
* Confirm divergence quality
* Align momentum across timeframes
* Filter continuation vs pullback conditions
All outputs are designed for contextual decision-making, not entries.
📌 Why This Script Is Original
Ghost Shadow does not modify MACD visually — it redefines how MACD is interpreted.
Originality comes from:
* Percentile-based MACD evaluation
* Distribution-aware momentum logic
* Structural divergence validation
* Unified momentum state shared across all modules
This approach cannot be achieved by combining public MACD indicators or built-in tools.
📌 Why This Script Is Invite-Only
Ghost Shadow is offered as a closed-source script because its value lies in the normalization and distribution logic, not the visual elements.
It replaces:
* Multiple MACD variants
* Standalone divergence scripts
* Manual momentum interpretation
* Multi-timeframe MACD comparison tools
This level of consistency and normalization requires proprietary logic and is therefore provided as an invite-only indicator.
📌 Key Features
• Normalized Adaptive MACD
Percentage-based MACD with dynamic overbought/oversold shading for stable momentum context across assets.
• Heikin-Ashi MACD Candles
Smooth, noise-reduced candle representation for clearer swing identification.
• Stochastic Candles & Signals
OB/OS highlights, adaptive zone shifts, and real-time divergence detection.
• Divergence Engine
Flexible detection of:
* Regular Divergence (bull & bear – dashed lines)
* Hidden Divergence (bull & bear – dotted lines)
* Live developing divergences using past-data only (no lookahead)
• Multi-Module Dashboard
A structured overview of everything happening on the chart in one place.
📌 Dashboard Metrics
📌 MACD Bias
Directional momentum & trend strength from the normalized MACD engine.
📌 Stochastic Bias
Short-term momentum read with OB/OS sensitivity.
📌 Candle Pattern Detection (70+ patterns)
Doji, Morning/Evening Star, Shooting Star, Hammer, Bearish/Bullish Engulfing, Harami, Piercing Line, Hanging Man, Spinning Top, Dark Cloud Cover, Raindrop/Doji, Tweezer Top/Bottom, Tower patterns, Inside/Outside Bar, Three Line Strike, Three White Soldiers, Three Black Crows, Marubozu, Tasuki patterns, Rising/Falling Three Methods — and many more.
📌 Body/Wick/Volume Ratios
Automatic interpretation of candle sentiment through proportional body/wick/volume analysis.
📌 Demand & Supply Strength
Real-time scoring of active candle pressure and MA-based supply/demand bias.
📌 Directional Bias
Aggregated long/short *lean* using combined momentum, divergence, and structure inputs.
*This is a contextual bias, not an automated signal.*
Higher-Timeframe Metrics
* HTF Trap Levels & Scoring
* HTF Volume Conditions
* HTF Price Action Alignment
* Quick HTF Bias Reads
📌 Market Summary
Consolidated sentiment, structure, and volatility status into one panel.
🔹 How Modules Work Together (Conceptual Overview)
Ghost Shadow uses a structured pipeline:
1. Normalized MACD builds the base momentum landscape.
2. Swing Structure is read internally to anchor divergences and zone shifts.
3. Divergence Engine compares MACD/Stoch swings vs price swings using past pivots only.
4. Adaptive OB/OS Zones adjust to volatility using dynamic scaling.
5. Dashboard aggregates all module outputs into a unified directional lean for interpretation.
This ensures each module references the same internal logic rather than acting as separate uncorrelated tools.
📌 Visual Design & Chart Clarity
* Only essential real-time labels shown.
* All historical/replayed labels disabled to maintain chart cleanliness.
* Consistent color-coded visuals for divergence, momentum zones, and pattern signals.
* Shapes, line-styles, and colors remain organized for fast interpretation.
📌 Divergence Lines
* Regular Divergence: Dashed Green/Red
* Hidden Divergence: Dotted Green/Red
📌 Inputs & Settings
* Clean layout with simple Show/Hide toggles
* Pre-configured defaults
* Minimal exposed fields for ease of use
* Designed to reduce setup time and improve workflow speed
📌 Recommended Timeframes & Markets
* Best on 15m, 1H, 4H, Daily, Weekly
* Works across forex, crypto, indices, commodities, equities
* Pivot-based structures may show noise on illiquid assets
📌 Performance & Limitations
* Heavy modules may draw many objects → disable unused sections
* If the chart stops loading objects, simply refresh
* All TradingView platform limitations handled internally
📌 License & Legal
* Proprietary © 2025
* Redistribution, resale, or sharing of internals is prohibited
* Independently developed; uses only public-domain trading concepts
* Any resemblance to other tools is coincidental and concept-based only
📌 Respect & Transparency
* Built fully on public, widely known trading concepts
* No code reused or copied; all logic developed independently
* If any similarity is noticed, it can be addressed constructively
📌 Disclaimer
* For education and analysis only
* Not financial advice
* Market risk is real — always backtest and manage risk properly
📌 FAQs
* Source code is not public
* Works best on 15m, 1H, 4H, Daily, Weekly
* All modules individually toggleable
* Alerts can be set manually
* Compatible with forex, crypto, indices, commodities, and equities
📌 About Ghost Trading Suite
Author: BIT2BILLIONS
Project: Ghost Trading Suite © 2025
Indicators: Ghost Matrix, Ghost Protocol, Ghost Cipher, Ghost Shadow
Strategies: Ghost Robo, Ghost Robo Plus
Pine Version: V6
The Ghost Trading Suite is designed to simplify and automate many aspects of chart analysis. It helps traders identify market structure, divergences, support and resistance levels, and momentum efficiently, reducing manual charting time.
The suite includes several integrated tools — such as Ghost Matrix, Ghost Protocol, Ghost Cipher, Ghost Shadow, Ghost Robo, and Ghost Robo Plus — each combining analytical modules for enhanced clarity in trend direction, volatility, pivot detection, and momentum tracking.
Together, these tools form a cohesive framework that assists in visualizing market behavior, measuring momentum, detecting pivots, and analyzing price structure effectively.
This project focuses on providing adaptable and professional-grade tools that turn complex market data into clear, actionable insights for technical analysis.
Crafted with 💖 by BIT2BILLIONS for Traders. That's All Folks!
📌 Changelog
v1.0 – Core Release
* Introduced Normalized Adaptive MACD with percentage-based zones and overbought/oversold shading.
* Added Heikin-Ashi style MACD candles for smoother swing visualization.
* Implemented Stochastic Candles with dynamic zones and divergence detection.
* Added Real-Time Divergence Engine for MACD and Stochastic (regular, hidden, live).
* Integrated Automated Candle Pattern Recognition with 70+ patterns.
* Added Body/Wick/Volume Ratio Metrics for long/short market analysis.
* Implemented Demand & Supply Strength Analysis (current candle & moving average-based).
* Added Directional Predictions for long and short positions.
* Developed Higher-Timeframe Analysis Modules with traps, volume, alignment, and quick signals.
* Added Comprehensive Dashboard summarizing momentum, patterns, HTF traps, and actionable market status.
XAUUSD Psych Zones (0/25/50/75)This indicator plots psychological quarter levels on XAUUSD (0 / 25 / 50 / 75) and highlights them as tradable zones.
Each level is displayed as a horizontal zone with a midpoint line, designed for support & resistance, break-and-retest, and reaction-based trading on gold.
Zones extend across the chart and are sized using a custom pip definition (default: 1 pip = 1.00, ±5 pips each side).
Institutional Zones MTF5 - Flow and Volume Confirmation📌 Description
Institutional Zones MTF5 — Flow & Execution with Volume Confirmation
is a multi-timeframe institutional zone indicator designed to identify, validate and monitor high-probability Supply & Demand zones across multiple timeframes.
This script focuses on institutional price delivery, combining zone formation, mitigation tracking, multi-TF flow alignment and volume-based absorption confirmation to help traders evaluate where price interaction is meaningful.
🔍 How zones are detected
Zones are generated using an impulse-based displacement logic:
A strong impulsive candle (body ≥ ATR × multiplier) defines displacement
The last opposite candle prior to the impulse becomes the institutional zone
Zones are mapped and tracked across up to five timeframes simultaneously
Each zone is extended forward in time and dynamically monitored as price interacts with it.
🧠 Originality & Key Concepts
This indicator is not a basic Supply & Demand tool.
It introduces a layered logic architecture designed to reduce noise and highlight execution-grade interactions.
Key concepts include:
Mitigation tracking (X%)
Zones are visually marked as mitigated once price reaches a configurable percentage of the zone.
Overshoot-based invalidation
Zones are only deleted when price exceeds a configurable overshoot threshold (e.g. 110%), avoiding premature removal.
FLOW logic (formation near or inside parent zones)
Detects when a lower-timeframe zone forms close to or inside a higher-timeframe zone, suggesting alignment between timeframes.
EXECUTION logic (child inside parent + price interaction)
Execution alerts are triggered only when:
A child zone is located inside (or overlapping) its mapped parent zone
Price reaches or enters the parent zone
Volume confirmation (absorption filter)
Alerts can be filtered by volume expansion relative to a moving average, helping confirm real participation instead of weak reactions.
Cooldown system
Prevents alert spam during consolidations or clustered zone interactions.
This script was fully redesigned and restructured, introducing advanced interaction logic rather than simple zone plotting.
▶️ How to use
The indicator can be used in three complementary ways:
1️⃣ Proximity Alerts
Highlight moments when price approaches or enters institutional zones, optionally confirmed by volume.
2️⃣ FLOW Alerts
Signal when lower-timeframe zones form near or inside higher-timeframe zones, helping identify multi-TF alignment and directional bias.
3️⃣ EXECUTION Alerts
Execution-grade alerts occur only when structural and price-location conditions align, offering refined timing rather than blind signals.
📘 Practical Examples (Conceptual)
Example 1 — Proximity + Volume
If price approaches a higher-timeframe institutional zone and volume expands above its average, this may indicate active participation or absorption at that level.
This highlights an area of interest, not an automatic entry.
Example 2 — FLOW alignment
When a lower-timeframe zone forms near or inside a higher-timeframe zone, it suggests alignment between timeframes and may help confirm continuation or contextual bias.
Example 3 — EXECUTION scenario
An EXEC alert occurs only when:
A child zone is inside (or overlapping) its parent zone
Price reaches the parent zone
Optional volume confirmation is present
These conditions are designed to filter random reactions and focus on execution-quality interactions.
⚙️ Key Inputs
Impulse ATR Multiplier — displacement strength
Mitigation Percentage — when zones become mitigated
Overshoot Multiplier — zone invalidation threshold
Proximity Distance (%) — price-to-zone sensitivity
Volume Length & Multiplier — absorption confirmation
Inside / Overlap Mode — execution strictness
All parameters are configurable to adapt to different assets and trading styles.
⚠️ Notes & Limitations
This indicator does not predict market direction
Zones can fail, especially during high-volatility conditions
Best used with proper market context and risk management
Designed as a decision-support tool, not an automated trading system
📎 Disclaimer
This script is provided for educational and analytical purposes only.
It does not constitute financial advice or a recommendation to trade.
Dynamic Ladder Leverage AllocatorOverview This indicator is designed for long-term investors who utilize a "Dual Engine" portfolio strategy—mixing a Safe Asset (e.g., VOO, QQQ) with a Leveraged Risk Asset (e.g., UPRO, TQQQ).
The Ladder Leverage Allocator mathematically calculates the optimal risk exposure based on market drawdowns. Instead of guessing when to "buy the dip," this script provides a systematic, step-by-step roadmap to increasing leverage as the market falls, and decreasing leverage (taking profits) as the market recovers.
How It Works The strategy is based on a "Sticky All-Time High" logic. It tracks the highest close price and calculates the current drawdown percentage.
Fair Weather (Base Mode): When the market is near highs, the indicator suggests a conservative "Base Leverage" (e.g., 25% or 35%).
The Ladder Down (Risk On): For every defined step the market drops (e.g., every -5%), the indicator signals a "RISK UP" alert, increasing your target allocation to the leveraged asset. This forces you to buy low aggressively.
The Cap: The script includes a hard "Max Leverage Cap" (default 80%) to prevent total account exposure during catastrophic crashes.
The Recovery Reset (Risk Off): Unlike simple rebalancing, this script waits for a confirmed bounce (Recovery Trigger). Once the market recovers by a set percentage from the bottom, it signals a "RESET," telling you to return to Base Leverage. This effectively locks in the profits from the dip-buying phase.
Key Features
Sticky ATH Tracking: Automatically tracks the true drawdown from the cycle peak.
Customizable Ladder Steps: Define your own Drop % (Trigger) and Risk Increase %.
Bar Confirmation: Option to wait for the Daily Close to prevent intraday "fake-out" alerts.
Visual Dashboard: A clean table in the bottom-right corner displays the current Stage, Drawdown, and Target Allocation.
Automated Alerts: Built-in alerts for "Risk On" and "Risk Off" events, ready for automation.
How to Use
Add this indicator to a Daily (1D) chart for your underlying index (e.g., VOO for the S&P 500, QQQ for the Nasdaq).
Configure Inputs:
Base Leverage: Your standard allocation to the 3x ETF (e.g., 25%).
Drop Step: How much the market must fall to trigger a rebalance (e.g., 5%).
Max Cap: The maximum risk you are willing to take (e.g., 80%).
Set Alerts: Create an alert using the "Once Per Bar Close" setting.
Risk Up: Increase your 3x ETF position.
Reset: Decrease your 3x ETF position (sell/profit).
Disclaimer This script is for informational and educational purposes only. Trading leveraged ETFs (3x) involves significant risk and is not suitable for all investors. Past performance of a ladder strategy does not guarantee future results.
Global Market Time Zones (Sydney, Tokyo, London, New York)Display's all relevant Trading Time Zones for Tokyo, Sydney, London and New York.
It automatically adjusts for Winter/Summer time and can be individually turned off/on.
Playbook Regime &Setups PublicPlaybook (Public) is a market-structure and regime framework designed for intraday traders who want clearer context before taking discretionary entries. It classifies conditions as UP / DOWN / RANGE using EMA alignment and trend strength, then highlights breakout and pullback readiness in the direction of the active regime. A simple confidence score and session context are included to help filter lower-quality conditions. Market regime + setup readiness (breakout/pullback) with confidence & session context.
How to use
Start with the Regime (UP/DOWN/RANGE). Prioritize trades aligned with the regime.
Use Ready / Setup status as a qualification layer, not a standalone entry system.
Use Confidence as a filter (higher confidence = stronger trend alignment / separation).
If enabled, VWAP bias can be used as an additional directional filter.
Notes / limitations
Intended for intraday charts and liquid markets.
Signals are evaluated on bar close.
This script is a framework for context and qualification only. It is not financial advice.
HVP Diario CC/CSPThis HVP Daily CC/CSP indicator is designed for traders seeking consistent income through options selling, transforming daily volatility into a clear, objective, and actionable guide: it shows you exactly when NOT to sell options due to weak premiums, when to take advantage of moderate volatility to safely sell PUTs, and when volatility is high enough to sell CALLs with superior returns. Everything is based on a percentile calculation that compares current volatility with its historical behavior, smoothed to eliminate noise and enhanced with an EMA that reveals the true market trend. If you want to trade with discipline, avoid bad weeks, and maximize your weekly income through simple, visual, and precise signals, this indicator is for you.
VWAP Master FlowVMF OPTIMAL VIP + 2 is a gold trading indicator built for discipline and anti-FOMO execution: it helps you read the right market context, highlights confirmed entry opportunities, automatically filters noise and prevents chasing extended moves, and provides clear exit alerts. The goal is to reduce trend-wrong trades, avoid buying tops/selling bottoms, and make fast, clean, consistent decisions on M30.
Calculador NAS100 stef_NQlot size calculator for cfds. Up to 4 types of risk and batches can be managed simultaneously
RSI Scalp Reversion (Buy/Sell Signal)RSI Scalp Reversion (Buy/Sell Signal) - with optional “trend filters”
Buy/Sell signals + optional alert-friendly events for automation via TradingView webhooks.
What it is
RSI Scalping Framework is a mean-reversion scalping framework built around RSI extremes “rubber band” moves. It is not a single magic preset; it’s a testing template that lets traders run the same core RSI idea while selectively adding confirmations to reduce random entries.
Core concept (signal engine)
Markets often stretch short-term and snap back. The script hunts those stretches using RSI:
- Long bias: RSI reaches a user-defined Oversold zone
- Short bias: RSI reaches a user-defined Overbought zone
Traders can choose whether the entry trigger is:
- In-zone (RSI is beyond the level)
- Cross-based (RSI crosses back from the extreme)
Why it’s different / originality
This script is published as a single modular framework rather than many minor variants. The intent is to let traders:
- Toggle filters on/off to see what actually improves results for a symbol/timeframe
- Keep risk logic consistent so comparisons are honest
- Use the same strategy shell while iterating settings
It includes a structured “reality-check” system (trend/momentum/volatility gates) and multiple exit modes so users can compare combinations without swapping scripts.
Filters (“quality knobs”)
Raw RSI can be noisy, especially during trends or low-volatility conditions. This framework lets you layer optional confirmations:
- RSI Smoothing Filter (default ON)
A smoothed RSI (e.g., RSI moving average) is used as a noise-reduction gate so trades prefer cleaner mean-reversion conditions rather than every touch of an extreme.
- ADX Filter (default ON)
A trend-strength gate used to avoid unfavorable regimes (e.g., very strong directional conditions for mean-reversion scalps). Threshold is configurable.
- ATR Volatility Filter (default ON)
A volatility gate to avoid “dead” conditions where scalps often fail due to insufficient movement. Threshold is configurable (ATR relative to price).
- EMA Trend Filter (optional)
Direction filter for users who prefer to align with a higher-level bias (e.g., only take longs above EMA / shorts below EMA).
- MACD Momentum Filter (optional)
Momentum confirmation for users who want RSI signals supported by directional momentum (MACD relationship configurable).
Exits / risk controls
Scalping needs strict, repeatable exits. The script provides:
- Fixed % Stop-Loss (per position)
- Fixed % Take-Profit (per position)
- Optional RSI-based “cool-off” exit (exit when RSI normalizes toward a user-defined level rather than relying only on price)
Buy/Sell signals
Signals & alerts
The script generates clear Buy (Long) and Sell (Short) signals based on the RSI mean-reversion engine (with any enabled filters applied). These signals can be used visually on-chart and as the basis for TradingView alerts.
Webhook automation
Automation / webhooks
This script is compatible with TradingView Alerts and can be used with webhook-based bots/bridges for automation (e.g., sending alert payloads to a third-party execution system). Users can configure alerts for:
- Buy/Long signal
- Sell/Short signal
- Optional exit events (fixed SL/TP behavior is handled by the strategy logic; RSI-based “cool-off” exits can also be alerted if enabled)
Note: Trade execution depends on your external bot/broker integration. Always forward test and validate alert payloads before using live.
How to use
1 - Add the script to your chart and confirm Buy/Sell signals match your intended RSI levels.
2 - Start with the core RSI engine + fixed SL/TP, then enable one filter at a time to evaluate improvements.
3 - Create TradingView alerts from the script’s Buy/Sell conditions.
4 - If you automate: connect alerts via webhook to your bot/bridge and forward test thoroughly (slippage, fees, and execution latency matter).
Best suited for
- Ranging / choppy markets
- Traders who want a structured way to test RSI mean-reversion with optional confirmations
- Traders who want one script that consolidates variations via toggles rather than multiple separate indicators
Notes
- This is an educational/research tool. Past performance does not predict future results.
- Settings are symbol/timeframe dependent.
Simple Scalper using Pivots from last Higher timeframe candleHTF Pivot Levels – Proper Alignment
Version: 1.0
Pine Script Version: 5
Overlay: Yes
Author: Ammar Hasan
Description
This is very rudimentary beginner friendly indicator to help scalpers scalp level to level using previous higher timeframe pivot points.
This indicator draws pivot levels based on Higher Timeframe (HTF) candles on a lower timeframe chart. It calculates Pivot, Support (S1–S3), and Resistance (R1–R3) levels from the last closed HTF candle and draws them precisely on the lower timeframe bars corresponding to that candle.
Key Features:
Works on any lower timeframe chart (e.g., 1m, 5m) using higher timeframe inputs (e.g., 15m, 1h).
Draws 7 levels per HTF candle: Pivot (yellow), S1–S3 (red), R1–R3 (green).
Only shows the last maxBars HTF candles to keep the chart clean.
Fully aligned with the actual closed HTF candle, avoiding forward shifts.
No labels, repainting, or multi-line statements.
Inputs
Name Type Default Description
Higher Timeframe Timeframe "10" HTF to base pivot calculations on.
Max HTF Bars to Keep Integer (1–50) 7 Number of HTF candles to display at once.
Calculations
Pivot Level:
Pivot = (High + Low + Close) / 3
Support Levels:
S1 = 2 × Pivot − High
S2 = Pivot − (High − Low)
S3 = Low − 2 × (High − Pivot)
Resistance Levels:
R1 = 2 × Pivot − Low
R2 = Pivot + (High − Low)
R3 = High + 2 × (Pivot − Low)
Where High, Low, Close are from the last closed HTF candle.
Drawing Logic
Lower TF bars per HTF candle is calculated as:
LowerBarsPerHTF = HTF_seconds / LowerTF_seconds
Lines are drawn from x1 to x2:
x1 = (htf_count − 2) × LowerBarsPerHTF
x2 = x1 + LowerBarsPerHTF − 1
This ensures lines are aligned exactly with the lower TF bars corresponding to the HTF candle.
Lines are deleted once maxBars is exceeded to keep the chart clean.
Colors
Level Color
Pivot Yellow
S1–S3 Red
R1–R3 Green
Notes
Repainting: The indicator only uses closed HTF candles (lookahead=barmerge.lookahead_off) to prevent repainting.
Chart Compatibility: Works on any lower timeframe chart; HTF input can be any valid TradingView timeframe.
Scalping Use: Useful for seeing higher timeframe support/resistance levels on intraday charts.
Crypto Precision Signals "Crypto Precision Signals - Reliable" Script Comprehensive Documentation
This document aims to clearly and objectively explain the functional principles, design logic, and usage methods of the "Crypto Precision Signals - Reliable" Pine Script. We adhere to principles of transparency and pragmatism. All descriptions are based on publicly available technical analysis theories, and we make no promises regarding any definitive profit performance. Final trading decisions should be made independently by the user based on comprehensive market analysis.
I. Core Design Philosophy and Originality
The originality of this script lies not in creating new analytical indicators, but in constructing a decision-making framework based on multi-dimensional condition confluence and systematic risk control. Its core philosophy is: a signal from a single indicator has limited reliability, whereas signals from different analytical dimensions (trend, momentum, overbought/oversold levels, market participation) can, when converging under specific rules, potentially identify higher-probability trading environments. Furthermore, the script encourages more disciplined trading through mandatory cooldown mechanisms and visual state tracking.
II. Detailed Explanation of Integration Rationale and Synergistic Operation Mechanism
The script integrates four classic technical elements, and their selection and combination have clear logical justification:
1. Trend & Momentum Foundation Layer: MACD
Integration Rationale: MACD is a classic tool for identifying trend direction, momentum strength, and potential turning points. The crossover of its fast and slow lines is an intuitive representation of momentum change, providing the initial "action signal" for the system.
Synergistic Mechanism: In this script, a MACD golden cross or death cross is one of the primary conditions for triggering a potential buy or sell signal. It acts as the system's "engine," responsible for identifying the initiation of market momentum.
2. Overbought/Oversold & Auxiliary Trigger Layer: RSI
Integration Rationale: RSI measures the speed and magnitude of price changes to gauge overbought or oversold market conditions. It complements the trend-following MACD by providing reference points for market sentiment extremes.
Synergistic Mechanism: The script innovatively sets RSI extremes (<30 oversold, >70 overbought) as trigger conditions parallel to MACD crossovers. This means the system can capture not only trend initiation points but also potential reversal opportunities from extreme sentiment (e.g., a buy point after a pullback to key support within an uptrend due to short-term oversold conditions). MACD and RSI together form a dual-trigger engine of "trend momentum" and "market sentiment."
3. Trend Filter Layer: 50-Period Simple Moving Average (SMA)
Integration Rationale: "Trading with the trend" is a core tenet of technical analysis. The SMA-50 is widely used as a benchmark for medium-term trends.
Synergistic Mechanism: This layer acts as a strict "direction filter." All potential signals generated by MACD or RSI must pass the SMA-50 test:
Buy Signal: The current price must be above the SMA-50, ensuring the trade attempt aligns with the potential medium-term uptrend.
Sell Signal: The current price must be below the SMA-50, ensuring the trade attempt aligns with the potential medium-term downtrend.
This mechanism effectively filters out numerous counter-trend, high-risk reversal attempts, focusing the system on "trading with the major trend" opportunities.
4. Volume Confirmation Layer: Dynamic Volume Average
Integration Rationale: Volume is key to gauging market participation and the authenticity of price movements. Price breakouts or signals lacking volume support are often weak.
Synergistic Mechanism: This is the key validation layer of the script. The system calculates a 30-period average volume and allows users to set a multiplier (default 2.0). A signal is only finally confirmed when the trigger condition (from MACD or RSI) occurs simultaneously with the current bar's volume being significantly higher than the recent average (i.e., a "volume spike"). This validation ensures the signal is supported by broad market participation, aiming to increase the signal's credibility and reduce "false breakouts" or whipsaws caused by low liquidity.
Synergistic Operation Summary:
The script operates like a multi-stage screening funnel:
Signal Trigger: Initiated by a MACD crossover or RSI entering an extreme zone.
Preliminary Trend Screening: The price location of the trigger signal must pass the SMA-50 trend filter (buy above, sell below).
Energy Validation: Concurrently with the above conditions, a volume spike must provide confirmation.
Final Output: Only when all conditions are met simultaneously is a visual "BUY" or "SELL" label generated.
III. Control & Auxiliary Layers: Enhancing Disciplined Use
Beyond the signal generation logic, the script includes two original designs to enhance practicality:
Signal Frequency Controller (Cooldown Period):
Mechanism: After generating a valid signal, the system enters a user-adjustable "cooldown period" (default 5 bars). No new signals of the same type will be generated during this period.
Purpose: Forces a reduction in trading frequency, prevents signal overload during high volatility or ranging markets, encourages waiting for higher-quality, more spaced-out opportunities, and helps avoid emotional overtrading.
Visual State Tracker (Bar Coloring):
Mechanism: The system internally tracks the state of the last valid signal (buy or sell). After a buy signal, subsequent bars are tinted light blue; after a sell signal, subsequent bars are tinted light orange, until the next opposing signal appears.
Purpose: Provides the user with an intuitive visual reference for the "signal validity period" or "observation phase," helping to quickly identify which stage the market is in according to the system's logic and assisting in gauging market rhythm.
IV. Functional Purpose and Usage Method
Core Purpose: Serves as an auxiliary decision-making tool for swing trading or trend-pullback entries, suitable for timeframes of 1 hour and above. It filters for potential trade nodes that combine trend alignment, momentum, sentiment, and capital interest through multi-condition confluence.
Usage Process:
Loading: Add the script to a TradingView chart.
Observation: Watch for "BUY/SELL" labels confirmed by a "volume spike" and aligned with the trend direction.
Analysis: Never treat signals as direct trading orders. Always analyze the signal within the broader market context:
Check if the signal occurs near key support or resistance levels.
Observe the candlestick patterns (e.g., Pin Bar, Engulfing patterns) on the signal bar and its vicinity.
Assess the overall market structure on higher timeframes.
Decision & Risk Control: Only consider using the signal as an entry reference if it aligns with conclusions from your other analysis tools. Any trade must have a clearly defined stop-loss level set in advance and proper position sizing/risk management.
V. Important Disclaimer
This script is a technical analysis辅助 tool. Its signals are calculated based on historical data and mathematical formulas. Financial markets carry inherent risks, and past performance is in no way indicative of future results. Users must understand that all trading decisions carry the possibility of loss. The developer assumes no responsibility for any trading activities conducted by users based on this script or their outcomes. Please use it prudently under a full understanding of its logic and associated risks.






















