Forex Forum - EarnForex
Serving Traders Since 2005
 

Go Back   Forex Forum - EarnForex > MetaTrader > MetaTrader Expert Advisors

MetaTrader Expert Advisors Post and discuss the MetaTrader expert advisors here.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 17th January 2012, 20:12
Default Avatar
Junior Member
 
Join Date: Jan 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Hedge ea with error 130

this expert work good in backtest but when it work in my account on IBFX, it not open any trades at all, and give me error 130

i don't have any mql background
so pls can anyone solve this problem and resent the ea back here.

the ea called; HedgeLot_StrategyV2.mq4

at this link

http://www.forexmt4.com/mt_yahoo/Hed...StrategyV2.mq4

thanks in advance
Reply With Quote
  #2 (permalink)  
Old 18th January 2012, 15:31
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,542
Thanks: 18
Thanked 20 Times in 16 Posts
Default

What timeframe & currency pair do you try to run it on? How many digits after the dot are there in your broker's quotes?
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account.
Reply With Quote
  #3 (permalink)  
Old 19th January 2012, 11:21
Default Avatar
Junior Member
 
Join Date: Jan 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

gbp usd , gbp jpy , eur usd
all time frame H1
5 digits

waiting your reply

thanks

Last edited by wowos; 19th January 2012 at 11:23.
Reply With Quote
  #4 (permalink)  
Old 19th January 2012, 16:37
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,542
Thanks: 18
Thanked 20 Times in 16 Posts
Default

Try increasing TakeProfit, StopLoss and StopDistance x 10 times.
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account.
Reply With Quote
  #5 (permalink)  
Old 25th January 2012, 22:23
Default Avatar
Junior Member
 
Join Date: Jan 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

i alredy find the solution, try it with takeprofit= 0 , stoploss= 0
it will work

thanks dear
Reply With Quote
  #6 (permalink)  
Old 26th January 2012, 11:13
Enivid's Avatar
Administrator
 
Join Date: Nov 2008
Posts: 1,542
Thanks: 18
Thanked 20 Times in 16 Posts
Default

Yeah, that will work too, but will disable stop-loss and take-profit.
__________________
Please, read the Forum Rules and the Signature Rules to avoid termination of your account.
Reply With Quote
  #7 (permalink)  
Old 27th January 2012, 23:48
Default Avatar
Junior Member
 
Join Date: Jan 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Maybe your broker is ECN type. Nowadays more and more brokers becomes ECN. You can see if this is true when trying to send a new manual order - do you have an option to set SL and TP?

So, when broker is ECN you need to first send an order without stops (SL=0, TP=0), and just after that to modify it (set SL and TP).
Reply With Quote
  #8 (permalink)  
Old 2nd February 2012, 22:30
Default Avatar
Junior Member
 
Join Date: Jan 2012
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by JDeel View Post
Maybe your broker is ECN type. Nowadays more and more brokers becomes ECN. You can see if this is true when trying to send a new manual order - do you have an option to set SL and TP?

So, when broker is ECN you need to first send an order without stops (SL=0, TP=0), and just after that to modify it (set SL and TP).
yes, you are right
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 
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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Array access error samjesse MetaTrader 5 1 28th October 2011 13:02
Ikon forex "Gold futures in COMEX were closed low due to decreased hedge buying" laura Forex News 0 7th January 2011 05:25
Handling OrderSend Error 148 Enivid MetaTrader Expert Advisors 0 4th June 2010 15:09
Handling OrderSend Error 3 Enivid MetaTrader Expert Advisors 0 2nd June 2010 10:17


All times are GMT. The time now is 03:02.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Inactive Reminders By Icora Web Design

SEO by vBSEO 3.3.2