【ルールメイカー】時間指定・RSIを使用した自作ストラテジーがつくれるEA

【ルールメイカー】時間指定・RSIを使用した自作ストラテジーがつくれるEA

【ルールメイカー】時間指定・RSIを使用した自作ストラテジーがつくれるEA Auto Trading
Comments(76)
Expert Advisors
MetaTrader 4
Last Updated At
7/12/2022
Version
1.10
My Profile
わいぞー
  • Whole period
  • 2 years
  • 1 year
  • 6 months
  • 3 months
  • 1 month
Profit
46,273JPY
Profit Factor
1.13
Rate of return risk  ?
0.78
Average Profit
2,255JPY
Average Loss
-1,906JPY
Balance  ?
1,046,273JPY
Rate of return (all periods)?
26.34%
Win Rate
48.82% (166/340)
Maximum Position  ?
1
Maximum Drawdown  ?
23.84% (59,457JPY)
Maximum Profit
10,540JPY
Maximum Loss
-15,200JPY
Recommended Margin  ?
175,664JPY
Unrealized P/L
0JPY
Deposit  ?
1,000,000JPY
Currency
JPY- Account
Operable Brokers
Usable with MT4-adopting brokers.

Real Performance (Pips)

※Displays results including swaps and fees

Forward testing (Profit)

Product Statistics
Product Comments

Monthly Statistics

2024
2023
2022
2021
2020
  • Jan
  • Feb
  • Mar
  • Apr
  • May
  • Jun
  • Jul
  • Aug
  • Sep
  • Oct
  • Nov
  • Dec

Calendar for Months

About EA's Strategy

Translating...

Currency Pairs
[USD/JPY] [EUR/JPY] [GBP/JPY] [AUD/JPY] [EUR/USD] [GBP/USD] [AUD/USD] [GBP/AUD] [EUR/AUD] [EUR/GBP] [JPN225] [USD/CAD] [USD/CHF] [CHF/JPY] [EUR/CHF] [AUD/CHF] [CAD/JPY] [NZD/JPY] [AUD/CAD] [GBP/CHF] [XAU/USD] [NZD/USD] [AUD/NZD] [EUR/CAD] [USD/TRY] [OIL/USD] [USD/SGD] [GBP/CAD] [NZD/CHF] [CAD/CHF] [GBP/NZD] [NZD/CAD] [BTC/JPY] [BTC/USD] [XAG/USD] [CrudeOIL] [SGD/JPY]
Trading Style
[Day Trading] [Swing Trading] [Scalping]
Maximum Number Position
1
Maximum Lot
99
Chart Time Frame
M5
Maximum Stop Loss
150
Take Profit
100
Straddle Trading
Yes
Application Type
Metatrader Auto Trading
Other File Usages
Yes

この度は,【ルールメイカー】時間指定・RSI・ボリンジャーを使用した自作ストラテジーがつくれるEA をご覧いただきありがとうございます。 もともとは自分用に作成した,アノマリートレード用EAでしたが, この度,ロジックを完全公開し,どんな通貨ペア・時間足でも使える汎用型EAを作成しました。 


 ご不明点ございましたら,ご質問フォームなどにいつでもご連絡ください。

