Forex



Go Back   Forex Trading > Discussion Areas > Metatrader 4
Forex Forum Register More recent 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

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 06-07-2007, 04:48 AM
Junior Member
 
Join Date: Mar 2007
Posts: 10
Hartadi is on a distinguished road
Question Pending Order

Hi,

i'm trying to make an EA, but i'm verry confuse with the results. The EA supose to take highest and lowest Bid from 00:00 to 07:59
and at 07:59 it send 2 order Buy Stop and Sell Stop.

Buy Stop using (Highest Bid + 2 * point ==> MYAskPrice)
Sel Stop using (Lowest Bid + 2 * point ==> MYBidPrice)

I paste some of the journal

The first part is when the EA automaticaly (i didn't enter highest and lowest bid)
The second part i enter manualy enter highest and lowest bid.

First Part : Automated
2007.02.02 07:59 Morning Break Out GBPUSD,M1: FAILED SELL STOP. My Bid Price : 1.9651 .Bid : 1.9662 .Error : 130
2007.02.02 07:59 Morning Break Out GBPUSD,M1: FAILED BUY STOP. My Ask Price : 1.9689 .ASK : 1.9666 .Error : 130
2007.02.01 10:58 Tester: take profit #1 at 1.9667 (1.9668 / 1.9672)
2007.02.01 09:52 Tester: order #1, buy 1.00 GBPUSD is opened at 1.9662
2007.02.01 07:59 Morning Break Out GBPUSD,M1: OK SELL STOP. My Bid Price : 1.9618 .Bid : 1.9643
2007.02.01 07:59 Morning Break Out GBPUSD,M1: open #2 sell stop 1.00 GBPUSD at 1.9618 tp: 1.9613 ok
2007.02.01 07:59 Morning Break Out GBPUSD,M1: OK BUY STOP. My Ask Price : 1.9662 .ASK : 1.9647
2007.02.01 07:59 Morning Break Out GBPUSD,M1: open #1 buy stop 1.00 GBPUSD at 1.9662 tp: 1.9667 ok

Second Part : Manual
2007.02.02 13:29 Tester: take profit #2 at 1.9694 (1.9694 / 1.9698)
2007.02.02 11:26 Tester: order #2, buy 1.00 GBPUSD is opened at 1.9689
2007.02.02 08:16 Tester: take profit #3 at 1.9646 (1.9642 / 1.9646)
2007.02.02 08:16 Tester: order #3, sell 1.00 GBPUSD is opened at 1.9651
2007.02.02 07:59 Order GBPUSD,M1: Bid = 1.9662 .MYBidPrice : 1.9651
2007.02.02 07:59 Order GBPUSD,M1: Ask = 1.9666 .MYAskPrice : 1.9689
2007.02.02 07:59 Order GBPUSD,M1: open #3 sell stop 1.00 GBPUSD at 1.9651 tp: 1.9646 ok
2007.02.02 07:59 Order GBPUSD,M1: open #2 buy stop 1.00 GBPUSD at 1.9689 tp: 1.9694 ok

as you can see if i entered MYBidPrice and MYAskPrice manualy it didn't failed to send order

2007.02.02 07:59 Order GBPUSD,M1: open #3 sell stop 1.00 GBPUSD at 1.9651 tp: 1.9646 ok
2007.02.02 07:59 Order GBPUSD,M1: open #2 buy stop 1.00 GBPUSD at 1.9689 tp: 1.9694 ok

2007.02.02 07:59 Morning Break Out GBPUSD,M1: FAILED SELL STOP. My Bid Price : 1.9651 .Bid : 1.9662 .Error : 130
2007.02.02 07:59 Morning Break Out GBPUSD,M1: FAILED BUY STOP. My Ask Price : 1.9689 .ASK : 1.9666 .Error : 130

what's wrong with the EA?Or is it me that's wrong?

Regards
Attached Files
File Type: mq4 Morning Break Out.mq4 (5.9 KB, 31 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!
Reply With Quote
Reply

Bookmarks

Tags
pending order EA


Currently Active Users Viewing This Thread: 1 (0 members and 1 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 Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Pending Order EA babarmughal Expert Advisors - Metatrader 4 15 08-23-2009 11:05 PM
EA or Script for pending order ? Nordic12 Tools and utilities 6 10-08-2007 07:35 PM
Help - Pending Order with Time Settings EA. sohail212 Expert Advisors - Metatrader 4 2 12-06-2006 01:37 AM
Pending Order EA Trailing Stop not working qazij Expert Advisors - Metatrader 4 2 08-18-2006 12:50 PM


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



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