By analyzing raw candle data, it identifies market structures, order blocks, and various fair value gaps. The system includes multiple versions, ranging from simple price action models to complex engines with multi-timeframe bias and liquidity sweep detection. Risk management features include structure-anchored stop losses, partial take-profits, and automated break-even logic. It also employs a self-calibrating conviction threshold designed to adapt to different market volatilities and small account balances.
Zero-indicator engine using raw OHLC candle data
Automated detection of order blocks and fair value gaps
Market structure analysis with BOS and CHoCH identification
R-based risk accounting with partial take-profits and break-even
Self-calibrating conviction threshold for dynamic symbol entry
Read from Medula_SMC.mq5. Defaults are the author's; change them in the EA's Inputs tab.
Name
Type
Default
Description
InpMagic
long
770040
Magic number
InpDeviationPts
int
30
Max price deviation (points)
InpVerboseLog
bool
true
Print to Experts log
InpCsvLog
bool
true
Write MedulaSMC.csv
InpShowPanel
bool
true
Live panel on chart
InpDrawObjects
bool
true
Draw zones on the chart
InpDiagnostics
bool
true
Log why an entry was skipped
InpDiagThrottleSec
int
900
Seconds between repeats of a reason
InpSelfTest
bool
true
Readiness report on attach
InpTimeframe
ENUM_TIMEFRAMES
PERIOD_H1
Timeframe the EA trades
InpBars
int
500
Bars of history analysed
InpSwingK
int
2
Fractal wing size
Show all 40 inputs
Name
Type
Default
Description
InpBosBufferPct
double
0.05
Break must clear by this share of avg range
InpStructureLookback
int
60
Bars searched for the structure shift
InpUseOrderBlocks
bool
true
Trade order-block returns
InpMaxOrderBlocks
int
20
Order blocks tracked per side
InpObMaxAgeBars
int
180
Forget order blocks older than this
InpObMitigatedPct
double
50.0
Mitigated once price fills this % of it
InpUseBreakers
bool
true
Trade breaker blocks (failed OB that flips)
InpUseFVG
bool
true
Trade FVG returns
InpMaxFVGs
int
40
FVGs tracked
InpFvgMaxAgeBars
int
120
Forget FVGs older than this
InpFvgMinPct
double
0.02
Gap must be >= this share of avg range
InpUseVolumeImb
bool
true
Also track 2-candle body gaps (volume imbalance)
InpFvgFillPct
double
50.0
Reported as consumed past this % (CE)
InpUseInversionFvg
bool
true
A violated gap inverts and keeps trading (IFVG)
InpBagDisplaceMult
double
1.80
Breakaway gap: its candle >= this x avg range
InpBagMaxRunIn
double
1.50
Breakaway only if the run into it is under this
InpBagRangeMax
double
2.00
...and the bars before it were a range this tight
InpExhaustRunMult
double
3.00
Exhaustion once the run already exceeds this
InpExhaustLookback
int
12
Bars measured for the run into the gap
InpFvgGradeFloor
double
0.00
Drop gaps graded below this (0 = keep all)
InpFvgTargetPull
bool
true
Unfilled gaps ahead of price are targets
InpBestPoi
bool
true
Enter the best-graded POI, not the first found
InpTradePaCandles
bool
false
Trade displacement candles directly (no gap needed)
InpPaBodyPct
double
0.55
Body must be this share of the candle range
InpPaRangeMult
double
0.90
Candle range >= this x average range
InpPaMaxAge
int
6
A momentum candle stays tradeable this many bars
InpPaMaxRun
double
2.50
Stop chasing once price has run this far past it
InpConfirmModel
bool
true
Retrace + confirmation model (disables §3b/d/e)
How to install it
1Download the sourceUse "Download source (.zip)" above, or clone gurupirataurai92-wq/MetaEditor5- 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 MetaTrader 5 expert advisor utilizes a combination of Bollinger Bands, Relative Strength Index, and Average Directional Index to identify entries. It supports multi-timeframe analysis for trend confirmation and provides optional filters for Average True Range and price action patterns such as hammers. Risk managem
This MetaTrader 5 expert advisor focuses on institutional-style trading across forex, indices, and other assets. It utilizes market structure analysis, including liquidity sweeps and market structure shifts, to identify entries on a M15 timeframe guided by H1 trends. The robot categorizes market states into range, tren
EA31337 Libre is an open-source, multi-strategy trading robot for MetaTrader 4 and MetaTrader 5. It functions as a simplified implementation of the EA31337 framework, providing a collection of over 35 built-in strategies based on technical indicators. The expert advisor performs independent market analysis across vario
Gold Trader EA is a multi-strategy expert advisor designed for trading XAUUSD on the MetaTrader 5 platform. It employs a fusion engine that combines up to 14 different technical analysis methods, including candlestick patterns, chart patterns, price action, and institutional levels. The system requires a user-defined n
This MetaTrader 5 expert advisor implements Smart Money Concepts including Order Blocks, Fair Value Gaps, and Break of Structure entries. It features an automated mode that combines multiple strategies alongside market regime detection using ADX or Efficiency Ratio to ensure trading in trending conditions. Risk managem
Autumn Harvest is a multi-strategy MetaTrader 5 expert advisor incorporating technical patterns such as RSI reversals, peak reversals, and the ignored bar strategy. It functions as both an automated trading robot and a position manager, allowing it to maintain external trades or its own. The EA includes risk controls l