[Laboratory Development Logic Introduction] Analyzing the performance of three logics, Gold-only EA "XAUUSD Gold Strategy C v1.10"
This is the 6th product introduction for the lab. The subject is the v1.10 of the EA “XAUUSD Gold Strategy C” dedicated to gold (XAUUSD).
Because three logics with different characteristics operate independently, this article not only presents the overall performance but also decomposes which logic contributed profits and from which year.
■ Logic Overview
If you set it on a single 1-minute chart for XAUUSD, all three logics will be active. Stop loss and take profit are by default disabled, and can be set arbitrarily through inputs.
The three logics operate in different market conditions. ① operates on fixed calendar days every month regardless of market environment, ② only when an uptrend occurs, and ③ only when there is a short-term abrupt change. Because they target different scenarios, they will not chase the same price movements (though they can be held simultaneously). On the other hand, it is hard to tell from the total performance which logic is generating profits. The reason for decomposing performance in this article lies here.
■ Major changes in v1.10
・Stop accumulation:③ opens up to one position in the same direction. While holding long positions for ① and ② below the entry price, it does not open a long position for ③
・End-of-month timing adjustment: in v1.00, trading was executed one day later than intended
・Date-crossing avoidance (swap countermeasure): at server time 23:50, positions are settled, and rebuilt at 0:15 the next day. Can be disabled for accounts with zero or positive swaps
・At the moment of date change (23:45–0:15), no new orders for ③ are issued. Daily-chart decision and execution occur after 0:15
・Even if you restart the EA or MT4, the counting of trading days, ② trailing, and position sizing in operation are correctly carried over
・Added compound interest (optional). Automatically adjusts lots according to the confirmed balance
Positions held in v1.00 are carried over as-is when migrated to v1.10 and managed unchanged.
■ Backtest Results
Verification environment: MT4 / XAUUSD M1 / All ticks (modeling quality 25.00%) / No mismatch chart errors / 2015-07-01 to 2026-06-29 (about 11 years) / Initial equity $10,000 / Spread fixed at $0.20 / Fees and swaps included