Hyperactive Order Modifications - how to test?

User avatar
macman
Trader
Posts: 118
Joined: Tue Nov 15, 2011 7:47 pm
Location: Somewhere on a European waterway, on my classic (old) Dutch barge

Hyperactive Order Modifications - how to test?

Post by macman »

Guys,

A bit of background.
I have been quite happily running tests on EAs on demo accounts with Global Prime (Jeremy) until suddenly all GP accounts were no longer available - blacklisted :shock:

It seems one of the EAs has some rogue code which was sending an order modification every tick. This resulted in the plug being pulled and my VPS IP number is now blacklisted at GP.

I have narrowed the problem down to 4 possible culprits, as Jeremy could give me the account number involved, but how can I test for 'Hyperactive Order Modifications' - Jeremy's phrase not mine? :?:

Any ideas welcome.

Thanks
This account takes ALL software generated trade calls from my FXW training course and is used to develop money management routines.
http://www.mt4i.com/mt4ichart.aspx?c=ch ... udent-demo
User avatar
renexxxx
Trader
Posts: 860
Joined: Sat Dec 31, 2011 3:48 am

Hyperactive Order Modifications - how to test?

Post by renexxxx »

Hi macman,

Do you have the source code available of the suspect EA? That would be the place to start.

Rene.
User avatar
macman
Trader
Posts: 118
Joined: Tue Nov 15, 2011 7:47 pm
Location: Somewhere on a European waterway, on my classic (old) Dutch barge

Hyperactive Order Modifications - how to test?

Post by macman »

renexxxx » Wed Nov 05, 2014 9:14 pm wrote:Hi macman,

Do you have the source code available of the suspect EA? That would be the place to start.

Rene.
Yes, all four are from this forum and I strongly suspect one of the four.

Before going back to the members who supplied them, I was hoping for a test routine so that I was sure which of them is faulty and if the fault is a one off Empty4 event.

Thanks for your interest
This account takes ALL software generated trade calls from my FXW training course and is used to develop money management routines.
http://www.mt4i.com/mt4ichart.aspx?c=ch ... udent-demo
User avatar
mobthehop
Trader
Posts: 362
Joined: Wed Nov 16, 2011 12:16 am

Hyperactive Order Modifications - how to test?

Post by mobthehop »

macman... did you check the journal tab of the EAs in question - just scroll thru it to find which one has an insane amount of order modification for same ticket number(s)...
User avatar
macman
Trader
Posts: 118
Joined: Tue Nov 15, 2011 7:47 pm
Location: Somewhere on a European waterway, on my classic (old) Dutch barge

Hyperactive Order Modifications - how to test?

Post by macman »

Hi mob,

Jeremy has just de-blacklisted my VPS, so back up and working again, but of course there is no longer any Journal information, as basically the account is reset their end which wipes the Journal.
Is there maybe a local copy on Empty4 somewhere I am now wondering?

However the real point behind the question is I want to code a safety routine to be added to all EAs which checks for Hyperactive Order Modifications.

Imagine a situation where an EA is running on a live account on your VPS and you also have 9 other live accounts all running with the same broker. An EA goes rogue and without any warning you are in danger of ALL your live accounts going down, when the IP block kicks in :o

I am not even sure you would get any warning from many brokers before the plug was pulled in this situation.

How long would it take to get your IP de-blacklisted with your broker?

The risk is huge here ....... and IMHO it needs fixing - at least on my own system.

Way above my coding skills, but I can imagine a global routine which checks for Hyperactive Order Modifications can't be that hard ...... can it :?:

Thanks for your reply.
This account takes ALL software generated trade calls from my FXW training course and is used to develop money management routines.
http://www.mt4i.com/mt4ichart.aspx?c=ch ... udent-demo
User avatar
macman
Trader
Posts: 118
Joined: Tue Nov 15, 2011 7:47 pm
Location: Somewhere on a European waterway, on my classic (old) Dutch barge

Hyperactive Order Modifications - how to test?

Post by macman »

macman » Thu Nov 06, 2014 8:10 am wrote:Hi mob,

