+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3
Results 21 to 29 of 29

Thread: MQL5 Random Entry Systems

  1. #21
    Junior Member
    Join Date
    Nov 2010
    Posts
    3

    Optimisation is it woth doing ?

    Jim,
    Great work!
    I would like to share my findings as well. I wonder if it can be optimized.
    I have attached my optimization report. can we work on it and produce a set stable set of settings?
    from convergence of Generic algorithm I can see that it is not RANDOM! hehe. any sustainable profit gained from random numbers already has some degree of chance, however, randomness in one conner of testing space can eventually became patterned. lol.
    So is any pattern in that random numbers?
    I will attach the runs later.
    Would be nice to see if some one can create 3D of these results. plz.
    Uploaded file on external server as this one not allowing 3MB files.
    http://tinyurl.com/26mpcjy

  2. #22
    Administrator Jim's Avatar
    Join Date
    Apr 2010
    Location
    South West England
    Posts
    383
    Hi Light,

    Quote Originally Posted by Light View Post
    Jim,

    Great work!
    Thanks for your encouragement!

    I would like to share my findings as well. I wonder if it can be optimized. I have attached my optimization report.
    Thanks once more for letting us all take a look at an extensive set of your optimisation results.

    Can we work on it and produce a set stable set of settings? From convergence of Generic algorithm I can see that it is not RANDOM! hehe. any sustainable profit gained from random numbers already has some degree of chance, however, randomness in one conner of testing space can eventually became patterned. lol. So is any pattern in that random numbers?
    To answer your question about patterns, there are many more profitable dots than losing ones. However at times like these I always prefer to look at the worst that can happen, rather than the best. Whilst there does appear to be some pattern in the winners, there doesn't seem to be much consistency to those losers. They are scattered all over the place. Can you suggest any way of optimising away a nice blank space in the bottom right corner of your PIC02?

    Would be nice to see if some one can create 3D of these results. plz.
    It would indeed be nice. Maybe we should all petition MetaQuotes to get work on the important stuff finished long before MT5 is eventually released from beta?

    Cheers,

    Jim
    Reality is merely an illusion, albeit a very persistent one - Albert Einstein

  3. #23
    Junior Member
    Join Date
    Oct 2011
    Posts
    6
    Hi ya. Thanks for the MT5 versions of Ray. Random entry looks like it is going to be my focus, but I am currently looking for a jumping pad and Ray looks like a great opportunity for some extensive testing and a great place for me to start. Do you have a later version of the EA for MT5? I fear I may be doing something wrong or the code base from MT5 has changed as I am getting mad bad results backtesting and I am getting an "'GetPair' - cannot call protected member function" error when compiling the multicurrency version.

    Awesome, thanks,

    Jed

  4. #24
    Administrator Jim's Avatar
    Join Date
    Apr 2010
    Location
    South West England
    Posts
    383
    Hi Jed,

    Thanks for the heads up. It looks like the most recent version of Ray's source code never got added to the original post, so I've now fixed that problem!

    Please remember that I recommend investigating random entries in general, and Ray in particular, solely for educational purposes. I don't recommend using such methods on a live account, with real money. Depending on what input settings you have chosen, those "mad bad results" might be perfectly valid! Ray's martingale money management system will blow any account eventually. It's just a matter of time.

    Cheers,

    Jim
    Reality is merely an illusion, albeit a very persistent one - Albert Einstein

  5. #25
    Junior Member
    Join Date
    Oct 2011
    Posts
    6
    Hmmm, thanks for that Jim.

    Being all a bit new to Metatrader, would you run us through a backtest... settings, inputs etc...

    eg I have run a couple of tests on GurooEx02Multi but not sure i'm firing it off with the right inputs etc... I have read your suggestion:
    Use ticks - false
    Use timer - true
    also to use 1 minute charts
    use open prices only...

    Is that all correct?

    Also in the Inputs tab there are columns for Value, start, step, stop and steps... do I put true and false in all of them?

    Your thoughts appreciated,

    Jed

  6. #26
    Administrator Jim's Avatar
    Join Date
    Apr 2010
    Location
    South West England
    Posts
    383
    Hi Jed,

    Have you used MetaTrader 4 before, or are you jumping straight in the deep end with MT5?

    Start, step and stop only come into play when optimising. You can ignore them when just doing a basic backtest, and you just need to concern yourself with the value column for now.

    Why not take a look at some of the test results I discussed with Stan earlier in this thread, and see if you can "reproduce" them? To start with just accept the default settings for all the other inputs, get the dates set correctly, then click the Start button and let us know what happens.

    Cheers,

    Jim
    Reality is merely an illusion, albeit a very persistent one - Albert Einstein

  7. #27
    Junior Member
    Join Date
    Oct 2011
    Posts
    6
    Hey Jim, I have been experimenting and am wondered what the timer function is for in the 'Guroo' and 'Guroo Multi'. I would like to try closing the position after x number of bars or after 60 minutes etc... Would the timer function do that?

    Just realised I had not replied to your question above Jim. I am jumping in headlong into MQL5. I note there are more resources for MQL4, but this is the exiting language, so thought MQL5 would be the better option.

    I am going to be out of town for a week so wanted to set this going before I left.

    Jed
    Last edited by lwclasses; 11-18-2011 at 01:59 AM. Reason: update

  8. #28
    Administrator Jim's Avatar
    Join Date
    Apr 2010
    Location
    South West England
    Posts
    383
    Hi Jed,

    In those EAs OnTimer() is set to fire every second. You could count seconds in there, and close your position after enough seconds have elapsed.

    It's probably going to be easier to check how much time has passed using TimeCurrent().

    Easier still is to count bars using isNewBar()!

    Cheers,

    Jim
    Reality is merely an illusion, albeit a very persistent one - Albert Einstein

  9. #29
    Junior Member
    Join Date
    Oct 2011
    Posts
    6

    thanks

    just popping in to say thanks for all the help! I decided to write a random entry ea and learnt alot from you ea's, this site and from your answers to me. I used your ea's to refer back to although mine is a great big mess now so will have to re-write after some more testing.

    Still have heaps to learn so thanks again for your patience in advance hehe.

    Jed

+ Reply to Thread
Page 3 of 3 FirstFirst 1 2 3

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts