Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Experts

OB Trader Order Block Strategy tester - expert pour MetaTrader 5

Vues:
221
Publié:
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

*Note*- "After detecting an Oder Block it then immediately trade on the open of the next candle'
*Warning* - "This EA hasn't been optimized but feel free to use the code as you wish"


OB Trader (Order Block Scalper)

Description
The OB Trader is a lightweight, automated trading system designed to identify and trade Order Block (OB) patterns based on price action. This Expert Advisor (EA) focuses on a specific two-candle formation to detect potential institutional buying or selling pressure. It is optimized for scalping with a built-in 1:1 risk-to-reward ratio.

Trading Strategy
The EA looks for two distinct patterns at the close of every new candle:

Bullish Order Block: Identified when a bearish candle (index 2) is followed by a bullish candle (index 1) that breaks the previous candle's high while maintaining specific structural ratios.

Bearish Order Block: Identified when a bullish candle (index 2) is followed by a bearish candle (index 1) that breaks the previous candle's low under specific structural conditions.

Key Technical Features
New Bar Execution: The logic runs exclusively at the opening of a new candle to prevent repainting and excessive calculations.

Automated Risk Management: * Stop Loss (SL): Automatically set at the high/low of the Order Block candle.

Take Profit (TP): Calculated dynamically using a Risk multiplier to ensure a consistent Reward-to-Risk ratio.

CTrade Integration: Uses the standard MQL5 CTrade class for reliable execution and magic number tracking.

Screenshot

Screenshot1
News Spread Risk Dashboard (Spike and Gap Monitor) News Spread Risk Dashboard (Spike and Gap Monitor)

A compact on-chart dashboard that monitors live spread behavior, tracks rolling Min/Max/Avg, and warns on abnormal spread spikes (news, low liquidity, rollover) using adaptive or fixed thresholds with optional alerts.

Hunter v2, Liquidity Library and Fvg Detection Library Hunter v2, Liquidity Library and Fvg Detection Library

An advanced version of the Hunter EA that integrates Fair Value Gap (FVG) analysis with daily bias trading. This expert advisor offers two distinct trading modes, allowing for either immediate FVG-based entries or more precise encroachment-based entries that wait for price to confirm direction.

The Playground Series v1 to V4 - A combination of trading concepts The Playground Series v1 to V4 - A combination of trading concepts

The Playground EA series was created for experimentation with Fair Value Gaps (FVGs) and liquidity concepts

CPlotManager (Auto Buffer and Plot Manager) CPlotManager (Auto Buffer and Plot Manager)

Automates MQL5 buffer and plot index management. Eliminates manual counting, simplifies Z-order layering, and handles complex plot types (Candles, Color Lines) with a single line of code.