Currencyprofits_01.1 - MetaTrader 5 Expert - MT4/MT5 Resources

The author of the idea — John Smith , the author of the MQL5 code — Barabashkakon .
Conditions for opening a buy position: If the value of the first MA is greater than the second MA on the first bar, and the current price has broken out of the low in the last six bars:
// - - Buy if (iMAGet(handle_iMA_first, 1 )>iMAGet(handle_iMA_second, 1 )&& m_symbol. bid ()<= minimum (m_symbol.Name(), period (), mode_low , 6 , 1 ))
Conditions for opening a buy position: If the value of the first MA is lower than the second MA on the first bar, and the current price has broken through the high in the last six bars:
// - - sell if (iMAGet(handle_iMA_first, 1 )1)&& m_symbol. bid ()>= highest (m_symbol.Name(), period (), mode_high , 6 , 1 ))

Attachment download
📎 currencyprofits_01.1.mq5 (27.82 KB)
Source: MQL5 #17641
Currencyprofits_01.1 - MetaTrader 5 expert usage and filtering advice
Currencyprofits_01.1 - 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
- •
- •
- •
- •
- •
- •