黄金の守人 ― 日足の境界に立つ番人
- Whole period
- 2 years
- 1 year
- 6 months
- 3 months
- 1 month
Forward testing (Profit)
Monthly Statistics
- Jan
- Feb
- Mar
- Apr
- May
- Jun
- Jul
- Aug
- Sep
- Oct
- Nov
- Dec
Calendar for Months
About EA's Strategy
Translating...
✅ v1.10/v1.11 アップデート(損切りラインの動かし方を進化させ、設定画面から調整できるようにしました)
・トレーリングストップを改良。利益が乗ったあと、損切りラインを「負けにくい位置」へ引き上げるタイミングと追従を、従来より早く・細かくしました。初期設定から有効です。
・注文の対象日数を選べるオプション(Inp_LevelDays)を追加。初期設定は従来どおり、前営業日の高値・安値のみです。
・損切りライン更新が通らなかった場合の理由を、ログに詳しく記録するようにしました。
・【v1.11】トレーリングの開始・幅を、設定画面(Inp_Trail_Start/Inp_Trail_Dist)で変更できるようにしました。初期値は、v1.10と同じ動きです。以前(v1.06)の動きに戻すこともできます(設定値は仕様書に記載)。
・【v1.11】エントリー価格のオフセットを追加(Inp_OffsetBuyPips/Inp_OffsetSellPips)。ブレイク価格から指定pipsだけ離して注文を置けます。初期値は0(従来どおり)です。
同じ条件で、v1.06と比べました
取引回数もロットも同じ。変えたのは、損切りラインの動かし方だけです。
| 項目 | v1.06 | v1.10/v1.11 (初期設定) |
| 取引回数 | 1,625回 | 1,625回(同じ) |
| 勝率 | 77.35% | 86.46% |
| プロフィットファクター | 3.55 | 5.85 |
| 負けトレードの割合 | 22.65%(368回) | 13.54%(220回) |
| 最大連敗数 | 6回 | 4回 |
| 最大ドローダウン(残高) | 91,229円(3%) | 75,662円(2%) |
| 総純利益(0.50lot固定) | 8,731,828円 | 9,864,312円 |
| 平均保有時間 | 約6分30秒 | 約3分20秒 |
変わったのは「負け方」です。負けトレードの割合が約4割減り、連敗が短くなり、損益曲線がなめらかになりました。総純利益の伸びは約13%です。
1回あたりの平均利益は約12%小さくなります(9,672円→8,470円)。損切りラインを早く引き上げるぶん、利益を早めに確定する取引が増えるためです。年ごとに見ると、13年中12年でv1.10(初期設定のv1.11も同じ)が上回りましたが、2025年はv1.06が上回りました。
※検証条件:実ティックデータ(ヒストリー品質99%)、2014.07.01〜2026.09.30、初期証拠金100万円・0.50lot固定。バックテストは過去のデータによる検証で、将来の成績を保証するものではありません。
※トレーリングの効果は、損切りラインの更新が素早く通ることが前提です。テスターで約定を1秒遅らせた検証では、純利益が約9%、プロフィットファクターが約5.8から約5.1に低下しました。実際の運用では、ブローカーやVPSの環境により、結果が変わります。
トレーリングの改良は、初期設定から有効です。そのため、v1.06とは売買結果が変わります(注文位置・SL/TP・指標関連の設定は、v1.06と同じです)。v1.11では、トレーリングの開始・幅を設定画面で変更できるため、v1.06の動きに戻すこともできます(バックテストで、v1.06と同じ結果になることを確認しています)。既存ユーザー様には個別に更新版をご案内しております。
日足が切り替わる、その一瞬だけを狙う
GOLD(XAUUSD)は、日足が切り替わる境界時刻の前後で値動きに規則性(アノマリー)が生じやすいことが知られています。「黄金の守人」は、前日の高値・安値という"結界"を、値動きが超えた瞬間だけ動くシンプルなブレイクアウト戦略です。
ナンピン・マーチンゲールは一切使用せず、初期設定では、常時最大2ポジション(買い1・売り1)のワンポジ運用に徹しています。含み損を積み増すことなく、寡黙に、しかし確実に相場の境界線を見張り続けます。(注文の対象日数オプションを使うと、同じ方向のポジションが増える場合があります。詳しくは下の「基本仕様」をご覧ください)
12年超の実証データ
📊 バックテスト結果①:固定ロット運用(2014.07.01〜2026.09.30)
v1.10/v1.11の初期設定・初期証拠金100万円・0.50lot固定・ヒストリー品質99%・総取引1,625回
📊 バックテスト結果②:複利運用(2014.07.01〜2026.09.30)
v1.10/v1.11の初期設定・初期証拠金30万円・リスク2%の複利運用(Inp_Use_MM=true)・ヒストリー品質99%・総取引1,625回。複利運用は、固定ロット運用よりドローダウンが大きくなります。終盤は最大50lotまでロットが拡大します。実際の運用では、ブローカーの最大ロット制限により、複利効果が頭打ちとなる場合があります。
いずれも過去のバックテストの結果であり、将来の運用成績を保証するものではありません。
選ばれる理由
ワンポジ運用
初期設定では、常時最大2ポジション(買い1・売り1)。ポジションを積み増さないシンプルな管理で、含み損リスクを限定します。
ナンピンなし
マーチンゲール・ナンピンは一切不使用。ロットが際限なく膨らむ危険な仕組みを持ちません。
指標への向き合い方を選べる
米ドルの経済指標の前後は、新規の注文設置を見送り。さらに、指標時間帯の未約定注文の削除と、終了後の再設置もオプションで選べます。CSV読み込みで、バックテストでも効果を検証できます。
📰 指標との付き合い方を、あなたが決める
経済指標の前後は、値動きが大きくなりやすく、「避けたい」と考える方も、「その値動きこそ狙いたい」と考える方もいらっしゃいます。v1.06から、その考え方に合わせて、次の3つを選べるようにしています。
| 指標前後の新規注文の見送り | 米ドルの指標(重要度「高」「中」を選択)の前後30分は、新規の注文設置を見送ります。初期設定は、重要度「高」のみが対象です。 |
| 指標時間帯の未約定注文の削除 | 指標の時間帯に入った時、まだ約定していないストップ注文を削除します。(初期設定:OFF) |
| 指標終了後の注文の再設置 | 削除した注文を、指標の時間帯が終わった後に、同じ条件で再設置します。買い・売りは別々に判断し、価格がすでに注文の位置を越えていた側は、その日は見送ります。(初期設定:OFF) |
新機能:指標カレンダーのCSV読み込み。MT5のストラテジーテスターでは、内蔵の経済カレンダーが使えません。v1.06から、カレンダーをCSVに書き出して読み込む機能を搭載し、バックテストでも、指標フィルターの効果を検証できます。
これらの機能を使った、さまざまな設定でのバックテスト結果と分析は、ゴゴジャン投資ナビ+の連載記事で公開しています。設定の選び方の参考に、ぜひご覧ください。
※指標に関するオプションは、利益を減らす代わりに、指標をまたぐ不安を和らげる使い方もできる機能です。ドローダウンが必ず小さくなるものではありません。ご自身の運用方針に合わせて、小さめのロットで動作をご確認ください。
💡 ポジション数が少ないと気になる方へ
「黄金の守人」は常時最大2ポジションのシンプル運用のため、他のナンピン系・多ポジション系EAと比べて取引回数が少なく見えるかもしれません。なぜこの設計にしているのか、取引回数を抑えることがどうリスク管理につながるのかを、ゴゴジャン投資ナビ+の記事で詳しく解説しています。ご購入前にぜひご一読ください。
🔧 オプション:注文の対象日数を選べる
初期設定(Inp_LevelDays=1)では、前営業日の高値・安値だけに注文を置きます。2〜5を指定すると、直近の複数営業日それぞれの高値・安値にも注文を置き、取引の機会を増やせます。初期設定のままご使用いただいても、問題ありません。
| バックテストの目安 | 1日(初期設定) | 3日 |
| 取引回数 | 1,625回 | 3,661回(約2.3倍) |
| 総純利益 | 986万円 | 1,872万円(約1.9倍) |
| プロフィットファクター | 5.85 | 4.67 |
| 最大ドローダウン(残高) | 75,662円(2%) | 104,780円(2%) |
※0.50lot固定・初期証拠金100万円・初期設定(フィルターは初期値)・同一条件での比較(2014.07〜2026.09)。取引が増えて総純利益は増える一方、1回あたりの質(プロフィットファクター)は下がる傾向があります。また、同じ方向のポジションが複数同時に発生する場合があり、「ワンポジ運用」ではなくなります(最大4ポジション)。ご自身の運用方針に合わせて、小さめのロットで動作をご確認ください。
🔧 オプション:注文価格のオフセット(v1.11)
ブレイク価格(前営業日の高値・安値など)から、指定したpipsだけ離して注文を置く機能です。買いは上へ、売りは下へ、それぞれ指定できます(Inp_OffsetBuyPips/Inp_OffsetSellPips)。初期値は0で、従来どおりの位置に注文を置きます。オフセットを使う場合、対象は「現在値に最も近い上下1本ずつ」(初期設定)か「全ての注文」から選べます(Inp_OffsetTarget)。
| バックテストの目安 | オフセットなし | 4pips |
| 【1日】総純利益 | 986万円 | 912万円(約−7.5%) |
| 【1日】プロフィットファクター | 5.85 | 5.03 |
| 【3日・近い上下のみ】総純利益 | 1,872万円 | 1,807万円(約−3.5%) |
| 【3日・近い上下のみ】プロフィットファクター | 4.67 | 4.46 |
オフセットは、成績を上げる機能ではありません。約定価格が不利になるため、バックテストでは、純利益とプロフィットファクターが下がります。「毎日、手動で注文価格を調整している」「ロジックの位置を、少しずらして使いたい」といった運用のための機能です。
※0.50lot固定・初期証拠金100万円・初期設定・同一条件での比較(2014.07〜2026.09)。オフセットの対象を「全ての注文」にした場合(3日)は、総純利益1,718万円、プロフィットファクター4.09と、近い上下のみより低下しました。バックテストは過去のデータによる検証で、将来の成績を保証するものではありません。小さめのロットで動作をご確認ください。
基本仕様
| 対応プラットフォーム | MetaTrader 5(MT5専用) |
| 対象通貨ペア | GOLD(XAUUSD)専用 |
| 時間足 | M5(5分足) |
| 最大ポジション数 | 初期設定:2(買い1・売り1)。注文対象日数オプション使用時は、最大4まで(Inp_MaxPositions) |
| 注文の対象日数(Inp_LevelDays) | 初期設定:1(前営業日の高値・安値のみ)。2〜5を指定すると、直近の複数営業日それぞれの高値・安値にも注文を設置(オプション) |
| トレーリングの設定(Inp_Trail_Start/Inp_Trail_Dist) | 初期値:開始2.0pips/幅1.0pips(v1.10と同じ動き)。設定画面で変更可能。以前(v1.06)の動きに戻すこともできます |
| 注文価格のオフセット(Inp_OffsetBuyPips/Inp_OffsetSellPips/Inp_OffsetTarget) | 初期値:0(従来どおり)。買いは上へ、売りは下へ、指定pipsだけ離して注文(オプション)。対象は「近い上下のみ」(初期設定)または「全ての注文」 |
| ストップロス/利確 | 15pips / 150pips(トレーリングストップ搭載。開始・幅は設定画面で変更可能。v1.10で、より早く細かく追従する方式に改良) |
| ナンピン・マーチンゲール | なし |
| 両建て | なし |
| 指標フィルター | 米ドル指標(重要度「高」「中」を選択)の前後30分は、新規の注文設置を見送り |
| 指標時間帯の注文削除/終了後の再設置 | オプション(初期設定:OFF) |
| 指標カレンダーCSV | バックテストでの指標フィルター検証に対応 |
| 推奨証拠金 | 100万円以上(0.50lot固定運用時の目安) |
Copyright 2026, Yoko & Kenji. All rights reserved.
●Payment
●Payment
Just like discretionary trading, there are those that decide trading and settlement timings by combining indicators, those that repeatedly buy or sell at certain price (pips) intervals, and trading methods that utilize market anomalies or temporal features. The variety is as rich as the methods in discretionary trading.
To categorize simply,
・Scalping (Type where trades are completed within a few minutes to a few hours),
・Day Trading (Type where trades are completed within several hours to about a day),
・Swing Trading (Type where trades are conducted over a relatively long period of about 1 day to 1 week)
・Grid/Martingale Trading (Holding multiple positions at equal or unequal intervals and settling all once a profit is made. Those that gradually increase the lot number are called Martingale.)
・Anomaly EA (Mid-price trading, early morning scalping)
However, a substantial advantage of automated trading is its ability to limit and predict risks beforehand.
[Risk]
Inherent to forex trading are the trading risks that undeniably exist in automated trading as well.
・Lot Size Risk
Increasing the lot size forcibly due to a high winning rate can, in rare instances, depending on the EA, lead to substantial Pips loss when a loss occurs. It is crucial to verify the SL Pips and the number of positions held before operating with an appropriate lot.
・Rapid Market Fluctuation Risk
There are instances where market prices fluctuate rapidly due to index announcements or unforeseen news. System trading does not account for such unpredictable market movements, rendering it incapable of making decisions on whether to settle in advance or abstain from trading. As a countermeasure, utilizing tools that halt the EA based on indicator announcements or the VIX (fear index) is also possible.
[Benefits]
・Operates 24 hours a day
If there is an opportunity, system trading will execute trades on your behalf consistently. It proves to be an extremely convenient tool for those unable to allocate time to trading.
・Trades dispassionately without being swayed by emotions
There is an absence of self-serving rule modifications, a common human tendency, such as increasing the lot size after consecutive losses in discretionary trading or, conversely, hastily securing profits with minimal gains.
・Accessible for beginners
To engage in Forex trading, there is no prerequisite to study; anyone using system trading will achieve the same results.
[Disadvantages]
・Cannot increase trading frequency at will
Since system trading operates based on pre-programmed conditions, depending on the type of EA, it might only execute trades a few times a month.
・Suitability may vary with market conditions
Depending on the trading type of the EA, there are periods more suited to trend trading and periods more suited to contrarian trading, making consistent results across all periods unlikely. While the previous year might have yielded good results, this year's performance might not be as promising, necessitating some level of discretion in determining whether it is an opportune time to operate.
・MT4 (MetaTrader 4. An account needs to be opened with a Forex company that offers MT4.)
・EA (A program for automated trading)
・The operating deposit required to run the EA
・A PC that can run 24 hours or a VPS (Virtual Private Server), where a virtual PC is hosted on a cloud server to run MT4.
Additionally, there are both demo and real accounts available. You can experience trading with virtual money by applying for a demo account. After opening a real account, you select the connection server assigned by the Forex broker, enter the password, and log in to the account.
When you deposit money into your account using the method specified by the forex broker, the funds will be reflected in your MT4 account, and you can trade.
Firstly, download the purchased EA file from your My Page on GogoJungle. You will download a zip (compressed) file, so right-click to extract it and retrieve the file named ‘◯◯◯ (EA name)_A19GAw09 (any 8 alphanumeric characters).ex4’ from inside.
Next, launch MT4 and navigate to ‘File’ → ‘Open Data Folder’ → ‘MQL4’ → ‘Experts’ folder, and place the ex4 file inside. Once done, close MT4 and restart it. Then, go to the upper menu ‘Tools’ → ‘Options’, and under ‘Expert Advisors’, ensure ‘Allow automated trading’ and ‘Allow DLL imports’ are checked, then press OK to close.
The necessary currency pair and time frame for the correct operation of the EA are specified on the EA sales page. Refer to this information and open the chart of the correct currency pair time frame (e.g., USDJPY5M for a USD/Yen 5-minute chart).
Within the menu navigator, under ‘Expert Advisors’, you will find the EA file name you placed earlier. Click to select it, then drag & drop it directly onto the chart to load the EA. Alternatively, you can double-click the EA name to load it onto the selected chart.
If ‘Authentication Success’ appears in the upper left of the chart, the authentication has been successful. To operate the EA, you need to keep your PC running 24 hours. Therefore, either disable the automatic sleep function or host MT4 on a VPS and operate the EA.
If you want to use it with an account other than the authenticated one, you need to reset the registered account.
To reset the account, close the MT4 where the Web authentication is registered, then go to My Page on GogoJungle > Use > Digital Contents > the relevant EA > press the ‘Reset’ button for the registration number, and the registered account will be released.
When the account is in a reset state, using the EA with another MT4 account will register a new account.
Also, you can reset the account an unlimited number of times.
→ Items to Check When EA is Not Operating
1 lot = 100,000 currency units
0.1 lot = 10,000 currency units
0.01 lot = 1,000 currency units
For USD/JPY, 1 lot would mean holding 100,000 dollars.
The margin required to hold lots is determined by the leverage set by the Forex broker.
If the leverage is 25 times, the margin required to hold 10,000 currency units of USD/JPY would be:
10000*109 (※ at a rate of 109 yen per dollar) ÷ 25 = 43,600 yen.
・Risk-Return Ratio: Total Profit and Loss during the period ÷ Maximum Drawdown
・Maximum Drawdown: The largest unrealized loss during the operation period
・Maximum Position Number: This is the maximum number of positions that the EA can theoretically hold at the same time
・TP (Take Profit): The set profit-taking Pips (or specified amount, etc.) in the EA's settings
・SL (Stop Loss): The set maximum loss pips (or specified amount, etc.) in the EA's settings
・Trailing Stop: Instead of settling at a specified Pips, once a certain profit is made, the settlement SL is raised at a certain interval (towards the profit), maximizing the profit. It is a method of settlement.
・Risk-Reward Ratio (Payoff Ratio): Average Profit ÷ Average Loss
・Hedging: Holding both buy and sell positions simultaneously (Some FX companies also have types where hedging is not allowed)
・MT4 Beginner's Guide
・Understanding System Trading Performance (Forward and Backtesting)
・Choosing Your First EA! Calculating Recommended Margin for EAs
・Comparing MT4 Accounts Based on Spread, Swap, and Execution Speed
・What is Web Authentication?
・Checklist for When Your EA Isn't Working
