Risk & Lot Settings
The MT5 product uses the risk and protection labels shown in the BananaEA-Auto MT5 Inputs tab.
Lot Sizing
| Input label | What it controls |
|---|---|
| Lot sizing method | How the EA calculates trade size. Choices include fixed lots, balance-percent risk, equity-percent risk, and account-currency risk. |
| Fixed lots, percent, or account-currency risk | The value used by the selected lot sizing method. For example, it can be a fixed lot size, a risk percent, or a currency amount. |
| Max lots per trade, 0 disables | Optional hard cap on lot size per trade. |
| Max risk percent cap, 0 disables | Optional cap on risk percentage per trade. |
Start with small risk on demo, then confirm the calculated lot size in Strategy Tester before live use.
Portfolio And Symbol Limits
| Input label | What it controls |
|---|---|
| Max open positions, 0 disables | Maximum total open positions across the portfolio. |
| Max pending orders, 0 disables | Maximum total pending orders across the portfolio. |
| Max positions per symbol | Maximum open positions for one symbol. |
| Max pending orders per symbol | Maximum pending orders for one symbol. |
| Max open trades when scale-in is enabled | Maximum open trades allowed when the scale-in gate mode permits additional entries. |
| Max counted signals per session, 0 disables | Limits how many signals can be counted during one session. |
| Max open portfolio risk percent | Optional cap on total open portfolio risk. |
Scale-In And Exposure Controls
| Input label | What it controls |
|---|---|
| Scale-in gate mode | Whether additional same-direction trades are allowed, and whether they must wait for break even or partial close progress. |
| Allow opposite hedging exposure | Allows opposite-direction exposure where the account model permits it. |
| Replace same-side pending order | Replaces an existing same-side pending order when a newer one is accepted. |
| Block new signals while symbol position exists | Stops additional signals on a symbol while a position is already open. |
Magic Number
| Input label | What it controls |
|---|---|
| Banana EA magic number | The identifier stamped on orders placed by this EA instance. Use a different Magic Number for independent charts or portfolios. |
On multi-symbol or multi-chart setups, plan Magic Numbers before live use so one setup does not accidentally manage another setup's trades.