PROTECTED SOURCE SCRIPT
ที่อัปเดต:

QSS v18.3 Institutional Quant Engine

325
QSS v18.3 [Fortress Edition] | Institutional Quant Engine

💎 The Ultimate Algorithmic Trading Suite
QSS (Quantitative Signal System) v18.3 is a complete institutional-grade trading engine designed to replace the noise of multiple indicators with a single, high-probability decision model.

This is not just a "Buy/Sell" indicator. It is a "Fortress" of filters, combining Trend, Momentum, Volume, Volatility, Market Cycles, and Support/Resistance into one unified system.

🚀 What is New in v18.3 [Fortress Edition]?
1. Dynamic Support & Resistance Engine: The system now automatically detects and draws Support (Green) and Resistance (Red) lines based on pivot points.
  • The "Fortress" Filter: QSS intelligently scans these lines. If a trade setup appears right below a resistance wall or right above a support floor, the system BLOCKS the signal to prevent buying the top or selling the bottom.

  • Breakout Logic: The system is smart enough to detect a true Breakout. If a candle closes through a resistance line, the filter is overridden, allowing you to catch the explosion.


2. Visual Clarity:
  • S/R Labels: Horizontal lines are now clearly labelled "RES" (Resistance) and "SUP" (Support).

  • Entry/Exit Dots: Stop Loss lines now use distinct dotted styling for better visibility.


⚔️ Core Features
1. Dual-Core Signal Engine
Choose the engine that fits your asset class:
  • Engine A: OTT (Optimized Trend Tracker): Default. A next-gen algorithm based on VIDYA (Variable Index Dynamic Average). It is volatility-adaptive and reacts faster than traditional tools. Perfect for Crypto & Scalping.

  • Engine B: SuperTrend (Classic): The industry standard for trend following. Slower, steadier, and reliable. Best for Stocks & Swing Trading.


2. Institutional Intelligence (Smart Money)
  • Koncorde Logic (The Sharks): Analyzing NVI (Negative Volume Index) vs. PVI (Positive Volume Index). Logic: It tracks "Sharks" (Institutions) vs. "Minnows" (Retail). Signals are BLOCKED if Sharks are selling into a pump.

  • Order Block Filter (SMC): Automatically detects Supply (Red Zones) and Demand (Green Zones). Logic: The system will refuse to Buy if price is hitting a Bearish Order Block (Resistance).


3. The "Cycle Hunter" Filter
  • Schaff Trend Cycle (STC): A cyclical momentum filter that replaces MACD/Stochastic. Logic: Signals are only valid if the market cycle is turning in your direction. This prevents getting trapped in "fake outs" where price moves slightly but the cycle is actually exhausted.


4. Advanced Noise Cancellation
  • ADX Trend Strength: Blocks trades during "dead" markets (Chopping/Sideways) where trend followers usually lose money.

  • Candle Stability Index: Ignores "wicky" candles and dojis. If the market is undecided, QSS waits for a solid candle before firing.

  • Trend Ribbon: A dual-SMA cloud (21/34) acting as a macro-trend governor.


5. Pro Dashboard & Risk Management
  • Dynamic Panel: Displays Trend Status, Smart Money Flow (Accumulation/Distribution), Cycle State, and Volatility %.

  • Live Trade Monitor: When a signal fires, the dashboard expands to show your exact Entry Price, Stop Loss, and TP1/TP2/TP3 targets.

  • Status Monitor: When waiting for a trade, the dashboard tells you exactly what it is waiting for (e.g., "Wait: Money Flow" or "Wait: S/R Wall").


🛠️ Settings Guide
🔥 SIGNAL ENGINE
  • Strategy Engine: Choose between OTT (Fast/Crypto) or SuperTrend (Safe/Stocks).


🏰 SUPPORT & RESISTANCE
  • Filter: S/R Proximity: Enables the "Fortress" logic. Blocks trades too close to walls unless they are breakouts.

  • Show S/R Lines: Toggles the visible horizontal lines.


