VLT_TRADER - MetaTrader 5 Expert - MQL5 #1163 - MT4/MT5 Resources


This Expert Advisor is rewritten from MQL4, the author is a trader , link to the source https://www.mql5.com/en/code/8006 .
If the size of the formed bar is smaller than the lowest bar of the specified number of bars, the setting of two pending stop-loss orders is performed. When one of the orders is triggered, the second order will be deleted.
Trading signal definitions are passed to the indicator. When the indicator has a period parameter, it is the number of bars that determines the minimum bar size. The green line shows the current bar size, the blue line is the minimum bar size, and the dots are signals for setting orders.
Figure 1 shows the performance of the Expert Advisor in the visualization mode of the strategy tester, and Figure 2 shows the results of the tester.

Figure 1. How EA trading works.

Figure 2. Results of the work of EURUSD M15 EA trading last month (09.2012).
Attachment download
📎 vlt_trader.mq5 (14.69 KB)
📎ivlt.mq5 (3.46 KB)
Source: MQL5 #1163
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •