How can I convert a failed limit order to a market order? - MultiCharts | futures io social day trading
futures io futures trading


Notices

How can I convert a failed limit order to a market order?
Updated: Views / Replies:502 / 3
Created: by ELong Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

How can I convert a failed limit order to a market order?

  #1 (permalink)
Trading Apprentice
Chicago
 
Futures Experience: Master
Platform: MuktiCharts
Favorite Futures: Gold
 
Posts: 4 since Apr 2013
Thanks: 3 given, 0 received

How can I convert a failed limit order to a market order?

Hello,
Has anyone written EL code to convert a failed limit order on a range bar into a market order on the following range bar? I am trying to write some order handling instructions that initiate a limit order under certain conditions, however if the order is not filled, I would like the order to go out as a market order on the next bar. Any suggestions are appreciated. Thank you.

Reply With Quote
 
  #2 (permalink)
Elite Member
Milan (Italy)
 
Futures Experience: Advanced
Platform: TradeStation, MC, TWS
Broker/Data: TradeStation, IB
Favorite Futures: Futures, Forex
 
tradingest's Avatar
 
Posts: 98 since Dec 2014
Thanks: 7 given, 9 received

if you post the code I can help you

Sent from my SM-G900F using futures.io mobile app

Reply With Quote
The following user says Thank You to tradingest for this post:
 
  #3 (permalink)
Membership Temporarily Revoked
Boston, MA
 
Futures Experience: Intermediate
Platform: NT7
Favorite Futures: CL, RB, LE
 
Posts: 264 since Apr 2014
Thanks: 102 given, 175 received



ELong View Post
Hello,
Has anyone written EL code to convert a failed limit order on a range bar into a market order on the following range bar? I am trying to write some order handling instructions that initiate a limit order under certain conditions, however if the order is not filled, I would like the order to go out as a market order on the next bar. Any suggestions are appreciated. Thank you.

Hrmm. You know, I have seen this, or something like it, in Ninja. It has something similar. It's basically like this...

You set a stop limit order with an offset in ticks on your desired direction.

So for example, in a long, say you have a stop limit order to buy one GC long at 1000.00. The current price is at 999. The price heads up to 1000.x When the stop is hit when the price gets to 1000.00, your limit order gets placed at, say, 1000.50? Is that the same thing that ye be looking for?

Hrmm, if the limit order is not filled, turn it into a market order...Oh wait, wouldn't that be a "market-if-touched" thingy?

Reply With Quote
The following user says Thank You to HoopyTrading for this post:
 
  #4 (permalink)
 Vendor: www.abctradinggroup.com 
Hamburg Germany
 
Futures Experience: Advanced
Platform: Multicharts, Tradestation
Broker/Data: DTN IQ
Favorite Futures: ES
 
Posts: 1,846 since Apr 2013
Thanks: 301 given, 1,130 received
Forum Reputation: Legendary

ELong,

orders in Multicharts remain alive as long as the conditions that triggered the order stay unchanged. As you can't convert the order type it would work along the lines of cancel your limit order and send a market order instead.
The code for the above would depend on the code you have, but in general you'd make sure that the conditions that keep the limit order alive are set back to false at the end of the bar (or at the beginning of the new bar) and instead your code sends a market order at that moment.

I assume the build in feature to convert limit orders to market orders after X seconds can't be used here due to the range bars (and thus you don't know in advance when the bar closes).

Regards,

ABCTG

Reply With Quote
The following user says Thank You to ABCTG for this post:

Reply



futures io > > > > How can I convert a failed limit order to a market order?

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)
 

Fundraiser: Feeding Families in Need (ends Dec 17)

December
 

Ask Me Anything (Brokers & Platforms) w/Ilan Levy Mayer @ Cannon Trading

Dec 13
 

Battlestations! Show us your trading desks w/GFF Brokers ($750 in Prizes)

January
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Market order type better for futures vs Limit order? zx58 Beginners and Introductions 8 January 19th, 2015 03:56 PM
Programming another limit order if order isn't filled? ericson NinjaTrader Programming 5 January 28th, 2014 06:50 AM
ATM Strategy: Limit order & stop loss order at the same time in the market? DrE6 NinjaTrader 2 June 21st, 2013 02:12 PM
Time of Order Submission Limit Calculation / Conditional / Price Improvement Order CoopGeko IB Trader Workstation 0 September 17th, 2012 10:15 PM
Convert Limit to Market Order GSREDDY NinjaTrader 3 August 13th, 2012 04:50 AM


Tags
code, es, futures, gc, limit order, limit orders, market order, multicharts, range bar, range bars, stop limit, stop limit order, tapatalk, type

All times are GMT -4. The time now is 10:11 AM. (this page content is cached, log in for real-time version)

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts
Page generated 2018-12-12 in 0.13 seconds with 14 queries on phoenix