Skip to main content

Settings Overview — Banana EA MT4 v6.0

This guide details all input parameters in Banana EA Version 6.0, including intraday risk circuit breakers, scale-in bounds, challenge mode compounder, progressive risk reduction, market filters, and dashboard visual configuration.


1. General & Licensing

ParameterTypeDefaultDescription
LicenseSerialString""Official iTradeAIMS serial key required for live and demo chart execution.
LogVerbosityEnumQuietLogging detail level: Quiet (suppresses routine logs) or State changes + reasons (logs protective circuit state transitions).
MagicNumberInteger6001Unique identifier for trades opened and managed by this EA instance.
TradeCommentStringBananaEA v6.0Comment tag attached to MT4 trade executions.
OptimizationSetNameString""Preset file description label displayed on the Smart Risk Monitor dashboard.

2. Risk Sizing & Intraday Protective Controls

ParameterTypeDefaultDescription
LotMethodEnum% risk of balanceSizing calculation method (0 = % risk of balance, 1 = $ risk amount, 2 = fixed lots, 3 = % equity).
RiskValueDouble1.0Risk value per trade (%, $, or fixed lots based on LotMethod).
MaxDailyDrawdownPercentDouble4.0Maximum equity loss allowed in a single trading day (0 = disabled). Exceeding this closes open positions and locks new entries until next session.
MaxConsecutiveLossesInteger0New in v6.0: Maximum consecutive losing closes allowed within a trading day (0 = disabled). Exceeding this pauses new signal entries until the next daily reset.
ConsecLossCooldownMinutesInteger0New in v6.0: Minutes to block fresh signal entries following a losing trade (0 = disabled). Scale-ins are exempt.
ExcludeScaleInsFromLossStreakBooleanfalseWhen enabled, treats scale-in closes as part of parent position rather than independent streak outcomes.

3. Position Risk Bounds & Scale-In Controls

ParameterTypeDefaultDescription
MaxNotionalMultipleDouble0.0Caps position notional exposure as a multiple of equity (0 = disabled). Prevents tight-stop unbounded lot expansion.
MaxPortfolioRiskPercentDouble0.0Maximum total open risk across active trades on this chart as % of equity (0 = disabled).
MinFreeMarginPercentDouble0.0Minimum free margin percent required after entry (0 = disabled). Refuses trades that violate threshold.
MultiTradeModeEnumDisabledScale-in mode for adding secondary same-direction positions.
MaxOpenTradesInteger3Absolute maximum number of open trades permitted per chart.
ScaleInMaxRiskMultipleDouble0.0Caps scale-in add-on risk as a multiple of remaining open risk (0 = disabled).
ScaleInLotModeEnumInherit riskSizing mode for scale-in entries (Inherit risk, Fixed lots, Fraction of fresh entry).
ScaleInFixedLotsDouble0.0Fixed lot size for add-ons when ScaleInLotMode is set to Fixed lots.
ScaleInBaseFractionDouble0.0Fraction of fresh entry lot size (e.g., 0.25 = 25%) when ScaleInLotMode is set to Fraction.
StartActiveBooleanfalseWhen enabled, begins taking trades immediately on attach without requiring dashboard AUTO click (ideal for unattended VPS restarts).

4. Challenge Mode & Compounder

ParameterTypeDefaultDescription
AccountPhaseEnumPhase 1 (Challenge)Declared account lifecycle phase (Phase 1 (Challenge), Phase 2 (Verification), Funded).
UseChallengeModeBooleanfalseEnables progress lot scaling as account profit target approaches.
ChallengeStartBalanceDouble0.0Challenge balance anchor (0 = auto-capture starting balance on EA init).
ChallengeTargetPercentDouble10.0Target profit percentage required for challenge completion (e.g. 10%).
ChallengeMaxLossPercentDouble10.0Hard loss limit percentage from challenge anchor. Closes all positions and halts EA if breached.
ChallengePersistStateBooleantruePersists challenge state across terminal restarts. Set false once to clear saved state for new accounts.
ChallengeBaseMultiplierDouble1.0Lot size multiplier at 0% challenge progress.
ChallengeMaxMultiplierDouble3.0Lot size multiplier at 100% challenge profit progress.
MinTradingDaysInteger0Minimum distinct active trading days required by prop firm (0 = disabled).
MinTradesInteger0Minimum trade count required by prop firm (0 = disabled).
ComplianceSafetyBufferPercentDouble0.2Safety buffer (% of anchor) added above target equity before compliance trades fire.
ComplianceStopLossPipsInteger20Stop loss distance in pips for checkbox compliance trades.
ComplianceTakeProfitPipsInteger2Take profit distance in pips for checkbox compliance trades.
ComplianceSymbolString"EURUSD"Dedicated symbol for compliance trades (empty = chart symbol).

