Join our fan page
- Views:
- 252
- Published:
- Updated:
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Bulk Trade and Position Opener is a lightweight MQL5 utility designed to automate the simultaneous opening of multiple market positions. It is particularly useful for developers and traders testing grid-based strategies, scalping techniques, or stress-testing execution speeds across different brokers. 🛠️
Unlike manual execution, this tool ensures that a batch of orders (up to 5) is sent to the server in rapid succession with standardized parameters.
✨ Key Features
-
📦 Batch Execution: Opens up to 5 positions per click using the CTrade class for reliable execution.
-
🔢 Automatic Pip Calculation: Handles 3/5 digit broker differences automatically for SL/TP placement.
-
⚡ Filling Mode Detection: Includes logic to detect the broker's supported filling modes (FOK, IOC, Return).
-
🧹 Global Management: A simple "Close All" function to wipe all positions associated with the tool’s Magic Number.
-
📊 Real-time Stats: On-screen display of floating Profit/Loss and position count.
⚙️ Technical Implementation Notes
The source code demonstrates:
-
Request Handling: How to structure multiple MqlTradeRequest calls in a single loop.
-
Validation: Basic checks for SymbolInfoDouble to ensure Stop Levels and Lot steps are respected.
-
UI Integration: Use of ChartObjects for a clean, non-intrusive interface.
-
Magic Number Isolation: Ensures the tool only manages trades it opened, preventing interference with other EAs.
📥 Input Parameters
-
Positions_Count (int): Number of market orders to open (default 5).
-
Lot_Size (double): Trading volume for each position.
-
Stop_Loss_Pips (int): SL distance from price.
-
Take_Profit_Pips (int): TP distance from price.
-
Magic_Number (long): ID to track trades.
-
Order_Comment (string): Custom comment for order history.
🔥 Upgrade to the Professional Version
For users requiring Stealth Mode (virtual SL/TP), pending order support, or higher position limits (up to 100), please refer to the Pro version here: 👉 Get the Pro Version here
Multi-timeframe RSI scanner with visual dashboard and alerts
Production-ready multi-timeframe RSI scanner with intelligent alert retry system. Monitors up to 7 timeframes simultaneously, highlights convergence zones when 3+ TFs align, and now auto-retries failed notifications to ensure you never miss critical overbought/oversold setups.
Candle Close Timer – MT5 Indicator
Indicator Description – Candle Close Timer Name: Candle Close Timer Version: 1.0 Author: BENTRADE TRADING Link: https://www.mql5.com/en/users/dahmi_benali
Trend based on WPR
This indicator combine WPR and total profit/loss. I don't know how to tell you more about this indicator but you can try it.
MACD Signals
Indicator edition for new platform.
