Average Trader
- Experts
- Version: 1.5
- Updated: 23 November 2022
- Activations: 5
Average Trader is an expert advisor for MetaTrader 4 that opens short, small-target trades, by hand, automatically or both, and when a trade goes the wrong way, adds trades to average its entry price toward the market: averaging down for buys and up for sells.
What it does
- Manual, automatic or hybrid. Open trades yourself, let the Sven signal open them, or do both on the same chart. Buys and sells can each be switched off.
- Small targets. Every trade aims for a target profit you set in pips.
- Safety trades. When price moves a set number of pips against the first trade, the expert advisor opens a safety trade that brings the average price closer to the current price, up to the maximum number of trades you allow. Automatic safety trades can be switched off.
- Lot size from your balance. Conservative trades 0.01 lots and aggressive 0.02 lots per 1000 of available balance.
- Checks before each trade. A minimum balance, a minimum equity and a maximum spread must be met before a trade opens.
- Alerts. An alert can show each time a trade completes.
Averaging adds to a position that is moving against you, so the open volume grows with each safety trade, up to the maximum number of trades in the settings.
Strategies
For automatic trading, Average Trader follows lower timeframe momentum through the Sven signal. To manage the trades, it averages up for sells and down for buys.
The Sven signal is a simple momentum algorithm: it looks for consecutive rising or falling close prices on the timeframe you set, over the number of bars you set. It can also be reversed, so a buy signal opens a sell.
Recommended environment
- Market: Forex
- Symbols: EURUSD, AUDUSD, USDCAD or EURCAD
- Chart timeframe: M30
- Leverage: 1:100
- Minimum deposit: 1000 units
- One chart per terminal
Average Trader must run around the clock, so run your MetaTrader 4 terminal on a VPS or a dedicated computer.
Settings
My settings are the defaults.
Trade settings:
- MagicNumber: the number that identifies the trades this expert advisor opens on the current chart.
- TradeComment: the comment written on each trade.
- TradingStyle: Conservative (0.01 lots per 1000 of available balance) or aggressive (0.02 lots per 1000).
- TargetProfitPips: the target profit for trades, in pips.
- AutoSafetyTradesEnabled: lets the expert advisor open safety trades automatically.
- PipDeviationToOpenSafetyTrades: how many pips against the first trade a safety trade opens.
- MaxNumberOfTrades: the most trades the expert advisor opens while averaging.
- AlertOnTradeClosed: shows an alert when a trade completes.
- BuyEnabled and SellEnabled: turn off buy or sell trades, manual and automatic.
- MinBalanceToStartTrade and MinEquityToStartTrade: the balance and equity needed before a trade opens.
- MaxSpreadToStartTrade: the highest spread at which a trade can open.
Sven signal settings:
- SvenSignalEnabled: opens trades automatically on a Sven signal.
- SvenSignalNumBars: how many previous bars to check.
- SvenSignalTimeframe: the timeframe to read.
- SvenSignalReversed: reverses the signals, so a buy signal opens a sell.
Support
For questions or problems, write in the Comments tab of this page or send me a private message on MQL5.
