Trading robot · MT4

The Falcon

by Lucas170

The Falcon is a MetaTrader 4 expert advisor designed for automated trading using a combination of moving averages and Keltner Channels.

High risk

GitHub stars10
Forks77
Last update3 years ago4 Jul 2023
LicenceNone stated

Overview

The Falcon utilizes trend-following logic for entries and incorporates advanced position sizing features, including percentage-based risk, adaptive volatility sizing, and margin-per-lot constraints. The EA provides comprehensive trade management through volatility-based or fixed stop loss and take profit levels, with additional support for hidden orders, breakeven buffers, and trailing stops. While it functions as a trading robot, the repository lacks a README manual.

Details

Author

Lucas170 on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

Trend following, Indicator crossover, Martingale

Markets

Any symbol

Timeframes

Any timeframe

Risk profile

  • Uses martingale lot scaling: losses can grow fast

Input parameters

Read from FalconTemplate2-5.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
Lotsdouble1
IsSizingOnboolTrue
Riskdouble1Risk per trade (in percentage)
MaxLotsAlloweddouble20Per Order
MinFreeMarginPerLotdouble1500Note: 1000USD of margin required to open a 1 lot of EURUSD on a 100:1 leverage.
Show all 40 inputs
NameTypeDefaultDescription
IsAdaptiveVolSizingOnboolFalseSwitch for our adaptive volatility function
IsAdaptiveHRSizingOnboolFalseSwitch for our adaptive hit rate function
Header3string----------TP & SL Settings-----------
UseFixedStopLossboolTrueIf this is false and IsSizingOn = True, sizing algo will not be able to calculate correct lot size.
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

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone Lucas170/The-Falcon 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

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

Belinda Sizing

by Lucas170
5 stars

This MetaTrader 4 expert advisor executes a trend-following strategy based on simple moving average crossovers. It enters trades when a short-term SMA crosses a long-term SMA, provided a volatility filter using the Average True Range is met. The system includes automated exit logic via opposite crossovers, a hard stop

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

Belinda Sizing

by Lucas170
4 stars

Belinda Sizing is an automated trading robot for MetaTrader 4 that utilizes a dual moving average crossover strategy combined with a volatility filter. It enters trades when a short-period simple moving average crosses a long-period moving average, provided that current volatility measured via the Average True Range is

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

Oasis Money Maker

by rasimsen
3 stars

This MetaTrader 4 expert advisor executes trades based on three selectable technical indicators: Moving Averages, the Alligator indicator, or a custom channel strategy referred to as Rasim Line. It identifies trends and price levels to enter positions automatically. The EA manages risk through user-defined stop loss an

MT4 Trading robot Trend followingIndicator crossoverMartingale High risk
Updated 8 years ago None stated GitHub repository of Oasis Money Maker

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