Smart Hedge EA is really cool (revised rev.A)

Hi, I coded an interesting EA this morning.

Can anyone help to optimize parameters?

You can download for free.

This EA entry logic is based on HMA trend indicator.

If the buy order is losing, then you need to close with stoploss.

Buy I don’t like it.

So Instead of closing with stoploss, EA will place order with opposite size (reverse) with multiple lot size.

Special lot size is the lot size for your reverse order.

Special multi is the multiple of your reverse order.

Recover Loss Dollar is the loss when the reverse order is placed.

For example, if you BUY order is now loss $20,

so EA will open SELL order with lot size with multiple. 0.1lot—0.15—-0.22—-0.33 etc….

All order is closed with TP or Basket close option.

I think that time frame is H1 is better.

Start lot size 0,01/ Initial equity $500

USDJPY H1

 

GBPUSD H1

 

EURUSD H1

If you have time, please optimize parameter and I am very happy if you  leave the comments.

You can also run in demo account even real. This is free for ever.

221 Downloads

251 Downloads

rev.A (modified for DD improvement and more stable)

For parameter details, please check Youtube.

 

13 件のコメント

  • how if after opposite trade open and not hit TP, but graphic turn against the opposite trade, follow your example, the bar up again, so the opposite become minus and buy order become profit, how if this happen?

    • Hi, attack martin is reading the distance from the normal order.
      So if the normal order is remaining , attack martin is placed continuously.
      If the trend is sell, then only sell order is placed to get more profit until all order is closed.
      If the trend change and you have normal sell order, then you will have only buy attack martin orders continuously because now the trend is buy.

  • Hello dear Tanaka. This adviser is good, but it works incorrectly, or rather poorly = = = Basket Profit to close all orders in the account=== when a lot 0.10 is opened, it is closed when only its goal is reached, and other orders remain open, respectively, the DD increases. Could you adjust this function so that all orders are closed when the goal is reached? I’m testing it for 2017 (99.9 %).

  • Yes, that’s it. Close all orders as soon as the target is reached. This function exists, but it does not work correctly. It closes simple orders as necessary for the specified profit. But when Special_lotSize 0.10 lots is opened, the specified target only counts it, and does not take other orders into account. For example, 5 orders were opened at 0.01 with the goal of $ 10, the price went against the balance of $ -20, an order of 0.1 is opened and as soon as the profit of this order reaches $ 10, it is only closed, and the rest remain open.

  • Leave a Reply

    Your email address will not be published. Required fields are marked *