stevehopwoodforex.com
https://www.stevehopwoodforex.com/phpBB3/
Print view

coding help with xmeter
https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?t=4457
Page 1 of 2
Author:  nonlinear [ Tue Oct 20, 2015 3:49 pm ]
Post subject:  coding help with xmeter

I am having trouble with one of the older versions of xmeter (currency strength grid trader) that I was running on a US broker (no-hedge, FIFO complaint). It stopped working after I changed US brokers and was forced to upgrade to a new terminal, sigh. I am pretty certain that the errors have something to do with calling kernel32.dll and wininet.dll (this version has LibOrderReliable4ss1.mqh built in). I am a hack coder and don't want to mess this up (I could have likely looked at some of the later versions of this this trader to see how the dll's are called but they are all gone now). I have been running this version of xmeter for years with about a 35% return rate and 10-12% DD, with manual intervention when I see massive reversals. I would ask Jose as this was one of his efforts, but I don't see him around anymore. If anyone has time to take a look at the code, I would appreciate it. I would even make a donation to SHF or you personally. Of course, I will share the result on the forum. Thanks.

Jeff
Author:  jlcgarcia [ Wed Oct 21, 2015 12:43 pm ]
Post subject:  coding help with xmeter

Hi Jeff,

send me your email to <email address removed by a mod for JL's online safety> and I will send you a new version.

I am not allowed to email you, nor to upload files.

Regards


José Luis
Author:  SteveHopwood [ Wed Oct 21, 2015 4:48 pm ]
Post subject:  coding help with xmeter

jlcgarcia » Wed Oct 21, 2015 12:43 pm wrote:Hi Jeff,

send me your email to <email address removed by a mod for JL's online safety> and I will send you a new version.

I am not allowed to email you, nor to upload files.

Regards


José Luis
You are now.

:xm:
Author:  jlcgarcia [ Wed Oct 21, 2015 5:33 pm ]
Post subject:  coding help with xmeter

nonlinear » Tue Oct 20, 2015 5:49 pm wrote:I am having trouble with one of the older versions of xmeter (currency strength grid trader) that I was running on a US broker (no-hedge, FIFO complaint). It stopped working after I changed US brokers and was forced to upgrade to a new terminal, sigh. I am pretty certain that the errors have something to do with calling kernel32.dll and wininet.dll (this version has LibOrderReliable4ss1.mqh built in). I am a hack coder and don't want to mess this up (I could have likely looked at some of the later versions of this this trader to see how the dll's are called but they are all gone now). I have been running this version of xmeter for years with about a 35% return rate and 10-12% DD, with manual intervention when I see massive reversals. I would ask Jose as this was one of his efforts, but I don't see him around anymore. If anyone has time to take a look at the code, I would appreciate it. I would even make a donation to SHF or you personally. Of course, I will share the result on the forum. Thanks.

Jeff

Hi,

first, I am grateful to Steve for let me return to this forum. My sincere apologies.

Second, to Jeff,

I have tried to modify the less possible lines of this program. As you know this is an old program, previous to MT 600 and it is very difficult not to have problems with the compiler.

Try to let it run and let us know your results.

Regards


José Luis

NEW VERSION IN A LATER POST
Author:  nonlinear [ Thu Oct 22, 2015 12:55 am ]
Post subject:  coding help with xmeter

Welcome back, Jose! :good:

After compiling and debugging, I still get: 2015.10.21 20:53:41.382 array out of range in 'xmFriday13K-marty mt600 non linear.mq4' (728,69)
Author:  jlcgarcia [ Thu Oct 22, 2015 7:09 am ]
Post subject:  coding help with xmeter

nonlinear » Thu Oct 22, 2015 2:55 am wrote:Welcome back, Jose! :good:

After compiling and debugging, I still get: 2015.10.21 20:53:41.382 array out of range in 'xmFriday13K-marty mt600 non linear.mq4' (728,69)

Hi nonlinear,

I will analyze carefully the code and prepare a simpler version. The next version will be less sophisticated.

Give me some time.

Regards


José Luis
Author:  jlcgarcia [ Thu Oct 22, 2015 11:23 am ]
Post subject:  coding help with xmeter

jlcgarcia » Thu Oct 22, 2015 9:09 am wrote:
nonlinear » Thu Oct 22, 2015 2:55 am wrote:Welcome back, Jose! :good:

After compiling and debugging, I still get: 2015.10.21 20:53:41.382 array out of range in 'xmFriday13K-marty mt600 non linear.mq4' (728,69)

Hi nonlinear,

I will analyze carefully the code and prepare a simpler version. The next version will be less sophisticated.

Give me some time.

Regards


José Luis

Hi Jeff,


here there is the new version still hot and taken out of the oven.

I have demoed and I am not having any errors and it is trading.

Please, test it and let us know if it works well.

I think this is the best version of xMeter ever programmed :!!:

but it can have bugs :arrrg:

Regards


José Luis
Author:  nonlinear [ Thu Oct 22, 2015 7:17 pm ]
Post subject:  coding help with xmeter

Thanks Jose. This one runs on the chart, but I am not seeing any allowed trades for new orders, which is odd given the strength of some currencies right now. Are you seeing this on your end? I am going to reload a fresh terminal and see if that helps.

Odd, this is working on demo (via windows 10), but not on my VPS with a live account... Hhm, will play around further.
Author:  nonlinear [ Thu Oct 22, 2015 9:31 pm ]
Post subject:  coding help with xmeter

Okay Jose, I figured it out - it was my set file. When I set swap to 0 or 1, its working fine. When I set swap it to 2 (positive), I never see any trade able pairs. Not sure what might cause that?
Author:  jlcgarcia [ Fri Oct 23, 2015 6:17 am ]
Post subject:  coding help with xmeter

nonlinear » Thu Oct 22, 2015 11:31 pm wrote:Okay Jose, I figured it out - it was my set file. When I set swap to 0 or 1, its working fine. When I set swap it to 2 (positive), I never see any trade able pairs. Not sure what might cause that?

Hi Jeff,

I have make a small change in the code and I think it must trade by now.

I have uploaded a new version (v2).

Please check

Regards


José Luis
All times are UTC Page 1 of 2