<特徴>
1.自分だけのEAを簡単につくれる  エントリー時刻,クローズ時刻,TP,SLの基本的な項目はもちろん,  オプションで,RSI・ボリンジャーバンドによるトリガー,祝日を考慮したゴトー日・米雇用統計日のフィルター機能など  柔軟に設定可能です。  ※正直,これだけでかなり強いEAがバンバン作れると思います。 2.安心の1ポジション設計  1ロジック1ポジションとなり管理がしやすく,複数チャートでの稼働に適しています。  同じ通貨ペアでも,1つのチャートはシンプルな東京仲値トレードの設定,  もう一つのチャートはゴトー日限定でテクニカルインジも使った短期倍プッシュ設定,  などご自由にカスタム可能です。 3.常に祝日・ゴトー日・米雇用統計日を認識し可視化   ゴトー日でも土日祝があったり,米雇用統計日は独立記念日があるなど,  正確な日を自動で認識するのはひと苦労です。   本EAでは,日本の祝日は外部csvファイルから読み取り,  ゴトー日・米雇用統計日はアルゴリズムにて求めるようにしました。  挙動はバックテストのビジュアルモードにて確認可能です。  不自然な動作があればご報告いただければ幸いです。  外部csvファイルとしては,内閣府作成のcsvファイル(syukujitsu.csv)を同梱しております。   後からcsvファイルに祝日としたい日付を追記することも可能です。   ※csvファイルの選定は,弱気なトレーダーさんのツイートを参考にさせていただきました。ありがとうございます。 ■稼働時のステータス表示 RuleMaker_status.png  csvから958日分(1955年~2021年)の祝日を認識し,稼働ステータスを可視化。 ■バックテストのビジュアルモード時 RuleMaker_1_00_mini.gif 9月30日(金)のゴトー日売りトレードの様子。10月に入ってからは,ゴトー日の表示が更新される。
あらゆるブローカーに対応。汎用性が高く様々な環境でお使いいただけます。
もう一つ,アノマリートレードで無視できないのが,GMTとサマータイムです。 例えば以下のように,ブローカーによってサマータイムが米国式・英国式とあり,時刻と価格が異なってしまう場合があります。 DST_Type_mask.png 本EAでは, ・GMTオフセット ・サマータイム を設定でき,あらゆるブローカーに対応しています。 また,オープン時刻・クローズ時刻設定は, 日本時間(仲値etc),MT4時間(ロンドンフィキシングetc)のどちらでも設定可能です。
バックテスト結果(仲値トレード)
デフォルト設定では,以下の USDJPY M5 の仲値トレード (日本時間9:55分の仲値発表前後のトレード) になっております。直近停滞もなく,米雇用統計日,週末持越しを避けることで,非常に安定したリカバリーファクターになりました。 また,本EAはステータス表示以外の全ての処理が始値稼働となっているため, 全ティック・始値で差異はほとんどありませんので,バックテストは高速で最適化に困りません。

■固定ロット スプレッド10

RuleMaker_1_06_USDJPY_M5_SP10.png ※口座通貨:ドル$表記

■固定ロット スプレッド30 驚異的なスプレッド耐性。取引環境誤差にも堅牢であることを示しています。

RuleMaker_1_06_USDJPY_M5_SP30.png ※口座通貨:ドル$表記

■複利設定 スプレッド10 週末クローズあり 低ドローダウンのため,複利と相性抜群。57億円のポテンシャル!

RuleMaker_1_06_USDJPY_M5_MM.png ※口座通貨:ドル$表記
設定パラメータ
設定パラメータは以下です。買いルールと売りルールは独立しています。 ■設定パラメーター ・マジックナンバー       …… 他チャートで稼働中のEAと被らないよう設定してください。 ・注文ロット数,TP,SL     …… ご自由に設定してください。 ・タイムゾーン,サマータイム  …… ご利用のブローカーに合わせて設定してください。                    (正確なブローカーのタイムゾーン,およびサマータイムは直接業者にお問い合わせください。) ・参照時間           …… 「MT4時間(サーバー時間)」または「日本時間」を選択できます。 ・エントリ時刻,クローズ時刻  …… ご自由に設定してください。 ・ゴトー日のみトレード     …… 設定ONにすると,MT4サーバーの日付が,ゴトー日(土日祝による振替を考慮)の時しか取引しません。 ・月末のみトレード       …… 設定ONにすると,MT4サーバーの日付が,月末(土日祝による振替を考慮)の時しか取引しません。 ・特定の日付のみトレード    …… 設定ONにすると,MT4サーバーの日付が,指定した日付の時しか取引しません。 ・曜日             …… 曜日ごとに,取引する/取引しない を設定できます。 ・RSIエントリ値        …… RSIによるエントリを行う際に使用します。RSIは時間足・期間・適用価格など設定可能。 ・RSIクローズ値        …… RSIによるクローズを行う際に使用します。RSIは時間足・期間・適用価格など設定可能。 ・ボリバンタッチでエントリ   …… ボリンジャーバンドによるエントリを行う際に使用します。時間足・期間・適用価格など設定可能。 ・ボリバンタッチでクローズ   …… ボリンジャーバンドによるクローズを行う際に使用します。時間足・期間・適用価格など設定可能。 ・複利設定           …… 設定ONにすると,複利ロット注文になります。 ・参照証拠金          …… 複利計算時に参照する証拠金として,「残高」または「余剰証拠金」を選択できます。 ・Risk [%]           …… 必要証拠金が Risk [%] となる複利ロットとなります。 ・米雇用統計の日はエントリ禁止 …… 設定ONにすると,米雇用統計の日(独立記念日の振替を考慮)のエントリーを禁止します。 ・米雇用統計の週はエントリ禁止 …… 設定ONにすると,金曜に米雇用統計を控える週のエントリーを禁止します。 ・MT4メンテナンス時間フィルタ …… 時刻指定で取引を禁止します。(デフォルト: 23:58~0:05) ・年末年始(日付指定)フィルタ …… 日付指定で取引を禁止します。(デフォルト: 12/30~1/3) ・祝日csvファイルの名前    …… 読み込む祝日csvファイル名を入力してください。 20200530_manypattern.png ■祝日ファイルの設置場所 ・稼働時      /MQL4/Files/syukujitsu.csv ・バックテスト時  /tester/files/syukujitsu.csv
さいごに
優位な設定が見つかれば,どんどんEA購入者に配布できればと思ってます。 アノマリー・仲値トレードをするなら,1つは持っておいて良いEAに仕上がったのではないかと思います。 ご不明点あればいつでもご質問フォームへ投稿ください。基本,年中無休で対応してます… 是非,多くのEAを吟味した上でご検討くださればと思います。 それでは,ここまで見ていただき本当にありがとうございました。 投資家の皆様に役立つことを心より願っています。 わいぞー ■製品仕様(※参考) ・始値稼働 ・通貨ペア制限なし ・デフォルト設定は,USDJPY M5 仲値トレード ・プロフィットファクター 1.73 ・1 Lot で,平均年間収益 ¥399,441 ・リカバリーファクター 21.81 ・デフォルト設定のほか,USDJPY高PF設定,EURUSD設定, GBPUSD設定のsetファイルを同梱 ・祝日csvファイルを同梱

