Manual entry, automated exit (Ninja Trader or other)? - futures io
futures io futures trading

Manual entry, automated exit (Ninja Trader or other)?

Discussion in NinjaTrader

Updated by Tradexxx
      Top Posters
    1. looks_one peaceland with 7 posts (0 thanks)
    2. looks_two MWinfrey with 6 posts (10 thanks)
    3. looks_3 monpere with 5 posts (12 thanks)
    4. looks_4 Xav1029 with 5 posts (6 thanks)
      Best Posters
    1. looks_one monpere with 2.4 thanks per post
    2. looks_two MWinfrey with 1.7 thanks per post
    3. looks_3 Xav1029 with 1.2 thanks per post
    4. looks_4 bnichols with 0.7 thanks per post
    1. trending_up 10,486 views
    2. thumb_up 34 thanks given
    3. group 13 followers
    1. forum 35 replies
    2. attach_file 2 attachments

Welcome to futures io: the largest futures trading community on the planet, with well over 100,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

Search this Thread

Manual entry, automated exit (Ninja Trader or other)?

(login for full post details)
  #31 (permalink)
Posts: 6 since Sep 2012
Thanks: 79 given, 1 received

Can anyone hear Giga Super DOM for NT? Like properly written.

Reply With Quote

Can you help answer these questions
from other members on futures io?
TOS script
Trend Identifier
EasyLanguage Programming
FYI plot bug & workaround: changing color or width is delayed 1 bar
EasyLanguage Programming
DataLoader- incorrect cumulative values for other symbols
With 1 click place orders on two accounts (rithmic and cqg)
(login for full post details)
  #32 (permalink)
Lubbock TX
Experience: Intermediate
Platform: NinjaTrader
Broker: Stage 5 Trading
Trading: CL
MWinfrey's Avatar
Posts: 1,880 since Jul 2009
Thanks: 1,450 given, 3,324 received

Got the problem solved with the ManageTrades indicator for anyone interested.

Attached Files
Register to download File Type: cs ManageTradesV1.cs (7.9 KB, 113 views)
Reply With Quote
The following 8 users say Thank You to MWinfrey for this post:
(login for full post details)
  #33 (permalink)
Irvine CA/USA
Experience: Intermediate
Platform: NinjaTrade,Amibroker,Tradelink
Trading: Stocks
Posts: 3 since May 2013
Thanks: 1 given, 1 received

I was able to automate the exit of a position with a manual entry. The key was to turn off the automatic management of the order and do it yourself.

protected override void Initialize() {
Unmanaged = true;

When I run the auto exit strategy, I pass in as a parameter how many shares I want to sell of that symbol. NT thinks the position is flat. When the exit signal is trigger, I send a SubmitOrder(), and set a flag for the loop to be false.

exitOrder = SubmitOrder(0, OrderAction.Sell, OrderType.Limit, Quantity, exitPrice, 0, "", "Exit");

Let me know if you need the code.


Reply With Quote
The following user says Thank You to slamdunk73 for this post:
(login for full post details)
  #34 (permalink)
Northern Germany
Experience: Intermediate
Platform: NT
Trading: FDAX, CL
vvhg's Avatar
Posts: 1,583 since Mar 2011
Thanks: 1,016 given, 2,812 received

If you have the correct account and instrument, it's quite easy to grab the correct positions and manipulate them.
The advantage is that you can keep the orders managed. I do similar stuff with my vvMiniTradePanel...have a look at the code, it might be good for reference.


Hic Rhodos, hic salta.
Reply With Quote
(login for full post details)
  #35 (permalink)
San Diego California
Experience: None
Platform: NinjaTrader
Broker: Data: Kinetick, Broker InteractiveBrokers & DeepDiscountTraders
Trading: CL
jupiejupe's Avatar
Posts: 145 since Apr 2011
Thanks: 86 given, 65 received

slamdunk73 View Post

Let me know if you need the code.

would you mind?

"Learning to Trade: The Cost Of Tuition"
- a roadmap of my lessons learned as taught by the market
Follow me on Twitter Visit my Facebook Reply With Quote
(login for full post details)
  #36 (permalink)
Posts: 9 since Feb 2015
Thanks: 2 given, 0 received

can this used for NT8 also? or is there a solution for NT8?

Reply With Quote

futures io Trading Community Platforms and Indicators NinjaTrader > Manual entry, automated exit (Ninja Trader or other)?

March 1, 2020

Upcoming Webinars and Events

Introducing Edge Pools: Prop Pricing Model w/Edge Clear

Jul 9

Every journal equals ten meals for the hungry


Copyright © 2020 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