Trend Wave Catcher
- Experts
- Mitsuaki Mine
- Version: 1.0
A Multi-Functional Automated Trading Program Using Moving Averages
Introduction: About This EA
The "Trend Wave Catcher" is a program designed to be accessible for those who are new to or just starting with automated trading in FX (known as Expert Advisors or EAs).
The main goal of this EA is to identify and trade along with major market trends. Its key feature, however, is its high degree of "customization," allowing you to fine-tune its settings to match your own trading philosophy.
Recommended Currency Pair and Timeframe
While this EA can operate on various currency pairs and timeframes, it was primarily developed and optimized for the USD/JPY (Dollar-Yen) pair on the 1-hour (H1) chart. If you are using it for the first time, we recommend starting with this combination.
Next, we will explain step-by-step how this EA works and what features it offers.
How the EA Basically Works (The Trading Logic)
This EA uses the "Moving Average," a fundamental technical indicator used by many traders.
Entry (When to Buy or Sell)
It monitors two lines: a short-term moving average (Short MA) that reflects recent price action, and a long-term moving average (Long MA) that shows the broader trend. When the Short MA crosses above the Long MA, it interprets this as a potential start of an uptrend and places a Buy order. Conversely, if the Short MA crosses below the Long MA, it sees a potential downtrend and places a Sell order.
Exit (When to Close a Trade)
To close trades, it uses a separate set of two moving averages. When these indicate that the trend's momentum is fading, the EA automatically closes the position. This helps to either lock in profits or limit potential losses.
By allowing you to set different rules for entry and exit, the EA enables more flexible trading strategies.
Detailed Explanation of Key Parameters (Settings)
These important settings determine the EA's "personality." By adjusting these values, you can customize its behavior in detail.
1. Basic Settings
These settings control the most fundamental operations of the EA.
LotsMode (Lot Calculation Mode) This determines how the trade size (lot size) is calculated.・MODE_FIXED: Always trades with the same, fixed lot size.
・MODE_RISK_PERCENT: Automatically calculates the lot size based on a percentage of your account balance that you are willing to risk. This is ideal for those who want to automate their risk management. Lots If you select "MODE_FIXED," this is where you specify the lot size to trade. Example: 0.1 RiskPercent If you select "MODE_RISK_PERCENT," this specifies the percentage of your account balance you are willing to risk on a single trade. Example: 1.0 (for 1% of the account balance). MaxRiskLot A safety feature for the automatic calculation mode. The EA will never open a trade with a lot size larger than what you set here, preventing unexpectedly large trades. MagicNumber A unique number that helps the EA identify its own trades. This is crucial for distinguishing its trades from those of other EAs or your manual trades. Always set a different number for each EA. Slippage Specifies the maximum allowable difference, in points, between the requested price and the execution price. This helps prevent getting filled at a bad price during fast-moving markets.
2. SL/TP Settings (Stop Loss & Take Profit)
This is a critical part of managing your trade's risk.
SLTP_Mode (SL/TP Mode) Chooses how the Stop Loss (SL) and Take Profit (TP) levels are determined.・SLTP_FIXED_PIPS: Sets fixed SL and TP levels in pips.
・SLTP_ATR_BASED: Automatically adjusts the SL/TP width based on market volatility (using the ATR indicator). StopLoss_pips / TakeProfit_pips If you choose "SLTP_FIXED_PIPS," you set the SL and TP distance in pips here. ATR_SL_Multiplier / ATR_TP_Multiplier If you choose "SLTP_ATR_BASED," you set the multiplier for the ATR value. This multiplier determines the SL/TP width. For instance, setting the SL multiplier to 1.5 and the TP multiplier to 3.0 aims for a risk-reward ratio of 1:2.
3. Trailing Stop Settings
A feature designed to help you maximize profits.
TrailingType Selects the type of trailing stop, which automatically moves the stop loss to lock in profits as the price moves in your favor.・TRAILING_NONE: This feature is disabled.
・BREAKEVEN_ONLY: Moves the stop loss to the entry price once a certain amount of profit is reached, ensuring the trade will not result in a loss.
・TRAILING_ATR: Trails the stop loss at an optimal distance based on market volatility, which helps to avoid being stopped out prematurely. BreakEvenPips If you use a "BREAKEVEN_ONLY" type, this sets how many pips of profit are needed to activate the feature.
4. MA Cross Strategy Settings (Entry and Exit Rules)
This is the core logic of the EA's trading strategy.
open_ma_cross_shortPeriod / open_ma_cross_longPeriod Sets the periods for the short-term and long-term moving averages used for trade entries. The combination of these numbers determines the sensitivity of the entry signals. close_ma_cross_shortPeriod / close_ma_cross_longPeriod Sets the periods for the moving averages used for trade exits. Having separate settings from the entry allows for more flexible strategies (e.g., enter cautiously, but exit quickly).5. Filter Settings (Rules to Skip Trades)
These are "gatekeeper" functions to avoid trading in unfavorable conditions.
UseMAFilter (MA Position Filter) If set to "true," the EA will avoid taking trades that go against the major trend, which is determined by a separate long-term moving average (e.g., a 200-period MA). UseVolatilityFilter (Volatility Filter) If set to "true," the EA will pause trading when the market is too quiet (low volatility) or too chaotic (high volatility). Min_StdDev_Pips / Max_StdDev_Pips Used with the Volatility Filter, these settings define the minimum and maximum range of price movement (in pips) required for the EA to trade. UseTimeFilter / UseDayOfWeekFilter If set to "true," you can restrict trading to specific hours or days of the week. This is useful for avoiding certain market sessions or pausing trades over the weekend.Final Words
The "Trend Wave Catcher" is an EA built on a fundamental trend-following strategy, combined with many practical features.
While there are many settings, each one is based on an important concept in FX trading.
We recommend starting with a demo account, using the suggested USD/JPY on the 1-hour chart, and experimenting with different settings to see how the EA's behavior changes. This will help you discover the best way to use it for your own trading style.

Der ea arbeitet bisher fehlerfrei und die backtests sehen gut aus.