Ingrit - MetaTrader 5 Expert | MT5 EA Download - MetaTrader 5 Resources

Idea from: Ingrit
mq5 code: Barabashkakon
Buy opening conditions.
Bar 1 is bearish
The difference between the high price of bar #14 and the low price of bar #1 exceeds the value of parameter "Step"
if (rates_m5[ 1 ].open>rates_m5[ 1 ].close) if ((rates_m5[ 14 ].high-rates_m5[ 1 ].low)>ExtStep) { if (!InpReverse) m_need_open_buy= true ; Else m_need_open_sell= true ; }
Sell opening conditions.
Bar #1 is bullish
The difference between the high price of bar #14 and the low price of bar #1 exceeds the value of parameter "Step"
if (rates_m5[ 1 ].close>rates_m5[ 1 ].open) if ((rates_m5[ 1 ].high-rates_m5[ 14 ].low)>ExtStep) { if (!InpReverse) m_need_open_sell= true ; Others m_need_open_buy= true ; }
EURUSD test in the first half:

Attachment download
📎 ingrit.mq5 (72.94 KB)
Source: MQL5 #23499
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •