Strategy MAEX – experiment with MFE & MAE

Forums ProRealTime English forum ProOrder support Strategy MAEX – experiment with MFE & MAE

Tagged: ,

Viewing 15 posts - 61 through 75 (of 83 total)
  • #158575

    The Endif at the bottom of wich section? sorry Nonetheless but I try to understand the code…!

    #158576

     

    #158637

    stopped again … zero parameter. I’m losing the will to live.

    #158690

    I get your frustration. Created a stripped down version, one last attempt.

    One thing also I spotted, which doesn’t change results, and most likely will not be the cause, but there were 2 rows which were not written correct. The combination and & or at the condsell/condbuy area. It was missing ().

    Anyway you could test this and then call it a day.

     

     

     

    #158704

    hey, thanks Paul – gotta be worth a try. You think it’s better to test it without the trail?

    #158707

    I just wanted it to be light and that it opens a position. The exit criteria are not important but have no influence I think about this error. So you could add that.

    The code above I’ve put in demo and will let you know if it fails or not.

    1 user thanked author for this post.
    #159334

    Hi nonetheless,

    Thank you for your code. Just a small suggestion to the //EXIT ZOMBIE TRADE. It helps with both the long and short avg profit/loss figures. The overall result remains more or less the same but the risk are less. The 150 represents the max profit and loss the system takes on the backtest so the logic is that if you do not get to those figures in a reasonable amount of time you might as well cover the position. We all know that small timeframes can change quickly.

     

    1 user thanked author for this post.
    #159765

    @ Paul,

    I tested your code, i copy it in @Nonetheless ea.

    The EA take an position, and after 1 minute, he closed the position and give an error (the system received a negative parameter or nul )

    Here are the itf

    I have the same error with DJ1m Maex v4.5 atr

    Have a nice day

     

    #159836

    Thnx for testing cgassfr67. There was never had a proper solution for this problem and likely it’s something which just isn’t fixable.

    #160022

    So we can’t use this strategy…?

    #160197

    too early to tell, but I tried something new and it’s working so far!… I will post more later.

     

    1 user thanked author for this post.
    #160203

    Still no problems in both strategies. If the error occurs ONLY while in position, then don’t calculate the questionable indicators while in position. This means you can’t reverse on opposite signal, but for long/short only it should work which is fine for me.

    Like this below, or include all condbuy/condsell conditions. But with mtf it could be a bitmore tricky. Actually I think it’s perhaps not programmed right below. But it’s also in the test. Anyway this is the idea.

     

    #160223

    I had the stripped down version on test for a while and it worked fine, but as soon as I added the MM and the trail then I kept getting the zero parameter error. That was on 1m.

    Have you been testing the above at 10sec?

    If so then the upper TFs could probably be brought down to maybe 1m and 5m, but would need re-optimizing. I’ll try it later if i get the time.

    #160238

    Hello guys!

     

    Have you thought about changing the Money Management? Maybe the problem comes from this…!

     

    Could you try something like:

     

     

    #160243

    @Paul, could you upload your two .itf?

Viewing 15 posts - 61 through 75 (of 83 total)
Similar topics:

Create your free account now and post your request to benefit from the help of the community
Register or Login