1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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 TRIANGULAR PRICE CORRECTION

Discussion in 'Expert Advisor atau Robot Forex' started by baiter, 14 Dec 2017.

  1. 25blackogres

    25blackogres Member Credit Hunter

    Equity
    Credit
    Ref Point
    Mine just failed.
     
  2. baiter

    baiter Member Credit Hunter

    Equity
    Credit
    Ref Point
    what failed ?
     
  3. 25blackogres

    25blackogres Member Credit Hunter

    Equity
    Credit
    Ref Point
    My strategy. testing EA on H1-s.
     
  4. 25blackogres

    25blackogres Member Credit Hunter

    Equity
    Credit
    Ref Point
    Unfortunately it did.

    Settings as follow:
    balance: 1000 usd
    lot: 0.05
    Broker: pepperstone


    At start it was all fine, even survived very large drawdowns and gained 100% profit in just two weeks or something like that, but long bear trend killed it in fourth week. It had potential, but to many orders were opened , overheld and this killed the balance.

    How long has your version been running ?

    Still, despite all that , I think that this EA can have a chance, but needs to be based on different pairs, involving not AUD but maybe JPY or some else.

    Had Also an idea what if we could switch the orders, for example instead of sell make EA buy and vice versa. Everythig rest should remain the same, but unfortunately I have not enough knowledge in mq4 to change these parameters.
     
  5. 25blackogres

    25blackogres Member Credit Hunter

    Equity
    Credit
    Ref Point
    Hey,

    Your strategy looks very nice. I can only say that it would be very hard to define where and when will the super trend begin. If you know this you can easily hedge the system.
    How are you doing ?
     
    • Like Like x 1
  6. Leppozdrav

    Leppozdrav Member Credit Hunter

    Equity
    Credit
    Ref Point
    Hey guys,

    I am really sorry for my late reply.
    I am glad some of you are still testing the ea. I haven't forgot about the ea. I will share the ea today, when i get back home.
    Right now i am writing from mobile, so i don't have it by my side.

    I will share the new mql source code, totally rewriten code,
    free of bugs, with trend folowing option and hedging option as well. Ea can last a bit longer but it will eventualy still escape to losses. It needs to be constantly monitored. I am still not satisfied with it...but like i said, I will share it today and maybe we can find new solution for it.

    Bare with me.
     
    Last edited: 23 Mar 2018
  7. Leppozdrav

    Leppozdrav Member Credit Hunter

    Equity
    Credit
    Ref Point
    Here it is,

    Completely rewritten code and also bug free now.

    Additional parameters were added:

    1. Trend following option:
    You have now option for trades to follow higher trend. You can chose up to 3 higher time frames in parameters.
    For example: 60min, 240min and 1440min, This means, trades will be only opened, when price will be above all 3 higher candles open lines.
    When price will be in between, it is considered as ranging market and Ea will not take additional trades. You can also set all 3 open lines to the same time frame.
    For example: 60min, 60min, 60min....this means Ea will open buys only above 60min and sell trades only below 60min. You can set open lines up to weekly time frame.

    Here are 2 pictures of explanation of trend following parameter, for better understanding:

    [​IMG]

    [​IMG]

    2. Hedging option:
    There is also an option to hedge trades now. How this works is, is that you can chose after how many losing trades, a hedge option should be activated.
    For example: Let's say you trade with 0,1 lots and you set in hedge parameter 4, that means that after 4 losing trades with 0,1 lots EA will open an opposite hedge order
    with lot 0.5 (0.1 * 4 + 0.1). It will not open any additional trades, until hedge order and all the losing trades are closed. You have an option to set this parameter on or off.

    There is also trailing stop option and trading hours option.
    These are currently new bells and whistles regarding this Hedging EA.

    While writing this, I just had another brain fart, to have the opposite option. Instead of EA following the trend logic, it could be used to trade only in ranging market and not trade, when trending. But for now, I'll leave it here for you guys and testing purposes, and maybe add that later. I am open for new ideas and suggestions, and further testing.
    I have also added one experimental SET file, for you to start playing and testing with. Ea can be also backtested, so feel free to abuse that mt4 backtester :)


    Keep us posted and best regards.
     

    Attached Files:

    Last edited: 24 Mar 2018
    • Like Like x 1
    • Winner Winner x 1
  8. kam2016

    kam2016 Member Credit Hunter

    Equity
    Credit
    Ref Point
    wow, have very great strategist Brain , congrats !
     
  9. OceanicEstate

    OceanicEstate Member Credit Hunter

    Equity
    Credit
    Ref Point
    Sadly there is a zero divide error.
    2018.03.23 17:59:26.248 2017.01.02 00:00:00 Triangular_Price_Correction_Hedge EURUSD,H1: zero divide in 'Triangular_Price_Correction_Hedge .mq4' (395,63)

    For back-testing. I am unsure on how to back-test this EA.
     
    Last edited: 24 Mar 2018
  10. Leppozdrav

    Leppozdrav Member Credit Hunter

    Equity
    Credit
    Ref Point
    Hi,
    No errors on my side.
    For backtesting, you need to download history for all 3 pairs. Eurusd,Euraud,Audusd in your Metatrader. You need to have them in your Market Watch window.
    Then you can backtest it.
     
    • Like Like x 1
  11. OceanicEstate

    OceanicEstate Member Credit Hunter

    Equity
    Credit
    Ref Point
    Thank you sir. Ronz Auto TP/SL may work well with this.
     
    • Useful Useful x 1
  12. Leppozdrav

    Leppozdrav Member Credit Hunter

    Equity
    Credit
    Ref Point
    you are welcome.
     
  13. uchimi

    uchimi Member Credit Hunter

    Equity
    Credit
    Ref Point
    Setting is EURUSD M1 one chart ?
     
  14. Leppozdrav

    Leppozdrav Member Credit Hunter

    Equity
    Credit
    Ref Point
    Ea works only on Eurusd pair, because of triangular arbitrage logic behind it.
    Yes, i was experimenting with 1M timefrime.

    But you can test other time frames and settings as well....I am sure there are many ways to do it.
     
    Last edited: 24 Mar 2018
  15. kam2016

    kam2016 Member Credit Hunter

    Equity
    Credit
    Ref Point
    hi, What were results for last two previous weeks ?
    Can you share statement like before ?
    We had very newsy (!) for these two weeks

    and Final question is , What is your plan for using VPS's , proper Broker and other useful suggestions ?
     
  16. Leppozdrav

    Leppozdrav Member Credit Hunter

    Equity
    Credit
    Ref Point
    I would advise any Ecn broker, with floating spread below 2 pips.

    The set file, that I have uploaded is just something to start working on and it might help you find some of your own settings.
    That one might not survive the last 2 weeks of big news....but there are ways to make it safer and tweak it in a way, so it can survive (last 2 weeks).
    It's still a risky Ea, but most of quick profits Ea's are by default riskier then others.
    There are many options now in Ea, you just need to find the best ones for you......

    Here are the last 2 weeks with some extra tweaking being done :)
    500$ / 0,01 lots, from 10.3. - 24.3.2018
    Every tick / 25% is the most you can get on 1M chart.
    [​IMG]
     
  17. uchimi

    uchimi Member Credit Hunter

    Equity
    Credit
    Ref Point

    Your Triangular_Price_Correction_Hedge
    &
    Your Set file

    I attached a trade.
    Please look.

    Trede is almost lose the fee.

    Please improve.
     

    Attached Files:

  18. Leppozdrav

    Leppozdrav Member Credit Hunter

    Equity
    Credit
    Ref Point
    That doesn't seem right....what is your spread setting in mt4 backtest? Maybe it's set too high.

    Set it to 2. And try again.

    And please don't take that set file for granted....it's just an experimental stuff.

    Although this ea has flaws and it's not a holly grail, your equity curve shouldn't look like this. Ea should make positive equity curve....so I think there must be a mistake in your backtester settings.

    Please let me know, if you will find the problem.
     
  19. uchimi

    uchimi Member Credit Hunter

    Equity
    Credit
    Ref Point
    NO, This is not Backtest.
    Today trade !
     
  20. uchimi

    uchimi Member Credit Hunter

    Equity
    Credit
    Ref Point
    IC Mark
    IC markets true ECN account ! Today trade !
     

Share This Page