The central component is the ASQ Command Desk, a manual trading dashboard that offers one-click execution and hotkey support. It manages positions using a three-stage partial take-profit logic and provides various trailing stop options, including ATR and swing-based algorithms. Risk management is facilitated through an automated drawdown guard and breakeven settings. Additional tools in the library include a news filter, a recovery engine for managing trades, and various indicators for session filtering and spread analysis.
Three-stage partial take-profit management
Adaptive ATR and swing-based trailing stops
Integrated drawdown guard and session protection
One-click execution with keyboard hotkey support
Multi-tool collection including news filters and recovery engines
Read from ASQ_CommandDesk_v1.00.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
CfgSizeMethod
ASQ_SIZING_METHOD
ASQ_LOT_PCT_BALANCE
Sizing algorithm
CfgFixedVol
double
0.01
Fixed lot size
CfgRiskPct
double
1.0
Risk as % of balance
CfgRiskDollar
double
100.0
Risk as flat amount ($)
CfgSLDist
int
200
SL distance (pts, 0=none)
CfgStage1Dist
int
150
Stage 1 TP distance (pts, 0=off)
CfgStage2Dist
int
300
Stage 2 TP distance (pts, 0=off)
CfgStage3Dist
int
500
Stage 3 TP distance (pts, 0=off)
CfgStage1Pct
double
40.0
Stage 1 close % of original
CfgStage2Pct
double
30.0
Stage 2 close % of original
CfgStage3Pct
double
100.0
Stage 3 close % (remainder)
CfgTrailAlgo
ASQ_TRAIL_ALGO
ASQ_TRAIL_ATR
Trail algorithm
Show all 40 inputs
Name
Type
Default
Description
CfgTrailPtsDist
int
150
Fixed trail distance (pts)
CfgTrailStepMin
int
10
Minimum SL move step (pts)
CfgATRBars
int
14
ATR lookback period
CfgATRScale
double
1.5
ATR multiplier
CfgAutoBreakeven
bool
true
Enable automatic breakeven
CfgBEActivation
int
100
BE activation profit (pts)
CfgBELockOffset
int
5
BE lock above/below entry (pts)
CfgDDGuard
bool
false
Enable drawdown guard
CfgDDMaxPct
double
5.0
Max drawdown % from session peak
CfgDDFlattenOnBreach
bool
true
Auto-flatten on DD breach
CfgPendOffset
int
100
Pending distance from market (pts)
CfgPendSL
int
200
Pending SL (pts)
CfgPendTP
int
400
Pending TP (pts)
CfgPendExpiry
datetime
0
Pending expiration (0=GTC)
CfgHotkeysOn
bool
true
Enable keyboard shortcuts
CfgPanelX
int
15
Panel X offset
CfgPanelY
int
25
Panel Y offset
CfgFontSz
int
9
Font size
CfgClrBG
color
C'18,18,28'
Background
CfgClrLong
color
C'0,200,83'
Long accent
CfgClrShort
color
C'255,23,68'
Short accent
CfgClrInfo
color
C'90,180,250'
Info accent
CfgClrText
color
C'180,185,195'
Body text
CfgClrHead
color
C'90,180,250'
Section header
CfgClrEdge
color
C'30,35,50'
Panel border
CfgMagic
int
990990
Magic number
CfgSlippage
int
20
Max slippage (pts)
CfgTag
string
ASQCD
Order comment prefix
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone e49nana/Algorithmic-trading from GitHub, and unzip it.
2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
3Copy the filesCopy the .mq5 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 collection of MetaTrader 5 expert advisors implements various technical strategies using indicators such as Moving Averages, MACD, and the Andean Oscillator. It includes a specific tool for trading based on Commitment of Traders data combined with SuperTrend signals. Most robots in the repository incorporate a gri
This repository contains a diverse collection of automated trading robots for the MetaTrader 5 platform. The strategies range from trend-following systems using True Strength Index (TSI) and Moving Average crossovers to mean-reversion tools utilizing Relative Strength Index (RSI) and Bollinger Bands. Most experts inclu
This repository contains a diverse collection of MetaTrader 5 expert advisors ranging from RSI-based scalping robots to multi-timeframe trend following systems. The EAs utilize various technical indicators including EMA crossovers, MACD momentum, and ATR for volatility-based exits. The core logic often incorporates mul
This repository provides a collection of MetaTrader 4 and 5 expert advisors, including the modular Super Trading Bot series and an AI-driven trading template. The EAs utilize various technical indicators like Bollinger Bands, Parabolic SAR, and moving averages for trend-following and scalping. Built-in risk management
This repository is a diverse collection of MetaTrader 4 and 5 expert advisors, including signal-based robots, grid traders, and utility scripts. The featured expert advisor provides a versatile framework for trade management with options for trailing stops, break-even logic, and ECN broker compatibility. It includes co
A diverse collection of MetaTrader 4 and MetaTrader 5 resources developed by Yousuf Mesalm. The repository features various utilities including interactive trading panels, multi-strategy dashboards, and automated expert advisors. These tools provide manual trade management options like partial closing and automated exe