Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

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

author EAcpu | 8 reads | 0 comments |

Ingrit - expert for MetaTrader 5

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:

Ingrit - expert for MetaTrader 5


Attachment download

📎 ingrit.mq5 (72.94 KB)

Source: MQL5 #23499

Verification code Refresh