OB Trader Order Block Strategy tester
This tool for MetaTrader 5 is specifically engineered to streamline your trading operations. This Expert Advisor serves as automated trading software. It is utilized to monitor financial markets and execute trades based on predefined algorithmic rules, enabling precise position management without the need for constant manual oversight.
How to Setup and Use OB Trader Order Block Strategy tester
1. Installation: Open the "File" menu, select "Open Data Folder," navigate to MQL/Experts, paste your file, and restart the terminal.
2. Activation: Drag the EA from the Navigator onto a chart, ensure "Allow live trading" is checked in the Common tab, and verify the AutoTrading button is green.
3. Optimization: Right-click your chart, choose "Expert List," click "Properties" to adjust inputs, and save your preferred setup as a set file for future use.
4. Maintenance: Regularly check the "Experts" tab in the terminal window to monitor trade logs and potential execution errors.
Frequently Asked Questions
Q: Why is my EA not opening trades? A: Check the "AutoTrading" button, ensure "Allow live trading" is enabled, and verify your broker allows automated trading on your account type.
Q: Can I run multiple EAs on one chart? A: No, each chart can only host one active EA; however, you can open multiple charts for different currency pairs to run several EAs.
Q: What does the "smiley face" icon mean? A: A smiley face in the top-right corner of the chart indicates the EA is successfully running; a frowny face means it is disabled.
Description & Settings
*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.