Skip to main content

Drawdown Protection

Banana EA includes five independent drawdown protection mechanisms. You can enable any combination.


Daily Drawdown Cap

Stops new entries (and optionally closes all open trades) when the day's cumulative loss exceeds a percentage of the account.

InputDefaultDescription
Enable Daily DD ControlfalseMaster switch
Max Daily Loss %4.0Maximum loss as % of balance before protection fires
Close All Trades on DDtrueClose all open trades when the limit is hit

Use case: prop-firm accounts with a 5% daily drawdown rule. Set to 4% to leave a 1% buffer.

The cap resets at midnight (broker time) each day.


Weekly Drawdown Cap

Similar to the daily cap but resets every Monday at 00:00 broker time.

InputDefaultDescription
Weekly DD Cap ModeDisabledDisabled, Block New Entries, or Block and Close
Weekly DD Cap %5.0Maximum weekly loss from Monday-open balance

Trailing High-Water Mark (HWM) Drawdown

Tracks the peak equity since the EA started and fires when equity drops more than TrailingDDPercent below that peak. This protects profits that have been earned during the session.

InputDefaultDescription
Trailing HWM DD ModeDisabledDisabled, Block New Entries, or Block and Close
Trailing HWM DD Threshold %3.0Allowed drawdown from equity peak

Example: account grows to $11,000. With a 3% threshold, new entries are blocked (or all trades closed) if equity falls below $10,670.


Consecutive Loss Circuit Breaker

Pauses new entries after N consecutive losing trades.

InputDefaultDescription
Max Consecutive Losses0 (off)Stop new entries after this many losses in a row

The counter resets on the next winning trade. Set to e.g. 3 to take a break after three losses in succession.


Session Profit Lock

Stops new entries once the session has earned a target profit, locking in gains for the day.

InputDefaultDescription
Session Profit Lock %0.0 (off)Stop new entries once session equity profit reaches this % of session-start balance

Example: SessionProfitLockPercent = 2.0 — no more entries are taken once the session is up 2% from where it started.