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が提供または推奨する金融、投資、トレード、その他のアドバイスや推奨を意図するものではなく、それらを構成するものでもありません。詳細は利用規約をご覧ください。