Skip to main content

Risk & Lot Settings

The MT5 product uses the risk and protection labels shown in the BananaEA-Auto MT5 Inputs tab.

Lot Sizing

Input labelWhat it controls
Lot sizing methodHow 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 riskThe 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 disablesOptional hard cap on lot size per trade.
Max risk percent cap, 0 disablesOptional 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 labelWhat it controls
Max open positions, 0 disablesMaximum total open positions across the portfolio.
Max pending orders, 0 disablesMaximum total pending orders across the portfolio.
Max positions per symbolMaximum open positions for one symbol.
Max pending orders per symbolMaximum pending orders for one symbol.
Max open trades when scale-in is enabledMaximum open trades allowed when the scale-in gate mode permits additional entries.
Max counted signals per session, 0 disablesLimits how many signals can be counted during one session.
Max open portfolio risk percentOptional cap on total open portfolio risk.

Scale-In And Exposure Controls

Input labelWhat it controls
Scale-in gate modeWhether additional same-direction trades are allowed, and whether they must wait for break even or partial close progress.
Allow opposite hedging exposureAllows opposite-direction exposure where the account model permits it.
Replace same-side pending orderReplaces an existing same-side pending order when a newer one is accepted.
Block new signals while symbol position existsStops additional signals on a symbol while a position is already open.

Magic Number

Input labelWhat it controls
Banana EA magic numberThe 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.