How to cancel and reorder within 1 min intrabar? - NinjaTrader Programming | futures io social day trading
futures io futures trading


How to cancel and reorder within 1 min intrabar?
Updated: Views / Replies:617 / 6
Created: by ericson 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 90,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 to cancel and reorder within 1 min intrabar?

  #1 (permalink)
Winning Is What I do
Sacramento, CA
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: NA
Favorite Futures: Stocks, Forex
 
Posts: 64 since Nov 2013
Thanks: 14 given, 16 received

How to cancel and reorder within 1 min intrabar?

So im trading EURUSD with limit orders and sometimes they are canceled, mostly selling short or selling. I want the best limit order price within the 1 min bar. I want to chase it within the bar say every 5 or 10 seconds and not wait until the end of bar to reorder.

I cant find a way to save the Iorder variable such as for a 1 sec onbarupdate interval to conduct such a method. Every onbarupdate resets all the internal script variables.

Neither using onorderupdate because its not until the next bar is it canceled and then reordered.

There seems no way around this.

Reply With Quote
 
  #2 (permalink)
Quick Summary
Quick Summary Post

Quick Summary is created and edited by users like you... Add FAQ's, Links and other Relevant Information by clicking the edit button in the lower right hand corner of this message.

 
  #3 (permalink)
Elite Member
NC, USA
 
Futures Experience: None
Platform: None Yet
Favorite Futures: Guitar
 
MrYou's Avatar
 
Posts: 403 since Jun 2011
Thanks: 618 given, 193 received


Execute your trades on a secondary time/data series such as a 5 or 10 seconds data series.

Reply With Quote
 
  #4 (permalink)
Winning Is What I do
Sacramento, CA
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: NA
Favorite Futures: Stocks, Forex
 
Posts: 64 since Nov 2013
Thanks: 14 given, 16 received

That wont work because i need COBC = true and the small interval in onbarupdate the IOrder variable is lost on each update. Again, im at a loss here.

Reply With Quote
 
  #5 (permalink)
Elite Member
Northern Germany
 
Futures Experience: Intermediate
Platform: NT
Favorite Futures: FDAX, CL
 
vvhg's Avatar
 
Posts: 1,583 since Mar 2011
Thanks: 1,016 given, 2,807 received

You could either use a timer (easy) or write your own custom event (more work, but the elegant way) for this scenario.

vvhg

Hic Rhodos, hic salta.
Reply With Quote
 
  #6 (permalink)
Winning Is What I do
Sacramento, CA
 
Futures Experience: Advanced
Platform: NinjaTrader
Broker/Data: NA
Favorite Futures: Stocks, Forex
 
Posts: 64 since Nov 2013
Thanks: 14 given, 16 received

Ive looked into trigger custom event but cant make it work. Can you point me in the right direction to do this? Sample code?

Reply With Quote
 
  #7 (permalink)
Elite Member
Northern Germany
 
Futures Experience: Intermediate
Platform: NT
Favorite Futures: FDAX, CL
 
vvhg's Avatar
 
Posts: 1,583 since Mar 2011
Thanks: 1,016 given, 2,807 received


ericson View Post
Ive looked into trigger custom event but cant make it work. Can you point me in the right direction to do this? Sample code?

Here is one example:https://futures.io/download/vip_elite_circle/1331-download.html?view

There are also 100s of examples when you search via google as it's plain C# stuff.

Vvhg

Hic Rhodos, hic salta.
Reply With Quote

Reply



futures io > > > > > How to cancel and reorder within 1 min intrabar?

Thread Tools Search this Thread
Search this Thread:

Advanced Search



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

Linda Bradford Raschke: Reading The Tape

Elite only

Adam Grimes: TBA

Elite only

NinjaTrader: TBA

January

Ran Aroussi: TBA

Elite only
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
Intrabar VWAP Eubie NinjaTrader Programming 6 February 3rd, 2012 06:12 PM
cancel last order terratec NinjaTrader Programming 16 September 1st, 2011 02:17 PM
IOG causing my limit order to cancel and replace intrabar tradersheldon EasyLanguage Programming 10 August 2nd, 2011 10:03 AM
how can a lay a 5 min prc chart on 1 min chart for ninjatrader 7 optimus prime NinjaTrader 2 May 18th, 2011 07:14 PM
alert works on 1-min, but not on 60-min epictetus EasyLanguage Programming 2 May 9th, 2011 03:06 PM


All times are GMT -4. The time now is 06:23 AM.

Copyright © 2017 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 2017-12-12 in 0.08 seconds with 19 queries on phoenix via your IP 54.145.51.250