ETTrading is a collection of MetaTrader 4 expert advisors featuring a primary channel-based scalping robot and several standard indicator-driven strategies including MACD and Moving Average crossovers.
The core automated system utilizes a channel formed by moving averages to identify entry points, primarily targeting shorter timeframes. It includes comprehensive trade management features such as percentage-based lot sizing, an optional martingale multiplier, and trailing stops. Risk controls include basket-level profit and loss targets, hidden stop loss and take profit levels, and break-even settings. The repository contains various utility libraries and technical indicators but lacks a README for documentation.
Moving average channel entry logic
Basket-level percentage profit and loss targets
Optional martingale lot scaling
Hidden stop loss and take profit functionality
Integrated trailing stop and break-even management
Read from channel-scalper-1.0.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
comment
string
TCS
comment to display in the order
magicbuy
int
1234
magic number required for buy orders if you use different settings on a same pair, same timeframe
magicsell
int
4321
magic number required for sell orders if you use different settings on a same pair, same timeframe
moneymanagement
string
Money Management
lots
double
0.1
lots size
lotsoptimized
bool
false
enable risk management
risk
double
1
risk in percentage of the account
martingale
bool
false
enable the martingale
multiplier
double
2.0
multiplier used for the martingale
minlot
double
0.01
minimum lot allowed by the expert
maxlot
double
10
maximum lot allowed by the expert
lotdigits
double
2
1 for minilot, 2 for microlot
Show all 40 inputs
Name
Type
Default
Description
basketpercent
bool
false
enable the basket percent
profit
double
10
close all orders if a profit of 10 percents has been reached
loss
double
30
close all orders if a loss of 30 percents has been reached
ordersmanagement
string
Order Management
oppositeclose
bool
false
close the orders on an opposite signal
reversesignals
bool
false
reverse the signals, long if short, short if long
maxtrades
int
1
maximum trades allowed by the traders
tradesperbar
int
100
maximum trades per bar allowed by the expert
hidestop
bool
false
hide stop loss
hidetarget
bool
false
hide take profit
buystop
double
55
buy stop loss
buytarget
double
4
buy take profit
sellstop
double
45
sell stop loss
selltarget
double
4
buy take profit
trailingstart
double
16
profit in pips required to enable the trailing stop
trailingstop
double
5
trailing stop
trailingstep
double
1
margin allowed to the market to enable the trailing stop
breakevengain
double
0
gain in pips required to enable the break even
breakeven
double
0
break even
slippage
double
2
maximum difference in pips between signal and order
maxspread
double
3
maximum spread allowed by the expert
entrylogics
string
Entry Logics
channeltf
int
15
timeframe of the ma channel
uppermamethod
int
3
method of the upper ma
uppermaperiod
int
3
period of the upper ma
uppermaprice
int
2
price of the upper ma
uppermargin
double
0
margin to add or substract on the upper ma
lowermamethod
int
0
method of the lower ma
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone Pipal2k/ETTrading from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
3Copy the filesCopy the .mq4 file into Experts, and any .mqh files into the Include folder the code expects.
4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
5Test before you tradeRun it in the Strategy Tester, then attach it to a demo chart and allow algorithmic trading.
Third-party code. ForexR did not write, test or endorse this EA, and the summary above was generated automatically from its README and code. ForexR lists only repositories with readable source code and never hosts files. Read the code, backtest it and use a demo account first; automated trading can lose money quickly.
This repository provides a diverse library of expert advisors and technical indicators for MetaTrader 4. The collection includes robots utilizing moving average crossovers, MACD trend-following signals, and mean-reversion strategies based on Bollinger Bands. A notable inclusion is a Martingale robot that scales lot siz
This repository is a collection of MetaTrader 4 expert advisors, featuring the XMT-Scalper robot and several legacy systems. XMT-Scalper is an automated scalping strategy designed to trade based on volatility breakouts using indicators like Bollinger Bands and Moving Averages. It includes risk controls such as stop los
This MetaTrader 4 repository contains a large collection of automated trading systems, including scalpers, grid bots, and trend-following tools. The primary expert advisors utilize indicators such as Bollinger Bands and Average True Range (ATR) for entry and exit signals. Risk management features include percentage-bas
This repository is a collection of MetaTrader 4 expert advisors and indicators focused on aggressive trading strategies. The primary expert advisor uses a grid-based approach with martingale lot scaling to manage positions. It features multiple entry logics, including Bollinger Bands, Exponential Moving Averages, and m
This collection for MetaTrader 4 features several expert advisors, primarily centered on the Candlestick Breakout Scalper. The lead tool monitors price action relative to previous candle highs and lows to identify breakout opportunities. It incorporates stochastic filters to confirm entries and supports specific tradin
This repository provides a collection of MetaTrader 4 expert advisors and utility tools. It includes diverse trading strategies ranging from M1 scalping and Heiken Ashi trend following to swing-based approaches. The codebase features a robust trade management framework with classes for order execution, error handling,