coding help with xmeter

nonlinear
Trader
Posts: 293
Joined: Fri Jun 01, 2012 2:56 pm
Location: Washington DC

coding help with xmeter

Post by nonlinear »

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
You do not have the required permissions to view the files attached to this post.
jlcgarcia

coding help with xmeter

Post by jlcgarcia »

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
User avatar
SteveHopwood
Owner
Posts: 9904
Joined: Tue Nov 15, 2011 8:43 am
Location: Misterton - an insignificant village in England. Very pleasant to live in.

coding help with xmeter

Post by SteveHopwood »

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:
Read the effing manual, ok?

Afterprime is the official SHF broker. Read about them at https://www.stevehopwoodforex.com/phpBB3/viewtopic.php?p=175790#p175790.

I still suffer from OCCD. Good thing, really.

Anyone here feeling generous? My paypal account is always in the market for a tiny donation. pianodoodler@hotmail.com is the account.

To see The Weekly Roundup of stuff you guys might have missed Click here

My special thanks to Thomas (tomele) for all the incredible work he does here.
jlcgarcia

coding help with xmeter

Post by jlcgarcia »

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
Last edited by jlcgarcia on Thu Oct 22, 2015 11:17 am, edited 1 time in total.
nonlinear
Trader
Posts: 293
Joined: Fri Jun 01, 2012 2:56 pm
Location: Washington DC

coding help with xmeter

Post by nonlinear »

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)
jlcgarcia

coding help with xmeter

Post by jlcgarcia »

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
jlcgarcia

coding help with xmeter

Post by jlcgarcia »

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
You do not have the required permissions to view the files attached to this post.
Last edited by jlcgarcia on Fri Oct 23, 2015 6:16 am, edited 2 times in total.
nonlinear
Trader
Posts: 293
Joined: Fri Jun 01, 2012 2:56 pm
Location: Washington DC

coding help with xmeter

Post by nonlinear »

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.
nonlinear
Trader
Posts: 293
Joined: Fri Jun 01, 2012 2:56 pm
Location: Washington DC

coding help with xmeter

Post by nonlinear »

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?
jlcgarcia

coding help with xmeter

Post by jlcgarcia »

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
Post Reply

Return to “Coders Hangout”