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

EA Hedge Average - MetaTrader 4 Expert | Forex Indicator Download - MT4/MT5 Resources

author EAcpu | 5 reads | 0 comments |

EA Hedge Average - expert for MetaTrader 4

The EA is made using the Hedging Average function.

Instead of placing an order based on the candle value, a trigger order is placed using the Moving Average indicator, so when a candle moves and crosses the Moving Average indicator, an order is generated.

A hedging order occurs when the Moving Average indicator detects a crossover in consecutive candles of the previous order, so it creates a new order that is different from the previous order.

 if (TotalOrder( 0 )  1 && weight! = time [ 0 ] ) { ticket b = order sent ( symbol (), OP_BUY , NR(lot), ask , 3 , slb, tpb, Name_EA, magic, 0 , blue); if (ticket b > 0 ) weight = time [ 0 ];
} if (total orders ( 1 ) < max orders && trade_sell && signals == 2 && week != time [ 0 ]) { tickets = orders sent ( symbol (), op_sell ,nr(lots), bids , 3 , sls, tps, Name_EA, magic, 0 , red); if (tickets > 0 ) week = time [ 0 ];
}

Expert opinion:

EA example:

EA Hedge Average - expert for MetaTrader 4


Attachment download

📎ea_hedgeaverage.mq4 (7.02 KB)

Source: MQL5 #15004

EA Hedge Average - MetaTrader 4 Expert | Foreign Exchange Indicator Download - MT4/MT5 Resource Usage and Screening Suggestions

EA Hedge Average - MetaTrader 4 Expert | Foreign Exchange Indicator Download - MT4/MT5 resources are foreign exchange indicator 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 on titles or short-term profit descriptions.

Verification code Refresh