Execute Script/EA
  #1 (permalink)  
Old 05-01-2007, 11:49 PM
Currency Trader
 
Join Date: May 2007
Posts: 2
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
Forex Guru
 
Join Date: Aug 2004
Location: Behind You
Posts: 2,105
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
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
Currency Trader
 
Join Date: May 2007
Posts: 2
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
Forex Guru
 
Join Date: Aug 2004
Location: Behind You
Posts: 2,105
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
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
Nordic12 likes this.
__________________
Make easy pips with the Advanced Economic Calendar for Forex Trading.
Reply With Quote
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Need Order script w/ built in SL wadeboxjr MetaTrader and ZeroCode 0 03-05-2007 04:45 PM
I need this simple script :-) bossxero MetaTrader and ZeroCode 2 11-22-2006 02: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 02:07 AM.

Registered members gain free access to online FOREX currency trading tools, foreign exchange software, Metatrader MT4/MT5 expert advisors, MT4 indicators and EAs. Register now