購入者特典!開発者が厳選した様々な設定ファイルを配布しております。※リリースノートに閲覧パスワード記載

私のサイトに,優良なsetファイルを掲載しております。 ご自由にダウンロードいただき,パラメータ設定時の「読み込み(L)」でご利用ください。 ■設定ファイルの設置場所 ・稼働時      /MQL4/Presets/**.set ・バックテスト時  /tester/**.set ■通貨ペア例(購入者ページにて現在掲載中) USDJPY, EURUSD, GBPUSD, EURJPY, AUDJPY, EURCHF, USDCHF, … ■トレード例(購入者ページにて現在掲載中) PF2.12超え仲値USD系スキャル,高スプ耐性のGBP系デイトレ,RSIを使った朝型EUR系スキャル,… これだけでEA何個分でしょうか。。。汗 rm_sets.png 全て Tick Data Suite による,2003年~2020年,スプレッド15~20 のバックテスト結果です。 他通貨ペアも只今厳選中です。
(追記) 販売開始わずか2日で,ランキング2位まで到達! 感謝申し上げます。m(_ _)m 20200530_Ranking.jpg      7年間培った開発技術の集大成として,かなり充実・高品質なソフトとなりました。 もう「ロジックが不透明な似通ったEAを買い続けるのを終わりにしていただきたい。。。」 という気持ちで力を込めて作成しました。 是非,今のうちにご入手ください。相場の検証効率化にもお役立ていただけるかと思います。 <バージョン履歴> --- ver 1.00 --- 2020年05月06日  ・初版リリース --- ver 1.01 --- 2020年05月07日  ・デフォルト設定値を変更(仲値売り・買いトレード) --- ver 1.02 --- 2020年05月11日  ・描画リソースが互いに干渉する場合がある不具合を修正しました。 ・ゴトー日買い,ゴトー日売りがいずれもOFFの場合,祝日計算及び描画を行わないことで,バックテスト処理負荷を軽減しました。 --- ver 1.03 --- 2020年05月14日  ・チャート上のコメント文が重複する不具合を修正しました。 --- ver 1.04 --- 2020年05月20日  ・複利機能を搭載しました。 ・エントリー,クローズ時刻の参照時間を,MT4時間(サーバー時間)と日本時間で切り替えられるようにしました。 ・RSIの詳細設定パラメータを搭載しました。 ・売買判定にボリンジャーバンドを搭載いたしました。 --- ver 1.05 --- 2020年05月31日  ・ロット数,TP,SLを,買いと売りで別々に設定できるようにしました。 ・エントリ終了時刻に関するパラメータを追加しました。 ・時間内の最大取引数のパラメータを追加しました。 ・再エントリ禁止期間のパラメータを追加しました。 ・週末クローズのパラメータを追加しました。 ・ステータス表示にロット数を表示するように変更しました。 ・祝日ファイルが別EAに占有されるなどして読み込み失敗時に, ・リトライ処理,及びエラーメッセージを表示するように変更しました。 ・組表示のchrファイル群,および利用方法の説明書を同梱いたしました。 --- ver 1.06 --- 2020年07月07日  ・月末のみトレード(MT4日)のパラメータを追加しました。 ・特定の日付のみトレード(MT4日)のパラメータを追加しました。 ・パラメータの表記,順番を改修いたしました。 ・その他,処理負荷を軽減するマイナー変更を行いました。 --- ver 1.07 --- 2021年01月19日  ・日付指定パラメータの形式を改善。複数の日が設定可能になりました。 ・祝日ファイル読み込みのリトライ処理を改善。 --- ver 1.08 --- 2021年01月21日  ・特定日ONのパラメータの不具合を修正。 ・売りルールの日付指定パラメータが,買いルール側の日付指定パラメータを読み込んでしまっていた問題を修正。 --- ver 1.09 --- 2022年06月05日        ・MAトレンドフィルタ機能を搭載しました。 以下は買い注文でトレンドフィルタONにした例です。現在値が長期MAより上に位置する時のみ, 上昇トレンド継続中と判断し買い注文を行う。    ・フィボナッチリトレースメント機能を搭載しました。 直近最高値,最低値からフィボナッチリトレースメントの基準線(23.8%, 61.8%等)を計算し, 指定した基準線まで十分押してから(戻してから)エントリーするようにできます。 以下は買い注文で61.8%基準線の押し目で買うようにフィボナッチONにした例です。  ↓フィボナッチ適用前            ↓フィボナッチ適用後      

--- ver 1.10 --- 2022年7月10日 ・MT4の日付をまたぐ「日本時間」の指定に対応しました。 (例. GMT+3のMT4で,日本時間0~5時を指定すると,MT4で前日の18~23時を指します) 


<注意事項> [1] ご利用にあたっては,口座残高・レバレッジ・稼働中他EA等を加味して,十分にバックテストで無理のない設定であることを検証し,リスクを想定した上でご利用ください。 [2] 投資は投資者自身の判断と責任において行うべきものであるため,投資者が被った如何なる損害に対して開発者は保証を致しかねることをご理解ください。 [3] 実績により予告なく価格の変更,販売停止を行う可能性がございます。予めご了承ください。

¥1,500 coupon applicable.
The coupon expires today.
×
Sales from :  05/26/2020 08:00
Purchased: 140times

Price:¥30,000 (taxed)

?About 1-Click Order

Payment

Forward Test
Back Test
¥1,500 coupon applicable.
The coupon expires today.
×

Sales from :  05/26/2020 08:00
Purchased: 140times

Price:¥30,000 (taxed)

?About 1-Click Order

Payment

About Forex Automated Trading
Forex Automated Trading refers to trading that is automated through programming, incorporating predetermined trading and settlement rules. There are various methods to conduct automated trading, but at GogoJungle, we deal with Experts Advisors (hereinafter referred to as EA) that operate on a trading platform called MT4.
There are various types of EAs (Expert Advisors) for different trading types that can be used on MT4.
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)

When engaging in Forex, there are risks in automated trading just as there are in discretionary trading.
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.
The requirements for operating automated trading (EA) on MT4 are as follows:
・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.
If you open an account with a forex broker that supports MT4, you can use MT4 as provided by that forex broker. MT4 is a stand-alone type of software that needs to be installed on your computer, so you download the program file from the website of the FX company where you opened the account and install it on your computer.

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.
To set up an EA when you purchase it through GogoJungle, follow the steps below:
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.
EAs from GogoJungle can be used with one real account and one demo account per 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.
If you encounter an error with Web authentication, or if the EA is trading on GogoJungle's forward performance page but not on your own account, there could be various reasons. For more details, please refer to the following link:
 → Items to Check When EA is Not Operating
In Forex trading, the size of a lot is usually:

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.
・Profit Factor: Total Profit ÷ Total Loss
・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)
GogoJungle Corporation
Registration Number for Financial Instruments Business: No. 1960 - Kanto Finance Bureau (Gold Trading)
A member of General Incorporated Association and Japan Investment Advisers Association
GogoJungle Corporation
Registration Number for Financial Instruments Business:
No. 1960 - Kanto Finance Bureau (Gold Trading)
A member of General Incorporated Association
Japan Investment Advisers Association
Financial Services AgencyJapan Investment Advisers AssociationFinancial Instruments Mediation Assistance CenterSecurities and Exchange Surveillance Commission

Copyright © 2024 GogoJungle Inc. All Rights Reserved.