EA Working on Demo accounts but not on Live Account

 

Hello! I recently purchased an EA for Mt4. For some reason, the EA is working on my demo accounts but not working properly on my Live Account. Here is the basic info: All the settings are the same for the EA putting it on my demo account and on the live account. I've emailed the EA support team and troubleshooted the EA itself, and it appears all the settings are correct. Here's what's happening: When I load The EA onto the demo server it will operate properly- Opening trades and modifying them until they hit the s/l and t/p. However, when I load the EA onto my live MT4 account, it will immediately open a trade, but instead of modifying it it will immediately close the trade within 10-20 seconds or so with a negative pips every time. Instead of modifying each order like it's supposed to, it will open the trade, but close it immediately. Below are a few logs that show what's taking place:

Order #7435370, closed only 23 seconds after opening it with no modification. You'll see the difference between this and my demo account log below. The same EA, exact same settings, but with my live account it's immediately closing the trade after only a few pips and seconds (Not what it does on the demo account).

22:55:44 MetaTrader 4.00 build 392 started (Forex Place)
22:56:06 '81712': login
22:56:49 '81712': login
22:56:52 '81712': login
22:59:24 Expert ForexHacked23 GBPUSD,H1: loaded successfully
23:00:30 '81712': instant order sell 0.01 GBPUSD at 1.6305 sl: 0.0000 tp: 0.0000
23:00:30 '81712': request was accepted by server
23:00:30 '81712': request in process
23:00:32 '81712': order was opened : #7435370 sell 0.01 GBPUSD at 1.6305 sl: 0.0000 tp: 0.0000
23:00:55 '81712': close order #7435370 sell 0.01 GBPUSD at 1.6305 sl: 0.0000 tp: 0.0000 at price 1.6310
23:00:56 '81712': request was accepted by server
23:00:56 '81712': request in process
23:00:58 '81712': order #7435370 sell 0.01 GBPUSD at 1.6305 sl: 0.0000 tp: 0.0000 closed at price 1.6310

This order #7423138 was opened and then closed in 7 seconds. See below:

23:26:29 MetaTrader 4.00 build 392 started (Forex Place)
23:26:30 Expert ForexHacked23 GBPUSD,H1: loaded successfully
23:26:31 '81712': login
23:28:11 '81712': instant order buy 0.01 GBPUSD at 1.6334 sl: 0.0000 tp: 0.0000
23:28:11 '81712': request was accepted by server
23:28:11 '81712': request in process
23:28:12 '81712': order was opened : #7423138 buy 0.01 GBPUSD at 1.6334 sl: 0.0000 tp: 0.0000
23:28:19 '81712': close order #7423138 buy 0.01 GBPUSD at 1.6334 sl: 0.0000 tp: 0.0000 at price 1.6330
23:28:19 '81712': request was accepted by server
23:28:20 '81712': request in process
23:28:20 '81712': order #7423138 buy 0.01 GBPUSD at 1.6334 sl: 0.0000 tp: 0.0000 closed at price 1.6329

Below is my demo account in which Forex Hacked is working correctly. You'll see the difference.

00:57:51 '993055': modify order #9274188 sell 0.01 GBPUSD at 1.6303 sl: 0.0000 tp: 1.6283 -> sl: 1.6291 tp: 1.6278
00:57:52 '993055': request was accepted by server
00:57:52 '993055': request in process
00:57:52 '993055': order #9274188 sell 0.01 GBPUSD at 1.6303 was modified -> sl: 1.6291 tp: 1.6278
00:59:43 '993055': instant order sell 0.01 GBPUSD at 1.6287 sl: 0.0000 tp: 0.0000
00:59:44 '993055': request was accepted by server
00:59:44 '993055': request in process
00:59:44 '993055': order was opened : #9274884 sell 0.01 GBPUSD at 1.6287 sl: 0.0000 tp: 0.0000
00:59:48 '993055': modify order #9274884 sell 0.01 GBPUSD at 1.6287 sl: 0.0000 tp: 0.0000 -> sl: 0.0000 tp: 1.6267
00:59:48 '993055': request was accepted by server
00:59:48 '993055': request in process
00:59:48 '993055': order #9274884 sell 0.01 GBPUSD at 1.6287 was modified -> sl: 0.0000 tp: 1.6267
01:28:06 '993055': modify order #9274884 sell 0.01 GBPUSD at 1.6287 sl: 0.0000 tp: 1.6267 -> sl: 1.6275 tp: 1.6262
01:28:07 '993055': request was accepted by server
01:28:07 '993055': request in process
01:28:07 '993055': order #9274884 sell 0.01 GBPUSD at 1.6287 was modified -> sl: 1.6275 tp: 1.6262
01:30:27 '993055': instant order sell 0.01 GBPUSD at 1.6271 sl: 0.0000 tp: 0.0000
01:30:27 '993055': request was accepted by server
01:30:27 '993055': request in process
01:30:27 '993055': order was opened : #9275859 sell 0.01 GBPUSD at 1.6271 sl: 0.0000 tp: 0.0000
01:30:29 '993055': modify order #9275859 sell 0.01 GBPUSD at 1.6271 sl: 0.0000 tp: 0.0000 -> sl: 0.0000 tp: 1.6251
01:30:29 '993055': request was accepted by server
01:30:29 '993055': request in process
01:30:29 '993055': order #9275859 sell 0.01 GBPUSD at 1.6271 was modified -> sl: 0.0000 tp: 1.6251

Please help if you have any suggestions. Thanks again!

 

Since there's no code to check on what error handling is, this is like shooting in the dark but:

What is the error handling in your EA, when the EA can not set the sl and tp to the starting position? Is your EA set to protect itself in case SL and/or TP can not be set, with immediate position closing?

 
Probably best to ask the people you bought the EA from
Reason: