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.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.
Skrypt open-source
W zgodzie z duchem TradingView twórca tego skryptu udostępnił go jako open-source, aby użytkownicy mogli przejrzeć i zweryfikować jego działanie. Ukłony dla autora. Korzystanie jest bezpłatne, jednak ponowna publikacja kodu podlega naszym Zasadom serwisu.
Wyłączenie odpowiedzialności
Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.