🧱 ORDER BLOCK FILTER
  • Respect Order Blocks: Highly recommended. Prevents buying into institutional supply zones.


📊 QUANT FILTERS
  • Smart Money (Sharks): Essential for avoiding retail traps. Read more info below on how the filter protects you

  • ADX Threshold: Default 20. Increase to 25 for safer entries.

  • Candle Stability: Filters out high-volatility wicks.


🛡️ RISK MANAGEMENT
  • SL Multiplier: Distance of Stop Loss (Default 2.0x ATR).

  • TP Multipliers: Adjust your Risk:Reward ratios. (Default is 1:1, 1:2, and 1:3).


💡 How to Trade with QSS v18
The Signal:
  • Wait for a "BUY" or "SELL" label. Note if it says "OTT" or "ST".


The Confluence:
  • Check the Ribbon: Is it the right color?

  • Check the Dashboard: Is Smart Money "ACCUM" (for buys)? Is the Cycle "BULL"?


The Execution:
  • Enter at the Entry Price displayed on the chart/dashboard.

  • Set Stop Loss at the Red Dotted Line.

  • Take Profit at the Blue Dotted Lines.


Troubleshooting:
I see the trend change colour, but no Buy/Sell label?
  • Turn on "🔧 Debug Mode" in the settings. Grey labels will appear on the chart explaining exactly why the trade was rejected (e.g., "⛔ REJECTED: Hitting S/R Wall" or "⛔ REJECTED: Low ADX").


The Smart Money (Sharks) Filter Explained
The "Smart Money" filter in QSS v16.0 is based on the famous "Koncorde" indicator logic developed by Blai5. It is designed to reveal what "Institutional Investors (Sharks)" are doing, as opposed to "Retail Traders (Minnows)".
It solves the classic problem: "Why is the price going up, but the volume looks weak?"

---
1. How it Works (The Logic)
The filter uses volume analysis to separate money flow into two categories:
  • The Sharks (Institutions): Calculated using the NVI (Negative Volume Index). Theory: Institutions accumulate positions quietly on low volume days to avoid spiking the price and alerting the market.

  • The Minnows (Retail): Calculated using the PVI (Positive Volume Index). Theory: Retail traders tend to chase price on high volume days (FOMO/Panic).


The Calculation in QSS:
The system takes the NVI, smooths it with an EMA, and normalizes it into a specific range.
  • Blue Area (Sharks) > 0: Institutions are BUYING (Accumulation).

  • Blue Area (Sharks) < 0: Institutions are SELLING (Distribution).

---
2. How the Filter Protects You
When you enable **"Filter: Smart Money (Sharks)"** in the settings, the system enforces the following strict rules:
  • Buying Rule: QSS will BLOCK a Buy signal if the Sharks are selling (Value < 0). Scenario: Price is pumping due to retail FOMO, but institutions are selling into the pump. This is a "Bull Trap." QSS saves you from buying the top.

  • Selling Rule: QSS will BLOCK a Sell signal if the Sharks are buying (Value > 0). Scenario: Price is dropping due to retail panic, but institutions are scooping up cheap coins. This is a "Bear Trap." QSS saves you from selling the bottom.

---
3. How to Set It Up
This filter is Pre-Calibrated inside the code, so you do not need to adjust the math. You only need to toggle it.

In the Indicator Settings:
1. Scroll down to the **"Quant Filters"** section.
2. Look for the checkbox: **"Filter: Smart Money (Sharks)"**.
  • ✅ Checked (Default): The safety guard is ON. You will receive fewer signals, but they will have institutional backing.

  • ⬜ Unchecked: The safety guard is OFF. You will get more signals, catching raw price moves, but you risk getting trapped by fake-outs.


In the Dashboard:
Look at the row labelled "Smart Money".
  • ACCUM (Green): Sharks are buying. Safe to Long.

  • DIST (Red): Sharks are selling. Safe to Short.


