EA_SMARTHEDGE(revB)

I have revised EA_SMARTHEDGE.

At first, I coded Basket profit close “buy” “sell” separately.

Now I changed code so that you can select close method either way.

1.Close All order (buy&sell) at the same time

2. Close Buy /Sell separately.

Below is the back test result when you select “Close ALL”

DD is very low!

Please try backtest by yourself.

USDJPY (TF H1)

GBPUSD (TF H1)

Recipe

192 Downloads

Updated rev.C

Bug fix–special lot size is reset when all orders were closed.

423 Downloads

 

 

 

5 件のコメント

  • Hello TANAKA. I’m testing an adviser. Hedging doesn’t work correctly. When the 0.05 hedge is opened, all orders are closed after the goal is reached. But when the hedge opens the next time it opens with multiplication already 0.07 although first it should open 0.05. The next time it is also opened with multiplication, then it turns out that the lot is too large and the Deposit does not hold.

    • Hi,what is your setting?
      If reverse hedge order is places, hedge lot size is multiple.
      You mean all order was closed with basket profit?
      Then lot size will be return back to the fix lot size.

  • Hello. Yes, all orders were closed with the basket profit. When the next first hedging lot is opened, it is already multiplied by 1.5 (0.07 lot). When all orders are closed with a profit basket the next time a hedging lot is opened, it is already the first 0.10 multiplied by 1.5. I test for 2017 and by the end of the year I lose, because the first hedging lot is already big 3.66, if the price goes back then the loss is fast. I also noticed that Recover Lost Dollar does not work when it comes to the specified loss ($20), but it is not clear when it opens.

  • Leave a Reply

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