OPEN-SOURCE SCRIPT
Updated

TSD Quantum [Moeinudin Montazerfaraj]

371
🔸 "TSD" stands for **Trend 1-2-3 and Supply & Demand**, which is the foundation of the trading style this indicator is built upon.

🔹 TSD Quantum is a specialized indicator designed exclusively for day traders who trade EURUSD, XAUUSD (Gold), and DAX40 on the 1H, 15M, and 5M timeframes using a Supply & Demand-based strategy.

This indicator is **not suitable for other symbols** and has been tailored specifically for these three assets to ensure high precision and effectiveness.

---

### 🔍 Key Features:

✅ **Trading Checklist Panel**
A built-in checklist helps you track every rule in your trading plan. If even one condition is left unchecked, the system highlights it in red and marks the trade as "Not Allowed." This feature enhances trading discipline.

✅ **Spread & ATR Control Panel**
Supports both auto-calculated and fixed values for spread and ATR. This is especially helpful when placing stop-losses quickly and accurately.

✅ **Inside & Outside Candle Detection**
A dedicated panel highlights whether the last candle is inside or outside. Hovering your mouse over the chart elements automatically colorizes the candles:
🔵 Blue = Outside candle
🔴 Red = Inside candle
Also displays the high/low of the latest outside bar.

✅ **Weekly Trade Stats Panel**
Custom-built for the mentioned three assets. You can enter your trades using either fixed risk or floating risk models.

✅ **Performance Metrics**
Helps you build and adjust a floating risk model—so you don’t have to enter every trade with the same lot size. Improves risk management across multiple trades.

✅ **Base Candles Display**
Grey and white base candles are marked based on supply and demand zones.

✅ **EOT Candles**
Candles with a green dot underneath indicate valid EOT opportunities for potential move-outs.

✅ **RC (Rejection Candle) Detection**
RC candles are automatically detected to alert you of potential traps or weaknesses during Supply/Demand formations.

---

### ⚠️ Disclaimer

This indicator does **not** issue buy/sell signals and **cannot guarantee profit or prevent loss**. It is a **tool for discretionary trading**, not an automated expert advisor.
All decisions must be made by the trader based on their own strategy and risk tolerance.

This is the **latest tested version** of TSD Quantum. All features have been validated and function as intended. Future updates will be provided if needed.

---

🙏 Thank you for reviewing this script. We hope it becomes a valuable addition to your day trading toolkit!
Release Notes
Update Log – Quantum Indicator

Enhanced Linear Base Candle Detection: Improved settings for more accurate identification of Linear Base Candles.

Checklist Language Update: Translated Persian checklist items into English for universal readability and understanding.
Release Notes
Removal of Linear Base Candles 1 & 2

In this update, all settings, detection logic, and chart display related to Linear Base Candles 1 (15M) and Linear Base Candles 2 (15M) have been completely removed.

Changes made:

Removed all input settings for Linear Base Candles 1 & 2 from the settings panel.

Deleted detection logic blocks (isLinearBase1 & isLinearBase2) and their related calculations.

Removed plotshape calls for displaying Linear Base Candles 1 & 2 on the chart.

Preserved the main Base Candle and Additional Base Candle logic (showBase & showBase_2) to ensure original base candle features remain fully functional.

Effect:
The indicator will no longer show Linear Base Candle 1 & 2 markers or related settings, while keeping the main Base Candle visualization unchanged.
Release Notes
"Improvement in EOT candlestick display parameters"
"Improvement in 1-hour base display"

Release Notes
Remove EOT Moveout Green Circle
Release Notes
Fix DAX40 and GOLD 15m True Base

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.