"Fade Breakout (Demo Version)" logo
Fade Breakout (Demo Version)
0.0
16/07/2025
7
Desktop, Mobile, Web

Basic Information & Restrictions

  • Demo Account Only: The bot stops if running on a live account, enforced via Account.IsLive.


🔧 Parameters

Money Management

  • MaxOpenPositions: Maximum number of simultaneously open positions.
  • LotSizingMode: Lot calculation mode (Fixed / Balance-based / Peak balance-based).
  • RiskPercentage: Percentage of account balance to risk per trade.
  • FixedLotSize: Fixed lot size (when selected).

Trading Strategy

  • DonchianPeriod: Period for Donchian Channel.
  • SlMultiplierBuy/Sell: Stop-loss multiplier based on ATR (Buy/Sell).
  • Tp1MultiplierBuy/Sell: Initial take-profit multiplier.
  • TrailMultiplierBuy/Sell: Trailing stop multiplier.

Filters

  • AtrPeriod: Period for ATR indicator.
  • EnableAdxFilter: Enables ADX-based filtering.
  • AdxPeriod, MaxAdxValue: ADX settings and threshold.

Cool-Down (Drawdown Management)

  • EnableCoolDown: Enables temporary pause after losses.
  • MaxLosses: Max consecutive losses allowed before pause.
  • CoolDownHours: Number of hours to pause trading.


🧠 Strategy Logic

OnStart()

  • Initializes indicators (Donchian, ATR, ADX).
  • Checks for demo account only.
  • Registers event handler for position closures.

OnBar()

  • On each new bar:
    • Skips if cooling down or positions already exist.
    • Skips if ADX is above threshold (strong trend).
    • Otherwise, calls HandleEntry() to evaluate signals.

HandleEntry()

  • Fade Breakout Logic:
    • If price breaks above the Donchian high then closes below → Sell
    • If price breaks below the Donchian low then closes above → Buy

ProcessOrder()

  • Calculates SL/TP using ATR.
  • Determines lot size via GetVolume().
  • Executes market order using ExecuteMarketOrder().

ManagePositions()

  • If initial TP is hit: closes half the position and moves SL to break-even.
  • If no TP is set: applies trailing stop based on ATR multiplier.

GetVolume()

  • Calculates volume based on selected lot sizing mode:
    • Fixed lot
    • Risk % of current balance
    • Risk % of peak balance

OnPositionClosed()

  • Increments consecutive loss count.
  • If losses exceed threshold, initiates cooldown period.


📊 Strategy Summary

  • Fade Breakout Style: Reacts to Donchian breakouts by trading reversals.
  • Uses ATR to adapt SL/TP and trailing stop to volatility.
  • ADX Filter avoids trading in overly strong trends.
  • Cool-down mechanism helps protect capital after consecutive losses.
More from this author
GJ-M5-Scalper-V1
This cBot "GBPJPYM5ScalperX" implements a scalping strategy on the GBP/JPY 5-minute chart.
FadeBreakout.Ver1
A breakout contrarian strategy using the Donchian channel and ATR with advanced money management and risk control.
Scalper Signal MTF
This code is a custom scalping indicator for the cTrader platform.
Fade Breakout Portfolio Muiti
This cBot is a portfolio-style automated trading robot based on a fade breakout strategy across multiple currency pairs.
ScalperSignalVisual
Overview of the Fade Breakout Visualizer Indicator
GBPJPY_Scalper.DEMO
GBPJPY 1 minute scalping cBot for buying only.
You may also like
Engulfing Strategy with Fixed Risk (Made with AlgoBuilderX)
Auto-detects bullish/bearish engulfing patterns with fixed take profit and stop loss for powerful, simple trading.
DATABOT
Bot de cTrader que escanea múltiples símbolos y marcos temporales en tiempo real, enviando alertas de breakouts y rebote
cBot
forex
breakout
ai
+4
SmartTrade - QuantumBot
🚀 QuantumBot – Your Prop Firm Challenge Killer & The Ultimate Forex Trading Solution for Consistent Growth 💹
Exponential Moving Average Sample (2)
This algo uses two Exponential Moving Averages (EMAs): EMA 21 (fast) → reacts quickly to price changes. EMA 34 and 21
IBSBot
Buy-only IBS bot for indices on Daily timeframe. Enters near lows, exits near highs. No noise, just clean reversion.
TN Trade Manager - Free
Place market or pending trades fast with draggable SL, risk-based sizing & clean, efficient execution tools.
cBot
forex
indices
commodities
+1
FREEE Draw Icon Entry Price
Bot that marks all open positions with customizable icons & colors, with one-key bulk delete.
Araware.RiskManagement
This is a customized bot designed for risk control and management.
cBot
indices
eurusd
gbpusd
+1
USTEC 3000,- EURO per MONTH FREE TEST
FREE TEST UNTIL 07.02.25 - profitable since 01.01.2020 with average 15% per Month
cBot
breakout
scalping
DMG VIP TRADING deno
DMG VIP Trading Bot è un c Bot per c Trader progettato per eseguire operazioni di scalping automatizzato
cBot
prop
xauusd
grid
Prop Firm cBot V2 - Parabolic SAR (Made with AlgoBuilderX)
Prop Firm bot using Parabolic SAR for trends, opening hourly trades with grid management and tight risk control.
Trailing Stop and Filter
After the position achieves a certain profit, I move the stop loss to the set distance to protect the profit.
posilabel
Display the rate value for the position and the type of pending order.
cBot
martingale
grid
Investion Basic
This is a basic martingale bot without an indicator. For long and short trading options at the same bot.
Trend Algo 1 - FREE TEST 10.04.25
EURUSD RE5 PROFITABLE SINCE 2014 # MINIMUMN STARTCAPITAL 150,- EURO
cBot
supertrend
xauusd
commodities
+2
PTFX Supertrend Gold
Dominate gold markets with PTFX Supertrend Gold – Backtested with +816% ROI!
SarahMM2
Un robot de trading intelligent basé sur le croisement de moyennes mobiles, avec un drawdown maîtrisé et une rentabilité
cBot
forex
indices
btcusd
+8
RiskPilot One-Click Trader - DEMO
RiskPilot is a clean, fast trade panel for cTrader that sizes positions by account risk % in a single click.