SOUYOKU - Fusion of pyramiding and averaging down | MT5-exclusive Gold EA equipped with a TP rate recalculation system
Sales performance 1 Book
Review ★ 0.0
(0)
- Whole period
- 2 years
- 1 year
- 6 months
- 3 months
- 1 month
Profit
:
438,713JPYProfit Factor
:
1.63Rate of return risk
?
:
1.15Average Profit
:
1,593JPYAverage Loss
:
-5,559JPYBalance
?
:
1,438,713JPYRate of return (all periods) ?
:
33.96%Win Rate
:
85.02%
(715/841)
Maximum Position
?
:
15Maximum Drawdown
?
:
28.62%
(381,203JPY)
Maximum Profit
:
162,603JPYMaximum Loss
:
-29,263JPYRecommended Margin
?
:
1,291,990JPYUnrealized P/L
:
-60,744JPYDeposit
?
:
1,000,000JPYCurrency
:
JPY- Account
Operable Brokers
Usable with MT5-adopting brokers.
About EA's Strategy
Currency Pairs
[XAU/USD]
Trading Style
[Day Trading]
[Swing Trading]
Maximum Number Position
50
Maximum Lot
5
Chart Time Frame
M15
Maximum Stop Loss
0
Take Profit
10
Straddle Trading
Yes
Application Type
Metatrader Auto Trading
Other File Usages
No
|
SOUYOKU - S O U Y O K U - Piramiding × Averaging Gold EA To accumulate in trend, to enter in counter-trend. The two wings extend profits. |
| 1.54 Profit Factor |
82.68% Win Rate |
464% Margin Maintenance Rate (Minimum) |
4 years 9 months 99% Realistic Test |
| The above are all tests performed with default settings (opposite-entry ON / weekly operating window ON) |
■ Accumulate in trend, enter in counter-trend. The two wings extend profits.
Piramiding and averaging.
This Gold-specific EA is designed to fuse two contrary methods and to grow profits with trailing stops.
After entry, if the market moves in the trend,pyramid for follow-up; if it moves against you,average-in to bring the average price closer.
It has two wings capable of handling movement in either direction.
| The main feature of this EA — TP rate re-calculation system |
In the initial entry stage,we deliberately do not set a take-profit rate.
Fixed take-profit lines from the start would cap gains there.
Each position is managed individually, and a stop loss appears when the trailing width gains unrealized profit.
From then on, it follows price and lets profits run as far as possible.
When the number of holdings reaches a certain count, a TP for bulk closure appears.
This is the core of the EA.
|
Positions with trailing activated are excluded from this TP calculation. Trailing groups are settled individually by their own stop losses, so the TP is always recalculated only for the remaining positions that are not trailing. If three positions remain, recalculate for three. If two positions remain, recalculate for two. Every time the trailing activates, the TP rate moves; this is a relatively rare behavior. This calculation maximizes profits with a small number of positions. |
| Auto-sync of initial position SL |
When the unrealized profit of the initial position reaches the trailing width,
its stop loss automatically moves to the same rate as the averaging-in positions.
Because multiple positions’ SLs align at the same rate, when the price reaches it, it functions as if all were closed in one shot.
Note that if the initial position is in a loss state, no stop loss is assigned, so it will not be closed at a loss.
| Weekly operating window (based on JST) |
This feature avoids price gaps at the start of the week and prevents holding positions across weekends.
| From Monday 18:00 (JST) | Start new entries |
| From Friday 18:00 (JST) | Stop new entries |
You can operate by entering after Monday’s open window ends and not opening new positions after Friday evening at the default settings.
Start and stop times can be changed as desired.
There are two methods to calculate Japan Time:Choose one of two.
Automatic calculation from your device’s GMT information (default) or manual specification of the time difference with server time.
Even brokers with daylight saving time shifts will judge Japan time correctly.
※ Stop only applies tonew basket activations.
Averages for current holdings (averaging-in), trailing, and settlement are continued through weekends as usual.
※ The default setting is ON. If OFF, it operates 24 hours as before.
| Works with any account type as is |
There is no need to recalculate EA settings per account.
When applied to a chart, the EA automatically reads the account currency and contract size and converts internal benchmarks accordingly.
| Corresponding accounts | Automatically performed processes |
| JPY-denominated accounts | Use benchmarks as-is |
| USD/EUR-denominated accounts | Automatically convert monetary benchmarks to account currency |
| Cent accounts | Judge cent balance display and convert with a 100x factor |
| Standard accounts | Base on 1 lot = 100 ounces |
| Micro accounts | Read contract size and automatically shrink benchmarks |
During startup, the symbol specification and capital guidance are output to the log, so you can confirm what settings are appropriate for your account on the spot.
This allows you to verify suitable settings for your own account immediately.
|
【Startup log example: micro account】 Symbol specification: Contract size (per 1 lot) = 1.00; minimum lot = 0.01 This symbol has 1 lot = 1.00 unit, so compound benchmark amounts are converted to 0.0100 times. Fund requirement: For initial entry lot 0.01, recommended margin is about 25,000 JPY. |
| Opposite-entry (hedged position) |
This feature is to avoid missing opportunities even if trend judgment fails and price moves in the opposite direction.
If a sell signal occurs while holding a buy basket,the sell-side basket launches independently.
The buy and sell sides are managed as separate baskets,
and all piramiding, averaging, trailing, and TP recalculation operate independently.
※ To use this feature, a hedging account (able to hold both sides) is required.
※ In a netting account, it is automatically disabled, so there is no risk of misoperation.
※ Because margin consumption can be as much as about double, please set lot sizes carefully.
※ The default is ON, but you can OFF to operate one side only.
| Virtual Entry |
In a deep averaging-in phase, do not actually place orders, but advance averaging in only in calculations.
In the initial setting, virtualization spans roughly from the 7th to the 10th order, and a real order is placed on the 11th.
Because orders in this interval are omitted,margin burden and trading costs are reduced.
Particularly effective for accounts with wide spreads.
※ The initial setting is OFF. If you enable it, backtesting is recommended beforehand.
| Prevention of double orders |
Even if you place the EA on multiple charts for the same instrument, it has a mechanism to prevent simultaneous duplicate positions.
| Order lock | If a same instrument and same direction order was attempted immediately prior, orders are rejected for a certain time |
| Hold after first entry | Immediately after the first entry, do not place new orders in the same direction for a set number of seconds |
Both can be set to any number of seconds.
| Incremental risk management |
| Trailing stop | Stop initiating new trails and consolidate into a single close |
| Zone switching | Switch averaging width and lot multiplier for wide zones |
| Risk reduction processing | Auto shrink take-profit width and exit deeply positioned baskets early |
As positions increase,it automatically shifts from offense to defense.
| Volatility alert mode |
A composite decision using ATR and RVI detects abnormal market volatility every 15 minutes.
When triggered, widening averaging widths and trailing widths, and throttling position pace.
Additionally, a setting to “pause new entries during alert” is included.
This feature is designed for recent gold price surges and drops.
| Economic indicators filter |
Automatically fetch information from MT5’s built-in Economic Calendarand pause new operation around indicator releases
| Stop mode | Choose between “Only around indicator times” / “On indicator days all day” |
| Stop time | Set minutes before and after freely |
| Importance | High / Medium / Low selectable individually |
| Currencies | Multiple can be specified, comma-separated |
There is no need to manually enter indicator dates.
Also, if a position is held when indicator time arrives,averaging-in, trailing, and settlement continue as usual.
What stops is only new basket activations.
| Backtesting results |
We present results for three patterns.
Test C shows results when applying this EA with default settings.
| Test C: Compound interest (ample settings) / Default settings ★ Recommended |
With default settings (opposite-entry ON / weekly window ON),this is a compounding run with an initial margin equal to three times the initial margin (45,000,000 JPY).
The pace of lot increases is deliberately slowed to keep margin ample.
| Test conditions | |
| Instruments / Time frame | XAUUSD (Gold) / M15 |
| Period | 2022-01-02 to 2026-10-06 (4 years 9 months) |
| Model | 99% Realistic(Ticks 262,521,742) |
| Initial margin / Leverage | 1,500,000 JPY / 1:1000 |
| Initial lot | 0.01 |
| Lot step amount | 4,500,000 JPY (3x initial margin) |
| Opposite-entry | ON (default) |
| Weekly window | ON (default) |
| Virtual entry | OFF (default) |
| Test results | |
| Total net profit | ¥22,987,595 |
| Final balance | ¥24,487,595(about 16.3x) |
| Total profit / total loss | ¥65,174,876 / -¥42,187,281 |
| Profit Factor | 1.54 |
| Win rate | 82.68% |
| Number of trades | 25,678 |
| Long win rate / Short win rate | 83.37% / 81.95% |
| Recovery factor | 4.11 |
| Sharpe ratio | 1.33 |
| Balance relative drawdown | 13% |
| Margin relative drawdown | 36% |
| Minimum margin maintenance | 464.39% |
| Max consecutive losses | 13 |
| Average hold time / Longest hold | 5h56m / about 9 days 5 hours |
|
What this test shows Compared with Test B below (more aggressive compounding), margin maintenance improved from 86.52% to 464.39%, and margin relative drawdown from 77% to 36%. By slowing the pace of lot increases, there is more room when market moves beyond expectations. Return is smaller than Test B, but still about 16x over 4 years 9 months. If you use compounding, we recommend this “cushioned setting.” |
| Test A: Standard settings (simple interest) / One-sided operation |
Symbol XAUUSD (M15) / Period 2022-01-01 to 2026-08-19 / 99% Realistic
Initial margin 1,500,000 JPY / Initial lot 0.01 / Leverage 1:500
Opposite-entry / Virtual entry / Weekly window are all disabled
| ¥9,842,323 |
| 1.61 |
| 82.60% |
| 19,851 |
| 5.74 |
| 33% |
| 59% |
| 168.97% |
| Test B: Compound interest (aggressive setting) / One-sided operation (reference value) |
Same conditions as above, with leverage 1:1000 / smaller lot step amount for aggressive compounding
| ¥35,970,452 |
| 1.62 |
| 82.57% |
| 77% |
| 86.52% |
|
Position of Test B The margin maintenance dropped to 86.52%, indicating a near-border scenario for a loss cut. Returns are large, but there is almost no room if the market moves beyond expectations. We do not recommend running with this setting.Please view as a reference. |
|
Notes on interpreting results All of these are simulations based on historical market data and do not guarantee future profits. Also, tests were conducted under swap-free and low-spread conditions. Accounts with different spreads and swap conditions may show different results. Test C recorded a maximum loss of 13 consecutive losses (about 1.96 million yen total). Please plan funds assuming losses of this magnitude can occur. |
| Operating environment |
| Instruments | XAUUSD (GOLD) |
| Recommended timeframe | M15 (15 minutes) |
| Account type | Hedging account (can hold both sides) |
| Account currency | Automatically supports JPY-denominated / USD-denominated / EUR-denominated / Cent accounts |
| Account type | Automatically supports Standard / Micro |
| Recommended accounts | Accounts with narrow spreads and low swap costs |
| Recommended leverage | Over 500x (1000x mandatory for compounding) |
| Operating environment | 24-hour operation recommended on VPS |
This is designed assuming use on accounts with leverage of 500x or more. On low-leverage accounts you are prone to margin shortfalls, so please verify your account meets the requirements before deciding.
| Capital and lot guidance |
This is the most important setting item for this EA.
【1 lot = 100 ounces accounts】
| Funds | Recommended lots | Maximum lots | Estimated maximum unrealized loss |
| 1,500,000 JPY | - | 0.01 | Approximately 750,000 JPY |
| 2,500,000 JPY | 0.01 | 0.01 | Approximately 1,250,000 JPY |
| 5,000,000 JPY | 0.02 | 0.03 | Approximately 2,500,000 JPY |
| 7,500,000 JPY | 0.03 | 0.05 | Approximately 3,750,000 JPY |
| 10,000,000 JPY | 0.04 | 0.06 | Approximately 5,000,000 JPY |
【1 lot = 1 ounce accounts】 Can start with small amounts
| Funds | Recommended lots | Maximum lots | Estimated maximum unrealized loss |
| 25,000 JPY | 0.01 | 0.01 | Approximately 12,500 JPY |
| 50,000 JPY | 0.02 | 0.03 | Approximately 25,000 JPY |
| 100,000 JPY | 0.04 | 0.06 | Approximately 50,000 JPY |
| 125,000 JPY | 0.05 | 0.08 | Approximately 62,500 JPY |
| 250,000 JPY | 0.16 | Approximately 125,000 JPY | |
| 500,000 JPY |
※ The “Recommended Lots” are based on 0.01 lots per 2,500,000 JPY (1 lot = 100 ounces).
※ For USD/cent accounts, the EA will log the estimated values converted to account currency at startup.
※ The table above assumes one-sided operation (Opposite-entry OFF). Since default is Opposite-entry ON, if buys and sells are both opened at the same time, you may need up to about twice the margin.
|
Guidelines for using compounding function When compounding is enabled, as the balance exceeds the lot step amount, the initial lot increases by one unit. The smaller this amount, the faster the lot increases and the higher the risk alongside returns.As a guideline, setting around three times the initial margin provides comfortable operation. As a guideline, setting around three times the initial margin provides comfortable operation. Test C above sets the initial margin to 1,500,000 JPY with a lot step amount of 4,500,000 JPY (3x). |
| Countermeasures for wide-spread spreads accounts |
This EA uses averaging-in and piramiding, which increases the number of trades.During the test period (4 years 8 months), the number of trades was about 20,000.
Spreads are a fixed cost subtracted from each trade, so“spread × number of trades” directly impacts performance.
On accounts with wide spreads, reduce the number of trades and widen profit per trade to improve cost ratio.
| Parameters | Low-spread accounts | Wide-spread accounts |
| Tight zone: Averaging width | 35.0 | 45.0 |
| Wide zone: Averaging width | 35.0 | 45.0 |
| Pyramid spacing | 35.0 | 45.0 |
| Long take-profit | 10.0 | 15.0 |
| Short take-profit | 10.0 | 15.0 |
Additionally,Virtual Entrycan be enabled to thin out real orders in deep averaging-in phases, further reducing costs.
※ Raising lot multiplier does not improve cost ratio (as both profits and spreads scale equally).
※ The above is directional guidance. Optimal values vary by account conditions, so after changing, always backtest to verify both performance and maximum unrealized loss.
| Important notes about unrealized loss |
| This EA makes averaging-in, so it temporarily carries large unrealized losses before settlement. In backtests, unrealized losses reached up to 59% of margin (77% with compounding). This is not a bug but an expected behavior; markets are not guaranteed to move as predicted. To avoid margin calls, please operate with ample funds. We hope you understand this and use it only if you are comfortable. |
| Included manual |
Complete 18-page manualis included.
• Strategy overview / Operating environment and necessities
• Setup and installation
• Logic explanation / Settlement patterns
• Margin and lot settings
• Countermeasures for wide-spread spreads
• Full parameter explanations
• Details of opposite-entry / virtual entry
• Practical risk avoidance
• FAQs / disclaimers
From introduction to parameter meanings and concrete risk management methods, this manual covers everything for even beginners to operate the EA.
| Notes |
• This EA includes averaging-in and piramiding and does not guarantee principal protection.
• Past results do not guarantee future profits.
• This is a tool for automated trading and does not specifically recommend or solicit trading of a particular instrument.
• To use opposite-entry, a hedging account is required. In a netting account, it is automatically disabled.
• The automatic conversion of account currency and contract size is an internal calculation based on approximate rates. If exchange rates fluctuate greatly, please confirm settings.
• The stop of the weekly window applies only to new entries. Management of current holdings continues.
• On weekends and around indicator releases spreads widen. We recommend using the various filter functions.
• 24-hour operation on VPS is recommended. If connection is cut, trailing and settlement processing stop.
• If running multiple EAs on the same account, always change the magic number.
• Please make your own trading decisions responsibly.
|
Accumulate in trend, enter in counter-trend. With two wings, extend profits. SOUYOKU Thank you very much. |