Forex MT4 Perfect is an automated trading expert advisor for MetaTrader 4 that utilizes a suite of technical indicators to execute and manage positions.
The system integrates Cap Channel, Envelopes, and MACD indicators to identify market entries and exit signals. It features diverse position sizing methods, including fixed lots, percentage-based risk, and both positive and negative martingale scaling. Users can configure trade management through various exit options such as fixed risk-to-reward ratios or indicator-based reversals. While it provides granular control over stop loss calculations, the repository contains no documentation beyond the code.
Indicator-based entries using MACD and Envelopes
Multiple lot control modes including fixed risk percentage
Positive and negative martingale lot scaling options
Flexible exit logic based on indicator crossovers or channel boundaries
Read from perfect 3.7.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
do_trade_input
bool
true
DO TRADE
do_multipletrade
bool
false
DO MULTIPLE TRADES OF EACH
trigger_tf_input
ENUM_TIMEFRAMES
0
TRIGGER TIME FRAME
lot_control_input
enum_lot_control
fixed_risk
LOT CONTROL
fixed_lot_input
double
0.01
FIXED INPUT LOT
risk_input
double
1
RISK %
stop_calculator_input
enum_stop_calculator
sl_kgsr_calculator
SL CALCULATOR
manual_stop_pips_input
int
0
MANUAL STOP PIPS
martingale_max_level
int
5
MARTINGALE MAX LEVEL
risk_equity_selector
enum_res
account_equity
RISK EQUITY SELECTOR
fixed_balance_usd
double
10000
FIXED BALANCE USD
closing_options
enum_co
fix_tp
CLOSING OPTION
Show all 40 inputs
Name
Type
Default
Description
fix_tp_risk_reward_ratio
double
1
R/R for FIXED TP
min_stop_pips
int
50
MINIMUM STOP PIPS
string_capchannel
string
---------------CAP CHANNEL---------------
CAP CHANNEL
use_capchannel
bool
False
USE CAP CHANNEL
capchannel_tf
ENUM_TIMEFRAMES
0
CAP CHANNEL TIME FRAME
capchannel_half_length
int
100
CAP CHANNEL HALF LENGTH
capchannel_price
ENUM_APPLIED_PRICE
PRICE_CLOSE
CAP CHANNEL PRICE
capchannel_bands_deviation
double
2.0
CAP CHANNEL BANDS DEVIATION
capchannel_shift
int
1
CAP Shift
string_envelopes
string
---------------ENVELOPS---------------
ENVELOPES
use_envelopes
bool
true
USE ENVELOPES
envelopes_tf
ENUM_TIMEFRAMES
0
ENVELOPES TIME FRAME
envelopes_ma_period
int
55
ENVELOPES MA PERIOD
envelopes_ma_method
ENUM_MA_METHOD
MODE_SMA
ENVELOPES MA METHOD
envelopes_ma_shift
int
1
ENVELOPES MA SHIFT
envelopes_applied_price
ENUM_APPLIED_PRICE
PRICE_CLOSE
ENVELOPES APPLIED PRICE
envelopes_deviation
double
0.5
ENVELOPES DEVIATION
env_shift
int
1
ENV Shift
string_macd
string
---------------MACD---------------
MACD
use_macd_instant
bool
False
USE MACD INSTANT
use_macd_switch
bool
False
USE MACD SWITCH
macd_tf
ENUM_TIMEFRAMES
0
MACD TIME FRAME
macd_fast_ma
int
12
MACD FAST MA
macd_slow_ma
int
26
MACD SLOW MA
macd_signal_ma
int
9
MACD SIGNAL MA
macd_shift
int
1
MACD Shift
string_twmacd
string
---------------TRADING VIEW MACD---------------
TRADING VIEW MACD
use_twmacd
bool
False
USE TW MACD
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone mamadrahmani/Forex_mt4_Perfect 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.
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 MetaTrader 4 expert advisor functions as an automated trading robot using the Average Directional Index (ADX) to identify trend strength and direction. It executes trades based on ADX crossovers and specific level thresholds. The EA provides essential risk management tools, including stop loss, take profit, and a
This MetaTrader 4 expert advisor executes automated trades on the forex market by combining signals from various technical indicators. The logic incorporates Average Directional Index analysis across multiple timeframes, alongside Ichimoku and Stochastic oscillators. Users can configure lot sizing, take profit, and sto
This MetaTrader 4 expert advisor focuses on Gold trading using institutional pivot point levels and fractal-based support and resistance zones. The robot filters entries through a combination of RSI, MACD, and moving average alignment, supplemented by a trade quality scoring system. It includes comprehensive risk contr
The Falcon is a MetaTrader 4 expert advisor designed for automated trading using a combination of moving averages and Keltner Channels. It utilizes trend-following logic for entries and incorporates advanced position sizing features, including percentage-based risk, adaptive volatility sizing, and margin-per-lot constr
EA HiLo is an automated trading robot for MetaTrader 4 that utilizes the HiLo Activator indicator for signal generation. It executes buy orders when the price closes above the indicator and sell orders when it closes below. The system includes a directional filter based on a moving average to confirm market trends befo
The Belinda Sizing EA is a MetaTrader 4 expert advisor that executes a trend-following strategy based on Simple Moving Average crossovers. It uses a volatility filter comparing current Average True Range values against historical data to confirm market conditions before entry. Trades are managed with a hard stop loss a