Code = Gray Trick Repeat
- 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...
I want to leave the EA as much as possible
Code=Gray performs entries based on recent high and low prices, so you need to be wary of economic indicatorsthat cause rate fluctuations.
However, if you have to be in front of the chart because of indicators while the EA is running,"It's no different from discretionary trading"you might feel.
Taking this into account, we have added restrictions to the logic to enable the EA to run as unattended as possible, eliminating the need to manually stop it.
Since I am also a discretionary trader myself,"The essence of EA is that there is no discretion involved, such as stopping operations for indicators or year-end and New Year holidays."This is what I believe.
Therefore, the EA is designed to operate unattended after activation.
Multi-currency EA for various currencies that users will love!
Code=Gray optimizes parameters and grid width for the recommended currency pair AUDCAD, but it can actually be used for other currencies as well.
It has cleared 18 years of backtesting without failure for currencies like AUDNZD and EUDGBP, which are said to easily form ranges, as well as USDJPY and USDCAD.
The figure below shows the results of backtesting without changing parameters. By changing open parameters and optimizing each currency through backtesting, you can further reduce risk.
Since the maximum DD is larger compared to AUDCAD, be sure to perform backtesting and confirm the maximum DD when using other currency pairs
It is not suitable for currency pairs with strong trends (such as GBPJPY, GBPUSD, EURJPY, EURUSD), so please select currency pairs by referring to the chart below
Grid trading triggered by logic
Code=Gray performs grid trading triggered by internal logic entries.
Since the first entry is made in advantageous situations, the first position often reaches TP,
but if the price moves in the opposite direction after entry, positions are accumulated at regular intervals.
When the price returns,"All positions held in the same direction are closed for profit when the total acquired pips reach the specified value"and the trade is completed.
Unlike normal grid EAs, you do not determine the grid width yourself; it is automatically judged by internal logic.
Position recovery with Martingale
The weakness of grid trading is that if the price does not bounce back within the grid range, you may incur significant losses.
Therefore, Code=Gray simultaneously controls grid trading with Martingale to close all positions when the total profit/loss reaches the specified pips.
This compensates for losses beyond the grid range with Martingale, reducing losses for the total positions.
"A feature to prepare for new opportunities without keeping positions until the price returns to the initial position".
Advantage of the initial position
Code=Gray seeks thorough advantage for initial position entries to extremely minimize losses.
Therefore,"There might be no entries for about two months if the conditions are not met".
As a grid EA, the number of entries is low, with an average of 120 trades per year (less than 10 per month), including grid and Martingale entries,
resulting in variability each year and month.
However, during the 18-year backtest period, there were no negative years or months, confirming stable capital growth.
One of the weaknesses of EAs is"If they can only win during specific periods".
In the market, there are methods that match the times, and creating EAs with specialized logic can explosively increase assets.
However, if the market movement changes, the EA may become useless.
Code=Gray"Has cleared 18 years of long-term backtesting".
The 18 years include many financial shocks such as the Lehman Shock, Flash Crash, and COVID-19 Crash, achieving an upward trend without significant losses.
To confirm that it does not fail regardless of the start time, backtesting was conducted assuming operation from January of each year, all of which were cleared.
Aiming for over +1000% from a starting capital of 100,000 yen with a Martingale EA?!
A major drawback of EAs using Martingale is the large maximum drawdown.
In backtests, drawdown periods occur after capital accumulation, leading to a paradox where the loss amount exceeds the initial capital but does not result in failure.
If the maximum drawdown occurs at the beginning of operation,"The EA will collapse in an instant".
Code=Gray has tested various aspects, seeking lower initial capital over total profit amount.
It achieved faster capital accumulation than single-position EAs by performing Martingale with controlled initial capital.
Backtests show a profit of 1.13 million yen from a 100,000 yen start over 18 years = OVER 1000%.
Accelerate capital efficiency with compound interest as funds increase!
When running an EA, one concern is setting the lot size. Especially beginners may worry about when and how much to increase the lot as the capital starts to grow.
Therefore, Code=Gray includes a compound interest feature. This feature assumes that EA operation does not fail and limits the usable capital to 1%-3% of the margin.
The following is the backtest result when operating at 3%, for your reference.
(Please note the minimum lot restriction of your broker when using the compound interest feature. For example, if the minimum lot is 0.01 lot = 1,000 units, the minimum required margin is 1 million yen)
About pricing
Although efforts have been made to minimize the risk of collapse at the development stage, it cannot be denied that the risk of collapse during future operations is higher compared to single-position EAs due to the nature of Martingale EAs that generate large profits in a short period.
Therefore, the price is kept reasonable considering the time and effort involved in development.
About parameters
Explanation of the parameters that can be set.
Set the magic number. Please set it to avoid conflicts with other EAs.
Enter the lot size if you do not use the compound interest feature. (Recommended margin is 200,000 yen for 0.01 lot = 1,000 units, 5,000 yen for 0.01 lot = 10 units)
Set the TP for the initial position. Since entries are made in advantageous spots, TP width for single-position profit-taking is often determined here.
Set the total acquired pips for closing positions when Martingale is performed. Note that it differs from the actual acquired pips as the increased lot size is converted to pips during Martingale.
Set the maximum pips for stop loss. If the total sum of the held positions exceeds this setting value, stop loss is performed, so setting it too narrow will lose the advantage of Martingale.
Choose whether to use the compound interest feature.If 1% of the margin is less than 0.01 lots, please use "false".
Set the risk tolerance rate against the margin when using compound interest operation. Select a range from 1% to 3%. A higher risk tolerance rate cannot be set.
Set the width (pips) for Martingale.
Choose whether to use Martingale during averaging down. If Martingale is not performed, the number of positions will increase and the original performance of the EA cannot be demonstrated, so please be careful.
You can change the ATR value used for entry restrictions.
Initial parameters are optimized for long-term operation.
Please ensure to confirm with backtests, etc., before using if you change the values.
Notes
This EA does not guarantee profits. Please be aware that losses exceeding past test results may occur depending on future market conditions.
Backtests are performed with a fixed spread of 1.5 pips. Performance may significantly worsen with spreads above this.
Settings other than the disclosed parameters cannot be changed as they may significantly deteriorate EA performance. Please use it with understanding when using.
Price: $112.4 (taxed)
¥18,000(taxed)
●Payment
Sales from : 06/16/2024 21:24
Price: $112.4 (taxed)
¥18,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
