Forex



Go Back   Forex Trading > Discussion Areas > Setup Questions
Forex Forum Register More recent Blogs Calendar Advertising Others Help






Register
Welcome to Forex-TSD!, one of the largest Forex forums worldwide, where you will be able to find the most complete and reliable Forex information imaginable.

From the list below, select the forum that you want to visit and register to post, as many times you want. It’s absolutely free. Click here for registering on Forex-TSD.

Exclusive Forum
The Exclusive Forum is the only paid section. Once you subscribe, you will get free access to real cutting-edge Trading Systems (automated and not), Indicators, Signals, Articles, etc., that will help and guide you, in ways that you could only imagine, with your Forex trading.
  • Elite Section
    Get access to private discussions, specialized support, indicators and trading systems reported every week.
  • Advanced Elite Section
    For professional traders, trading system developers and any other member who may need to use and/or convert, the most cutting-edge exclusive indicators and trading systems for MT4 and MT5.
See more

 
 
Thread Tools
 
Old 09-03-2009, 08:09 PM
1Dave7's Avatar
Senior Member
 
Join Date: Aug 2007
Posts: 183
1Dave7 is on a distinguished road
Smile All error codes!

Can anyone provide a list of all the error codes and what they mean when trying to trade using an EA????

Dave
<><<<
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 09-03-2009, 08:20 PM
mladen's Avatar
Senior Member
 
Join Date: Oct 2006
Posts: 1,270
mladen is on a distinguished road
...

You can see all those if you open the stderror.mqh (in your metatrader/experts/include folder) and for more detailed error descriptions, stdlib.mq4 (in your metatrader/experts/libraries folder)
Attached the most recent ones, but you should have the same ones in the specified folders

Quote:
Originally Posted by 1Dave7 View Post
Can anyone provide a list of all the error codes and what they mean when trying to trade using an EA????

Dave
<><<<
Attached Files
File Type: mqh stderror.mqh (5.7 KB, 5 views)
File Type: mq4 stdlib.mq4 (12.9 KB, 5 views)

Last edited by mladen; 09-03-2009 at 08:25 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 09-03-2009, 08:21 PM
1Dave7's Avatar
Senior Member
 
Join Date: Aug 2007
Posts: 183
1Dave7 is on a distinguished road
Smile

I have learned all about the MQ4 error codes. The file attached lists them all. Good FYI Information!

Dave
<><<<
Attached Files
File Type: doc ERROR CODES.doc (123.5 KB, 28 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 09-26-2009, 10:13 PM
Senior Member
 
Join Date: Sep 2007
Posts: 116
Ms_Mel is on a distinguished road
Quote:
Originally Posted by mladen View Post
You can see all those if you open the stderror.mqh (in your metatrader/experts/include folder) and for more detailed error descriptions, stdlib.mq4 (in your metatrader/experts/libraries folder)
Attached the most recent ones, but you should have the same ones in the specified folders
Hi Mladen,

Thanks so much for sharing this.

I sometimes get the "error no error" one which causes trades to not be taken. I have NEVER understood why I get that error. Can you enlighten me in any way as to the significance of this error I've been getting for like almost a year! and/or can you direct me to where I can find info on how to correct it. I would be ETERNALLY grateful.

Thanks again,

And happy trading !

Ms_Mel
__________________
Profitable trading starts here:
http://forexleader-forexleader.blogspot.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 10-06-2009, 01:51 PM
Junior Member
 
Join Date: Oct 2009
Posts: 1
giforex is on a distinguished road
Still getting error 130

Hello,
I do not understand why I am constantly getting error 130 in mt4 when I back test. I have adjusted my stop and take profit many times and I still get the same result. I am just trying to keep buying and selling when I turn a profit. Can anyone assist with this simple logic. I have placed my segment below:

while (count < 100){
** while (x<1){
*******
******* OrderSend(Symbol(),OP_BUY,Lots,Ask,3,StopLoss,Take Profit,"buy",Red);
******* if(OrderStopLoss()==true){
******** TakeProfit = StopLoss + TakeProfit;
********
******** OrderSend(Symbol(),OP_SELL,Lots,Bid,3,StopLoss,Tak eProfit,"sell",Red);
******** if(OrderStopLoss()==true){
******** TakeProfit = StopLoss + TakeProfit;
******** x=0;
******* }
******* }
******* else x=2;
*******
******* }
******* count = count+1;
******* StopLoss = 30;
******* TakeProfit = 50;
******* }
********
*****
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 10-08-2009, 05:23 PM
Senior Member
 
Join Date: Sep 2007
Posts: 116
Ms_Mel is on a distinguished road
Hi giforex,

I am not a programmer, but I noticed a typo in your code. Maybe it's the reason you're getting the error?

On line 8, we see Tak eProfit instead of Take Profit.

Happy trading,

Ms_Mel
__________________
Profitable trading starts here:
http://forexleader-forexleader.blogspot.com/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 11-05-2009, 11:57 AM
Junior Member
 
Join Date: Oct 2009
Posts: 3
feelexit is on a distinguished road
Please help: error 4109 ERR_TRADE_NOT_ALLOWED

Hi, I kept getting this error message.

"2009.11.05 06:28:57 JQ-EMA-Final EURUSD,M1: Open order error: 4109(trade is not allowed in the expert properties)"


I went to "Tools ->Options -> Expert Advisor", "allow live trading" is checked. I still getting this Error message. Please help me. by the way, I am using fxsolution's demo account, not real live account.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 11-05-2009, 12:03 PM
Junior Member
 
Join Date: Dec 2007
Location: France
Posts: 21
Pat46 is on a distinguished road
Trade not allowed

You should also click on F7 and change expert properties in "common" tab.
__________________
Pat
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 
Old 11-05-2009, 01:13 PM
Junior Member
 
Join Date: Oct 2009
Posts: 3
feelexit is on a distinguished road
Quote:
Originally Posted by Pat46 View Post
You should also click on F7 and change expert properties in "common" tab.


Pat, thank you so much.my EA is working now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!StumbleUpon this Post!Reddit this Post!Facebook this Post!BlinkList this Post!Google Bookmarks this Post!Yahoo! My Web this Post!
 

Bookmarks

Tags
error 130, http://www.elihayun.com, metatrader error 138, MODE_STOPLEVEL, mt4 error 138, Order Close error 138, order send error 138, OrderClose error 138, OrderSend error 130, OrderSend error 138
Thread Tools

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
Has anyone got this error? wolfe Metatrader 4 7 03-13-2009 10:40 PM
Error codes script! codersguru Tools and utilities 6 05-03-2008 01:14 AM
need help on codes antone Indicators - Metatrader 4 15 03-01-2007 02:48 PM
Error JoZo General Discussion 2 06-28-2006 08:45 PM
MT4 Indicator codes coming out of my ears! fred Metatrader 4 12 03-20-2006 11:25 AM


All times are GMT. The time now is 09:44 AM.



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