Forex
Google
New signals service!

Go Back   Forex Trading > Discussion Areas > General Discussion


Register in Forex TSD!
Trading Systems Leaders in this forum (automated trading systems) are winning more than 3000 pips in a month (30000$ investing one lot every time).
Click here to register and get more information

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-25-2006, 11:31 PM
Junior Member
 
Join Date: Jun 2006
Posts: 15
Lou G is on a distinguished road
Error 130 - invalid stop. Why?

I'm writing/testing an EA that returns error 130 on every attempt to buy or sell. I actually copied the entire buy/sell logic from another EA that works perfectly and am using zero (0) in the stop loss parameter just as the working EA does.

Can there be another reason for this? I'm stumped...

Thanks,
Lou
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 09-26-2006, 02:28 AM
Senior Member
 
Join Date: Mar 2006
Posts: 787
Maji is on a distinguished road
Error 130, from MT4 help file is
ERR_INVALID_STOPS 130 Invalid stops.

So, look where your stops and take profits are located. If they are too close (less than 10 pips generally) or maybe the sell stop is lower than the buy price or something similar, you will get that error.

Good luck.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-26-2006, 03:07 AM
Junior Member
 
Join Date: Sep 2006
Posts: 21
ahmedalhoseny is on a distinguished road
hey Maji

hey
i need your help in my MT$ station it stoped updating the price 3 weeks ago plus i cannot creat any new accout using a different mail and always show me offline!!!!

do u know how to handle that thnx in advance

regards
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 09-26-2006, 05:10 AM
Senior Member
 
Join Date: Mar 2006
Posts: 787
Maji is on a distinguished road
Sorry, can't help you there. Give your broker a call or chat online. Try opening an account with another broker and see how that works.

Good luck.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 09-26-2006, 05:41 PM
Junior Member
 
Join Date: Jun 2006
Posts: 15
Lou G is on a distinguished road
Thanks, Maji - the take profit calculation was the culprit, not calculating correctly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 10-07-2008, 06:03 PM
Member
 
Join Date: Aug 2007
Posts: 31
n3sve1k4s is on a distinguished road
Order send error 130?

I am testing an EA and get Order send error 130. What does it mean?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 10-07-2008, 06:06 PM
Senior Member
 
Join Date: Sep 2007
Location: Poland
Posts: 239
Pucio is on a distinguished road
Replay

1) Error 130 - ERR_INVALID_STOPS

typical
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 10-07-2008, 06:08 PM
Senior Member
 
Join Date: Sep 2007
Location: Poland
Posts: 239
Pucio is on a distinguished road
Replay

ERR_NO_ERROR 0 No error returned.
ERR_NO_RESULT 1 No error returned, but the result is unknown.
ERR_COMMON_ERROR 2 Common error.
ERR_INVALID_TRADE_PARAMETERS 3 Invalid trade parameters.
ERR_SERVER_BUSY 4 Trade server is busy.
ERR_OLD_VERSION 5 Old version of the client terminal.
ERR_NO_CONNECTION 6 No connection with trade server.
ERR_NOT_ENOUGH_RIGHTS 7 Not enough rights.
ERR_TOO_FREQUENT_REQUESTS 8 Too frequent requests.
ERR_MALFUNCTIONAL_TRADE 9 Malfunctional trade operation.
ERR_ACCOUNT_DISABLED 64 Account disabled.
ERR_INVALID_ACCOUNT 65 Invalid account.
ERR_TRADE_TIMEOUT 128 Trade timeout.
ERR_INVALID_PRICE 129 Invalid price.
ERR_INVALID_STOPS 130 Invalid stops.
ERR_INVALID_TRADE_VOLUME 131 Invalid trade volume.
ERR_MARKET_CLOSED 132 Market is closed.
ERR_TRADE_DISABLED 133 Trade is disabled.
ERR_NOT_ENOUGH_MONEY 134 Not enough money.
ERR_PRICE_CHANGED 135 Price changed.
ERR_OFF_QUOTES 136 Off quotes.
ERR_BROKER_BUSY 137 Broker is busy.
ERR_REQUOTE 138 Requote.
ERR_ORDER_LOCKED 139 Order is locked.
ERR_LONG_POSITIONS_ONLY_ALLOWED 140 Long positions only allowed.
ERR_TOO_MANY_REQUESTS 141 Too many requests.
ERR_TRADE_MODIFY_DENIED 145 Modification denied because order too close to market.
ERR_TRADE_CONTEXT_BUSY 146 Trade context is busy.
ERR_TRADE_EXPIRATION_DENIED 147 Expirations are denied by broker.
ERR_TRADE_TOO_MANY_ORDERS 148 The amount of open and pending orders has reached the limit set by the broker.
Attached Files
File Type: pdf ERRORS.pdf (39.7 KB, 15 views)

Last edited by Pucio; 10-07-2008 at 06:13 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 10-07-2008, 06:15 PM
Member
 
Join Date: Aug 2007
Posts: 31
n3sve1k4s is on a distinguished road
Thanks guys for such a fast reply !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 10-07-2008, 06:23 PM
Senior Member
 
Join Date: Sep 2007
Location: Poland
Posts: 239
Pucio is on a distinguished road
No problem. Help in this forum is very fast always.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Tags
Order Send error 130, error 130, "order send error 130", ERR_INVALID_STOPS

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help Invalid stops Error 130 cardio Setup Questions 4 06-30-2006 05:31 PM
ERROR: Invalid Integer Number As Parameter secxces Questions 4 05-25-2006 03:50 PM
invalid stop driving me nuts caldolegare Expert Advisors - Metatrader 4 11 05-04-2006 09:03 PM
invalid account huhenyo Metatrader 4 4 04-03-2006 08:37 PM


All times are GMT. The time now is 07:27 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.