OPEN-SOURCE SCRIPT
Infinity Trader TDS

TDS – Trend Direction Structure Strategy
TDS (Trend Direction Structure) is a rule-based trading strategy that focuses on market structure and directional bias to identify high-probability trade setups.
The strategy is designed to trade only in the direction of the confirmed trend, reducing false entries and improving consistency.
🔹 Core Principle
Markets move in trends and structures.
TDS identifies:
Current trend direction
Internal structure continuations
Confirmed trend reversals
Trades are executed only when structure and direction align.
🔹 Trend Classification
Buy Trend – Higher highs and higher lows
Sell Trend – Lower highs and lower lows
🔹 Structure Signals Used
Internal Continuation
ICB (Internal Continuation Buy)
Entry during pullback in a buy trend
ICS (Internal Continuation Sell)
Entry during pullback in a sell trend
Internal Change of Trend
iCBT – Early change to buy trend
iCST – Early change to sell trend
External Change of Trend
CBT – Confirmed buy trend reversal
CST – Confirmed sell trend reversal
🔹 Entry Logic
Trade only after structure confirmation
Entries occur on pullbacks or continuation zones
Avoid ranging and low-momentum markets
🔹 Risk Management
Structure-based Stop Loss
Fixed or dynamic Take Profit
Risk-to-Reward ratio typically 1:2 or higher
🔹 Best Suitable For
Forex (major pairs like EUR/USD)
Intraday & swing trading
Manual trading and AI/robot automation
🔹 Objective
TDS aims to deliver consistent profits, controlled drawdowns, and disciplined execution by following trend direction and market structure.
TDS (Trend Direction Structure) is a rule-based trading strategy that focuses on market structure and directional bias to identify high-probability trade setups.
The strategy is designed to trade only in the direction of the confirmed trend, reducing false entries and improving consistency.
🔹 Core Principle
Markets move in trends and structures.
TDS identifies:
Current trend direction
Internal structure continuations
Confirmed trend reversals
Trades are executed only when structure and direction align.
🔹 Trend Classification
Buy Trend – Higher highs and higher lows
Sell Trend – Lower highs and lower lows
🔹 Structure Signals Used
Internal Continuation
ICB (Internal Continuation Buy)
Entry during pullback in a buy trend
ICS (Internal Continuation Sell)
Entry during pullback in a sell trend
Internal Change of Trend
iCBT – Early change to buy trend
iCST – Early change to sell trend
External Change of Trend
CBT – Confirmed buy trend reversal
CST – Confirmed sell trend reversal
🔹 Entry Logic
Trade only after structure confirmation
Entries occur on pullbacks or continuation zones
Avoid ranging and low-momentum markets
🔹 Risk Management
Structure-based Stop Loss
Fixed or dynamic Take Profit
Risk-to-Reward ratio typically 1:2 or higher
🔹 Best Suitable For
Forex (major pairs like EUR/USD)
Intraday & swing trading
Manual trading and AI/robot automation
🔹 Objective
TDS aims to deliver consistent profits, controlled drawdowns, and disciplined execution by following trend direction and market structure.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.