engtraderfx Posted July 20, 2009 Report Share Posted July 20, 2009 The other threads are a little long so I am starting a new thread specifically to work on an "unplugged version" of md. I am half way thru & a little stuck so any help appreciated. Version: I am still working on the original v111.= (not pro), I am used to this version. Once its finished, its easy to create different logics for different pairs like mdp. I have finally figured out how to convert the buy / sell rules. The s1/s2_buy/sell functions do call to the dll to get a buy / sell signal. Have to find out the rules & write a local function to get around them. So far have made a rough conversion of system 1 buy & sell rules, see the attached file & you get the idea. The performance is close but not quite there yet. Once the rules are understood I intend to strip out the GMT & have a nodll simple version. If anyone can read the dll it might speed up the process. The remaining issues I haven't solved yet are: 1. System 1 rules 100 % correct 2. System 2 rules 3. What is the Getcurrentprocessid() call? & can it be disconnected from the dll? Anyone want to help? For file see --> "f0rexsh*ring.com/769600" (pw 'unplugged') Quote Link to comment Share on other sites More sharing options...
cacus Posted July 20, 2009 Report Share Posted July 20, 2009 Re: MD Unplugged Hi there man, great to see someone else working on this pretty code. Look, i've been looking at this a bit, and found some other possible gmtoffset where MD works awesome too, on FXDD from may so far with gmtoffset=9 it's almost perfect on EU 15m. Due to saving hour changes, back from may it works better with gmtoffset=8. You'll notice that something similar happens with year 2008, take a look and use your tester to get the correct timings for your broker. I'm working on some other pairs too, changing indicators TFs to see if this make some changes. I'll let you know if i get somewhere else. Regards. Quote Link to comment Share on other sites More sharing options...
engtraderfx Posted July 20, 2009 Author Report Share Posted July 20, 2009 Re: MD Unplugged No problem, I am focussed on unchaining the code from the dll then when that's done, we can throw all sorts of other options at the system. Quote Link to comment Share on other sites More sharing options...
⭐ bbrain Posted July 20, 2009 Report Share Posted July 20, 2009 Re: MD Unplugged Hi, I already posted the 100% correct MD v 1.11 on the Pro thread, please comare it to the original :) Br. Quote Link to comment Share on other sites More sharing options...
mike99 Posted July 20, 2009 Report Share Posted July 20, 2009 Re: MD Unplugged Hi, I already posted the 100% correct MD v 1.11 on the Pro thread, please comare it to the original :) Br. Hi, bbrain, I saw some parameters were changed in your code. For example: int gi_244 = 150; //200; int gi_248 = 30; //20; double gd_292 = 70.0; //64.0; double gd_300 = 30.0; //36.0; double S2_maxopenhour = 10.0; //12.0; double S2_maxopenhour2 = 12.0; //24.0; Will the changes make some difference from the original MD? And another question, are you working on the no dll version of mdpro? Hope you can release that soon. Thanks. Quote Link to comment Share on other sites More sharing options...
⭐ bbrain Posted July 20, 2009 Report Share Posted July 20, 2009 Re: MD Unplugged Hi, The default settings will be overwritten by the s1_init and S2_init functions from the DLL. I hard coded the correct EURUSD settings. About the MDP I am too lazy to extract the istradetime function. Except that I posted every other functions in the pro forum: http://www.indo-investasi.com/viewtopic.php?f=6&t=4115&start=300 (31-33 pages) Br. Quote Link to comment Share on other sites More sharing options...
mike99 Posted July 20, 2009 Report Share Posted July 20, 2009 Re: MD Unplugged Thanks, bbrain. I admire your programming skills. Quote Link to comment Share on other sites More sharing options...
engtraderfx Posted July 20, 2009 Author Report Share Posted July 20, 2009 Re: MD Unplugged Hi, I already posted the 100% correct MD v 1.11 on the Pro thread, please comare it to the original :) Br. Wow, just got up this morning to find this, Marvelous....sorry I missed it & thanks for the work! Quote Link to comment Share on other sites More sharing options...
engtraderfx Posted July 21, 2009 Author Report Share Posted July 21, 2009 Re: MD Unplugged hi br..just got a chance to read the file..awesome! gee that's saved me some work. I realise then that the getprocessid is a windows environment call? For interest what does it do? Ps - how do you find the reliability of this version of autoGMT, is it stable / better than the dll version? Does is consume much resource running it every tick this way? I always wondered if this took up much cpu & whether should be restricted to checking 1 /day? The system2 rules are pretty basic, I originally thought it was a pyramid entry & would have been a certain distance away from the S1 entry, perhaps that's an improve I might make. Certainly should be easy to add multiple logic options as per mdpr now. Quote Link to comment Share on other sites More sharing options...
⭐ bbrain Posted July 21, 2009 Report Share Posted July 21, 2009 Re: MD Unplugged hi br..just got a chance to read the file..awesome! gee that's saved me some work. I realise then that the getprocessid is a windows environment call? For interest what does it do? Ps - how do you find the reliability of this version of autoGMT, is it stable / better than the dll version? Does is consume much resource running it every tick this way? I always wondered if this took up much cpu & whether should be restricted to checking 1 /day? The system2 rules are pretty basic, I originally thought it was a pyramid entry & would have been a certain distance away from the S1 entry, perhaps that's an improve I might make. Certainly should be easy to add multiple logic options as per mdpr now. Hi, The getprocessid needed for check the EA name on the chart. Probably it is for avoid stealing the DLL. About the Refresh function, it did the same, but thru the MD dll. About MDP i must do the istradetime function only. I will do it as i have enoght time for it. Br. Quote Link to comment Share on other sites More sharing options...
virtualcredit Posted July 21, 2009 Report Share Posted July 21, 2009 Re: MD Unplugged As far as I know getprocessid checks that only one copy of MD running.. Quote Link to comment Share on other sites More sharing options...
engtraderfx Posted July 21, 2009 Author Report Share Posted July 21, 2009 Re: MD Unplugged As far as I know getprocessid checks that only one copy of MD running.. Would that prevent us running multiple versions of the same file on different pairs do you think? Quote Link to comment Share on other sites More sharing options...
engtraderfx Posted July 22, 2009 Author Report Share Posted July 22, 2009 Re: MD Unplugged hi br...sorry to bother you but is the autogmt calc correct? I am getting a result of -8 on the chart comments for my broker which is +2 GMT offset. Chrs, eng Quote Link to comment Share on other sites More sharing options...
⭐ bbrain Posted July 22, 2009 Report Share Posted July 22, 2009 Re: MD Unplugged hi br...sorry to bother you but is the autogmt calc correct? I am getting a result of -8 on the chart comments for my broker which is +2 GMT offset. Chrs, eng Hi, I didnt checked that function, please correct if it is have problem. Regards. Quote Link to comment Share on other sites More sharing options...
engtraderfx Posted July 22, 2009 Author Report Share Posted July 22, 2009 Re: MD Unplugged ok bb, I'll work on it. Quote Link to comment Share on other sites More sharing options...
⭐ bbrain Posted July 22, 2009 Report Share Posted July 22, 2009 Re: MD Unplugged ok bb, I'll work on it. Thank you mate. Br. Quote Link to comment Share on other sites More sharing options...
engtraderfx Posted July 22, 2009 Author Report Share Posted July 22, 2009 Re: MD Unplugged re: GMT calc...it looks like the result is the GMT Offset to the time for the computer its running on, not the MT4 broker service time. Quote Link to comment Share on other sites More sharing options...
jore Posted July 23, 2009 Report Share Posted July 23, 2009 Re: MD Unplugged Hi eng, is that you actual version -md112_rev0004- and what ver of dll do you use Quote Link to comment Share on other sites More sharing options...
engtraderfx Posted July 25, 2009 Author Report Share Posted July 25, 2009 Re: MD Unplugged jore...that was my unfinished version until bbrain posted his. The dll was the original md dll. I am working on modify the bb version, will post soon, probably without autogmt at this stage I can't figure it out. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.