Hybrid EA Trade USDJPY
- 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 Description】During the volatile hours of the day, profits are extended through trend following, while profits are steadily accumulated during the less volatile hours through counter-trend trading. Counter-trend trading occurs from 11 PM server time to 5 AM the next day, and after 5 AM, it operates in trend-following mode.
⛀ If you want to change the settings・The settings are optimized for the USDJPY 5-minute chart, but can be adjusted to accommodate GBPJPY by changing the settings. ・The initial settings are optimized for the 5-minute chart, but can also be adjusted for the 1-minute chart. ・The number of trades is approximately 300 times a year for the 5-minute chart and around 600 times for the 1-minute chart. ・It is a one-shot type EA, allowing for increased lot sizes in operation. ・Can operate simultaneously with other EAs. ・Please set the magic number to avoid overlap with other EAs.【Trend-Following Mode Trading Logic】In trend-following mode, a logic is adopted that determines buy and sell signals based on three moving averages to identify a perfect order. This logic is the same as the currently sold EA "PerfectOrder_GBPJPY (Perfect Order Pound Yen)".⛀ The periods for short, medium, and long-term moving averages can be freely changed. MAPeriod1 = 75; // Short-term moving average (approx. 375 for 1-minute, 75 for 5-minute)MAPeriod2 = 150;// Medium-term moving average (approx. 750 for 1-minute, 150 for 5-minute)MAPeriod3 = 240;// Long-term moving average (approx. 1200 for 1-minute, 240 for 5-minute)⛀ If operating on the GBPJPY 5-minute chart, please refer to the following values to change the settings. Short-term moving average 30 Medium-term moving average 225 Long-term moving average 300⅛ The moving average used will be the Simple Moving Average (SMA).
【Counter-Trend Mode Trading Logic】In counter-trend mode, buy and sell signals are determined based on the technical indicators of Bollinger Bands 1-2σ (sigma), RSI, and candlestick patterns to identify overbought and oversold reversal points. Set sigma to either 1 or 2. Trades will occur in the early morning hours of Japan time. In the initial settings, the counter-trend mode operates from 11:00 PM server time to 5:00 AM the next day. The start time of 11:00 PM is fixed, but the end time for counter-trend mode can be changed within the range of 4 AM to 9 AM server time. Since trades occur in the early morning, spreads may be wider. Always set MaxSpread to within 50 (5 pips) for operation. At 11:00 PM server time, for brokers with GMT+2 (winter) / +3 (summer), it corresponds to 6:00 AM Japan time in winter and 5:00 AM in summer.⛀ The calculation period for Bollinger Bands can be freely changed. Bands = 70;// Bollinger Bands calculation period (approx. 70) specified in the range of 10-180. Shortening the calculation period for Bollinger Bands will increase the profit factor but decrease the number of trades.(Updated on 2024.10.30)In Ver1.02, to increase trading frequency, the default sigma for Bollinger Bands was changed from 2 to 1. Since there is no significant difference in performance, feel free to use a sigma value of either 1 or 2 according to your preference.【Reference Data】This is the backtest result from January 1, 2007, to December 10, 2023. The backtest was conducted using TDS and measured with variable spreads.
USDJPY 5-minute
Short-term moving average 75
Medium-term moving average 150
Long-term moving average 240
Bollinger Bands calculation period 70
Profit factor 1.20
Number of trades 6492
Net profit 20,065 USD
Short-term moving average 75
Medium-term moving average 150
Long-term moving average 240
Bollinger Bands calculation period 10
Profit factor 1.20
Number of trades 5301
Net profit 17,532 USD
Changing the Bollinger Bands calculation period from 70 to 10 for USDJPY did not change the profit factor of 1.20. However, the number of trades decreased from 6492 to 5301, resulting in a decrease in total profit.
USDJPY 1-minute
Short-term moving average 375
Medium-term moving average 750
Long-term moving average 1200
Bollinger Bands calculation period 70
Profit factor 1.14
Number of trades 10,730
Net profit 17,914 USD
Changing the time frame to 1 minute decreased the profit factor from 1.20 to 1.14. The number of trades increased from 6492 to 10,730, but total profit decreased.
By changing the settings, it can also accommodate GBPJPY
GBPJPY 5-minute
Short-term moving average 30
Medium-term moving average 225
Long-term moving average 300
Bollinger Bands calculation period 70
Profit factor 1.17
Number of trades 5148
Net profit 22,579 USD
GBPJPY 5-minute
Short-term moving average 30
Medium-term moving average 225
Long-term moving average 300
Bollinger Bands calculation period 10
Profit factor 1.19
Number of trades 4230
Net profit 22,298 USDChanging the Bollinger Bands calculation period from 70 to 10 for GBPJPY increased the profit factor from 1.17 to 1.19. However, the number of trades decreased from 5148 to 4230, resulting in no change in total profit.
Please refer to the above backtest results and try operating with the optimal settings.
Property Settings
Magic = 48334;//Magic number for EA identificationLots = 0.1;//Lot size 1.0 = 100,000 currency, 0.1 = 10,000 currencyStopLossRequest = 4.0;//Stop order 0.5 = 50 pips, 1.0 = 100 pips, 10 = 1000 pipsTakeProfitRequest = 5.0;//Limit order 0.5 = 50 pips, 1.0 = 100 pips, 10 = 1000 pipsSlippage = 1;//Allowed slippageSwitchingTime = 5;//Time to switch to trend-following (e.g., 7 = 7:00 server time, specified in the range of 4-9)MaxSpread = 50;//Allowed spread Enter the difference between Bid and Ask values, e.g., 50 = 5 pipsMAPeriod1 = 75;//Short-term moving average (approx. 375 for 1-minute, 75 for 5-minute)MAPeriod2 = 150;//Medium-term moving average (approx. 750 for 1-minute, 150 for 5-minute)MAPeriod3 = 240;//Long-term moving average (approx. 1200 for 1-minute, 240 for 5-minute)Bands = 70;//Bollinger Bands calculation period (approx. 70) specified in the range of 10-180Deviation = 1;//Values for the upper and lower bands of Bollinger Bands, e.g., 2 = 2σ (sigma) (specified in the range of 1-3)RSI_highs = 70;//Enter the upper limit for RSI, e.g., 70 = short when RSI is above 70 (specified in the range of 60-90)RSI_lows = 30;//Enter the lower limit for RSI, e.g., 30 = long when RSI is below 30 (specified in the range of 10-40)RSI_Period = 14;//Enter the period for RSI, specify "6", "9", "14", etc.
Features added in Ver1.03 OnlyLong = false; // true for only long new entries, false for both long and short entriesManualEntry = 0;// Resume automatic trading after a specified number of candlesticks have passed (range 2-500), set to 0 to disable this feature
Monday = true; //New entries on Monday true, false otherwiseTuesday = true; //New entries on Tuesday true, false otherwiseWednesday = true; //New entries on Wednesday true, false otherwiseThursday = true; //New entries on Thursday true, false otherwiseFriday = true; //New entries on Friday true, false otherwise
Features added in Ver1.02
TimeHour0 = true; // true for entry at server time 0:00, false otherwiseTimeHour1 = true; // true for entry at server time 1:00, false otherwiseTimeHour2 = true; // true for entry at server time 2:00, false otherwiseTimeHour3 = true; // true for entry at server time 3:00, false otherwiseTimeHour4 = true; // true for entry at server time 4:00, false otherwiseTimeHour5 = true; // true for entry at server time 5:00, false otherwiseTimeHour6 = true; // true for entry at server time 6:00, false otherwiseTimeHour7 = true; // true for entry at server time 7:00, false otherwiseTimeHour8 = true; // true for entry at server time 8:00, false otherwiseTimeHour9 = true; // true for entry at server time 9:00, false otherwiseTimeHour10 = true; // true for entry at server time 10:00, false otherwiseTimeHour11 = true; // true for entry at server time 11:00, false otherwiseTimeHour12 = true; // true for entry at server time 12:00, false otherwiseTimeHour13 = true; // true for entry at server time 13:00, false otherwiseTimeHour14 = true; // true for entry at server time 14:00, false otherwiseTimeHour15 = true; // true for entry at server time 15:00, false otherwiseTimeHour16 = true; // true for entry at server time 16:00, false otherwiseTimeHour17 = true; // true for entry at server time 17:00, false otherwiseTimeHour18 = true; // true for entry at server time 18:00, false otherwiseTimeHour19 = true; // true for entry at server time 19:00, false otherwiseTimeHour20 = true; // true for entry at server time 20:00, false otherwiseTimeHour21 = trueTimeHour22 = true; // true for entry at server time 22:00, false otherwiseTimeHour23 = true; // true for entry at server time 23:00, false otherwiseWeekendClose = false; // Weekend forced close setting, true to force settlement on weekends, false otherwiseClose_Hour = 16;//When the weekend close setting is true, at what hour (Hour) on Friday to force close positions(specified in the range of 0-23)Close_Minute = 40;//When the weekend close setting is true, at what minute (Minute) on Friday to force close positions(specified in the range of 0-59)
CommentOnOff = true; //Comment on the chart display true, false otherwise
【Supported Brokers】Compatible with brokers of GMT+2 (winter) / +3 (summer)【Version History】Updated to version 1.03 (2025.3.20) 1. Added weekend close setting (true to force close on weekends, false otherwise) Positions will be forcibly closed from 22:40 on Friday (summer time) and 23:40 (winter time). No new orders will be placed until Monday morning at 8:00. 2. Added limit setting for new entry count A protective feature has been implemented to prevent infinite loops of entry and exit due to system bugs. Normally, the number of new entries by the EA is about 3 times a day at most. If more than 10 entries and exits occur in a short time, the protective feature will activate, and no further new entries will be made. If the limit is reached by manual settlement, the count will reset to zero by restarting MT4. The reset timing in the program is at 4:00 server time (10:00-11:00 Japan time), 11:00 (17:00-18:00 Japan time), and 18:00 (24:00-1:00 Japan time). 3. Added setting to not place orders when spreads widen. Enter the allowed spread as the difference between Bid and Ask values, e.g., 50 = 5 pips Default MaxSpread = 100 4. You can now select the days of the week for new entries.
5. To increase trading frequency, the default sigma for Bollinger Bands was changed from 2 to 1. Since there is no significant difference in performance, feel free to use a sigma value of either 1 or 2 according to your preference. 6. Modified to allow selection of whether to trade based on server time.TimeHour0 = true; // true for entry at server time 0:00, false otherwiseTimeHour1 = true; // true for entry at server time 1:00, false otherwiseTimeHour2 = true; // true for entry at server time 2:00, false otherwise ... omitted ...TimeHour22 = true; // true for entry at server time 22:00, false otherwiseTimeHour23 = true; // true for entry at server time 23:00, false otherwise
The coupon will expire in 4 days.
Price: $204.03 (taxed)
¥33,000(taxed)
●Payment
Sales from : 01/09/2024 20:35
Price: $204.03 (taxed)
¥33,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