Jeremy has just de-blacklisted my VPS, so back up and working again, but of course there is no longer any Journal information, as basically the account is reset their end which wipes the Journal.
Is there maybe a local copy on Empty4 somewhere I am now wondering?
Scratch that question, as I have just found the log, so I can identify the culprit, but the core question remains - Is it possible to have a 'watching' routine?

Also a big thanks to Jeremy at Global Prime for his help - what a brilliant service. :clap:

Thanks
This account takes ALL software generated trade calls from my FXW training course and is used to develop money management routines.
http://www.mt4i.com/mt4ichart.aspx?c=ch ... udent-demo
User avatar
Jemook
Trader
Posts: 1075
Joined: Thu May 10, 2012 10:19 am
Location: Bondi, Sydney, Australia

Hyperactive Order Modifications - how to test?

Post by Jemook »

macman » Thu Nov 06, 2014 8:11 pm wrote:
macman » Thu Nov 06, 2014 8:10 am wrote:Hi mob,

Jeremy has just de-blacklisted my VPS, so back up and working again, but of course there is no longer any Journal information, as basically the account is reset their end which wipes the Journal.
Is there maybe a local copy on Empty4 somewhere I am now wondering?
Scratch that question, as I have just found the log, so I can identify the culprit, but the core question remains - Is it possible to have a 'watching' routine?

Also a big thanks to Jeremy at Global Prime for his help - what a brilliant service. :clap:

Thanks
That's what we are there for :)

Issues like this give us an opportunity to shine..

You are always a pleasure to deal with! Thanks

Cheers,
Jeremy
Please note I am no longer affiliated with Global Prime. I've moved on to my next adventure with Afterprime.

Catch me here: https://www.afterprime.com
User avatar
Jemook
Trader
Posts: 1075
Joined: Thu May 10, 2012 10:19 am
Location: Bondi, Sydney, Australia

Hyperactive Order Modifications - how to test?

Post by Jemook »

macman » Thu Nov 06, 2014 7:10 pm wrote:Imagine a situation where an EA is running on a live account on your VPS and you also have 9 other live accounts all running with the same broker. An EA goes rogue and without any warning you are in danger of ALL your live accounts going down, when the IP block kicks in :o

I am not even sure you would get any warning from many brokers before the plug was pulled in this situation.

How long would it take to get your IP de-blacklisted with your broker?
Sorry I missed this - to add to the discussion we would NEVER block an IP on live without getting in touch with the client first. On demo we try and get in touch as well but if someone puts their email address as [email protected] or other random characters we can't get in touch with them :)

Another client also has issues with sending too many orders using 'Secret Bob’s Basket ea.' if that helps isolate which one is causing the issue.

Cheers,
Jeremy
Please note I am no longer affiliated with Global Prime. I've moved on to my next adventure with Afterprime.

Catch me here: https://www.afterprime.com
User avatar
macman
Trader
Posts: 118
Joined: Tue Nov 15, 2011 7:47 pm
Location: Somewhere on a European waterway, on my classic (old) Dutch barge

Hyperactive Order Modifications - how to test?

Post by macman »

Hi Jeremy,

The EA which caused the problem is called ALR_with_Spread_v8.5-mod. I am looking at automating part of the money management I teach to my students so have recently been testing various auto hedging type solutions.

I have asked the member who posted it, in a PM, if he can check out the code. So far no reply.

The original version ALR_with_Spread, may suffer from the same problem, as the above version is an update.

Hope this helps in case this problem comes your way again.

Best regards,
This account takes ALL software generated trade calls from my FXW training course and is used to develop money management routines.
http://www.mt4i.com/mt4ichart.aspx?c=ch ... udent-demo
User avatar
Jemook
Trader
Posts: 1075
Joined: Thu May 10, 2012 10:19 am
Location: Bondi, Sydney, Australia

Hyperactive Order Modifications - how to test?

Post by Jemook »

Thanks Macman! Will let anyone else facing a similar issue know.

Cheers
Jeremy
Please note I am no longer affiliated with Global Prime. I've moved on to my next adventure with Afterprime.

Catch me here: https://www.afterprime.com
Post Reply

Return to “Coders Hangout”