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

Options

Bookmark Thread

First Page First Unread Last Page Last Post

Print Thread

Similar Threads

Hotforex platform behavior where orders aren't getting filled 16 replies

why am i not getting my orders filled? 2 replies

What's the reason for not getting filled? (Pics included) 5 replies

MQL Coding - Let’s talk about how to code mql 0 replies

Danger of S/L not getting filled on volatile pairs 3 replies

  • Platform Tech
  • /
  • Reply to Thread
  • Subscribe
Tags: MQL question regarding order getting filled
Cancel

MQL question regarding order getting filled

  • Post #1
  • Quote
  • First Post: Edited 1:10pm Nov 16, 2006 12:48pm | Edited 1:10pm
  •  saaedb
  • | Joined Oct 2006 | Status: Member | 465 Posts
Whats the best way to ensure that your order was filled.

Right now I'm doing somet hing like

int Ticket = 0;
int Counter = 0;
while(ticket < 1)
{
Ticket = OrderSend(.....);
/*Break the loop if it still fails after 20 tried.*/
if(Counter++ > 20)
Break;
/*If it failed, sleep for 1 second*/
if(Ticket < 1)
Sleep(1000);
}

Is there a better way to make sure it gets filled at the current price?
  • Platform Tech
  • /
  • MQL question regarding order getting filled
  • Reply to Thread
0 traders viewing now
Top of Page
  • 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 / ©2023