OHLCMTF Scalper EA - Multi-Timeframe Price Action - MetaTrader 5 Expert

This Expert Advisor is a pure price action trading system. It does not use any standard lagging indicators such as moving averages or oscillators. Instead, it reads accurate OHLC (open, high, low, close) data across multiple time frames to find precise entry points based on market structure.
The core idea of this strategy is to align the momentum of the lower time frames with the structural highs and lows of the higher time frames. For example, the EA can evaluate whether the previous H1 high is greater than the H4 high, while checking for an M5 breakout, and only execute a trade if the direction is confirmed for all selected timeframes.
Key strategic components:
MTF Structural Alignment: Compares previous highs and lows of predefined timeframes (H1, H4, Daily).
Role reversal: Recognize when a previous high flips over to become a new low (support/resistance flip).
Breakout and Continuation: Orders are triggered based on candle closes that break key structural levels.
Pending Order Execution: Place a limit or stop order exactly at the structure level rather than buying at the market price.

Recommended environment:
Symbol: Best for highly liquid and trending assets such as XAUUSD or BTCUSD.
Approximate time: Connect the EA to the H1 chart (internal logic will automatically extract data from M5, M30, H4 and D1 based on configuration).
Input parameter description: The EA is highly modular and allows the user to enable or disable any specific condition.
Look_Back_Bar / Look_Forward_Bar: Controls the scan depth of the previous structure and the length of the horizontal line of sight drawn on the chart.
Buy/Sell Conditions: A set of Boolean switches that enable a specific MTF comparison (e.g. 60m high > 240m high).
Lower time frame: Implement fast execution logic combining M5 with M30 or H1.
SL_MODE: Select a fixed number of points, a percentage of balance, or a fixed dollar amount to adjust dynamic position sizing.
Use breakeven and automatic expiration: move the stop loss to the entry position after reaching a safe distance and cancel the pending order after a specified time (in minutes).
Point Offset: Visually adjust the signal point away from the candle, ensuring that traders can fully see the price action.
Attachment download
📎 ohlcmtf_candlesticks.jpg (105.8 KB)
📎 OHLCMTF_Scalper_MAIN.mq5 (12.02 KB)
Source: MQL5 #70796
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •