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 drawdown entry block | false | Master switch |
| Daily drawdown percent | 4.0 | Maximum daily drawdown before protection fires |
| Close managed positions on daily DD | true | Close 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.
| Input | Default | Description |
|---|---|---|
| Enable weekly drawdown entry block | false | Master switch |
| Weekly drawdown percent | 5.0 | Maximum weekly loss from Monday-open balance |
| Close managed positions on weekly DD | false | Close 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.
| Input | Default | Description |
|---|---|---|
| Enable high-water drawdown entry block | false | Master switch |
| High-water drawdown percent | 3.0 | Allowed drawdown from equity peak |
| Close managed positions on trailing DD | false | Close 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.
| Input | Default | Description |
|---|---|---|
| Max consecutive losses, 0 disables | 0 | 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 percent | 0.0 | Stop 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.