【EAつくーる】作成したEAがバックテストで取引しない

【EAつくーる】作成したEAがバックテストで取引しない

こんばんは、エンジニアの naoya です。

最近、つくーるで作成したEAがバックテストで取引しない。
どうすればよいですか?というお問い合わせが増えてきました。

そこでよくある事例を3つのパターンにまとめてみました。


1.バックテストデータが存在しない

そもそもバックテストデータが存在しなければ取引しません。

MT4にはデフォルトで「MACD Sample.ex4」がありますので
このEAを利用して同じ期間でバックテストしてみてください。

エントリー頻度の多いEAですので、もし取引がされていなければ
該当の通貨ペア・時間足のバックテストデータが存在しない可能性が高いです。

その場合は下記記事を参考にバックテストデータを準備してください。

 バックテストの仕方徹底解説:作業が終わる毎にとにかく再起動!
 http://fx-on.com/news/detail/?id=287&c=1


2.ロジックが間違っている

エントリー条件が成立しないロジックになっているパターンです。

RSI > 40 かつ RSI < 30 の条件でエントリーのように
絶対に成立しないロジックを記載している場合は取引しません。
EAつくーる
上記のような場合は、RSI が 45, 35, 25 のパターンを想定すると
条件が成立しないことがすぐわかりますが、実際は複雑な事例が多いです。


売買条件にAND条件が多い場合は、1つ1つ確認するのがおすすめです。

例えば、売買条件1, 2, 3のAND条件で取引しない場合、
売買条件3を削除すると、取引するなど、どの条件が
原因で取引しないのかを1つ1つ確認をして対応します。


3.インジケーターが間違っている

バックテスト時に描画しているインジケーターが間違っているパターンです。

移動平均線 期間45を利用しているロジックで
バックテスト時に検証用で描画しているインジケーターが
移動平均線 期間20の場合です。

インジケーターの比較対象が異なるため、エントリーするはずのポイントで
エントリーしない、または違うポイントでエントリーする可能性が高いです。

ロジックに採用している設定と検証用に利用しているインジケーターの設定が
同じかどうかを確認します。


以上が、よくある3つのパターンです。
最後のインジケーターの違いは、ハマりやすいのでご注意ください。
■ Important Matters and Risk Warnings Regarding Investment Products 【Financial Instruments Business Operator】
GogoJungle Inc.
Registration: Director-General of the Kanto Local Finance Bureau (Financial Instruments Business) No. 1960
【Member Association】
Japan Investment Advisers Association
【Fees and Expenses】
The use of software, e-books, investment advisory services, etc., provided on our platform involves purchase prices determined for each product.
Additionally, when conducting actual financial instrument transactions (such as FX or CFD trading), costs such as transaction fees and spreads (the difference between the sell and buy price) may be incurred through the connected brokerage firms.
【Margin and Risk of Loss】
Transactions such as FX (Foreign Exchange Margin Trading) and CFD (Contract for Difference) allow for trading in amounts exceeding the deposited margin.
Therefore, due to sudden fluctuations in target indices (currency, commodity prices, etc.), there is a risk of incurring losses that exceed the deposited margin (loss exceeding principal).
Furthermore, financial instrument transactions involve risks such as price fluctuations, which may result in losses falling below or exceeding the initial investment principal.
【Nature of Services and Trading Entity】
The Company operates a platform (marketplace) providing investment software and information; we do not engage in the buying, selling, mediation, brokerage, or agency of financial instruments on behalf of customers.
The services and information provided are intended as reference for investment decisions and do not guarantee future profits or specific results.
While some services include investment advice, they do not constitute a mandate or solicitation to trade specific financial instruments.
Final investment decisions and the execution of trades must be made at the customer’s own risk and discretion.
GogoJungle Inc.
Registration: Director-General of the Kanto Local Finance Bureau (Financial Instruments Business) No. 1960
Member Association: Japan Investment Advisers Association
GogoJungle Inc.
Registration: Director-General of the Kanto Local Finance Bureau (Financial Instruments Business) No. 1960
Member Association: Japan Investment Advisers Association
Financial Services AgencyJapan Investment Advisers AssociationFinancial Instruments Mediation Assistance CenterSecurities and Exchange Surveillance Commission

Copyright © 2026 GogoJungle Inc. All Rights Reserved.