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

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
cBot
forex
btcusd
eurusd
+9
RedAndBlack
RedAndBlack: buy on bullish close, sell on bearish close. Simple trend-following trading strategy.
Trailing Stop and Filter
After the position achieves a certain profit, I move the stop loss to the set distance to protect the profit.
Pulse TIck Reactor DreamProfitFX
Pulse Tick Reactor: AI-powered trading bot delivering precision entries, adaptive risk control, and consistent profits.
BOT REJECTION - SOLUTIONS FOR INVESTORS
Rejection Bot – Precision Trading at Key Levels
cBot
bollinger
martingale
commodities
+4
Gold Sclaper V2_noSourceCode
"GoldScalperBot V2 – First release, V3 coming soon."
VALID Hi and Lo
ICT Valid High & Low Detector – Multi-Pair, Multi-Timeframe
Trading_stop Plus DEMO
📄 Trading_stop Plus DEMO 🧪 DEMO VERSION – LIMITED TO 48 HOURS This is the demo version of Trading_stop Plus. It works
BETA AUTOTRADE BOT
Usa la versión beta y aporta toda la retro alimentación mientras mejoramos el Bot. Apoya pagando por la versión premium!
cBot
forex
breakout
ai
+6
needThaiBot Price Actions Focus with Spread Limit
Prices Action Focus Bot, Please use default setting before making any changes!!! ENJOY!!!
XAU USD 1H trend strategy
// XAU/USD 1H TIMEFRAME // 5 YEARS BACKTEST, PROFIT 2100 USD, DRAWDOWN MAX 195 USD 
EngulfingCoreBotPro
Engulfing Pattern cBot Pro: Smart candlestick trading with filters, risk control & daily protection.
cBot
indices
rsi
SmartBot-Fibonacci
This bot is made of Fibonacci, EMA and RSI.
DreamProfit_FX
DreamProfitFXBot hunts pips daily with precision, filters out noise, and locks profits fast. Built for sharp day-traders
Super Algo GBPUSD
Iper Algo GBPUSD
cBot
btcusd
gbpusd
martingale
+3
Stop Order
Scalping V.1 (Stop Order TP + SL)
AUTOEXIT BOT
AUTOEXIT BOT: SL de Seguridad y Trailing Stop para Trades Manuales, diseñado para gestionar automática de salidas.
cBot
rsi
RSI2 - F17and20EMA
This bot implements the well-known 2-period RSI strategy, enhanced by a powerful filter comprised of two exponential mov
cBot
usdjpy
777 - INTERMEDIATE - Adjustable risk cBOT Enc DEMO
USD/JPY Specialist cBOT