5. Progressive Risk & Peak Protection

ParameterTypeDefaultDescription
UseProgressiveRiskReductionBooleanfalseProgressively scales lot size down when account equity drops below starting balance.
ProgressiveRiskFloorDouble0.25Minimum lot multiplier floor at full drawdown depth (e.g. 0.25 = 25% of base risk).
ProgressiveRiskDepthDouble5.0Drawdown depth % from starting balance where the floor multiplier is reached.
UseProgressivePeakProtectionBooleantrueActivates secondary giveback protection curve once equity cushion is built.
ProgressivePeakUnlockPercentDouble5.0Profit % above starting balance required to permanently arm peak protection.
ProgressivePeakFloorDouble0.50Minimum lot multiplier floor at full peak giveback depth.
ProgressivePeakDepthDouble5.0Giveback depth % from peak equity where peak floor is reached.

6. Account Drawdown & Profit Caps

ParameterTypeDefaultDescription
UseTrailingDDControlEnumDisabledTrailing high-water-mark equity drawdown mode (Disabled, Close All + Lock, Lock Only).
TrailingDDPercentDouble3.0Maximum equity drop allowed from peak equity before trailing DD action fires.
UseWeeklyDDCapEnumDisabledWeekly drawdown protection mode (resets each Monday 00:00 server time).
WeeklyDDPercentDouble5.0Maximum weekly equity loss percentage from Monday-open balance.
SessionProfitLockPercentDouble0.0Stops fresh entries once session equity profit reaches this % of session-start balance (0 = disabled).

7. Stop Loss, Take Profit, Partials & Exits

ParameterTypeDefaultDescription
SLMethodEnumCandle RangeStop loss calculation mode (Candle Range, ATR, Fixed Pips).
SL_ValueDouble1.0Value used by selected SL method (multiplier or pips).
TPMethodEnumATRTake profit calculation mode (Disabled, Risk:Reward, ATR, Fixed Pips).
TP_ValueDouble5.0Value used by selected TP method.
BreakEvenMethodEnumATRBreak-even trigger method (Disabled, Fixed Pips, Candle Range, ATR).
BE_ValueDouble2.0Trigger value to move stop loss to break even.
PartialCloseMethodEnumATRPartial close calculation mode (Disabled, Fixed Pips, Candle Range, ATR).
PartialClosePercentageDouble0.5PC1 close percentage (0.5 = 50% of position size).
PC_ValueDouble1.0PC1 trigger value.
PC_Level2_PercentageDouble0.25PC2 close percentage (0.25 = 25% of remaining lots, 0 = off).
PC_Level2_ValueDouble2.0PC2 trigger value.
PC_Level3_PercentageDouble0.25PC3 close percentage (0.25 = 25% of remaining lots, 0 = off).
PC_Level3_ValueDouble3.0PC3 trigger value.
TMExitTemplateEnumPartial OnlyRemainder position exit policy following partial closes.

8. Trailing Stop & Swing Trailing

ParameterTypeDefaultDescription
TrailingMethodEnumATRTrailing stop mode (Disabled, Fixed Pips, ATR, Candle High/Low, Moving Average).
TrailActivationConditionEnumNoneGate condition before trailing begins (None, After BE, After Profit).
Trail_ActivationValueDouble5.0Activation trigger value (pips or multiplier).
Trail_DistanceValueDouble2.0Trailing distance (pips, multiplier, or MA period).
TrailMinimumMovementDouble1.0Minimum price movement in pips before trailing step updates.
TC_CandleBufferDouble2.0Candle buffer in pips for manual TC button trailing.
ST_SwingLookbackInteger100Lookback bar count for fractal swing trailing (ST button).
ST_SwingBufferDouble2.0Buffer distance in pips above/below swing highs/lows.

9. Signal Engines & Order Entry Controls

