Version 43.0 2026.04.16
Performance & Optimization

Eliminated repeated heap allocations in all indicator buffer reads — static global arrays now reused across ticks instead of reallocating every call

All trend indicator buffers (MA, ADX, RSI, MACD, SAR) now fetched once per bar using a bar-time cache guard, reducing redundant CopyBuffer calls significantly

ADX and MACD trend buffers now batch-fetched in a single function call instead of separate per-value calls

Removed redundant BarsCalculated checks from per-tick indicator value functions

Removed redundant HistorySelect calls that were bypassing the existing history cache

Optimization run time reduced significantly (target: 2hr → ~45–75min depending on active filters)

Bug Fixes

Fixed ExpertRemove() being called mid-run during optimization, which caused incomplete equity curves to be recorded as valid results — optimization and single backtest results now match correctly

Deposit load and drawdown threshold breaches now correctly block new trades without terminating the run early

Optimization Results

Passes that breach the deposit load or drawdown threshold now complete fully and are scored 0 by OnTester(), so they sink to the bottom when results are sorted by score

Added OnTester() penalty logic: passes breaching risk thresholds are automatically ranked last — use "Show only profitable passes" in the results table to filter them outPerformance & Optimization

Eliminated repeated heap allocations in all indicator buffer reads — static global arrays now reused across ticks instead of reallocating every call

All trend indicator buffers (MA, ADX, RSI, MACD, SAR) now fetched once per bar using a bar-time cache guard, reducing redundant CopyBuffer calls significantly

ADX and MACD trend buffers now batch-fetched in a single function call instead of separate per-value calls

Removed redundant BarsCalculated checks from per-tick indicator value functions

Removed redundant HistorySelect calls that were bypassing the existing history cache

Optimization run time reduced significantly (target: 2hr → ~45–75min depending on active filters)

Bug Fixes

Fixed ExpertRemove() being called mid-run during optimization, which caused incomplete equity curves to be recorded as valid results — optimization and single backtest results now match correctly

Deposit load and drawdown threshold breaches now correctly block new trades without terminating the run early

Optimization Results

Passes that breach the deposit load or drawdown threshold now complete fully and are scored 0 by OnTester(), so they sink to the bottom when results are sorted by score

Added OnTester() penalty logic: passes breaching risk thresholds are automatically ranked last — use "Show only profitable passes" in the results table to filter them out
Version 42.0 2026.03.17
1. Trend filter is disabled by default for mql upload test
2. Enqueue order logic made faster1. Trend filter is disabled by default for mql upload test
2. Enqueue order logic made faster
Version 40.0 2026.03.15
1. Blog page url inclusion in the important urls in the common tab during load
2. Product page documentation updated1. Blog page url inclusion in the important urls in the common tab during load1. Blog page url inclusion in the important urls in the common tab during load
2. Product page documentation updated1. Blog page url inclusion in the important urls in the common tab during load
Version 37.0 2026.02.14
1. Error code 4202 resolved for the initial chartdraw issue
2. error code 4807 resolve for the deinit of the disabled MA indicator handle
3. Dashboard performance made faster
4. Market closed error for daily charts Code: 10018
Version 36.0 2026.01.25
1. Changed the position of checking sl and tp amount and percent to fix old backtest result issue
Version 35.0 2025.12.28
1. Optional calculation of the moving average filter in case of the disabled. Hence, improve performance during backtest.
2. All other indicators are rendered based on their enabled option
3. Rsi strategy 6 buy and sell logic corrected
Version 33.0 2025.11.16
1. Hull Indicator filter scanning is corrected
Version 32.0 2025.11.07
1. A new input option, “Hide Stop Loss and Take Profit,” has been added.

When set to true, all stop losses will be hidden from the broker, regardless of the selected mode (Pips, Amount, or Percent).

When set to false, stop-loss and take-profit levels for all modes will be displayed on the chart. Previously, only the Pips mode values were visible.

2. Introduced a new Grid Trading feature: “Continue and Reverse Grid on Signal Change” (default: false).

When set to false, the EA will continue opening trades in the same direction even after a trend reversal, until the grid closes at an overall profit, according to the SL/TP settings.
Example (Martingale mode):
0.01 Buy @ 1.1506
0.02 Buy @ 1.1406
Trend changes → ignored
0.04 Buy @ 1.1306
0.08 Buy @ 1.1206
(Closes all at overall profit per settings)

