Legend: Version 3.4 updates are highlighted in Yellow. Version 3.5 Updates are highlighted with Blue.
Execution Settings
- Preset Profiles: Select TSM-01, TSM-02, EXPANDED-01 or EXPANDED-02 to use preset profiles. All four profiles uses "Max 1 trade at a time" with smaller stoploss set from Preset Profile Settings at the bottom. Default is set to NONE.
- Execution Mode: Controls how many strategy positions may coexist on the symbol. Account and broker restrictions can further limit the selected mode.
- OneAnytime: Allows only one position at a time on the symbol. Existing positions or pending orders on that symbol block new entries.
- OnePerStrategy: Allows each enabled strategy to hold one position independently, subject to account and broker restrictions.
- MaxTwoPerDirection: The default execution mode in v3.4. Allows up to two BUY and two SELL positions, while retaining the EA’s additional portfolio safeguards.
- SelectiveTwoPerDirection: Uses the same directional limits with additional internal eligibility restrictions. It may accept fewer trades than MaxTwoPerDirection. This option has been removed in version 3.4.
- Use Minimum Gap Filter on Same Direction Entries: True by default. A new entry must be at least one ATR of the incoming strategy’s signal away from the entry price of every open ALLYLLA position on the same symbol and in the same direction.
Note: Netting and FIFO accounts use a one-position-per-symbol limit.
Lot Settings
- LotModel (Fix/Auto/Custom): Choose FixLot for a fixed lot size, AutoLot for equity-based sizing, or CustomLot to set individual lot sizes or AutoLot parameters for APB1–APB5. The default is FixLot at 0.01.
- FixLot Size: Sets the volume of each new position when FixLot is selected. It must meet the broker’s minimum, maximum and volume-step requirements.
Autolot Settings
- AutoLot 0.01 BaseAmount: Allocates 0.01 lot for each complete BaseAmount of usable equity. For example, a BaseAmount of 1,000 gives 0.02 lot at 2,000 usable equity.
- AutoLot PercentageEquity (0=off): Calculates lots so each position’s configured adverse-move protection corresponds to this percentage of usable equity. A positive value overrides BaseAmount sizing; this is not a total portfolio risk limit.
- AutoLot CapitalBuffer in Percentage (0=off): Excludes this percentage of equity from AutoLot calculations. It reduces sizing capital but does not physically reserve funds or limit account losses.
- Autolot CapitalBuffer in Value (0=off): Excludes a fixed amount of account currency from AutoLot calculations. A positive value takes priority over the percentage buffer.
- Maximum Lot Cap: Sets the maximum lot size for each new position. Broker limits may reduce the calculated volume further.
Note: AutoLot volumes are rounded down to the broker’s permitted step. Entries are skipped if the resulting volume is below the broker’s minimum.
Trade Settings
- Magic Number: Identifies positions managed by this EA instance. Use different numbers for separate deployments and avoid changing it while positions remain open.
- Max Deviation Points: Sets the permitted price deviation for trade requests where supported by the broker. It uses points, not pips, and does not guarantee a maximum slippage.
- Put Hard Stop in the System: True places the protective SL on the broker’s server. False uses local protection, requiring the terminal to remain running, connected and permitted to trade.
- Put TP in the System: True places applicable fixed TP levels on the broker’s server. False monitors applicable targets locally; strategies without a fixed TP retain their normal exit management.
- Trade Comment Prefix (0=off): Sets the prefix used in order comments. Enter exactly 0 to disable EA-supplied comments; avoid migrating terminals with open positions when comments are disabled.
Main Strategies
- APB1: Enables or disables new positions from APB1. Existing positions continue to receive management.
- APB2: Enables or disables new positions from APB2. Existing positions continue to receive management.
- APB3: Enables or disables new positions from APB3. Existing positions continue to receive management.
- APB4: Enables or disables new positions from APB4. Existing positions continue to receive management.
- APB5: Enables or disables new positions from APB5. Existing positions continue to receive management.
Money Settings
- Money Settings Currency: Account Currency is the default. USD Equivalent treats supported cash inputs as USD amounts and converts them to the account currency using the broker’s available conversion quotes. This applies to cash-based adverse move protection, CashTrail, BasketTrail, AutoLot base amounts, and the fixed-value AutoLot capital buffer. If you are using non-USD accounts, you can set this to USD Equivalent to use the existing USD settings to your non-USD account.
Adverse Move Protection
- APB1 Max Adverse Move Protection / 0.01: Sets APB1’s protection amount per 0.01 lot. For example, 75 scales to 150 at 0.02 lot.
- APB2 Max Adverse Move Protection / 0.01: Sets APB2’s protection amount per 0.01 lot, scaled to its position volume.
- APB3 Max Adverse Move Protection / 0.01: Sets APB3’s protection amount per 0.01 lot, scaled to its position volume.
- APB4 Max Adverse Move Protection / 0.01: Sets APB4’s protection amount per 0.01 lot, scaled to its position volume.
- APB5 Max Adverse Move Protection / 0.01: Sets APB5’s protection amount per 0.01 lot, scaled to its position volume.
- Convert Adverse Move Protection to Gold Pips (1 pip = 0.10): False uses account currency per 0.01 lot. True converts 75 to 750 Gold pips, a 75.00 price distance on XAUUSD regardless of account currency.
Note: All amounts use account currency per 0.01 lot and scale with position size. These configure initial protection; gaps, slippage and costs can affect the realised loss, while subsequent management may close positions earlier. Cash amounts follow Money Settings Currency and are specified per 0.01 lot. When Convert Adverse Move Protection to Gold Pips is enabled, the Gold stop uses a price distance. For example, an input of 75 gives 750 Gold pips, or a 75.00 price distance on XAUUSD.
Trade Management Settings
- Breakeven Exit After (minutes, 0=off): After this position age, eligible positions can close when their calculated net result reaches breakeven or better. It does not guarantee closure at the specified minute.
- Recovery Exit After (minutes, 0=off; Conditional): After this position age, eligible positions can close when their calculated result meets the EA’s recovery-loss allowance. It is conditional, not a forced exit at that time.
Filters Settings
Note: These filters block new entries while existing positions remain managed. Blocked entry signals consume their quota and are not queued for later execution.
- Use Rollover Filter (Automatic Sessions): Enables entry blocking around detected daily trading-session closures and reopenings.
- Rollover: Block Before Close (minutes): Sets how early new entries are blocked before a detected daily close.
- Rollover: Block After Reopening (minutes): Sets how long new entries remain blocked after a detected daily reopening.
- Use Weekend Filter (Automatic Sessions): Enables entry blocking around the detected weekly close and reopening.
- Weekend: Block Before Close (minutes): Sets the pre-weekend entry-blocking period. For example, 180 means three hours before the detected close.
- Weekend: Block After Reopening (minutes): Sets the entry-blocking period after the detected weekly reopening. For example, 360 means six hours.
- Use Big Gap Filter: Enables a temporary entry pause when a qualifying reopening gap is detected.
- Big Gap Size (Recent Range Multiplier): Sets the gap threshold relative to recent price ranges. Lower values increase sensitivity; higher values require larger gaps.
- Big Gap: Block After Reopening (minutes): Sets the cooldown period following a qualifying gap at reopening.
Session Management Settings
- Enable Session Skip: Select OFF or one weekday, MON–FRI. On the selected day, new entries stop from the configured cutoff until the broker calendar day ends.
- Skip From (Broker Server Time): Sets the cutoff in HH:MM format using broker server time. For example, FRI and 18:00 blocks Friday entries from 18:00 onward.
- Daily Session Start Time: Sets the earliest time for new entries, using broker server time in HH:MM format. The default is 00:00 , which disables the start limit.
- Daily Session End Time: Sets the cutoff for new entries. The default is 00:00 , which disables the end limit.
Note: For example, 03:00 to 19:00 allows new entries from 03:00 until just before 19:00. A window such as 22:00 to 03:00 runs across midnight. Existing positions continue to be managed outside the entry window.
High Impact News Filter
- Use HighImpact USD News Filter: Blocks new entries around high-impact USD events reported by the terminal’s economic calendar. This filter is bypassed in the Strategy Tester.
- Block Entries Before News (minutes): Sets the entry-blocking window before a qualifying news event.
- Block Entries After News (minutes): Sets the entry-blocking window after a qualifying news event.
- Block Entries if Calendar Data is Unavailable: True blocks new entries when calendar data cannot be obtained. False allows entries subject to the other filters when calendar data is unavailable.
- News Calendar Source: Choose MT5 (default), MT5 + Web Fallback, or Web Feed Only. The fallback mode uses the web feed when MT5 calendar data is unavailable.
- Web Calendar Feed URL (Optional): Leave blank when using MT5. To use a web feed, enter a compatible HTTPS calendar feed URL and add its address to the allowed WebRequest list under Tools → Options → Expert Advisors in MT5.
InfoPanel Settings
- Show InfoPanel on Chart: Shows or hides the information panel. Hiding it does not stop trading or position management.
- Panel Left Margin: Sets the panel’s horizontal distance from the chart’s left edge, in pixels.
- Panel Top Margin: Sets the panel’s vertical distance from the chart’s top edge, in pixels.
- Show Performance Panel: False by default. Shows Trades, Win %, Net P&L, and MAE / 0.01 for APB1–APB5. MAE is the worst observed floating loss per 0.01 lot among tracked trades in the selected period.
- Performance Lookback: Defaults to 30 days. Set to 0 to include all available trade history. MAE is available for positions the EA tracked while they were open.
PropSet Settings
- Enable PropSet Settings (Global): Turns PropSet ON or OFF. Default is false.
- Delay / Offset for Prop: OFF disables delays and offsets. RANDOM creates random delays and offsets automatically. CUSTOM uses settings set by user below. Default is RANDOM.
- Apply Delay to Local Exits: If hard stop and TP is not placed in the system and exits are managed locally by the EA, this option applies Delay as per above setting (OFF, RANDOM or CUSTOM). Default is false.
- Max Random Delay (ms): Maximum delay in RANDOM mode. Default is 1200 ms. It can be increased or decreased.
- Custom Entry Delay (milliseconds, 0=off): Fixed entry delay in CUSTOM mode. Default is 450 ms.
- Custom SL Offset (pips, 0=off; tighter): Moves the Gold stop closer to entry in CUSTOM mode by the points set here.
- Custom BE Offset (pips, 0=off; profitable side): Raises the profit required for Breakeven Exit through Trade Management in CUSTOM mode.
- Custom TP Offset (pips, 0=off; closer): Moves the fixed Take Profit closer to entry by the set points in CUSTOM mode.
- Daily MaxProfit (%, 0=off, on close): Pauses new entries for the day when net closed profit reaches the set percentage of the starting balance.
- Daily MaxDD (%, 0=off, auto close): Closes managed positions and pauses new entries for the day when account equity hits the drawdown limit.
- Daily MaxDD Buffer (%, 0=off, on close): Pauses new entries when net closed loss reaches MaxDD minus the buffer. A 5% limit with a 1% buffer pauses entries if close loss exceeds 4%.
- News Filter: Block Entries if Calendar Data is Unavailable: Pauses new entries if MT5 calendar data is unavailable and both PropSet and the News Filter are enabled. Default is true if PropSet is enabled.
Custom CashTrail Settings
- Enable Custom CashTrail: False by default. Enables individual cash trailing and optional breakeven protection for the selected strategies.
- Custom CashTrail for APB1–APB5: Selects which strategies use the shared CashTrail settings. APB1, APB2, APB4, and APB5 are selected by default. APB3 is off by default.
- Use Preset LooseTrail for APB3: True by default. Controls APB3’s built-in trailing separately from the Custom CashTrail switch.
- CashTrail Activation: Defaults to 12 per 0.01 lot. Sets the net profit needed to start trailing.
- CashTrail Distance: Defaults to 3 per 0.01 lot. Sets how far behind net profit the trailing level follows. Set either activation or distance to 0 to disable trailing.
- BE Activation: Defaults to 0 (off). A positive amount sets the net profit needed to arm a local breakeven exit. After activation, the EA requests a close if net profit falls back to zero or below. The broker stop stays at its existing level when this breakeven rule arms.
Basket Trail Settings
- Use BasketTrail for Simultaneous Positions: True by default. Manages two or more open ALLYLLA positions in the same direction together. BUY and SELL baskets are managed separately. For positions covered by BasketTrail, it takes precedence over individual Custom CashTrail and its breakeven rule.
- BasketTrail Activation: Defaults to 4 per 0.01 lot of combined volume. Sets the combined net profit needed to arm the trail.
- BasketTrail Distance: Defaults to 2 per 0.01 lot of combined volume. Sets how far the basket’s profit floor trails behind combined net profit. Set either activation or distance to 0 to disable trailing.
- Basket BE Activation: Defaults to 0 (off). A positive amount arms a basket breakeven floor once combined net profit reaches the scaled threshold. The EA requests closure of the remaining basket positions when combined net profit reaches the active floor.
Note: For example, with two 0.01-lot BUY positions and the default settings on a USD account, BasketTrail activates at $8 combined net profit and trails by $4. If it activates at exactly $8, the initial floor is $4. The EA monitors basket exits locally.
LotModel CustomLot Settings
- CustomLot Mode: Applies when LotModel is set to CustomLot. Choose CustomFixLot (default) or CustomAutoLot.
- APB1–APB5 Custom FixLot: Sets a separate fixed lot size for each strategy. Each defaults to 0.01.
- APB1–APB5 CustomAutoLot BaseAmount: Sets the usable equity required for each 0.01 lot, separately for each strategy. Each defaults to 1,000.
- APB1–APB5 CustomAutoLot PercentageEquity: Sets the percentage of usable equity used to size each strategy’s position against its configured adverse move protection. A positive value overrides that strategy’s BaseAmount. The default is 0, which uses BaseAmount sizing. The shared AutoLot capital buffer and maximum lot cap also apply.
Preset Profile Settings
- TSM-01 / TSM-02 / EXPANDED-01 / EXPANDED-02 Stoploss: Sets the initial stop for the selected profile. Each defaults to $15. With Gold pip conversion off, the value is a cash amount per 0.01 lot and follows Money Settings Currency.
- Convert Stoploss in Gold pips: True by default. For Gold, a stop input of 15 gives 150 Gold pips, or a 15.00 price distance from entry.
- Use Profit Trail for Presets: False by default. Turn it to True to replace the selected profile’s fixed take-profit with a net profit trail.
- Preset Trail Activation / 0.01 lot: Sets the net profit needed to start trailing. Defaults to 3.00 per 0.01 lot and follows Money Settings Currency.
- Preset Trail Distance / 0.01 lot: Sets how far the exit threshold trails behind peak net profit. Defaults to 1.50 per 0.01 lot and follows.
- Put Hard Stop in the System: False by default in this section. Turn it on to place the selected profile’s stop-loss with the broker. When off, ALLYLLA monitors the stop locally.
- Put TP in the System: Off by default in this section. Turn it on to place the selected profile’s fixed take-profit with the broker.
Miscellaneous
- Debug Logging: Logs important events from the Terminal for error diagnosis. True by default. These detailed diagnostics logging are suppressed in the Strategy Tester.
Set Files
- Two Set files attached - Conservative Trail and Default.


