4本移動平均線EA smlL_EURUSD
- 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
EAの詳細は下記サイトでも解説していますので、ご参考ください。
FX自動売買活用ブログ
4本移動平均線EA smlLは4本の指数平滑移動平均線(種別:Exponential Moving Average Exponenti 適用価格:Close)を使用した5分足専用EAになります。
各移動平均線を(i)短期移動平均線(ii)中期移動平均線(iii)長期移動平均線(iv)超長期移動平線と呼びます。本EAの取引ロジックはシンプルでありながら、優位性のあるポイントでのエントリーを適格に捉えた手法です。5分足チャートに4本の移動平均線のインディケーターをセットしたのが、図1になります。
図1
<トレードルール>
チャートに4本の移動平均線が表示されているのが確認できます。移動平均線の期間毎に線の色を変えています。黄色:短期移動平均線、青色:中期移動平均線、赤色:長期移動平均線、紫色:長期移動平均線となっています。相場の大前提として価格はトレンドの方向にただ進むのではなく、必ず押し戻しをつけて進んでいきます。相場は価格の押し戻しによるいくつもの波により形成されます。この押し戻しのポイントを狙うために、本EAは2つの条件をクリアした時に、(i)短期移動平均線(ii)中期移動平均線(iii)長期移動平均線の3つのポイントでエントリーします。
売りエントリー、買いエントリー時のイメージは、それぞれ図2、図3になります。
<売りエントリー>
図2
<買いエントリー>
図3
[エントリー条件1]:各移動平均線の並びが指定順通り揃っている
エントリー時の大前提として相場が上昇トレンドなのか、下降トレンドなのかを見極めた上でエントリーの判断をします。その判断材料として移動平均線の並び順を制御条件として使用します。
買いエントリー(上昇トレンド)の場合・・・上から短期移動平均線(黄色)→中期移動平均線(青色)→長期移動平均線(赤色)→超長期移動平均線(紫色)
売りエントリー(下降トレンド)の場合・・・上から超長期移動平均線(紫色)→長期移動平均線(赤色)→中期移動平均線(青色)→短期移動平均線(黄色)
[エントリー条件2]:4本の移動平均線の内指定移動平均線どうしの乖離幅が一定pips以上ある時
(i)短期移動平均線でエントリーする場合
①短期移動平均線と中期移動平均線の距離が指定pips以上
②中期移動平均線と長期移動平均線の距離が指定pips以上
(ii)短期移動平均線でエントリーする場合
①短期移動平均線と中期移動平均線の距離が指定pips以上
②中期移動平均線と長期移動平均線の距離が指定pips以上
(iii)長期移動平均線でエントリーする場合
①中期移動平均線と長期移動平均線の距離が指定pips以上
②長期移動平均線と超長期移動平均線の距離が指定pips以上
図4
[エントリー条件3]:EAエントリー後、エントリー移動平均線が指定移動平均線と交差するまではエントリーを見送る
条件3は具体的に(1)短期移動平均線で買いエントリーした場合(2)中期移動平均線で買いエントリーした場合を例に図を用いて説明します。
(1)短期移動平均線で買いエントリーした場合
図5
図5を見ると、短期移動平均線(黄色)赤丸部分で買いエントリーしているのが分かります。買いエントリー利益確定後は、短期移動平均線に何度も価格が触れていますがエントリーを見送っています。条件3によるエントリー制御がかかっている為です。短期移動平均線のエントリー制御が解除されるのは、図の白丸部分です。短期移動平均線が中期移動平均線に交差した時(短期移動平均線<中期移動平均線)にエントリー制御が解除される仕組みです。この制御をかけることで無駄なエントリーを省くことができ、反発しやすい部分だけを捉えてエントリーすることができます。
(2)中期移動平均線でエントリーした場合
図6
中期移動平均線(青色線)赤丸部分で買いエントリーして利確した後にエントリー制御が解除されるのは、図の白丸部分中期移動平均線が長期移動平均線に交差した時(中期移動平均線<長期移動平均線)に制御が解除されます。
なお、長期移動平均線で買いエントリーした場合は短期移動平均線が長期移動平均線に交差した時(短期移動平均線<長期移動平均線)にエントリー制御が解除されます。
<利益、損益確定条件>
[利益確定条件]
本EAはトレイリングストップ機能を実装しています。エントリーしてからのトレイル開始目安は10pipsです。エントリーしてから価格が10pips順行した段階で、幅1pipsの間隔を空けながら利益を追います。
幅を空けないと微益で終わることが多いですが、1pipsの間隔を空けながらトレイリングすることでより利益を追求することができます。
[損益確定条件]
損失確定条件は、エントリー移動平均線によって異なります。各移動平均線毎の損失条件を買いエントリーを例に表1に記載しました。
表1
※売りエントリーの場合は各移動平均線の上4pips
それでは短期移動平均線を例に図を用いて解説します。
図7の短期移動平均線(赤丸)で買いエントリー後、価格が下落してしまった場合、損切ラインは中期移動平均線の下4pipsの位置になります。中期移動平均線を損切りラインにしない理由は、価格が下落し中期移動平均線で再度反発する可能性が高いからです。
また、損切ラインはエントリー時に指定した損切りラインの固定位置ではなく、図8にあるようにリアルタイムで自動的に中期移動平均線の下4pipsになるようプログラムされています。
図7
図8
損切りラインを自動的に変更することによって常に的確な位置に損切りラインを設定することが出来、場合によっては反発ポイントまで耐え、最終的に利益に変えることができます。
図9
<パラメータ設定>
本EAはユーザー側で自由にパラメータ設定を変更できるよう設計してあります。具体的に変更できるパラメータを下記に示します。
(1)マジックナンバー、許容スプレッド、許容スリッページ、取引ロット数
上記4つのパラメータを自由に変更することができます。ロット数に関しては、各移動平均線それぞれで変更することができます。
(2)トレーリング開始pips、トレーリング幅pips
それぞれ3つの移動平均線毎に、「トレーリング開始pips」、「トレーリング幅pips」を設定することができます。デフォルトの設定は表2のとおりです。
表2
【※当EAはトレイリングストップ幅を1pipsとしている為、ストップレベルの設定されている口座では正常に動作しません。運用可能会社以外で取引される方はご留意ください】
Price:¥19,800 (taxed)
●Payment







Forward Test
Gaitame Finest Demo Account(Actual results may vary depending on circumstances, such as broker/customer's operating environment)
Open Date | Symbol | Buy/Sell | Open Price | S/L | T/P | Close Date | Close Price | Lots | Commission | Taxes | Swap | Net Profit | Profit/Loss |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Data is unavailable |
Sales from : 04/21/2019 23:37
Price:¥19,800 (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