When set to true, the EA will reverse grid direction on a trend change and continue trading with the new signal.
Example (Martingale mode):
0.01 Buy @ 1.1506
0.02 Buy @ 1.1406
Trend changes → 0.04 Sell @ 1.1355
0.08 Buy @ 1.1455
0.16 Buy @ 1.1555
(Closes all at overall profit per settings)
Version 31.0 2025.11.03
1. Daily, Weekly, and Monthly stoploss and target logic is corrected
Version 30.0 2025.11.03
1. Handled position modify scenario when sl and tp are already 0
2. Added additional error logging for more advanced fault detection
3. Handle some initial indicator handle faults during the initial bars when backtesting
4. Moving Average Trend Filter Settings: These work better and are more powerful if you also add the Hull Moving Average along with Simple, Exponential, Smoothed, and Linear Weighted moving averages.
Version 28.0 2025.10.21
1. Dashboard daily ,weekly and montly profit fix
2. Daily,weekly and month profit and losses take current running profit/loss s into consideration
3. Alert is very frequent for every tick mode , so changed it to every candle frequency
4. Some unused code is removed
Version 27.0 2025.10.13
1. Dashboard display show/hide option from input is fixed
Version 26.0 2025.10.10
1. Show dashboard issue fix
2. Entry and exit straegy and/or condition separated
Version 25.0 2025.08.12
1. bollinger band index fix
Version 24.0 2025.08.12
1. bollinger band strategy fixed for strategy 3 and 4
Version 23.0 2025.07.06
1. Avoid trailing for Grid and hedge Orders
2. Avoid breakeven for Grid and hedge Orders
Version 22.0 2025.07.02
Fixes applied
-------------------------------------
1. Dashboard look and feel updated
2. Dashboard resize issue fixed
3. Current entry and exit strategy is displayed in dashboard
4. Ontester method for custom max optimization
5. Text resize issue on dashboard fixed
6. Formatted input section for trend max
Version 21.0 2025.06.24
Fixes applied
-------------------------------------
1. Deposit load filter added
2. Optimization process made faster
Version 19.0 2025.06.18
Fixes applied
-------------------------------------
1. OHLC price update for moving average strategy
Version 18.0 2025.06.13
Fixes applied
-------------------------------------
1. Moved volume check logic before trade placement
2. Moved available money check logic before trade placement
3. Default lot size can be put as 0 in case of risk percent mode
Version 17.0 2025.06.12
Fixes applied
-------------------------------------
1. Risk to Lot logic is upgraded. Now we dont need to put risk per microlot
2. It works with all stoploss modes Pips, Amount and Percent
3. Check added in validation logic, where it checks
When sltp mode is amount the stoploss amount cant be greater than risk amount
when sltp mode is percentage the stoploss percent cant be greater then risk percent
4. in amount and percent mode tp is calculated based on the calculated lot size
example
symbol -EURUSD
Account balance -1000
risk percent -1
stoploss amount - 1
takeprofit amount - 2
Lot size -0.1
if stoploss hit loss would be - 10
if tp hit profit would be - (risk amount(10)/stoploss amount (1))* takeprofit amount (2) which is = 20

now for percent mode

symbol -EURUSD
Account balance -1000
risk percent -1
stoploss percent - 0.5
takeprofit percent - 1.5
Lot size -0.02
if stoploss hit loss would be - 10
if tp hit profit would be - (risk percent(1.5)/stoploss amount (0.5))* takeprofit amount (15) which is = 30


Version 16.0 2025.06.10
Fixes applied
-------------------------------------
1. Total close order check before trade placement
other minor fixes
2. Stop trading when News(High,Medium and Low impact News) is coming (News filter)
Version 15.0 2025.05.29
default combination option made as and
Version 14.0 2025.05.29
some cosematic view related issue fix
Version 13.0 2025.05.29
I updated your MQL5 trading system to incorporate exit signals for all indicators (ADX, Bollinger Bands, CCI, MACD, Moving Average, RSI, Stochastic, Awesome Oscillator, RVI). The GetCombinedExitSignals function mirrors GetCombinedEntrySignals, generating buyExitSignal and sellExitSignal using AND/OR combination modes. Added ENUM_AO_EXIT_STRATEGY and ENUM_RVI_EXIT_STRATEGY with inputs aoExitStrategy and rviExitStrategy, matching their entry strategies (e.g., AO: cross below zero, RVI: main below signal). Exit conditions were derived from entry signals, reversing logic for buy exits (e.g., RSI STRATEGY5: cross below 50) and using buy-entry conditions for sell exits. The combination mode section includes a heading and inputs for all indicators. The code uses Get<Indicator>Values() for data, with early returns on failure. All indicators retain original and new strategies, ensuring consistency with your provided conditions and "vice versa" logic, integrated with AND/OR aggregation for flexible signal combination.
Version 11.0 2025.01.05
trailing stop logic is corrected,both stoploss pip mode and amount mode will work.
Version 10.0 2024.12.24
grid increment calculation corrected
Version 9.0 2024.12.12
buffer optimization is done
Version 7.0 2024.12.07
enabled options to activate grid,hedge, and martingale together with warning
dashboard performance optimization
EA URL inclusion
Version 6.0 2024.11.07
bollinger strategy logic fixed
Version 4.0 2024.11.01
safety feature performance improvement
Version 3.0 2024.10.29
performance upgrade and minor improvements
Version 2.0 2024.09.21
multiple entry logic corrected,
close multiple trade logic corrected