Trading robot · MT4

Falcon EA Template

by Lucas170

Falcon EA Template is an automated trading robot for MetaTrader 4 that utilizes dual moving averages and Keltner Channels to determine market entries.

GitHub stars4
Forks8
Last update9 years ago3 Feb 2017
LicenceNone stated

Overview

The system prioritizes risk management through percentage-based position sizing and various exit strategies. It features fixed and volatility-based stop loss and take profit settings, as well as hidden order levels to shield targets. Additional controls include break-even logic and adaptive volatility trailing stops. The repository lacks a formal README, but the code structure suggests a trend-following or momentum-based approach.

Details

Author

Lucas170 on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Indicator crossover, Trend following

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

No grid, martingale or hedging logic was found in its code or README. That says nothing about how it performs: backtest it first.

Input parameters

Read from FalconTemplate2-0.mq4. Defaults are the author's; change them in the EA's Inputs tab.

NameTypeDefaultDescription
Header1string----------Trading Rules Variables-----------
FastMAPeriodint10
SlowMAPeriodint40
KeltnerPeriodint15
KeltnerMultiint3
Header2string----------Position Sizing Settings-----------
Lot_explanationstringIf IsSizingOn = true, Lots variable will be ignored
Lotsdouble0
IsSizingOnboolTrue
Riskdouble1Risk per trade (in percentage)
Header3string----------TP & SL Settings-----------
UseFixedStopLossboolTrueIf this is false and IsSizingOn = True, sizing algo will not be able to calculate correct lot size.
Show all 40 inputs
NameTypeDefaultDescription
FixedStopLossdouble0Hard Stop in Pips. Will be overridden if vol-based SL is true
IsVolatilityStopOnboolTrue
VolBasedSLMultiplierdouble6Stop Loss Amount in units of Volatility
UseFixedTakeProfitboolTrue
FixedTakeProfitdouble0Hard Take Profit in Pips. Will be overridden if vol-based TP is true
IsVolatilityTakeProfitOnboolTrue
VolBasedTPMultiplierdouble6Take Profit Amount in units of Volatility
Header4string----------Hidden TP & SL Settings-----------
UseHiddenStopLossboolFalse
FixedStopLoss_Hiddendouble0In Pips. Will be overridden if hidden vol-based SL is true
IsVolatilityStopLossOn_HiddenboolFalse
VolBasedSLMultiplier_Hiddendouble0Stop Loss Amount in units of Volatility
UseHiddenTakeProfitboolFalse
FixedTakeProfit_Hiddendouble0In Pips. Will be overridden if hidden vol-based TP is true
IsVolatilityTakeProfitOn_HiddenboolFalse
VolBasedTPMultiplier_Hiddendouble0Take Profit Amount in units of Volatility
Header5string----------Breakeven Stops Settings-----------
UseBreakevenStopsboolFalse
BreakevenBufferdouble0In pips
Header6string----------Hidden Breakeven Stops Settings-----------
UseHiddenBreakevenStopsboolFalse
BreakevenBuffer_Hiddendouble0In pips
Header7string----------Trailing Stops Settings-----------
UseTrailingStopsboolFalse
TrailingStopDistancedouble0In pips
TrailingStopBufferdouble0In pips
Header8string----------Hidden Trailing Stops Settings-----------
UseHiddenTrailingStopsboolFalse

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Lucas170/Chapter-19-All-Files 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
44 stars

SuperMao is an automated trading robot for MetaTrader 4 that executes trades based on technical indicator configurations. The repository includes variations of the strategy, specifically utilizing Ichimoku Kinko Hyo for trend identification and a combination of Bollinger Bands with MACD crossovers for momentum-based en

MT4 Trading robot Trend followingIndicator crossover
Updated 6 years ago None stated GitHub repository of SuperMao Trading Robot

Tobiah Rex EA

by TobiahRex
17 stars

This MetaTrader 4 expert advisor is an automated trading system designed for technical analysis using trend and momentum indicators. It incorporates multiple exponential and simple moving averages, RSI with integrated smoothing periods, and MACD. The EA manages risk through dynamic lot sizing based on account percentag

MT4 Trading robot Indicator crossoverTrend following
Updated 3 years ago None stated GitHub repository of Tobiah Rex EA

De Pip Sniper

by Oluwasakin-Tobi
16 stars

This expert advisor for MetaTrader 4 automates trading using five Exponential Moving Average periods to determine market direction. The developer notes an integration between C# and MQL4 for its operation. It manages trades with fixed stop loss and take profit parameters, ensuring each position has defined risk boundar

MT4 Trading robot Indicator crossoverTrend following
Updated 6 years ago None stated GitHub repository of De Pip Sniper

Max Profit

by poluxbrayz
16 stars

Max Profit is a trend-following expert advisor for MetaTrader 4, specifically optimized for the M1 timeframe. It utilizes a combination of technical indicators, including Parabolic SAR and MACD, to identify market trends and execute trades. The software includes dedicated modules for lot management, symbol analysis, an

MT4 Trading robot Trend followingIndicator crossover
Updated 2 years ago AGPL-3.0 GitHub repository of Max Profit

MA Cross EA

by eugenesia
14 stars

This MetaTrader 4 expert advisor implements a classic moving average crossover strategy to automate trade entries. The robot monitors two user-defined simple moving averages of different periods. It enters a trade when the faster moving average crosses above or below the slower moving average on a new bar. Risk managem

MT4 Trading robot Indicator crossoverTrend following
Updated 10 years ago None stated GitHub repository of MA Cross 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