Developed as a university final year project, the main expert advisor uses the Relative Strength Index for entry and exit signals. It features extensive risk management parameters, including percentage-based lot sizing, fixed or percentage stop loss and take profit levels, and a trailing stop. The system also incorporates an automated news filter to pause trading during high-impact events and integrates with PostgreSQL for external data logging.
Read from FYP1.mq4. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
Comment_strategy
string
==========
Entry And Exit Settings
rsi_fast_period
int
14
RSI Fast Period
start_hour
int
0
start time (hour)
end_hour
int
23
end time (hour)
lot_size
double
0.01
tp_percent
double
1.5
sl_percent
double
1.0
Comment_0
string
==========
Risk Management Settings
RiskDefaultSize
ENUM_RISK_DEFAULT_SIZE
RISK_DEFAULT_AUTO
Position Size Mode
DefaultLotSize
double
1
Position Size (if fixed or if no stop loss defined)
RiskBase
ENUM_RISK_BASE
RISK_BASE_BALANCE
Risk Base
MaxRiskPerTrade
int
2
Percentage To Risk Each Trade
Show all 40 inputs
Name
Type
Default
Description
MinLotSize
double
0.01
Minimum Position Size Allowed
MaxLotSize
double
100
Maximum Position Size Allowed
Comment_1
string
==========
Trading Hours Settings
UseTradingHours
bool
false
Limit Trading Hours
TradingHourStart
ENUM_HOUR
h07
Trading Start Hour (Broker Server Hour)
TradingHourEnd
ENUM_HOUR
h19
Trading End Hour (Broker Server Hour)
Comment_2
string
==========
Stop Loss And Take Profit Settings
StopLossMode
ENUM_MODE_SL
SL_FIXED
Stop Loss Mode
DefaultStopLoss
int
0
Default Stop Loss In Points (0=No Stop Loss)
MinStopLoss
int
0
Minimum Allowed Stop Loss In Points
MaxStopLoss
int
5000
Maximum Allowed Stop Loss In Points
TakeProfitMode
ENUM_MODE_TP
TP_FIXED
Take Profit Mode
DefaultTakeProfit
int
0
Default Take Profit In Points (0=No Take Profit)
MinTakeProfit
int
0
Minimum Allowed Take Profit In Points
MaxTakeProfit
int
5000
Maximum Allowed Take Profit In Points
Comment_3
string
==========
Trailing Stop Settings
UseTrailingStop
bool
false
Use Trailing Stop
Comment_4
string
==========
Additional Settings
HotNotes
string
Additional Comment User can add to the order
Slippage
int
5
Slippage in points
MaxSpread
int
100
Maximum Allowed Spread To Trade In Points
Comment_5
string
==========
News filter Settings
AfterNewsStop
int
5
Indent after News, minuts
BeforeNewsStop
int
5
Indent before News, minuts
NewsLight
bool
true
Enable light news
NewsMedium
bool
true
Enable medium news
NewsHard
bool
true
Enable hard news
offset
int
2
Your Time Zone, GMT (for news)
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone Yap-Yoong-Siew/fyp_dashboard 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, and any .mqh files into the Include folder the code expects.
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 repository is a collection of MetaTrader 4 expert advisors and study scripts focused on technical analysis and automated execution. It includes modules for identifying support and resistance levels, templates for news-based trading, and tools for drawing visual objects based on price extremes. The projects serve a
This collection for MetaTrader 5 features an ADR-based grid trading expert advisor and a dedicated risk management tool. The primary trading robot identifies reversal opportunities using Average Daily Range percentages, RSI, and Stochastic oscillators. It includes an automated news filter and supports external CSV sign
This MetaTrader 5 collection features several automated trading robots focused on the forex market. The repository includes multiple expert advisors that utilize different technical analysis methods, such as Bollinger Bands, ADX, and Stochastic oscillators. Additionally, one module integrates the MetaTrader 5 economic
This collection of MetaTrader 5 expert advisors focuses on grid and basket trading strategies. The core system establishes a reference price based on a specific hourly candle to initiate buy and sell grids. It manages risk using volume-weighted basket targets for take profit and stop loss. The EA employs aggressive lot
This repository provides a diverse library of expert advisors and technical indicators for MetaTrader 4. The collection includes robots utilizing moving average crossovers, MACD trend-following signals, and mean-reversion strategies based on Bollinger Bands. A notable inclusion is a Martingale robot that scales lot siz
This repository contains a diverse collection of MetaTrader 4 expert advisors and R-based financial scripts. The primary robot is based on the Nanningbob trading system, which utilizes multi-timeframe analysis across daily and four-hour charts to identify trends and ranging markets. It employs Bollinger Bands for mean-