DERBIES
- 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...
御覧頂きありがとうございます。
「DERBIES」は、AUDCADでの運用を主軸に開発したナンピン型EAです。
パラメータはすべて解放、通貨ペアの縛りもございません。ご自身の予算や目的に合わせて運用することができます。
現在、リアル口座で運用中です。バックテストで想定していた含み損や利益推移から大きく乖離することなく推移しています。
DERBIESは、以下のような方に向けたEAです。
「大きな利益よりも、長く使えるEAを探している」
「どんなEAを買っても、最終的には稼働を停止してしまう」
「ナンピンEAでも、できるだけリスクを把握しながら運用したい」
「自分の運用スタイルに合わせてEAのパラメータも調整していきたい」
DERBIESは、さまざまなロジックを搭載していますが、その中でも注目なのが「デュアルロジックシステム」と「含み損計算機能」です。
それぞれを詳しく解説します。
「デュアルロジックシステム」とは?
ナンピンEAはセッティング次第で利益を大きく伸ばすこともできますが、リスクを上げすぎると破綻リスクも高まります。一方で、リスクを抑えすぎると利益面の魅力が小さくなりやすいという課題もあります。
そこでDERBIESでは、同じロジックを2つ搭載した「デュアルロジックシステム」を採用。それぞれを「A系統」「B系統」として分け、バックテスト最適化より選び出した低リスクのパラメータをAとBに振り分けています。これにより、低リスクなトレードを2つ同時に稼働させることが可能になります。
つまり、高リスク設定で無理に高利益を狙うのではなく、低リスク設定のパラメータを2つ同時に稼働させて2系統の合算で安定した運用を目指す。これがDERBIESの基本コンセプトであり、EA名称の由来です。
通常、同じEAを異なるパラメータで稼働させたい場合、EAを複数用意する必要がありますが、DERBIESはそれを1つのEA内で完結させています。
○トレード内容の一例(15分足チャート)
「含み損計算機能」とは?
ナンピン型EAは最大ドローダウンだけでなく、"運用中にどれくらいの含み損を抱えたのか"を確認することが非常に重要です。たとえバックテスト結果が右肩上がりであっても、途中で大きな含み損を抱えているケースも少なくありません。つまり、最大ドローダウンだけでEAの好し悪しを判断するのは危険と言えます。
多くのナンピン型EAはバックテストで最大ドローダウンは確認できますが、含み損を確認できるEAはほとんどありません。岩ライザーを使用すれば確認できますが有料です。
そこでDERBIESでは、リアル運用時のリスクを確認するために、含み損計算機能を搭載しました。バックテスト終了時に”どのくらいの含み損が発生しているのか”を、MT4のログより出力します。これにより、リアル運用でのリスク管理が非常に分かりやすくなります。
実際のMT4ログの一部
なお、含み損計算は「バスケットごと」に算出します。
【バスケットとは?】
バスケットとは、最初のポジションから複数回のナンピンを含めたすべてを1つとしてカウントするものです。同じ方向に保有している複数ポジションを1つのグループとして扱います。これをバスケットとして定義しています。
含み損計算機能は、このバスケット単位で「最大どれくらいの含み損を抱えたか」「設定した含み損レベルに何回到達したか」を確認できます。実際にMT4ログに出力される内容を簡単に説明します。
・A系統、B系統それぞれの買い/売りバスケットごとに、最大含み損、最大含み損が発生した日時、発生時の価格などをログに出力します。
・パラメータ設定にバスケットロスレベル1、バスケットロスレベル2、バスケットロスレベル3を用意(任意の金額に自由調整が可能)。バスケットロスレベルの到達回数を自動カウントします。
例えば、バスケットロスレベル1を50,000円、レベル2を100,000円、レベル3を200,000円に設定した場合、”それぞれの含み損ラインに何回到達したか”を確認できます。
さらに、A系統・B系統を同時稼働させた場合の”合算含み損”も確認可能です。単体ロジックごとの含み損だけでなく、”A/B合算でどれくらいの含み損が発生したのか”を把握できるため、リアル運用に近いリスク管理ができます。
また、DERBIESでは同じ方向のポジション全体の平均建値や合計損益をもとに、バスケット単位で利確・損切り判定を行います。そのため、個別のポジションではマイナスになっているものがあっても、バスケット全体で利確条件を満たした場合はまとめて決済します。
例:
1本目のポジション:含み損
2本目のポジション:含み損
3本目のポジション:含み益
4本目のポジション:含み益
このような状態でも、4本合計の損益が利確条件を満たせばバスケット内のポジションを全て決済します。
※含み損計算機能はMT4の口座通貨建て損益をもとに集計します。
※円口座の場合は円建ての含み損額として確認します。
※通貨ペアごとにpips価値や値動きの特性が異なるため、バスケットロスレベルの数値は運用通貨ペアや資金量に合わせて調整してください。
※バスケット統計およびA/B合算含み損統計は、主にバックテスト分析用の機能です。実戦稼働時は処理負荷とログ出力を抑えるために「false」での運用を推奨します。
全パラメータ詳細 ※=A/B共通パラメータ
・許容スリッページ(pips)※
新規エントリー・ナンピン時に許容するスリッページをpipsで指定します。数値を小さくすると不利な約定を抑えやすくなりますが、相場状況によっては注文が通りにくくなる場合があります。
・許容スプレッド(pips)※
新規エントリー・ナンピンを許可する最大スプレッドをpipsで指定します。現在のスプレッドがこの値を超えている場合、EAは取引を行いません。早朝や指標発表時など、スプレッドが拡大しやすい時間帯の取引を抑制する目的で使用します。
・夏GMT ※ ブローカーサーバーの夏時間におけるGMTオフセットを指定します。日本時間ベースの取引禁止時間を正しく判定するために使用します。
・冬GMT ※ ブローカーサーバーの冬時間におけるGMTオフセットを指定します。日本時間ベースの取引禁止時間を正しく判定するために使用します。
・DSTモード ※
夏時間の切り替え方式(欧州式/米国式)を選択します。ブローカーのサーバー時間に合わせることで、日本時間で設定した取引禁止時間を年間を通して正しく反映します。
・取引禁止の開始時刻 ※
新規エントリーを停止する開始時刻を日本時間で指定します。
例:4の場合は日本時間4時から取引禁止時間に入ります。
・取引禁止の終了時刻 ※
新規エントリーを再開する時刻を日本時間で指定します。
例:8の場合は日本時間8時から取引可能になります。
・禁止時間中のナンピン許可 ※
取引禁止時間中に既存ポジションへのナンピンを許可するかを指定します。
true:禁止時間中でもナンピンを行います。 false:禁止時間中はナンピンも行いません。
・買いマジックナンバー
買いポジションを識別するためのマジックナンバーです。他のEAや売りポジションと区別するために使用します。
・売りマジックナンバー
売りポジションを識別するためのマジックナンバーです。買いポジションとは別番号で管理されます。
・注文コメント
注文に付与するコメントです。取引履歴上でEAの注文を識別しやすくするために使用します。
・固定ロット 初回エントリー時のロット数を指定します。ナンピン時のロットはこのロットが基準となり、ロット倍率によって計算されます。
・売買方向
EAの売買方向を以下4つから選択します。
Stop:新規エントリーを停止します。 Long_Short:買い・売り両方を行います。 LongOnly:買いのみ行います。 ShortOnly:売りのみ行います。
・TP(pips)0=無効
平均建値から指定pips分、有利方向に動いた場合にバスケット全体を決済します。
例:20pipsに設定した場合、ナンピンした複数ポジションを含めた全体の平均価格から20pips利益が出た時点で決済します。
・SL(pips)0=無効
平均建値から指定pips分、不利方向に動いた場合にバスケット全体を決済します。
例:100pipsに設定した場合、ナンピンした複数ポジションを含めた全体の平均価格から100pips逆行した時点で決済します。
・TP(利益額)0=無効
保有中の同一方向ポジションの合計損益が指定金額以上になった場合、バスケット全体を決済します。スワップ・手数料も含めた損益で判定します。
・SL(損失額)0=無効(マイナスで使用)
保有中の同一方向ポジションの合計損益が指定金額以下になった場合、バスケット全体を損切りします。使用する場合はマイナス値で入力します。
例:-50,000円に指定する場合、「-50000」と入力
・ナンピン間隔(時間)
前回エントリーから次のナンピンを行うまでの最低経過時間を指定します。指定時間が経過していない場合、価格条件を満たしてもナンピンは行いません。
・最大ポジション数
同一方向で保有できる最大ポジション数を指定します。この数に達すると、それ以上のナンピンは行いません。
・ナンピン間隔(pips)
前回のエントリー価格から指定したpips逆行した場合に、次のナンピンを行います。
例:20pipsに設定した場合、前回のエントリー価格から20pips逆行すると次のナンピンを行います。
・ロット倍率
ナンピン時のロットを前回ロットに対して何倍にするかを指定します。
例:1.5の場合、前回ロットの1.5倍を基準にして次のロットを計算します。
・ラスト2ロットをカスタムする
ナンピン最後の2ポジションのロット数を指定できます。ナンピン回数が増えていくと総ポジションが大きくなり、後半のポジションが原因で破綻に繋がるケースもあり得ます。それを防ぐ意味で付けていますが、抑えすぎるとナンピン効果も低くなります。
true:最後の2ポジションにカスタムロットを使用します。 false:通常のロット倍率で計算します。
・ラスト2番目のロット
最大ポジション数の1つ手前のポジションに使用する専用ロットを指定します。「ラスト2ロットをカスタムする」がtrueの場合にのみ有効になります。
・ラストのロット
最大ポジション数に到達する最後のポジションに使用する専用ロットを指定します。「ラスト2ロットをカスタムする」がtrueの場合にのみ有効になります。
・エントリーモード
新規エントリーの判定方法を以下3つから選択します。
モードEMA:EMAを使用して判定します。 モードADX:ADXを使用して判定します。 モードBB:ボリンジャーバンドを使用して判定します。
・エントリー判断足
エントリー判定に使用する時間足を指定します。
例:5の場合、5分足チャートでエントリー判断を行います。
・EMA期間
EMAの計算期間を指定します。数値が小さいほど短期的な値動きに反応しやすく、数値が大きいほど長期的な方向性を重視します。
・EMA適用価格
EMAの計算に使用する価格を以下から選択します。
終値、始値、高値、安値
・EMA判定反転
EMAによる売買判定を反転するかを指定します。
false:通常の判定を行います。 true:売買方向を反転します。
・ADX期間
ADXの計算期間を指定します。トレンドの強弱を判定するために使用します。
・ADXトレンド判定
ADXの値を用いてトレンドの強弱を判定します。ADXがこの値未満の場合のみ、トレンドが弱いと判断して新規エントリーを許可します。
・BB期間
ボリンジャーバンドの計算期間を指定します。数値が小さいほど短期的な値動きに反応しやすく、数値が大きいほどバンドが安定しやすくなります。
・BB偏差(σ)
ボリンジャーバンドの幅を決める偏差を指定します。数値が大きいほどバンド幅が広くなり、エントリー頻度は少なくなる傾向になります。
・段階TPを使用する
保有ポジション数が指定数以上になった場合に、通常とは別の利確条件の段階TPに切り替えるかを指定します。ナンピンが進んでポジション数が増えると、わずかな値動きでも損益が大きく動きます。その特性を活かし、効率よく利益増を狙うための機能です。
true:段階TPを使用します。 false:段階TPを使用しません。
・段階TP発動の総ポジション数
段階TPを有効にする保有ポジション数を指定します。同一方向のポジション数がこの値以上になると、通常TPではなく段階TPの条件で決済判定を行います。
・段階TP(pips)0=無効
段階TP発動時に使用するpips利確幅を指定します。
・段階TP(利益額)0=無効
段階TP発動時に使用する金額利確です。保有中の同一方向ポジションの合計損益が指定金額以上になった場合に決済します。
・B系統を有効化
B系統の稼働オンオフを設定します。
true:A系統とB系統の両方を稼働します。 false:A系統のみを稼働します。
重要
DERBIESは、直近約10年間の相場データをもとにパラメータを調整しております。相場環境は年々変化しており、20年以上前と現在ではボラティリティや値動きの特性が大きく異なります。そのため、無理に過去すべての相場を網羅するのではなく、直近の市場環境を重視した設計を優先しております。
とはいえ、”長期間の相場環境でもEAロジックが通じるのか”を検証する必要があることも確かです。そこで、2008.05.01 - 2026.05.01の長期バックテストより選出したパラメータとバックテスト結果を掲載します。長期間への適応を重視したい方は、こちらのパラメータ使用を検討してください。
※EAご購入者さまには、こちらのパラメータSETファイルも付属します。
【その他/注意点】
※金・銀・原油・株価指数・暗号資産は非対応です。 ※エキゾチック通貨ペアはスプレッド・スワップ・流動性の影響が大きいため非推奨です。 ※AUDCAD以外で使用する場合は、必ず事前にバックテストおよびデモ口座で検証してください。 ※本EAはナンピン型EAのため、相場状況によっては含み損が大きくなる場合があります。必ず余裕を持った証拠金で運用を行ってください。 ※当方はスワップフリー口座で運用しております。バックテストもスワップポイントが売り買いともにゼロのタイミングで行っております。 ※金額指定パラメータおよび含み損計算機能は口座通貨ベースです。JPY口座では円、USD口座ではドルで判定されます。USD口座でJPY口座と同等の設定にする場合は、それぞれドル円レートで割った値を目安に設定してください。 例:2,000円 ÷ 160円 = 12.5ドル
DERBIESは「一攫千金を狙うEA」ではございません。含み損を把握しながら長く運用できるナンピンEAとして開発しました。含み損計算機能に加え、パラメータもすべて解放しておりますので、ご自身の資金や運用スタイルに合わせて最適化していただけます。
ご不明点がありましたら、ご購入前でもお気軽にお問い合わせください。
●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
