MeMe Trades plus Hedging System -
1 2 3 4

thread: MeMe Trades plus Hedging System

  1. #11
    Hi guys, I'd created this code for sometime rather than enhance it anymore. This really is an EA. I hope somebody can examine an enhance it If you state ATR 99 pips it does make sense to me. To utilize this EA, please calculate your MM carefully. The EA behaviour: 1. It's a side that is martingale both. Execute buy and sell at the same time. 2. Lot usage is base on fibo sequence. 3. Current default exchange gap is 10 pips. Dual LevelBuy[13] = 0.01,0.02,0.03,0.05,0.08,0.13,0.21,0.34,0.51,0.85, 1.36,2.21,3.57; //12 Level Buy double LevelSell[13] = 0.01,0.02,0.03,0.05,0.08,0.13,0.21,0.34,0.51,0.85, 1.36,2.21,3.57;...
    Receive the error below when back testing. Any idea what might be causing it?

  2. #12
    Junior Member andresipk97's Avatar
    4
    quote Get the error below when back testing. Any idea what might be causing it? picture
    Maxs use for Maxs trade open have to be limited to the range count.

    You may fail utilizing this EA by default setting (in case you use default Maxs Trade open, you won't find the mistake ).The hedging part was not implemented yet with ADR/ATR, since it open both management. I attached the origin if anyone wanted to improve it.

  3. #13
    quote Maxs usage for Maxs trade open must be restricted to the array count. You will fail using this EA by default setting (in case you use default Maxs Trade open, you won't find the error).The hedging part wasn't implemented yet with ADR/ATR, since it open both management. I attached the source if anyone wanted to enhance it.
    Ok. Thanks.

  4. #14
    Member Ahora's Avatar
    54
    Is it in profit

  5. #15
    Junior Member Jttemi-Tiguan's Avatar
    4
    Hi guys, I had made this code for sometime and not enhance it . This is an EA. I hope someone can examine an enhance it should you say ATR 99 pips it does make sense to me. To utilize this EA, please calculate your MM carefully. The EA behavior: 1. It's a martingale both side. Execute buy and sell at precisely the exact same time. 2. Lot use is foundation on fibo sequence. 3. Current default trade gap is 10 pips. Dual LevelBuy[13] = 0.01,0.02,0.03,0.05,0.08,0.13,0.21,0.34,0.51,0.85, 1.36,2.21,3.57; //12 Level Buy double LevelSell[13] = 0.01,0.02,0.03,0.05,0.08,0.13,0.21,0.34,0.51,0.85, 1.36,2.21,3.57;...
    I'm running this kind of live cent account ($18 ~1800) for test, since two days it is up 10 percent of account

    It running on EURUSD and USDCHF with default settings. Do you suggest conduct this on pairs of array or on chosen pairs

  6. #16
    Hmmm... Please correct me if I'm wrong, perhaps I'm overlooking something...

    now, BUY gets canceled let's say we close it at BE because it makes absolutely no sense to add BE something since you will be taking pips from the underside sell



    100 from preceding sell closed
    0 from performing a BE Close for your Buy orders (Starting BUY LIMIT Buy triggered)
    - 70 For SELL opened after tripping first LIMIT Buy
    - Spreads?

    Speaking about pips, I see here profit

    Then this oder situation (Assuming BE wasn't attained by some pips...)

    100 from first sell closed on first BUY LIMIT
    100 from second sell closed on second BUY LIMIT
    100 from second BUY LIMIT going back to BE
    30 from first BUY LIMIT going straight back to BE
    - 70 from first BUY order
    - 100 from SELL Triggered after second BUY LIMIT
    - 30 from SELL LIMIT Triggered
    - Spreads?



    I hope I'm not overlooking something or incorporating things than makes no sense, if someone can please proof I'm wrong I will manage the public shame hahaha.

  7. #17
    I hope some coder is interested into code this approach
    I have not much of information to check , but I think in general it functions (proof of concept):
    https://www.cliqforex.com/attachment...1522240150.mq4

  8. #18
    quote I have not much of data to test with, but I think in general it works (proof of concept): file image
    Haha thank you Rockit! We should try and test with more data gt;: ) I will do it tonight when anyone does not!

    So that the Strategy is as I explained?

    Can you please clarify a bit more about the EA?

  9. #19
    Can you please clarify a bit more about the EA?
    The measures the EA takes (in order):

    1. If both of tp is triggered (from limit orders), close all, reset
    2. If no buy nevertheless, open buy with tp, open buylimit
    3. If no sell however, open sell with tp, open selllimit
    4. When buylimit triggered, difficulty new sell with tp, fix tp for many buy, difficulty new buylimit
    5. When selllimit triggered, difficulty new buy with tp, fix tp for all sell, issue new selllimit

    input:
    TP == tp on first orders; STEP == pip distance to limit orders (and subsequent limit orders); CTP == combined tp on shedding orders (= BE CTP)

    regarding ahead evaluation:
    EA does not retrieve orphaned position yet (on parameter change etc), sorry.

  10. #20
    In my very first example is right and I didn't miss anything Im still considering a market condition that could make us lose money...

    The only think I can imagine is a large super tendency without pullbacks triggering a lot of LIMIT orders, but in such a situation we would be hedget by the contrary initial order and consecuent activates over the LIMIT orders...

    Tonight I will take some more random charts and explain them...

    Feedback from the people that's reading will be truly appreciated.

    Thank you Rockit for starting Developing this very first version...

  •