• Home
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • User/Email: Password:
  • 11:34pm
Menu
  • Forums
  • Trades
  • News
  • Calendar
  • Market
  • Brokers
  • Login
  • Join
  • 11:34pm
Sister Sites
  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

MT4 Order Pending Order/Order Modify Issue 1 reply

[EA] Close all buy/sell + pending orders /setpair/set $ profit 10 replies

buy/sell Pending order script with TP and SL 7 replies

Current price different for pending order sell and buy? 7 replies

Using a pending order to partialy close out an order. 2 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
  • 1
Attachments: Buy/Sell Pending Order on Close
Exit Attachments

Buy/Sell Pending Order on Close

  • Post #1
  • Quote
  • First Post: May 28, 2009 5:59am May 28, 2009 5:59am
  •  n000b
  • | Joined Mar 2009 | Status: The Chick Magnet | 187 Posts
Hi!

Is there any EA available, that would open a BUY/SELL order when the last close is above or below a certain price. The pending order type in MT is just if the price reaches that level. I am looking for if the price closes at or above/below that level for the last bar.

Thanks for your time!
If it floats, flies, or f%^ks, rent it, it's cheaper.
  • Post #2
  • Quote
  • May 28, 2009 6:20am May 28, 2009 6:20am
  •  Trk
  • Joined Jan 2008 | Status: Member | 226 Posts
coded it quick and haven't had a chance to test it so if there are any bugs let me know and I will fix them.
Attached File
File Type: ex4 Price_EA.ex4   5 KB | 579 downloads
 
 
  • Post #3
  • Quote
  • May 22, 2011 5:34am May 22, 2011 5:34am
  •  slistes
  • | Joined May 2011 | Status: Junior Member | 1 Post
But there is just buy option, what abour sell ? I would like hedge this way. I actually do it manually. Can you help me Trk ?
 
 
  • Post #4
  • Quote
  • Last Post: Sep 9, 2020 5:19pm Sep 9, 2020 5:19pm
  •  Samalin
  • | Joined Apr 2017 | Status: Member | 419 Posts
Quoting Trk
Disliked
coded it quick and haven't had a chance to test it so if there are any bugs let me know and I will fix them. {file}
Ignored

yes please there are bugs, please can you help?
 
 
  • Platform Tech
  • /
  • Buy/Sell Pending Order on Close
  • Reply to Thread
0 traders viewing now
Top of Page
Forex Factory Blog Updated: Alerting All Members
  • Facebook
  • Twitter
About FF
  • Mission
  • Products
  • User Guide
  • Media Kit
  • Blog
  • Contact
FF Products
  • Forums
  • Trades
  • Calendar
  • News
  • Market
  • Brokers
  • Trade Explorer
FF Website
  • Homepage
  • Search
  • Members
  • Report a Bug
Follow FF
  • Facebook
  • Twitter

FF Sister Sites:

  • Metals Mine
  • Energy EXCH
  • Crypto Craft

Forex Factory® is a brand of Fair Economy, Inc.

Terms of Service / ©2022