Hans123_Trader v2 - MetaTrader 5 Expert - MT4/MT5 Resources
Further development of the first version Hans123_Trader .
The Expert Advisor places pending Buy Stop and Sell Stop orders. To place an order, the EA searches for the highest and lowest price within a given bar range (set to 80 in this code). Stop-loss buy orders are placed at the highest price, and stop-loss sell orders are placed at the lowest price.
The life cycle of a pending order lasts until the end of the day. Once any pending order is triggered, all other orders will be deleted.
Maximum number of pending orders The parameter was added in the second version - it allows setting the maximum number of pending orders.
Attachment download
📎 hans123_trader_v2.mq5 (39.63 KB)
Source: MQL5 #20397
Hans123_Trader v2 - MetaTrader 5 expert usage and filtering advice
Hans123_Trader v2 - MetaTrader 5 expert belongs to MT5 EA related resources. Before downloading or referencing, it is recommended to confirm the platform version, transaction type, time period, whether DLL is required, whether source code is included, parameter description and historical update records.
Both automated trading tools and foreign exchange indicators should first undergo backtesting, simulated account observation, and small capital verification. Pay special attention to spreads, slippages, maximum drawdowns, position opening frequency, stop loss methods, trading periods and broker rules, and avoid direct real-time execution based only on titles or short-term profit descriptions.
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •