Hatanshinai
- 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...
こんにちは。
マーチンゲール法はご存じだと思います。ここに来る人は。
絶対勝てないし、絶対手を出してはいけないです。初心者がハマるやつです。
1万が10万になり、100万になり、そしてそれが一気にゼロになる。
次は100万を入金する。200万になる。そしてそれが一気にゼロになる。
生活費を切り詰めて、100万を入金する。500万になる。そしてそれが一気にゼロになる。
そう、一瞬勝てるんだマーチンゲール。だけど絶対破綻する。
ん…?
これ私のことじゃないですか!
どうやったらマーチンゲールで破綻しないのか。
ずっとマーチンゲール系のEAを作る、テストする、破綻する。を繰り返しました。
さて、ここでなぜ破綻するか説明しましょう。
USDJPYを0.01Lots、1000pipsでマーチンゲールしてみます。
1回目、0.01lots、1000pips、勝ったら+1000円、負けたら-1000円、負けたら2回目へ
2回目、0.02lots、1000pips、勝ったら+2000円、負けたら-2000円、負けたら3回目へ
3回目、0.04lots、1000pips、勝ったら+4000円、負けたら-4000円、負けたら4回目へ
4回目、0.08lots、1000pips、勝ったら+8000円、負けたら-8000円、負けたら5回目へ
勝つまで倍々ゲームをしていきますが、勝つと必ず+100円になるんですね。だから負けない!
5回目、0.16lots、1000pips、勝ったら+16000円、負けたら-16000円、負けたら6回目へ
6回目、0.32lots、1000pips、勝ったら+32000円、負けたら-32000円、負けたら7回目へ
7回目、0.64lots、1000pips、勝ったら+64000円、負けたら-64000円、負けたら8回目へ
ぐわぁー6連敗とは不運なことです。でも次は勝てるでしょう!
8回目、1.28lots、1000pips、勝ったら+128000円、負けたら-128000円、負けたら9回目へ
9回目、2.56lots、1000pips、勝ったら+256000円、負けたら-256000円、負けたら10回目へ
次負けたら資金がなくなる!
10回目、5.12lots、1000pips、勝ったら+512000円、負けたら-512000円
損失が1,023,000円出て、退場です。
これは10連敗したわけですが、10連勝したときの利益は1000×10=10,000円です。
10連敗の確率は、1/1024であり、0.1%です。これはめったに起きないんですか?
こんな確率で事故に遭うとしたら、3年に1回以上事故に遭うということですよ。
これを何とかする方法を考えました。マーチンゲールを6連敗までに制限します。
7連敗以降は2倍しないということです。
上記の例で11回目は勝ち、12回目も勝ち、13回目は負け、14回目は勝ち、15回目も勝ちとします。
1回目、0.01lots、1000pips、負け:-1000円
2回目、0.02lots、1000pips、負け:-2000円
3回目、0.04lots、1000pips、負け:-4000円
4回目、0.08lots、1000pips、負け:-8000円
5回目、0.16lots、1000pips、負け:-16000円
6回目、0.32lots、1000pips、負け:-32000円
7回目、0.64lots、1000pips、負け:-64000円
8回目、0.64lots、1000pips、負け:-64000円
9回目、0.64lots、1000pips、負け:-64000円
10回目、0.64lots、1000pips、負け:-64000円
損失を抑えたせいで資金がなくならない!
11回目、0.64lots、1000pips、勝ち:+64000円・・・マーチンゲール終了
12回目、0.01lots、1000pips、勝ち:+1000円
13回目、0.01lots、1000pips、負け:-1000円
14回目、0.02lots、1000pips、勝ち:+2000円
15回目、0.01lots、1000pips、勝ち:+1000円
あれ?これ利益出てますか?253,000円の損失じゃないですか???
損失を抑える機能は、勝ちを取り戻す機能も抑えてしまうのです。
だからやっぱり勝てないんですよ、マーチンゲールは。
そこで考えました。次を見てください。16回目以降も増やします。
1回目、0.01lots、1000pips、負け:-1000円
2回目、0.02lots、1000pips、負け:-2000円
3回目、0.04lots、1000pips、負け:-4000円
4回目、0.08lots、1000pips、負け:-8000円
5回目、0.16lots、1000pips、負け:-16000円
6回目、0.32lots、1000pips、負け:-32000円
7回目、0.64lots、1000pips、負け:-64000円
8回目、0.64lots、1000pips、負け:-64000円
9回目、0.64lots、1000pips、負け:-64000円
10回目、0.64lots、1000pips、負け:-64000円
11回目、0.64lots、1000pips、勝ち:+64000円
12回目、0.64lots、1000pips、勝ち:+64000円
13回目、0.64lots、1000pips、負け:-64000円
14回目、0.64lots、1000pips、勝ち:+64000円
15回目、0.64lots、1000pips、勝ち:+64000円
16回目、0.64lots、1000pips、負け:-64000円
17回目、0.64lots、1000pips、勝ち:+64000円
18回目、0.64lots、1000pips、勝ち:+64000円
19回目、0.64lots、1000pips、勝ち:+64000円・・・ここで損失が取り戻せる
20回目、0.01lots、1000pips、負け:-1000円・・・通常運転へ
何が起きたのか分かった人は、ぜひ導入ください。
破綻から遠ざけるために色々考えて実装されている機能。セールスポイント。
多段マーチンゲール。
買い、売りそれぞれ5つの違ったマジックナンバーを使用し10ラインの独立した
マーチンゲールを行います。被害を抑えつつ回数で稼ぎます。
マジックナンバーは設定値から+10までは他のEAと重ならないようにしてください。
例:マジックナンバーを100に設定した場合は、100~110は他のEAでも使用しないでください。
ポジションの取り方。
ボラティリティ(Volatility)を計算し、
ボラティリティが日平均以下ならそっとポジションを取ります。
買いは成行で取ります。
売りは少し上で指値をします。
何か知らんけど上下すれば、数回の内に買い側も売り側も1勝します。
別に勝率は4割でも良いんです。数回の内に少なくとも1勝することを重視しています。
また、このやり方だと買い側か売り側のどちらか一方しか連敗状態になりえません。
急騰、急落時にはポジションを取らないということです。
ちょっと攻めてます。
ストップロスをテイクプロフィットの0.8倍にしています。
単純計算で勝率は4割程度になります。でも勝率じゃないんですよマーチンゲールは。
別に勝率は4割でも良いんです。数回の内に少なくとも1勝することを重視しています。
大事なことなので2回言ってみました。
弱点まで表明します。
だからといって、マーチンゲールの許容連敗数を少なくしすぎると、
最高倍率でトレードし続けて帰ってこれなくなります。
それを防ぐために連敗許容数×2を目安に全て取り戻しきるのを諦めるようにしています。
パラメータの説明。
- Majicnumber:説明した通り設定値+10までは他のEAと重ならないようにしてください。
- Lots:お使いのブローカーの最低lotsの倍数にしないと動きません。
- Spread:設定以下のspreadにならないと動かないようにできます。
- TPPoint:テイクプロフィットのpipsです。
- LimitMargin:売りの指値をどれだけ離すかです。上の画像なら100に設定しています。
- FinishHour:一旦月末※はポジションを持ち越さない機能があります。月末※のこの時間に一旦強制決済します。
- Max_Loss:連敗許容数です。5だとちょっと資金が増えないかもしれません。6以上をお勧めします。
- StartHour_1:この時間にポジションを取ります。
- StartHour_2:この時間にポジションを取ります。
- StartHour_3:この時間にポジションを取ります。
- StartHour_4:この時間にポジションを取ります。
- StartHour_5:この時間にポジションを取ります。
※月末は、2月は28日、その他は30日に設定しており、31日はポジションを取りません。
★StartHourごとにマーチンゲールを別ラインにしたことで、一気に一緒に連敗を防いでいます。
★StartHourを25などに設定すると、多段マーチンゲールの段数を減らせます。
Price:¥15,000 (taxed)
●Payment






Sales from : 03/31/2022 22:03
Price:¥15,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