ParameterTypeDefaultDescription
EntryEngineModeEnumBanana ClassicContinuation signal detection mode.
UseB1BooleantrueEnable B1 Banana buy/sell signals.
UseB2BooleantrueEnable B2 Banana buy/sell signals.
UseB3BooleantrueEnable B3 Banana buy/sell signals.
Enable_Seed_TPBooleanfalseEnable Seed TP buy/sell signals.
Enable_Seed_TTPBooleanfalseEnable Seed TTP buy/sell signals.
OrderTypeEnumPending OrdersOrder execution mode (Market Orders or Pending Orders).
BuyBufferDouble1.0Entry buffer pips above signal high for buy pending orders.
SellBufferDouble0.1Entry buffer pips below signal low for sell pending orders.
BuSLBufferDouble0.1Additional stop loss buffer pips for buy orders.
BeSLBufferDouble1.0Additional stop loss buffer pips for sell orders.
MinimumSL_PipsDouble3.0Minimum allowed SL distance in pips (0 = disabled).
MaximumSL_PipsDouble0.0Maximum allowed SL distance in pips (0 = disabled).
CancelAfterBarsInteger8Cancels unfilled pending orders after N closed bars (0 = disabled).
PendingEMAInvalidationModeEnumNoneCancels pending orders if a bar closes across the specified EMA.
EnablePendingOrderHistoryBooleanfalseLogs pending order snapshots to CSV and global variables.

10. Session & Day Filters

ParameterTypeDefaultDescription
UseTimeWindowBooleantrueMaster toggle for session time window filtering.
UseSession1BooleantrueEnables European / Session 1 trading window.
Session1_StartHourInteger10Session 1 start hour (broker server time).
Session1_StartMinuteInteger0Session 1 start minute.
Session1_EndHourInteger13Session 1 end hour.
Session1_EndMinuteInteger0Session 1 end minute.
UseSession2BooleantrueEnables US / Session 2 trading window.
Session2_StartHourInteger16Session 2 start hour.
Session2_StartMinuteInteger15Session 2 start minute.
Session2_EndHourInteger17Session 2 end hour.
Session2_EndMinuteInteger45Session 2 end minute.
UseDayOfWeekFilterBooleantrueMaster toggle for day-of-week trading filter.
TradeMondayTradeSundayBooleantrueIndividual toggles to allow or block trading on specific days.

11. Market & Volatility Filters

ParameterTypeDefaultDescription
ATRPeriodInteger20ATR calculation period for volatility filters and stops.
Filter_EMA_FastBooleanfalseEnable Fast EMA filter.
FastEMA_ValueInteger11Period for Fast EMA.
Filter_EMA_SlowBooleantrueEnable Slow EMA filter.
SlowEMA_ValueInteger21Period for Slow EMA.
Filter_EMA_SLOWESTBooleantrueEnable Slowest EMA filter.
EMA_SLOWEST_InputInteger70Period for Slowest EMA.
EMA_SLOWEST_StrictBooleantrueRequires strict EMA alignment hierarchy (Fast < Slow < Slowest).
Filter_MA_CrossoverBooleantrueEnables moving average crossover filter.
TrendFilterModeEnumClassic EMA StackTrend filter mode (Classic EMA Stack or Regime-Aware Anti-Chop).
UseEMASlopeFilterBooleanfalseRequires slow EMA slope to exceed minimum ATR-normalized threshold.
UseEMADistanceFilterBooleanfalseRequires price distance from slow EMA to exceed ATR threshold.
UseADXTrendStrengthFilterBooleanfalseRequires ADX trend strength to exceed minimum threshold.
UseATRFilterBooleanfalseEnables ATR-based maximum stop loss filter.
MaxATRMultiplier_BananaDouble2.0Maximum allowed SL for Banana momentum signals (xATR).
MaxATRMultiplier_SeedDouble1.5Maximum allowed SL for Seed precision signals (xATR).
UseDailyRangeFilterBooleantrueFilters entries if daily range exceeds ADR percentage limit.
MaxDailyRangePercentDouble125.0Maximum allowed daily range as % of 20-day ADR.
UseSessionMovementFilterBooleantrueFilters entries if session movement exceeds ADR percentage limit.
MaxSessionMovementPercentDouble25.0Maximum allowed session movement as % of ADR.
Use10OClockFilterBooleantrueFilters trades based on reference open price direction.
TenOClockHourInteger10Reference hour for open price filter.