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



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


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one peaceland with 7 posts (0 thanks)
    2. looks_two MWinfrey with 6 posts (11 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.8 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 12,965 views
    2. thumb_up 35 thanks given
    3. group 13 followers
    1. forum 35 posts
    2. attach_file 2 attachments




Welcome to futures io: the largest futures trading community on the planet, with well over 125,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)
AlexG
Moscow
 
 
Posts: 6 since Sep 2012
Thanks: 79 given, 1 received

Hello.
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?
TD Sequential for NT or MW?
Platforms and Indicators
Color templates for MT5 40 items
Platforms and Indicators
Experience with AGN (Introducing Broker)
Brokers
Ninjatrader 8 Indicator - Plotting lines as offset from …
NinjaTrader
Bank account
Psychology and Money Management
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Al Brooks Trading Course (www.brookstradingcourse.com)
29 thanks
Fail to Plan - Plan to Fail: What can go wrong?
22 thanks
Losing faith...
21 thanks
Where do you get your financial news & investment ideas?
18 thanks
Holding futures overnight
17 thanks
 
(login for full post details)
  #32 (permalink)
 MWinfrey 
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,328 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, 116 views)
Reply With Quote
The following 9 users say Thank You to MWinfrey for this post:
 
(login for full post details)
  #33 (permalink)
 slamdunk73 
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.

Andy

Reply With Quote
The following user says Thank You to slamdunk73 for this post:
 
(login for full post details)
  #34 (permalink)
 vvhg 
Northern Germany
 
Experience: Intermediate
Platform: NT
Trading: FDAX, CL
 
vvhg's Avatar
 
Posts: 1,583 since Mar 2011
Thanks: 1,016 given, 2,816 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.

vvhg

Hic Rhodos, hic salta.
Reply With Quote
 
(login for full post details)
  #35 (permalink)
 jupiejupe 
San Diego California
 
Experience: None
Platform: Home Grown IN Development
Broker: Broker InteractiveBrokers
Trading: CL
 
jupiejupe's Avatar
 
Posts: 146 since Apr 2011
Thanks: 87 given, 68 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 Reply With Quote
 
(login for full post details)
  #36 (permalink)
Tradexxx
Germany
 
 
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)?


Last Updated on March 1, 2020


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), 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