Forex
Google

Go Back   Forex Trading > Discussion Areas > Setup Questions
Forex Forum Register FAQ Members List Calendar Search Today's Posts Mark Forums Read


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, 10:31 PM
Lou G Lou G is offline
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, 01:28 AM
Maji Maji is offline
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, 02:07 AM
ahmedalhoseny ahmedalhoseny is offline
Junior Member
 
Join Date: Sep 2006
Posts: 4
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, 04:10 AM
Maji Maji is offline
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, 04:41 PM
Lou G Lou G is offline
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
Reply


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

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


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


All times are GMT. The time now is 02:39 PM.