Dynamic Trendline Deluxe Pro Bot — cBot for cTrader Version 4.0 · Major Update 🚀
🆕 What's New in Version 4.0
Version 4.0 is a major evolution built on the Deluxe Pro foundation. Every new feature was driven by real trader feedback and prop firm requirements. The core trendline strategy is unchanged — all additions are layered on top without breaking existing configurations.
🚨 Hard Stop (Forced Closure) — When a daily DD or max drawdown limit is breached, the bot instantly closes all its open positions on the symbol. The ultimate account-saver for prop firm challenges. Now a simple checkbox — no more confusing text input.
🎯 Daily & Weekly Profit Targets — Set a daily or weekly profit target as a % of balance. When reached, the bot optionally stops opening new trades, locking in accumulated gains before giving them back.
🛡️ Max Drawdown Limit (Equity-Based) — A hard absolute floor on equity. If your account equity falls below a set % of the initial balance, trading stops immediately regardless of realized P/L.
📊 Hourly Status Report — Every hour the bot prints a full risk snapshot to the log: equity, daily drawdown %, total drawdown %, win rate, profit factor, and P/L. Full transparency at all times.
📈 Martingale / Anti-Martingale — Optional volume progression system. Martingale multiplies lot size after losses; Anti-Martingale after wins. Both are capped by a configurable step limit.
🔺 Position Scaling (Pyramid In / Scale Out) — Pyramid In adds partial positions in the direction of a winning trade every N profit pips. Scale Out progressively closes portions at each pip step.
📰 News Filter (Block Windows) — Define UTC time windows during which the bot will not open new trades. Ideal for blocking entries around high-impact news events like NFP, CPI, or Fed announcements.
⚡ Spread Filter + CoolDown + Max SL Cap — Three new entry guards: block trades when spread exceeds a threshold, enforce a minimum number of bars between entries, and cap the SL of any single trade as a per-trade circuit breaker.
📋 Final Session Performance Report — When the bot stops, it prints a complete summary: total trades, win rate, profit factor, average pips per trade, and maximum drawdown recorded during the session.
🔧 Startup Parameter Validation — Before trading begins, the bot checks for dangerous or contradictory configurations and prints warnings to the log — catching mistakes before they cost you money.
⚠️ Important Advisory for Prop Firm Traders
This bot is equipped with a professional-grade equity protection system essential for prop firm challenges. We strongly advise against setting the bot's Max Daily Drawdown (%) to the same value as your prop firm's limit (e.g., 4% or 5%).
💡 The winning strategy: set a stricter, more conservative limit. Use the bot's drawdown parameter as your personal daily stop-loss, staying well inside the prop firm's absolute limit.
🎯 Practical example: → Prop firm daily DD limit: 4% → ❌ Wrong: set bot limit to 4% — dangerous → ✅ Correct: set bot limit to 1% – 1.5%
If you hit a bad day, the bot triggers its Hard Stop after a small, controlled loss — far from violating the prop firm's rules. The goal is not to use your entire daily buffer in one session, but to survive long enough to win. 🧠
⚙️ Introduction
Dynamic Trendline Deluxe Pro Bot is a versatile cBot for the cTrader platform whose strategy is based on identifying price interaction with dynamically calculated support and resistance trendlines. Its core philosophy is "Survive First, Profit Second" — built from the ground up to navigate the rigorous evaluations set by proprietary trading firms.
📌 Note: optimization was performed on IC Markets. Results may differ on other brokers.
📐 Core Strategy: Dynamic Trendlines and Signals
On each new bar, the bot analyzes the preceding Lookback Candles to identify key lows and highs, connecting the two most extreme points to form a dynamic trendline. The line is recalculated on every bar, continuously adapting to market evolution.
Smart Validation:
- Touch Validation — confirms a line's relevance by requiring a minimum number of candle contacts within a pip tolerance
- Slope Filter — removes lines that are too flat or too steep based on configurable angle thresholds
Three signal types are monitored:
- 📍 Breakout — a definitive break of the line, detectable on bar close or on every tick
- 📍 Touch — price contacts the line without a significant break
- 📍 Approach — price enters within a configurable pip distance without touching
For each signal and line type the user sets an independent action: ContinueTrend, Invert, or NoAction. Two override mechanisms can bypass all action settings and filters: a manual force and an automatic ATR-based volatility override.
🔧 Main Features
Volume & Risk Management 📊
- Fixed or Dynamic lot sizing based on Risk % per Trade
- Max Allowed Lot Size cap
- 🆕 Max Single Trade Loss (Pips) — per-trade circuit breaker
- 🆕 Martingale / Anti-Martingale with configurable multiplier and step limit
- 🆕 Position Scaling: Pyramid In or Scale Out
Trade Management Suite 📈
- Fixed or ATR-based initial Stop Loss / Take Profit
- Partial Take Profit — close a portion at a first target
- Break-Even — move SL to entry once profit threshold is reached
- Trailing Stop — Fixed Pips or ATR-based, with 🆕 minimum step to avoid excessive modifications
Entry Controls ⚡
- 🆕 Min CoolDown Between Trades (Bars)
- 🆕 Max Allowed Spread (Pips)
- Breakout Detection: OnBarClose or OnTickCross
Risk Management 🛡️
- Daily & Weekly Loss Limits with configurable reset time
- 🆕 Max Drawdown Limit (equity-based hard floor)
- 🆕 Daily & Weekly Profit Targets
- 🆕 Hard Stop (forced closure of all positions on limit breach)
Operational Filters ⏱️
- Time Filter — specific days and up to two UTC trading sessions
- 🆕 News Filter — block trading during configurable UTC windows
Indicator Filters 🔍 (all skipped when an override is active)
- Moving Average Trend Filter
- RSI Confirmation
- OBV (with optional smoothing)
- Stochastic Oscillator
- Volume vs MA
- MACD (line vs signal or line vs zero)
- ADX Range Filter
- DMI Direction Filter (DI+/DI-)
- Bollinger Bands (3 logic modes)
- Ichimoku Kinko Hyo (Kumo cloud)
Reporting 📋
🆕 Hourly risk status report (equity, DD%, win rate, profit factor)
🆕 Final session performance report (win rate, profit factor, avg pips, max DD)
🆕 Startup parameter validation with log warnings
📊 What's New vs Previous Version
✅ Present in both versions: Dynamic Trendline Strategy · 9 Indicator Filters · ATR-Based SL/TP · Partial TP / Break-Even / Trailing Stop · Dynamic Lot Sizing · Time Filter · Daily & Weekly Loss Limits
🆕 New exclusively in V4.0:
- Max Drawdown Limit (Equity-Based)
- Daily & Weekly Profit Targets
- Hard Stop (Forced Closure)
- Martingale / Anti-Martingale
- Position Scaling (Pyramid In / Scale Out)
- News Filter (Block Windows)
- Spread Filter / CoolDown / Max SL Cap
- Trailing Stop Minimum Step
- Hourly Risk Report + Final Session Report
- Startup Parameter Validation
⚠️ Risk Warning
Trading financial instruments, including Forex and CFDs, involves a high level of risk and may not be suitable for all investors. There is a real possibility that you may sustain a loss equal to or greater than your entire invested capital. Do not invest money you cannot afford to lose. Past performance, including backtest results, is not indicative nor a guarantee of future results.
Dynamic Trendline Deluxe Pro Bot is a software tool and does not guarantee any profits. This description does not constitute financial or investment advice. The user is solely responsible for their own trading decisions. It is strongly recommended to test any strategy on a demo account for an adequate period before using it with real capital.