Search
GBP
Trading Tools
    Menu Close

    Account Equity Protector for cTrader

    Account Equity Protector for cTrader


    Support via Forum & AI Assistant

    The cTrader Account Equity Protector is a safety net for your trading account, designed to enforce daily drawdown limits, per-trade loss caps, and equity floors. It monitors live equity in real-time, closes positions and pending orders upon breach, and can pause trading until a scheduled reset. Keep any strategy on a short leash, reduce tail-risk blowups, and maintain discipline without babysitting charts.
    (OS) Type: Windows & Mac OS Compatible
    Current version: 1.0.0
    Updated: Thursday, 25 September 2025

    cTrader cBot Local & Cloud Version  

    Need a cTrader broker?  Open a demo account

    Educational use only: Read our disclaimer

    Personal Use Only

    Free for personal use under our license agreement. Redistribution & resale are strictly prohibited.

    cTrader Software





    cBot Overview

    This cBot runs in the background, either locally or in the cTrader cloud, and monitors your account equity and open positions at a fixed interval. You define thresholds by percentage or currency, including a hard equity floor and an optional profit lock for stop-after-profit days. When a rule is breached, the bot can close positions, cancel pending orders, and disable further trading until the next daily reset. Clear chart messages confirm status and the reason for any action.

     

    Warning: ClickAlgo holds no responsibility for any losses incurred while using this tool; please use a demo account for testing purposes.

     

    Background & History

    Account-level risk guards emerged as traders automated more of their workflow. Indicators and cBots excel at entries and exits, yet many lack a global kill-switch to stop a bad day from becoming a terrible week. Equity protection frameworks became common in professional risk dashboards, and this bot adapts that concept for cTrader with flexible scopes, daily resets, and action controls suited to multi-symbol or label-filtered trading.

     

    cTrader Account Protection cBot

     

    How the cBot Works

    The bot samples account equity every second by default, compares it to the day's start equity, and checks your selected limit mode. It evaluates three primary loss modes, a hard equity floor, and an optional profit lock. If any condition is met, it enforces your chosen actions once, then optionally disables trading until the reset time. A heads-up display on the chart shows start equity, current equity, delta, and whether trading is active or disabled.

    • It tracks the start of the day equity, then measures live change in currency and percentage.

    • It can operate on all positions, only positions on the current symbol, or only positions with a matching label.

    • It can apply the rules to open positions and to pending orders when requested.

    • It performs a daily reset on a new UTC day or at a specific UTC hour that you set.

     

    Key Features

    This cBot provides guardrails for any discretionary or automated strategy. It is not a signal generator; it is a risk supervisor.

    • Daily loss by per cent of start equity, or fixed account currency, or per trade currency loss.

    • Equity floor as a hard stop for total account equity.

    • Profit lock to stop trading after a positive day reaches a target.

    • Close positions and cancel pending orders on breach, then pause trading.

    • Scope by all positions, by current symbol only, or by position label.

    • Clear on-chart status and timed alert messages.

    • Lightweight timer with adjustable check frequency.

     

    How to Use it In Practice

    This cBot is not a trading strategy; it is a guard that enforces your rules when emotions or algorithms fail to do so. Think of it as a circuit breaker for your trading account. Once you set sensible limits, it will act automatically to stop further losses or secure profits, leaving you free to trade with confidence.

    Set your risk budget.

    • Decide how much you are willing to lose in a single day.

    • Use the Daily Loss % if you want a flexible limit that adjusts to account size.

    • Use the Daily Loss Amount for a fixed currency cap.

    • Use the Per Trade Loss Limit to ensure no single position can run too far.

    Define the scope

    • Choose “All” to protect the entire account.

    • Select “Current” to restrict to the chart symbol.

    • Use “Label filtered” to guard only trades from one strategy.

    Schedule resets

    • Pick “New Day UTC” to reset limits automatically each new day.

    • Choose “Specific Hour UTC” if you want resets to be aligned with a specific UTC.

    Choose enforcement actions

    • Enable closing of positions and cancelling of pending orders to stop exposure immediately.

    • Activate “Disable trading until reset” to block new trades after a breach.

    Add extra safeguards

    • Set an Equity Floor as the absolute minimum balance you will tolerate.

    • Use Profit Lock to stop trading once you hit a target gain for the day.

    Run and monitor

    • Attach the cBot once per account.

    • Watch the on-chart HUD for start equity, live equity, daily change, and status.

    • Demo test first to trigger each condition and confirm the behaviour matches your expectations.

     

    Inputs & Parameters

    The inputs below mirror the cBot parameters. Shaded rows help scanning. Use sensible defaults, then refine after demo testing.

    Scope
    Scope All / Enum Apply rules to all positions, or only those with a matching label.
    Label Filter Empty / String Restrict enforcement to positions labelled as such.
    Affect Pending Orders True / Bool Include pending orders when applying guard rules.
    Symbols All / Enum Apply rules to all symbols or only the current chart symbol.
    Daily Reset
    Reset By NewDayUTC / Enum Choose between a new UTC day or a specific UTC hour to reset limits.
    Reset Hour (UTC) 0 / Int Hour used when Reset By is set to SpecificHourUTC.
    Limits
    Loss Limit Mode AccountCurrency / Enum Select account percent, account currency, or per trade currency.
    Daily Loss % 2.0 / Double Stop trading if equity drop reaches this percent of day start equity.
    Daily Loss Amount (Currency) 100.0 / Double Stop trading if equity drop reaches this currency amount.
    Per Trade Loss Limit (Currency) 50.0 / Double Trigger when any single position loss equals or exceeds this value.
    Equity Floor (Currency) 0.0 / Double Absolute minimum account equity allowed before trading stops.
    Profit Lock % 0.0 / Double Stop trading after equity gain reaches this percentage of start equity.
    Actions
    Close Positions On Breach True / Bool Close all open positions immediately when a rule is breached.
    Cancel Pendings On Breach True / Bool Cancel pending orders when a breach occurs.
    Disable Trading Until Reset True / Bool Prevent new trades until the next scheduled reset.
    Runtime
    Check Interval (sec) 1 / Int Time in seconds between rule checks.
    Show Chart Status True / Bool Display equity, start equity, and trading status on the chart.

     

    Formula

    The logic employs simple comparisons between live equity, start-of-day equity, and per-position profit or loss. The rules below describe each breach condition.

    Definitions:

    Symbol Meaning
    E0 Equity at daily reset.
    E(t) Live account equity at time t.
    ΔE(t) Change in equity (E(t) − E0).
    p Daily Loss %.
    A Daily Loss Amount (currency).
    L Per Trade Loss Limit (currency).
    F Equity Floor (currency).
    q Profit Lock %.

    Breach conditions:

    Condition Formula
    Account per cent loss E0 − E(t) ≥ E0 · (p/100)
    Account currency loss E0 − E(t) ≥ A
    Per trade currency loss ∃ position i such that NetProfiti(t) ≤ −L
    Equity floor E(t) ≤ F
    Profit lock ΔE(t) ≥ E0 · (q/100)

    Reset conditions:

    • New Day UTC: date(t)UTC ≠ date(last reset)UTC.
    • Specific Hour UTC: hour(t)UTC = ResetHour, with logic to prevent duplicate resets.

     

    Advantages

    The Account Equity Protector cBot gives traders a powerful safeguard against runaway losses. By enforcing account-level rules rather than relying on manual discipline, it helps reduce emotional decision-making and keeps risk consistent from day to day. It is flexible enough to operate across all symbols, on a single chart, or restricted by trade labels, which makes it suitable for both discretionary traders and those running multiple automated systems at once. The inclusion of an equity floor and profit lock allows traders to secure gains or protect their account from catastrophic drawdowns, while clear on-chart status updates ensure that users always know the state of their protection. Its lightweight design means it runs smoothly in the background without adding noticeable overhead.

     

    Disadvantages

    his tool can be too strict if the settings are not carefully tuned. For example, setting limits too tight may result in profitable strategies being interrupted during normal drawdown phases, causing traders to miss out on recovery trades. Traders who rely on mean-reversion or grid systems may find that frequent breaches reduce profitability if equity swings are common. Label filtering also requires consistency in naming trades, so users who do not manage trade labels properly might experience unintended results. Finally, using a profit lock at a low percentage can reduce upside potential on strong trending days, as trading will stop prematurely once the gain threshold is reached.

     

    How To Install & Remove

    First, ensure that you have the cTrader trading platform installed. Then, unzip the file and double-click it to install the platform automatically.

     

    Need Extra Help?

    Get instant answers with cTrader Sensei — our free AI assistant built for the cTrader platform. It can explain the indicator settings, suggest trading strategies, and guide you step-by-step through the use of this indicator. Rated 4.9 out of 5 in the ChatGPT Store.

    Chat with cTrader Sensei.

    Prefer human help? Visit our support forum where our team and community can assist you.

    Note: cTrader Sensei runs on OpenAI's ChatGPT platform. To use it, you will be asked to create a free OpenAI account. Registration is quick and costs nothing.

    The free version works immediately, but upgrading to a ChatGPT Plus subscription unlocks the latest GPT model, which provides more accurate and detailed answers for trading, coding, and product support.

     

     

    Need a Broker

    If you're still looking for a broker with tight spreads and fast execution, visit our top cTrader broker site.