Falcon A 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 Euclidean metrics and reinforcement learning policies. Risk controls include volatility-based stop loss and take profit levels, fixed percentage lot sizing, and a mandatory Friday close. The README notes this repository is for a deprecated version from a tutorial series.
k-Nearest Neighbors classification algorithm
Volatility-based dynamic stop loss and take profit
Read from Falcon_A.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
Header1
string
----------EA General Settings-----------
StrategyNumber
string
32
TerminalType
int
1
0 mean slave, 1 mean master
R_Management
bool
true
R_Management to set true for trading, false for testing
Slippage
int
3
Slippage In Pips
IsECNbroker
bool
false
Is your broker an ECN
OnJournaling
bool
false
Add EA updates in the Journal Tab
EnableDashboard
bool
false
Turn on Dashboard
Header2
string
----------Trading Rules Variables-----------
Base
bool
false
buy_threshold
double
0.7
sell_threshold
double
0.7
Show all 40 inputs
Name
Type
Default
Description
inverse_position_open
bool
false
invers_buy_threshold
double
0.3
invers_sell_threshold
double
0.3
fast
int
12
slow
int
34
close_orders
bool
false
use_market_type
bool
false
closeAllOnFridays
bool
True
close all orders on Friday 1hr before market closure
Header3
string
----------Position Sizing Settings-----------
Lot_explanation
string
If IsSizingOn = true, Lots variable will be ignored
Lots
double
0.01
IsSizingOn
bool
False
Risk
double
1
Risk per trade (in percentage)
MaxPositionsAllowed
int
1
Header4
string
----------TP & SL Settings-----------
UseFixedStopLoss
bool
True
If this is false and IsSizingOn = True, sizing algo will not be able to calculate correct lot size.
FixedStopLoss
double
0
Hard Stop in Pips. Will be overridden if vol-based SL is true
IsVolatilityStopOn
bool
True
VolBasedSLMultiplier
double
6
Stop Loss Amount in units of Volatility
UseFixedTakeProfit
bool
True
FixedTakeProfit
double
0
Hard Take Profit in Pips. Will be overridden if vol-based TP is true
IsVolatilityTakeProfitOn
bool
True
VolBasedTPMultiplier
double
6
Take Profit Amount in units of Volatility
Header5
string
----------Hidden TP & SL Settings-----------
UseHiddenStopLoss
bool
False
FixedStopLoss_Hidden
double
0
In Pips. Will be overridden if hidden vol-based SL is true
IsVolatilityStopLossOn_Hidden
bool
False
VolBasedSLMultiplier_Hidden
double
0
Stop Loss Amount in units of Volatility
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone vzhomeexperiments/FALCON_A 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 implements a sophisticated trading framework based on a 2023 soft computing research paper. It utilizes a Bidirectional LSTM with an Attention Mechanism and Chaotic Neuro-Oscillators to predict future High, Low, Close, and Open prices. To address the limitations of traditional lagging i
This MetaTrader 4 expert advisor functions as a communication interface between the terminal and an external Python-based reinforcement learning model. It utilizes deep Q-learning to determine trading actions at every price tick, passing market data through local files to the external script. The system implements a ma
Falcon F2 is an expert advisor for MetaTrader 4 that implements model-based trading by interpreting external signals. The robot acts as an execution interface for predictions generated outside the platform, such as those from R-based models or a Decision Support Centre. It enters trades when predicted price changes exc
This Expert Advisor for MetaTrader 4 utilizes automated trading logic reportedly assisted by AI models like GPT-4o and ATNet. It executes trades based on market analysis and includes built-in risk controls such as dynamic lot sizing, trailing stops, and a time filter to restrict activity to specific hours. The system a
Falcon S is a rule-based expert advisor for MetaTrader 4 designed to execute trades based on external sentiment analysis data. It 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 schedul
NNA Expert is an automated trading robot for MetaTrader 4 that utilizes external deep-learning models to analyze cryptocurrency markets. The system operates by generating market data files on every new bar and triggering an external batch script via Windows shell commands to obtain trade signals. It supports long and s