Trading robot · MT4

Forex MT4 Perfect

by mamadrahmani

Forex MT4 Perfect is an automated trading expert advisor for MetaTrader 4 that utilizes a suite of technical indicators to execute and manage positions.

High risk

GitHub stars1
Forks0
Last update2 years ago14 May 2024
LicenceUnlicense

Overview

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.

Details

Author

mamadrahmani on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Indicator crossover, Martingale

Markets

Forex

Timeframes

Any timeframe

Risk profile

  • Uses martingale lot scaling: losses can grow fast

EA files

Input parameters

Read from perfect 3.7.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
do_trade_inputbooltrueDO TRADE
do_multipletradeboolfalseDO MULTIPLE TRADES OF EACH
trigger_tf_inputENUM_TIMEFRAMES0TRIGGER TIME FRAME
lot_control_inputenum_lot_controlfixed_riskLOT CONTROL
fixed_lot_inputdouble0.01FIXED INPUT LOT
risk_inputdouble1RISK %
stop_calculator_inputenum_stop_calculatorsl_kgsr_calculatorSL CALCULATOR
manual_stop_pips_inputint0MANUAL STOP PIPS
martingale_max_levelint5MARTINGALE MAX LEVEL
risk_equity_selectorenum_resaccount_equityRISK EQUITY SELECTOR
fixed_balance_usddouble10000FIXED BALANCE USD
closing_optionsenum_cofix_tpCLOSING OPTION
Show all 40 inputs
NameTypeDefaultDescription
fix_tp_risk_reward_ratiodouble1R/R for FIXED TP
min_stop_pipsint50MINIMUM STOP PIPS
string_capchannelstring---------------CAP CHANNEL---------------CAP CHANNEL
use_capchannelboolFalseUSE CAP CHANNEL
capchannel_tfENUM_TIMEFRAMES0CAP CHANNEL TIME FRAME
capchannel_half_lengthint100CAP CHANNEL HALF LENGTH
capchannel_priceENUM_APPLIED_PRICEPRICE_CLOSECAP CHANNEL PRICE
capchannel_bands_deviationdouble2.0CAP CHANNEL BANDS DEVIATION
capchannel_shiftint1CAP Shift
string_envelopesstring---------------ENVELOPS---------------ENVELOPES
use_envelopesbooltrueUSE ENVELOPES
envelopes_tfENUM_TIMEFRAMES0ENVELOPES TIME FRAME
envelopes_ma_periodint55ENVELOPES MA PERIOD
envelopes_ma_methodENUM_MA_METHODMODE_SMAENVELOPES MA METHOD
envelopes_ma_shiftint1ENVELOPES MA SHIFT
envelopes_applied_priceENUM_APPLIED_PRICEPRICE_CLOSEENVELOPES APPLIED PRICE
envelopes_deviationdouble0.5ENVELOPES DEVIATION
env_shiftint1ENV Shift
string_macdstring---------------MACD---------------MACD
use_macd_instantboolFalseUSE MACD INSTANT
use_macd_switchboolFalseUSE MACD SWITCH
macd_tfENUM_TIMEFRAMES0MACD TIME FRAME
macd_fast_maint12MACD FAST MA
macd_slow_maint26MACD SLOW MA
macd_signal_maint9MACD SIGNAL MA
macd_shiftint1MACD Shift
string_twmacdstring---------------TRADING VIEW MACD---------------TRADING VIEW MACD
use_twmacdboolFalseUSE TW MACD

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone mamadrahmani/Forex_mt4_Perfect from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL4/Experts.
  3. 3Copy the filesCopy the .mq4 file into Experts.
  4. 4Compile in MetaEditorOpen the file in MetaEditor and press Compile. Fix any missing includes the compiler reports.
  5. 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.

Similar expert advisors

ADX Cross EA

by chaipat-ncm
143 stars

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

MT4 Trading robot Indicator crossoverMartingaleTrend following High risk
Updated 2 years ago None stated GitHub repository of ADX Cross EA

Mansour Bot

by MShokry
16 stars

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

MT4 Trading robot Indicator crossoverMulti-strategyMartingale High risk
Updated 7 years ago None stated GitHub repository of Mansour Bot

Monkey Attack Gold Pivot EA

by Monkeyattack
10 stars

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

MT4 Trading robot Mean reversionIndicator crossoverMartingale High risk

The Falcon

by Lucas170
10 stars

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

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 3 years ago None stated GitHub repository of The Falcon

EA HiLo

by yuriodilon
6 stars

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

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 5 years ago None stated GitHub repository of EA HiLo

Belinda Sizing EA

by Lucas170
5 stars

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

MT4 Trading robot Indicator crossoverTrend followingMartingale High risk
Updated 9 years ago None stated GitHub repository of Belinda Sizing EA

More trading robots

Need a broker for MT4?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers