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.
| Input | Default | Description |
|---|---|---|
Enable Daily DD Control | false | Master switch |
Max Daily Loss % | 4.0 | Maximum loss as % of balance before protection fires |
Close All Trades on DD | true | Close 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.
| Input | Default | Description |
|---|---|---|
Weekly DD Cap Mode | Disabled | Disabled, Block New Entries, or Block and Close |
Weekly DD Cap % | 5.0 | Maximum 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.
| Input | Default | Description |
|---|---|---|
Trailing HWM DD Mode | Disabled | Disabled, Block New Entries, or Block and Close |
Trailing HWM DD Threshold % | 3.0 | Allowed 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.
| Input | Default | Description |
|---|---|---|
Max Consecutive Losses | 0 (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.
| Input | Default | Description |
|---|---|---|
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.