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 drawdown entry blockfalseMaster switch
Daily drawdown percent4.0Maximum daily drawdown before protection fires
Close managed positions on daily DDtrueClose managed positions 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
Enable weekly drawdown entry blockfalseMaster switch
Weekly drawdown percent5.0Maximum weekly loss from Monday-open balance
Close managed positions on weekly DDfalseClose managed positions when the weekly limit is hit

Trailing High-Water Mark (HWM) Drawdown

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

InputDefaultDescription
Enable high-water drawdown entry blockfalseMaster switch
High-water drawdown percent3.0Allowed drawdown from equity peak
Close managed positions on trailing DDfalseClose managed positions when the high-water drawdown rule is hit

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 losses, 0 disables0Stop 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 percent0.0Stop new entries once session equity profit reaches this percentage of session-start balance

Example: if Session profit lock percent is set to 2.0, no more entries are taken once the session is up 2% from where it started.