Version 2.0 2026.03.08
<!-- CHANGELOG -->
<!-- ═══════════════════════════════════════════════ -->
<table width="100%" cellpadding="0" cellspacing="0" style="margin-bottom:6px;">
<tr><td style="border-bottom:3px solid #C9A84C;padding-bottom:6px;">
<p style="margin:0;font-family:Georgia,serif;font-size:18px;font-weight:bold;color:#1B3A6B;">&#9654; What&rsquo;s New in v2.0</p>
</td></tr>
</table>
<p style="font-family:Georgia,serif;font-size:13px;font-weight:bold;color:#1A7A6E;margin:12px 0 6px 0;">Bug Fixes</p>
<ul style="font-family:Georgia,serif;font-size:12.5px;line-height:1.8;color:#1A1A2E;margin:0 0 10px 20px;padding:0;">
<li><b>FIXED:</b> getLastPositionByDirection() always returned 0 — hedging was non-functional in v1.70</li>
<li><b>FIXED:</b> Time() function caused infinite recursion — replaced with iTime()</li>
<li><b>FIXED:</b> UpdatePosition() now correctly tracks worst adverse price per series direction</li>
<li><b>FIXED:</b> ClosePosition() and GetOrdersTotal() off-by-one loop errors</li>
</ul>
<p style="font-family:Georgia,serif;font-size:13px;font-weight:bold;color:#1A7A6E;margin:12px 0 6px 0;">New Features</p>
<ul style="font-family:Georgia,serif;font-size:12.5px;line-height:1.8;color:#1A1A2E;margin:0 0 24px 20px;padding:0;">
<li>% risk-based dynamic lot sizing &nbsp;·&nbsp; Max orders per series hard cap &nbsp;·&nbsp; Max drawdown % protection</li>
<li>Breakeven after N orders &nbsp;·&nbsp; Hard SL per position &nbsp;·&nbsp; Max series duration auto-close</li>
<li>Recovery mode &nbsp;·&nbsp; Anti-Martingale &amp; Fixed Lots averaging modes &nbsp;·&nbsp; Spread filter</li>
<li>Session hour inputs &nbsp;·&nbsp; Day-of-week filters &nbsp;·&nbsp; Higher TF MA confirmation</li>
<li>Partial close at profit target &nbsp;·&nbsp; CSV trade logging &nbsp;·&nbsp; 8-variable live dashboard</li>
<li>Alert &amp; push notification system &nbsp;·&nbsp; Input validation on startup &nbsp;·&nbsp; Clean deinit</li>
</ul>
Version 1.70 2022.02.02
- added Trade_Mode feature (LongAndShort, LongOnly, ShortOnly)
Version 1.60 2022.01.09
- trailing stop feature sends too many requests fix.
Version 1.51 2021.09.01
- Sunday session filter
Version 1.50 2021.07.31
- new hedging feature. It starts hedging the main series after a specified number of orders has been reached. After closing the main series it treats the hedges as the new main series. The feature is designed to reduce the account drawdown in strong trends.
Version 1.40 2021.07.28
- add trailing stop feature
- enable MA timeframe control
Version 1.32 2021.07.20
- fix for stop trading after series is closed option
Version 1.31 2021.07.13
- faster close order execution
Version 1.30 2021.07.13
- Replace Stochastic entry signal with three moving averages
- Add RSI filter for buy and sell orders
Version 1.20 2021.07.11
- profit calculation is now in pips
- added ADX indicator for more resilient averaging strategy. EA stops opening positions above the level parameter and resumes when the indicator drops below the parameter. Set to 0 to disable.
Version 1.11 2021.07.09
added a fix for closing all trades
Version 1.1 2021.07.04
added a minor fix for the magic number