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.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.
Скрипт с открытым кодом
В истинном духе TradingView, создатель этого скрипта сделал его открытым исходным кодом, чтобы трейдеры могли проверить и убедиться в его функциональности. Браво автору! Вы можете использовать его бесплатно, но помните, что перепубликация кода подчиняется нашим Правилам поведения.
Отказ от ответственности
Информация и публикации не предназначены для предоставления и не являются финансовыми, инвестиционными, торговыми или другими видами советов или рекомендаций, предоставленных или одобренных TradingView. Подробнее читайте в Условиях использования.