Execute Script/EA
  #1 (permalink)  
Old 05-01-2007, 11:49 PM
Freshman
 
Join Date: May 2007
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Nordic12 is on a distinguished road
Default Execute Script/EA

Hello - I was wondering to see if some one could help me

I need an EA/script to overcome Metatraders inability to add pending orders


I know at what price I want to buy and sell at, which I manually can add in, and the EA/script would loop at tick until it reaches that price and executes itself - ideally i can set a SL and TP

can anyone help ?
Reply With Quote
  #2 (permalink)  
Old 05-02-2007, 12:35 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,957
Thanks: 113
Thanked 380 Times in 151 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

You can enter limit orders with MT4. After you press F9, change the "Type" field from "Instant Order" to "Pending Order". Then you'll see Buy Limit, Buy Stop, Sell Limit, and Sell Stop. Those are pending orders.

I recommend you read this article by MetaQuotes: How are pending orders placed?
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
  #3 (permalink)  
Old 05-02-2007, 11:37 PM
Freshman
 
Join Date: May 2007
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Nordic12 is on a distinguished road
Default

Hi Scorpian

Thanks for that - I dont i made my self clear. Let me make an example - the current price for cable is 1.9895. I think that the price breakout will be at 1.9990. I want to put an order to buy at 1.9990, with a stop loss of 10 and a Tp of 20. Obviosly i may also put in a sell order at 1.865, witha stop loss of 10 and a tp of 20.

I cannot do this with pending orders .

Any help ?
Reply With Quote
  #4 (permalink)  
Old 05-03-2007, 12:10 AM
scorpion's Avatar
Administrator
 
Join Date: Aug 2004
Posts: 1,957
Thanks: 113
Thanked 380 Times in 151 Posts
scorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to beholdscorpion is a splendid one to behold
Send a message via MSN to scorpion Send a message via Yahoo to scorpion
Default

Yes you can do that with pending orders. I've done that numerous times already.

Order #1: Buy Stop, Price = 1.9990, SL = 19980, TP = 2.0010
Order #2: Sell Stop, Price = 1.8650, SL = 1.8660, TP = 1.8630
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
The following users have thanked scorpion for useful post above:
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
Need Order script w/ built in SL wadeboxjr MetaTrader and ZeroCode 0 03-05-2007 03:45 PM
I need this simple script :-) bossxero MetaTrader and ZeroCode 2 11-22-2006 01:03 AM
4109 Bug in reverse script Bill R Trading Systems 3 08-04-2006 08:12 PM
Easy Questions About Script matthd MetaTrader and ZeroCode 7 10-25-2005 11:03 PM


All times are GMT. The time now is 04:39 PM.
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