Unlock Trading Success with Hedge Average EA for MetaTrader 4

Mike 2016.03.31 22:12 29 0 0
Attachments

Are you looking to enhance your trading strategy? Let’s dive into the Hedge Average EA, a powerful tool for MetaTrader 4.

This EA utilizes the Hedge Average function to execute trades. Unlike traditional methods that rely solely on candle values, this system takes a more dynamic approach by incorporating the Moving Average indicator. When the price action crosses this indicator, it triggers an order.

Hedge orders come into play when there’s a cross in the successive candles detected by the Moving Average. Essentially, this will create a new order that differs from previous ones, allowing for more adaptive trading.

To ensure the order triggers as described, you’ll want to implement specific filters, outlined below:

if( totalorder(0)<Max_order   && Trade_buy   && signal==1   && wt!=Time[0] ){ticketb = OrderSend(Symbol(),OP_BUY,NR(Lots),Ask,3,slb, tpb,Name_EA,Magic,0,Blue);
if(ticketb>0) wt=Time[0];
}
if( totalorder(1)<Max_order && Trade_sell && signal==2   && wk!=Time[0]) {tickets = OrderSend(Symbol(),OP_SELL,NR(Lots),Bid,3,sls, tps,Name_EA,Magic,0,Red);
if(tickets>0) wk=Time[0];
}

Expert Input:

  • Name_EA = "Hedge Average"
  • Trade_buy = true
  • Trade_sell = true
  • Start_Hour = 6
  • End_Hour = 20
  • TP_in_money = true
  • TP_in_money = 2
  • TP = 100
  • SL = 100
  • Max_order = 10
  • Lots = 0.1
  • TrailingStop_ = true
  • TrailingStop = 20
  • Magic = 76
  • Period_1 = 4
  • Period_2 = 4

Example of the EA:

hedge-average2

List
Comments 0