Collection · MT5

OrderFlow Alpha

by alimagdi94

OrderFlow Alpha is a MetaTrader 5 expert advisor designed for Auction Market Theory and order flow analysis.

High risk

GitHub stars1
Forks0
Last update6 months ago16 Mar 2026
LicenceNone stated

Overview

OrderFlow Alpha generates footprint charts directly on the platform, visualizing volume, delta, and bid-ask clusters per price level. The EA identifies key market structures such as Point of Control, Value Area, and high or low volume nodes. It features an automated trading engine with configurable entry signals based on absorption, exhaustion, and delta divergence. Risk management is handled through various stop loss and take profit modes, including ATR-based calculations and fixed pip offsets.

Details

Input parameters

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

NameTypeDefaultDescription
InpLoggingEnablebooltrueWrite EA messages to the MT5 journal
InpLogModeENUM_LOG_MODELOG_FULLVerbosity: Silent | Trades only | Signals | Full
InpTickSizeint10Base cell size (points), 1 point = 1×_Point
InpImbalanceRatiodouble300.0Imbalance Threshold (%)
InpStackedImbCountint3Stacked Imbalance Min Count
InpAbsorptionRatiodouble4.0Absorption Threshold (x Avg Vol)
InpHistoryBarsint100History bars to load
InpVAPercentdouble70.0Value Area % (industry default 70)
InpHVNRatiodouble2.0HVN Threshold (x Avg Vol) — High Volume Node
InpLVNRatiodouble0.35LVN Threshold (ratio of Avg Vol) — Low Volume Node
InpChartModeENUM_FOOT_CHART_MODEFOOT_CHART_DELTAChart mode (Delta=default)
InpTickMultiplierint5Tick multiplier (1,2,5,10,20,40)
Show all 40 inputs
NameTypeDefaultDescription
InpShowTextboolfalseShow Cell Numbers (Bid/Ask/Vol/Delta text)
InpShowWickbooltrueShow candle wick on footprint bars
InpProfileOnlyboolfalseProfile-Only mode: hide footprint, keep CumΔ profile
InpBgAlphauchar210Cell Background Alpha (0-255)
InpVAOffAlphauchar80Alpha outside Value Area (0-255)
InpBidBaseColorcolorC'28,6,38'Bid (Sell) Base — deep violet (visible floor)
InpBidHighColorcolorC'160,0,90'Bid (Sell) High — vivid magenta-crimson
InpAskBaseColorcolorC'4,28,28'Ask (Buy) Base — deep teal (visible floor)
InpAskHighColorcolorC'0,140,120'Ask (Buy) High — vivid teal-green
InpOutOfVAColorcolorC'14,14,18'Out of Value Area — near-black, minimal distraction
InpImbSellColorcolorC'180,30,50'Sell Imbalance — warm red, readable at all alphas
InpImbBuyColorcolorC'20,160,80'Buy Imbalance — vivid green, perceptually distinct
InpStackedSellColorcolorC'200,40,60'Stacked Sell Zone — brighter than plain imbalance
InpStackedBuyColorcolorC'30,190,100'Stacked Buy Zone — brighter than plain imbalance
InpUnfinishedColorcolorC'80,160,255'Unfinished Auction — sky blue, not confused with POC
InpAbsorptionColorcolorC'200,80,220'Absorption — violet-magenta, distinct from all others
InpPOCColorcolorC'255,220,0'POC Frame — amber-gold (high contrast on dark bg)
InpBullishFramecolorC'40,200,100'Bullish Session Frame
InpBearishFramecolorC'200,40,60'Bearish Session Frame
InpWickColorcolorC'130,130,145'Candle Wick — slightly blue-grey, stays subtle
InpGridColorcolorC'45,45,58'Grid — darkened so it never dominates
InpHVNColorcolorC'255,210,50'HVN outline — amber, matches POC family
InpLVNColorcolorC'80,80,105'LVN outline — muted indigo-grey
InpDivergenceColorcolorC'255,140,0'Delta Divergence marker — pure orange
InpTextBaseColorcolorC'150,150,165'Default Cell Text — slightly cool grey
InpTextDarkBgcolorC'230,230,235'Text on Dark Backgrounds — off-white (less harsh than pure white)
InpTextLightBgcolorC'20,20,25'Text on Light Backgrounds
InpTextBottomVolcolorC'180,180,195'Bottom Label: Volume — subdued, volume is context not signal

How to install it

  1. 1Download the sourceUse "Download source (.zip)" above, or clone alimagdi94/Auction from GitHub, and unzip it.
  2. 2Open the data folderIn MetaTrader choose File, then Open Data Folder, and go to MQL5/Experts.
  3. 3Copy the filesCopy the .mq5 file into Experts.
  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

This collection of expert advisors for MetaTrader 4 and 5 provides various automated strategies based on price action and technical indicators. The primary EA utilizes a moving average crossover system with switchable modes for different market conditions. It features a martingale lot-scaling system for sideways market

MT4MT5 Collection Indicator crossoverMartingaleGrid High risk

KolaTradebot SMC

by Sidoine1991
3 stars

KolaTradebot is a MetaTrader 5 expert advisor that executes a multi-asset strategy using Smart Money Concepts and a Global Order Model. It bridges the platform with a Python-based server to analyze market structures like order blocks, fair value gaps, and liquidity sweeps across multiple timeframes. The system includes

MT5 Collection SMC / ICT / price actionAI / machine learningBreakout High risk

Zerith EA Collection

by BlamzKunG
3 stars

This MetaTrader 5 repository provides a suite of algorithmic trading tools known as the Zerith series. The featured SwingGrid EA utilizes ADX trend filters and ATR-based volatility thresholds to execute trades, employing a recovery grid system with dynamic lot multipliers. Other tools in the set cover news straddle bre

MT5 Collection GridMartingaleSMC / ICT / price action High risk
3 stars

This MetaTrader 5 repository provides a diverse collection of automated trading systems, including tools for supply and demand, news fetching, and price action strategies. The primary expert advisor utilizes moving average crossovers and momentum filters to identify market pullbacks. It incorporates trade management fe

MT5 Collection Indicator crossoverMartingaleTrend following High risk
3 stars

This repository provides a diverse collection of MetaTrader 4 and MetaTrader 5 expert advisors covering multiple trading methodologies. It includes robots for smart money concepts with fair value gap detection, Joe Ross hook patterns, and volatility-based scalping. The library features specific tools for XAUUSD and mul

MT4MT5 Collection SMC / ICT / price actionScalpingBreakout High risk
2 stars

This repository provides a diverse collection of MetaTrader 5 expert advisors focusing on technical indicators and Smart Money Concepts. The primary expert advisor, Behemoth Max, utilizes a combination of MACD, weighted moving averages, and exponential moving averages across multiple timeframes to identify entries. Ris

MT5 Collection SMC / ICT / price actionIndicator crossoverTrend following High risk

More collections

Need a broker for MT5?

Compare regulated brokers that support MetaTrader, with spreads, minimum deposits and leverage side by side.

Compare brokers