Multiple Entries with SET methods to exit (OCO) - NinjaTrader | futures io social day trading
futures io futures trading

Multiple Entries with SET methods to exit (OCO)
Updated: Views / Replies:1,465 / 1
Created: by GSREDDY 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

Thread Tools Search this Thread

Multiple Entries with SET methods to exit (OCO)

  #1 (permalink)
Elite Member
Futures Experience: Advanced
Platform: Ninjatrader,TS,IRT
Broker/Data: IQfeed
Favorite Futures: ES
Posts: 45 since Feb 2012
Thanks: 26 given, 21 received

Multiple Entries with SET methods to exit (OCO)


Can some one please explain how the strategy works with multiple entries with different entry name with setprofittarget and setstoploss for exits for below two cases? It will be great if you can answer all the questions, it will help me in my strategy design and helps in understanding order execution. I went through the HELP and understand most of it related to SET methods. I am more interested in Case1 as I will have more control to modify Profit Target (PT). i have not started implementing entry and exits in my strategy(to go live) as i have not completely understand the process.

I have used ES price for examples and used below long limit order for entry
EnterLongLimit(int barsInProgressIndex, bool liveUntilCancelled, int quantity, double limitPrice, string signalName)

Case1: current market is trading @ 1390 and executed below two entry methods at same price
Entry 1: EnterLongLimit(0, true,1,1389, “entry1”)
Entry 2: EnterLongLimit(0, true,1,1389, “entry2”)
SetProfitTarget(“entry1”, CalculationMode.Ticks, 4)
SetStopLoss(“entry1”, CalculationMode.Ticks, 4,false)
SetProfitTarget(“entry2”, CalculationMode.Ticks, 4)
SetStopLoss(“entry2”, CalculationMode.Ticks, 4,false)
If entry1 gets filled and market moves 5 ticks in favor,
will the profit target for entry1 gets filled and stop loss for entry1 gets cancelled (Entry2 limit buy order is still in the exchange, not yet filled)?
What will happen to entry2?

When the market comes below entry2 level after trading above entry1 PT(assuming entry1 exited with PT) will it get filled with entry2 price and sends PT and Stoploss orders for entry2?

If entry1 and 2 gets filled at the same time and sends exit orders for PT and Stoploss,
can I update the PT for one of the entries by resetting the profit target with fromEntrySignal SetProfitTarget(“entry1”, CalculationMode.Ticks, 24)?

Case2: current market is trading @ 1390 and executed below entry method along with SET methods
Entry 3: EnterLongLimit(0, true,100,1389, “entry3”)
SetProfitTarget(“entry3”, CalculationMode.Ticks, 4)
SetStopLoss(“entry3”, CalculationMode.Ticks, 4,false)

If the price comes to 1389 and partially fill 10 out of 100,
will the profit target and stop loss be set for 10 related to entry3?

if the market moves in favor and traders above entry3 PT will the PT order gets filled and cancels stoploss order for 10 quantity?

If there is a partial fill @ entry3 profit target (4 out of 10) and market comes back to entry3 level(1389) and partially fill 20 out of 90 (remaining 100 -10), will these 20 gets added to PT and stop loss orders?

Can this process partial fill/ exit with PT or complete fill with PT or Stop loss continues till entry3 quantity completely fill?


Reply With Quote
  #2 (permalink)
Elite Member
Futures Experience: Advanced
Platform: Ninjatrader,TS,IRT
Broker/Data: IQfeed
Favorite Futures: ES
Posts: 45 since Feb 2012
Thanks: 26 given, 21 received


i got the reply from Ninja form
Multiple Entries with SET methods to exit (OCO) - NinjaTrader Support Forum

i am not able to think of any other possible cases for OCO orders. my experience with Ninja is very limited. not used before.
can you please help me if i am missing any thing related to OCOs?


Reply With Quote


futures io > > > > Multiple Entries with SET methods to exit (OCO)

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

Wyckoff Hunting for Great Risk/Reward Ratio w/Gary Fullett

Elite only

Digging into the Details of iSystems w/Stage 5 & iSystems

Jun 5

Similar Threads
Thread Thread Starter Forum Replies Last Post
need help stopping multiple entries on the same bar cboss EasyLanguage Programming 2 October 1st, 2011 11:04 PM
Let's talk 'Exit Strategies'; your methods to help cure my madness zwentz Psychology and Money Management 11 September 14th, 2011 07:57 AM
How to do Multiple Automated Entries in Ninja? Treggs NinjaTrader 4 January 12th, 2011 07:08 PM
Managing multiple entries arjfca EasyLanguage Programming 2 October 16th, 2010 06:28 PM
Catching breakouts using OCO stop limit bracket orders for entries dennho Traders Hideout 4 October 1st, 2010 08:51 AM

All times are GMT -4. The time now is 07:38 AM.

Copyright © 2018 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432,
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-05-22 in 0.09 seconds with 23 queries on phoenix via your IP