POEURJPY
- 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...
これはパーフェクトオーダーをベースにしたシンプルなEAです。 単にパーフェクトオーダーだけで勝てるわけはないので、時間帯傾向や季節傾向等のアノマリーを加えています。
パーフェクトオーダーが成立していて、かつ統計的に勝率が高い時しかトレードしないので、エントリ頻度は低いです。
トレンドが強い時に稼ぎやすく、トレンドの切り替わり時に負けやすくなります。 もし相場予想に自信のある方であれば、上げ相場だと思うならlong only、下げ相場だと思うならshort onlyと、切り替えながら運用するのもアリかと思います。 ナンピンやマーチンはしていません。 通常、ポジションを保有してから24時間以内に決済します。
MT4のGMTが冬時間+2、夏時間+3の口座でのみ運用可能です。
最大ストップロスはATRで算出しているため、直近の変動値幅によって変わります。テイクプロフィットは設定しておらず、全て時間決済となります。
売れてきたら段階的に値上げしていく予定です。
よろしくお願いします。
10万円スタート、MinlotFund=10000での複利バックテスト結果。(最小ロット0.01、1ロット=10万通貨単位、円口座の場合)
推奨パラメーター設定は、
単利運用の場合は、Lotsパラメーターをいじる以外は、デフォルトのパラメーター。
複利運用の場合は、MM = trueにしてMinlotFundをいじる以外は、デフォルトのパラメーター。
私の出品EAではマジックナンバーが被らないようにしてありますが、他作者様のEAとではマジックナンバーが被る可能性があります。もしマジックナンバーが他EAと被る場合には、被らない値に変更して下さい。 マジックナンバーを変更して運用する場合、そのEAでのポジション保有中に前回と違うマジックナンバーに変更してしまうと、決済されなくなりますのでご注意下さい。
パラメーター
Magic マジックナンバー。0は手動のナンバーなので、0以外の9桁以下の整数で他EAと被らない値にする。 Lots 単利運用時のロット。(複利時は関係なし) MaxSpread 許容スプレッド。 Slippage 許容スリッページ。
MarginLevel 新規ポジの取得を許可する最低維持率。MarginLevel=200であるとき、保有ポジション無しまたは維持率200%以上であれば新規ポジの取得を許可します。
MM false=単利運用。true=複利運用。 MinlotFund 複利運用時、資金いくらあたりで最小ロット×1をとるかを指定。数字が小さいほどハイリスクハイリターンになる。 MaxLot 複利運用時のロット上限。業者の上限ロットを超えた値を設定した場合は、EA内部で業者の上限ロットに修正します。 WeekEndExit trueで週末持ち越さずに決済する。週末持越しがある場合のみこのパラメーターがあり、週末持ち越しが無い場合には、このパラメーターは付いていません。
パラメーターMinlotFundの詳細
資金いくらあたりで最小ロット×1をとるかを指定します。
例:MinlotFund=100000で稼働業者の最小ロットが0.01であるとき、口座残高10万円だと0.01ロットをとる(円口座の場合)
例:MinlotFund=100000で稼働業者の最小ロットが0.1であるとき、口座残高20万円だと0.2ロットをとる(円口座の場合)
MinlotFundの値が大きいほどローリスクローリターンで、
MinlotFundの値が小さいほどハイリスクハイリターンになります。
MinlotFundの値を小さくしすぎて、その残高では取れないロットを算出してしまう場合には、Not enough moneyとAlertが出て新規ポジションを取りません。
※口座通貨・業者の最小ロット・業者の1ロットの単位、が異なるとMinlotFundの最適値も変わります。
最適なMinlotFundの設定をバックテストで求める際は、エキスパート設定の口座通貨を、稼働口座の口座通貨と同じにしてテストして下さい。 エキスパート設定の初期証拠金の口座通貨欄にJPYが無い場合は、手動でJPYと入力して下さい(稼働口座が円口座の場合)。 バックテストの際は、MetaTraderに標準で付属しているPeriodConverterを用いる方も多いと思いますが、PeriodConverterを使うと曜日が一部ずれるので正確なテスト結果が出ません。PeriodConverterを用いたヒストリカルデータのテストでは、掲載したバックテスト結果とは異なる結果になる可能性があります。
バックテストなしで複利運用の設定を決める場合は、手動トレードの際に「口座残高いくらの時に最小ロットでのトレードが最適だと思うか」で決めていただけると良いかと思います。
無いとは思いますが、最小ロットに変な値を採用している業者の場合には正しく複利計算できません。
MM=trueであるときに正しく複利計算できない場合には、最小ロットでの取引になるようにしてあります。
複利設定に対して残高が少なすぎて、複利計算で算出されるロットが0になる場合には、最小ロットをとるようにしてあります。
パラメーターWeekEndExitの詳細
バックテスト上で、週末持ち越さないほうが良い成績である場合には、元から週末持ち越ししないロジックになっているため、週末決済パラメータはついていません。 週末持ち越したくない方向けに、週末決済機能をつけていますが、週末決済機能をtrueにすると、バックテスト上では成績が悪くなります。 trueにした場合、週末持ち越ししない場合にバックテスト上で成績が良かった時刻に決済されるようになっています。
※POEURJPYでは、WeekEndExit=trueにすると、BUYポジは週末決済され、SELLポジは金曜日にポジションを取らない仕様にしてあります。(元々エントリ時刻が遅くて週末決済だと利益にならないため)
間違って他の通貨ペアのチャートにセットしてしまっても、アラートが出て機能しないようになっています。もし変な銘柄名を使っている業者があれば、機能しない可能性がありますが、その場合はその業者での銘柄名を伝えてくれれば修正致します。 マジックナンバーがかぶらないことに注意していただければ、複数EA稼働に対応している他のEAと一緒に稼働させても問題ありません。
うまく動作しないなどあれば修正しますが、ドローダウンを無くしてくれ等の要望には応えられません。 複雑な条件を組み合わせてバックテスト上でドローダウンを無くすことは可能ですが、そうするとバックテスト上で成績が良いだけで実稼働では通用しないものになる可能性が高まります。 負けるべきときは負けなければいけません。そこを負けないように改造してしまうと、勝てる時に勝てなくなってしまいます。 実運用でプラスになると思われる場合のみアップデートする方針です。 スプレッドは広めに想定して作成しています。 狭いスプレッドでテストしたほうがバックテスト結果の見栄えは良くなりますが、実運用では狭く見積もった分マイナスになるからです。 仮に、スプレッドや手数料が無いとして、リスクリワード1:1でランダムに売買すると理論上トータルで負けることはありません。実際多くの人が負けるのは、損小利大の逆をやってしまう他に、スプレッドや手数料の負荷が大きいからです。 なのでスプレッドを甘く見ていると痛い目に合うので、多めに見積もっています。
念のため、デモ口座やバックテストで動作確認をしてからの運用をお願い致します。
このEAは、将来の利益を保証するものでは有りません。
EAを使用した結果生じた損失を補償することはできません。すべて自己責任でお願い致します。
アップデート履歴
ver2 OrderSend関数の注文コメントに商品IDを追加しました。
ver3 複利システムを分かりやすいものに変更しました。
アノマリーを追加し、パフォーマンスを改善しました。
週末決済機能を追加しました。(週末持ち越しがある場合のみ)
ver2までのパラメーターの説明
Magic マジックナンバー。0は手動のナンバーなので、0以外の9桁以下の整数で他EAと被らない値にする。
Lots 単利運用時のロット。
MaxSpread 許容スプレッド。
Slippage 許容スリッページ。
MM false=単利運用。true=複利運用。
Risk 複利運用時のリスク設定。数字が大きいほどハイリスクハイリターンになる。
MaxLot 複利運用時のロット上限。業者の上限ロットを超えた値を設定した場合は、EA内部で業者の上限ロットに修正します。
Price:¥30,000 (taxed)
●Payment
Sales from : 10/13/2022 21:48
Price:¥30,000 (taxed)
●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