Magical Trend
- 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の説明】
Magical Trend(マジカルトレンド)は5分足と15分足チャートで動作するデイトレ・スイング系のEAです。
エントリーの傾向としてMACDラインがプラス域でロング、マイナス域でショートのポジションを持ちます。
パラメーター及びロジックの詳細に関しては非公開となりますが、
MACDのパラメーターである短期MAと長期MAは、内部のプログラムにより5分足チャートと15分足チャートに自動的に最適化されます。
細かなパラメーター調整は一切不要で、ほったらかしが可能なEAに仕上がっています。
・GBPJPYに最適化された設定になっていますが、USDJPY他すべての通貨ペアで動きます。 ・15分足と5分足で動作します。 ・ワンポジション型EA。 ・他のEAとの同時稼働可能。 ・マジックナンバーは他のEAと被らないように設定してください。
5分足チャートで動かした場合と、15分足チャートで動かした場合は、成績には大きな差はありません。
俊敏さを重視される方は5分足で、ゆったりとしたトレードを希望される方は15分足チャートでの使用をオススメします。
【ロジックの説明】
このEAは、トレンド相場とレンジ相場の両方で利益が狙えるEAとして開発しました。
トレンド相場では短期MAの値と長期MAの値に着目し売買判定しています。
通常MACDに用いられる移動平均は「単純移動平均(SMA)」ではなく、「指数平滑移動平均(EMA)」を使いますが、MetaTrader4(MT4)に標準で装備されているMACDは、
SMAを使用します。この為、マジカルトレンドもSMAを使用しています。
また、MACDのパラメーターは短期EMA「12」、長期EMA「26」、MACDシグナル「9」とするのが一般的ですが、このEAでは左記のパラメータ値は使用せず、独自のパラメータ値を用いています。
強いトレンドが発生した時は、最大限利益を伸ばせるように短期MAと長期MAでトレンドを判断しています。
トレンド相場の初動をとらえ、反転するまで利益を徹底的に伸ばします
レンジ相場の波が合わないと、小さな損切りを繰り返すことがあります
レンジ相場の波の大きさによっては、ボックス相場でも細かく利益を積み上げる時があります。
レンジ相場で波の波長が合わない時は稼働を止めるか、ロットを下げるなどしてください。
2007年1月2日~2023年12月30日のポンド円5分足チャートでのバックテスト結果では、プロフィットファクターは1.26となりました。
勝率は35.70%と低いですが、平均勝ち金額が94.81ドルに対して平均負け金額は-41.70と、リスクリワード比は2:1以上となります。
この為、コツコツ負けてドカンと勝つ、損小利大のEAに仕上がっています。
同じ期間のドル円のバックテスト結果では、プロフィットファクターは1.18となりました。
ユーロ円のバックテスト結果は、プロフィットファクター1.10です。
豪ドル円のバックテスト結果は、プロフィットファクター1.14です。
クロス円通貨全般で若干の優位性はありますが、ポンド円とドル円以外の通貨ペアは安定相場での波長が合わないことから推奨は致しません。
得意な相場は高ボラティリティ相場(リーマンショック時のトレード)
続いて2020年のコロナ相場でのバックテスト結果
【対応証券会社】
MT4のEAが動くすべてのサーバー
他GMT+2(冬)/+3(夏)以外のブローカーにも対応
【バージョンアップ履歴】最新バージョン1.03
1、感度設定の追加
1~5の範囲でお好みの数字を入力してください。
数字が大きい方がエントリー回数が若干ですが増えます。
2、ロング方向にのみエントリーする設定を追加
ロングのみ新規エントリーするtrue ロングとショート両方にエントリーするfalseを選択できます。
通常は、ロングとショート両方にエントリーする設定でご利用ください。
3、連続発注回数の上限設定の追加
システムバグ等で注文の無限ループが行われた際の保護機能を実装致しました。
範囲10回~150回で指定できます。
通常EAによる新規エントリー回数は多くても1日10回くらいです。
短時間で規定回数以上発注が行われると保護機能が働き、それ以上新規の発注は行われなくなります。
手動で決済をするなどして上限に達した場合、MT4を再起動することでカウントが0にリセットされます。
プログラム内の回数リセットタイミングはサーバー時間の4:00(日本時間の10:00~11:00)と、11:00(日本時間の17:00~18:00)と、18:00(日本時間の24:00~1:00)の3回です。
4、スプレッドが広がったときに注文を出さない設定を追加しました。
許容スプレッド BidとAskの値の差を入力 例50⇒5pips
デフォルト MaxSpread = 25
5、自動売買を一時的に止める設定の追加
裁量モードにするtrue 自動売買を有効にするfalse
裁量モードにすると、エントリーと決済のすべての注文がストップします。
再び自動売買を開始する場合は、自動売買を有効にするfalseにしてください。
●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
