4109 Bug in reverse script
  #1 (permalink)  
Old 08-04-2006, 07:29 AM
Sophomore
 
Join Date: Jul 2006
Posts: 40
Thanks: 2
Thanked 3 Times in 3 Posts
Bill R is on a distinguished road
Question 4109 Bug in reverse script

I just coded a little script to use with a single position per pair; it should just kill what's there and open a new one in the other direction, but I get this "Trade not allowed" - anyone know what causes that? ( Code attached )
Attached Files
File Type: mq4 Reverse.mq4 (2.8 KB, 20 views)
Sponsored Links Shark EA Ultimate
Actual Profits on Live Account: +975%
Since Jan 2007. View Live Statements.
Reply With Quote
  #2 (permalink)  
Old 08-04-2006, 06:01 PM
gazuz's Avatar
Senior Trader and Moderat
 
Join Date: Aug 2004
Posts: 768
Thanks: 1
Thanked 8 Times in 5 Posts
gazuz is a name known to allgazuz is a name known to allgazuz is a name known to allgazuz is a name known to allgazuz is a name known to allgazuz is a name known to all
Default

Alright I don't much about coding but how exactly is the first position open?
__________________
____________________________\¦/
___________________________(ò ó)
______________________o0o___(_)___o0o__
___¦_____¦_____¦_____¦_____¦_____¦_____¦
¦_____¦_____¦_____¦_____¦_____¦_____¦__
___¦_____¦_____¦_____¦_____¦_____¦_____¦
¦_____¦_____¦_____¦_____¦_____¦_____¦__
Reply With Quote
  #3 (permalink)  
Old 08-04-2006, 08:11 PM
Sophomore
 
Join Date: Jul 2006
Posts: 40
Thanks: 2
Thanked 3 Times in 3 Posts
Bill R is on a distinguished road
Default

On the Interbank FX platform I open a chart and take a small position. Then I drop the script on it, and I get a 4108. I appreciate you're looking at it.
Reply With Quote
  #4 (permalink)  
Old 08-04-2006, 08:12 PM
Sophomore
 
Join Date: Jul 2006
Posts: 40
Thanks: 2
Thanked 3 Times in 3 Posts
Bill R is on a distinguished road
Default

Oops - 4109 (magic fingers)
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Found a bug in Visual Studio.Net 2003 scorpion Chit Chat 5 01-10-2005 08:11 AM


All times are GMT. The time now is 02:54 AM.
Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now

Main Menu

Economic Forecast