1. Welcome back! Thank you for being a part of this Traders Community. Let's discuss and share :)
    Selamat datang kembali! Trimakasih telah menjadi bagian dari Komunitas Trader ini. Mari berdiskusi dan berbagi :)
    Dismiss Notice

New EA EA_DCA

Discussion in 'Expert Advisor atau Robot Forex' started by tanaka akiko, 06 Jan 2023.

  1. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    My Ea has a function like,
    if your trade was loss, then next lot size is multiple.
    Is it same ?
     
  2. hoang minh nhan quang

    hoang minh nhan quang Member Credit Hunter

    Equity
    Credit
    Ref Point
    It's not multiple lotsize.

    For each loss, an amount equal to the stop loss will be added to subsequent orders. That is, the first order stops losing $1, the next orders if you lose, will add 1 $ and if you win, you will subtract $ 1. Of course the lot size will have to be adjusted so that the stop loss has such value.
    The minimum value is $ 1 if this value will not continue to deduct money if you win.

    Here is an example transactions:
    1st order : ( SL = 10 pips lotsize = 0.01 ) = 1$ - LOSS
    2nd order : ( SL = 10 pips lotsize = 0.02 ) = 2$ - LOSS
    3nd order : ( SL = 10 pips lotsize = 0.03 ) = 3$ - LOSS
    4th order: : ( SL = 10 pips lotsize = 0.04 ) = 4$ - LOSS
    5th order: : ( SL = 10 pips lotsize = 0.05 ) = 5$ - WIN
    4th order: : ( SL = 10 pips lotsize = 0.04 ) = 4$ - WIN
    3nd order : ( SL = 10 pips lotsize = 0.03 ) = 3$ - LOSS
    4th order: : ( SL = 10 pips lotsize = 0.04 ) = 4$ - WIN
    3nd order : ( SL = 10 pips lotsize = 0.03 ) = 3$ - WIN
    2nd order : ( SL = 10 pips lotsize = 0.02 ) = 2$ - WIN
    1st order : ( SL = 10 pips lotsize = 0.01 ) = 1$ - WIN
    1st order : ( SL = 10 pips lotsize = 0.01 ) = 1$ - WIN
     
  3. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    OK,so like this.

    Initial SL=10pips
    If closed with loss, next SL=20pips
    If next is win, SL=10pips.

    etc.,,
     
  4. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    Now I replace some indicator.

    Also I added d'alembert logic for stoploss.

    Very good! :party:

    upload_2023-1-8_0-27-26.png
     

    Attached Files:

  5. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    Hi, I added Tanaka boost.
    You will be rich with this switch.


    upload_2023-1-8_0-42-35.png
    GU M1 or M5 is good.

    upload_2023-1-8_0-44-12.png
     

    Attached Files:

    • Winner Winner x 1
  6. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
  7. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    Oh, my god.
    I have never seen such a good EA ..:party:

    PF =3.61

    upload_2023-1-8_1-3-34.png
     

    Attached Files:

    • Winner Winner x 1
  8. Victoriano Onde Amores

    Victoriano Onde Amores Member Credit Hunter

    Equity
    Credit
    Ref Point
  9. loverhh

    loverhh Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    cant do BT with tick data.. no operation will be opened
     
  10. hoang minh nhan quang

    hoang minh nhan quang Member Credit Hunter

    Equity
    Credit
    Ref Point
    What a good robot haha
     
    • Winner Winner x 1
  11. hoang minh nhan quang

    hoang minh nhan quang Member Credit Hunter

    Equity
    Credit
    Ref Point
    It works well on pairs with low number of points and stable like Euro usd. As for the pairs with a high number of points, it is not recommended to use them.
     
  12. loverhh

    loverhh Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    I'm trying autolot at REV A2 with use risk true... but it isnt opening autolot .. but the baselot... any issue in the code tanaka?
     
  13. loverhh

    loverhh Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    Rev A , autolot is working but if the grid start.. the second trade will be reopened with the baselot
    2023-01-08_04h38_37.png
     
    • Friendly Friendly x 1
  14. hoang minh nhan quang

    hoang minh nhan quang Member Credit Hunter

    Equity
    Credit
    Ref Point
    oops! Looks like you misunderstood me Mr.tanaka. D'alembert does not have to increase stop loss pips but increase and decrease the money value of each order.
    You used the correct d'alembert but increased the stop loss pips, not the money value of each order.
    Keeping the stop loss pips and take profit the same and only increasing the money value of each order is the right thing to do.
     
    • Agree Agree x 1
  15. Joerg Kappler

    Joerg Kappler Member Credit Hunter

    Equity
    Credit
    Ref Point
    I am testing with tickstory. No problem, but very slow
     
    • Winner Winner x 1
  16. zeefx

    zeefx Member Credit Hunter

    Equity
    Credit
    Ref Point
    please we need forward testing on a demo or live account as we start this new week
     
    • Winner Winner x 1
  17. Joerg Kappler

    Joerg Kappler Member Credit Hunter

    Equity
    Credit
    Ref Point
    ... I stop the test ...
     

    Attached Files:

    • dca.jpg
      dca.jpg
      File size:
      179.1 KB
      Views:
      128
  18. loverhh

    loverhh Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    how i said... the EA has bugs... Tanaka must first fix this problems.. testing now the EA has no sense :)
     
  19. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    This EA use stoploss entry, so it is very safe.
    What is money value?
    Is it take profit ?
    How can I code it ?
     
  20. tanaka akiko

    tanaka akiko Well-Known Member Credit Hunter

    Equity
    Credit
    Ref Point
    Hi, loverhh
    I fixed a bug with autolot for Risk percentage.
     

    Attached Files:

    • Friendly Friendly x 1

Share This Page