Trading robot · MT4

Falcon S

by vzhomeexperiments

Falcon S is a rule-based expert advisor for MetaTrader 4 designed to execute trades based on external sentiment analysis data.

GitHub stars6
Forks22
Last update7 years ago2 Nov 2018
LicenceMIT

Overview

Falcon S functions as a production bridge for decisions generated in external environments like R, reading trade triggers from CSV files. The robot operates primarily on the H1 timeframe with scheduled trading windows. It includes comprehensive risk management features such as volatility-based stop loss and take profit levels, hidden order settings, breakeven stops, and a maximum trade duration limit. It supports both fixed lot sizing and percentage-based risk calculation.

Details

Author

vzhomeexperiments on GitHub

Type

Trading robot

Platform

MetaTrader 4 (MQL4)

Strategy

News, AI / machine learning

Markets

Forex

Timeframes

M15-H1

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.

EA files

Topics

mql4algorithmic-tradingnewssentiment-analysistrading-algorithmstrading-bottrading-strategiesmt4mt4-ea

Input parameters

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

NameTypeDefaultDescription
Header15string----------EA General Settings-----------
MagicNumberint8136201
TerminalTypeint10 mean slave, 1 mean master
R_ManagementbooltrueR_Management true will enable Decision Support Centre (using R)
Slippageint3In Pips
IsECNbrokerboolfalseIs your broker an ECN
OnJournalingbooltrueAdd EA updates in the Journal Tab
Header1string----------Trading Rules Variables-----------
StartTradeHour08boolTRUE
StartTradeHour16boolTRUE
StartTradeHour24boolTRUE
TradeMaxDurationHrsint7
Show all 40 inputs
NameTypeDefaultDescription
Header2string----------Position Sizing Settings-----------
Lot_explanationstringIf IsSizingOn = true, Lots variable will be ignored
Lotsdouble0.01
IsSizingOnboolFalse
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.
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

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone vzhomeexperiments/FALCON_S 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, and any .mqh files into the Include folder the code expects.
  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

TradeExpert

by nguemechieu
1 stars

TradeExpert is a multi-functional expert advisor for MetaTrader 4 that combines technical indicator analysis with external data integration. It executes trades using market or limit orders across a wide range of forex pairs and cryptocurrencies. The system features a built-in news filter to manage volatility during eco

MT4 Trading robot NewsMulti-strategyAI / machine learning High risk
Updated 2 years ago MIT GitHub repository of TradeExpert

Pro Trader AI

by salmanrki
1 stars

This MetaTrader 5 expert advisor integrates Large Language Models such as OpenAI and Anthropic Claude with technical analysis to automate trading across forex, gold, crypto, and indices. It utilizes a confluence scoring system based on Smart Money Concepts, Ichimoku Cloud, and standard indicators like RSI and MACD. The

MT5 Trading robot SMC / ICT / price actionAI / machine learningNews
Updated 5 months ago None stated GitHub repository of Pro Trader AI

Sharrow

by Shinpai-AI
1 stars

Sharrow is an AI-driven trading robot for MetaTrader 5 that integrates with a Python-based machine learning toolchain. It functions as a trend engine, primarily designed for the H1 timeframe, using rules generated from walk-forward training scripts. The system includes sophisticated risk controls such as daily drawdown

MT5 Trading robot AI / machine learningTrend followingNews
Updated 7 months ago None stated GitHub repository of Sharrow

Xau Ai Pro

by apolopanda500
1 stars

This expert advisor for MetaTrader 5 is a sophisticated trading system specifically optimized for gold. It operates as part of a hybrid ecosystem, utilizing a Python-based desktop interface for local machine learning model training and market analysis while executing trades via the MQL5 robot. The EA employs a multi-la

MT5 Trading robot AI / machine learningTrend followingNews
Updated 2 days ago None stated GitHub repository of Xau Ai Pro
1 stars

This automated trading system for MetaTrader 5 utilizes machine learning models via the ONNX runtime to forecast currency trends. It implements an ensemble approach, combining predictions from Logistic Regression, Support Vector Machines, Random Forest, and XGBoost. The system operates in two primary modes: technical i

MT5 Trading robot AI / machine learningNewsTrend following

Falcon A

by vzhomeexperiments
25 stars

Falcon A is a MetaTrader 4 robot that utilizes a k-Nearest Neighbors (kNN) classification algorithm for pattern-based trading. It follows a model-based approach where the user must first generate historical data files through a training simulation in the Strategy Tester. The system calculates entry probabilities using

MT4 Trading robot AI / machine learning
Updated 5 years ago MIT GitHub repository of Falcon A

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