Summary

Think of this filter as an "Institutional Background Check." Before the system lets you enter a trade, it asks: "Are the whales coming with us?" If the answer is No, the trade is rejected.

Disclaimer: Trading involves high risk. This indicator is a tool for analysis and confirmation, not financial advice. No algorithm is 100% accurate; always use stop losses.

Credits:
  • OTT Logic adapted from Anıl Özekşi.

  • Koncorde Logic adapted from Blai5.

  • STC Logic adapted from Doug Schaff.

  • SMC logic adapted from FluxCharts concepts.

เอกสารเผยแพร่
The Fix: Locking the Entry Price
The Fix: Entry Price to appear on the label
เอกสารเผยแพร่
Changelog: v18.3 ➔ v21.0 [Visual Master Edition]

**Major Feature Upgrade: Neural Probability Engine**
The system has moved beyond simple trend following. It now incorporates a predictive layer using **KDE (Kernel Density Estimation)** to identify statistical pivot points before they happen.

1. New Features (Neural KDE)
KDE Probability Engine:
  • A sophisticated statistical model that calculates the probability of a market top or bottom based on historical RSI distributions.

Smart Reversal Filter:
  • Buy Protection: If KDE predicts a high probability of a "Top" (Bearish Pivot), the system BLOCKS Buy signals, preventing you from buying into exhaustion.

  • Sell Protection: If KDE predicts a high probability of a "Bottom" (Bullish Pivot), the system BLOCKS Sell signals.

Visual Reversal Signals:
  • Added dynamic labels (▲ / ▼) on the chart that appear when a statistical pivot is detected. These labels also display the RSI value at that moment (e.g., `▼ 78`) to show how overextended the move is.

2. Dashboard Overhaul
The Smart Panel has been reorganised for better data density and readability.

  • Added "KDE Prob": A new row showing the current probability state (e.g., "Bot Likely", "Top Likely", or "Neutral").

  • Added "RSI" Row: The RSI value is back on the dashboard with dynamic colour coding (Red > 70, Green < 30) for instant momentum checks.

  • Reorganised Layout: Grouped related metrics (Zone Status, Smart Money, Probability) together for a logical flow.

3. Visual Improvements
  • Candle Colors: Reverted default candle colouring to "Standard (Green/Red)" based on price action, as the RSI Heatmap was causing confusion for some users. *Note: The RSI Heatmap is still available as an optional toggle in settings.

  • Visibility Fixes: KDE Arrows were converted to Labels to ensure they render cleanly on top of candles and don't get hidden by price action.


4. Bug Fixes
  • Entry Price Lock: Fixed an issue where the entry price label would "float" with the current price. It now locks correctly at the signal candle.

  • Filter Logic: Optimised the "Continuous Scanning" engine to ensure KDE probabilities are checked on every bar, not just on trend flips.

---
Summary:
This update transforms QSS from a purely reactive trend-following system into a **predictive** one. By combining "Smart Money" (Volume) with "Neural Probability" (Stats), the system can now distinguish between a strong trend and an exhausted one.
เอกสารเผยแพร่
Changelog details:
Major Dashboard Overhaul (The "Ultimate" Upgrade)
The Smart Panel was completely redesigned to provide institutional-grade data density.
  • Expanded Metrics: Increased row count from ~8 to 16 rows.


New Data Points Added:
  • Current Session: Automatically detects and displays the active market session (New York, London, Tokyo) based on UTC time.


Trend Pressure:
  • A new momentum gauge showing short-term price velocity ("Rising" vs "Falling").


Trend Strength:
  • Added a verbal classification of the ADX ("Parabolic", "Trending", "Ranging").


Zone Status:
  • Now explicitly states if price is hitting "Resistance" or "Support" based on Order Blocks.


Dynamic Layout:
  • The dashboard now automatically expands when a trade is active to show Entry/TP targets and collapses when scanning to show System Status.
เอกสารเผยแพร่
QSS v24.0

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน