NexusFi: Find Your Edge


Home Menu

 





Add to original position in NinjaTrader Strategy


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one ryohkyo with 2 posts (0 thanks)
    2. looks_two zeller4 with 1 posts (1 thanks)
    3. looks_3 gregid with 1 posts (1 thanks)
    4. looks_4 tellytub with 1 posts (0 thanks)
    1. trending_up 4,217 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread

Add to original position in NinjaTrader Strategy

  #1 (permalink)
 ryohkyo 
San Francisco, CA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zen-Fire
Trading: ES
Posts: 54 since Feb 2010
Thanks Given: 8
Thanks Received: 17

Hi, is there any way to add more to the original entry position in a NinjaTrader strategy? Thanks!

Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
MC PL editor upgrade
MultiCharts
About a successful futures trader who didn´t know anyth …
Psychology and Money Management
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
Quant vue
Trading Reviews and Vendors
Cheap historycal L1 data for stocks
Stocks and ETFs
 
  #3 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 477 since Jun 2009
Thanks Given: 1,416
Thanks Received: 404


Best way would be to have a unique name for the second order's contract(s) - "L2", "S2". Also you could have different entry criteria for the new orders. ie, if after entry there is an additional pullback but my stop isn't hit and it creates a new qualified setup, then enter with additional contracts.

If you have any more specific scenarios, let us know.
Kirk

Reply With Quote
Thanked by:
  #4 (permalink)
 
tellytub's Avatar
 tellytub 
london uk
 
Experience: Beginner
Platform: NinjaTrader
Broker: Zen-Fire
Trading: Stocks
Posts: 410 since Jun 2009
Thanks Given: 333
Thanks Received: 121


zeller4 View Post
Best way would be to have a unique name for the second order's contract(s) - "L2", "S2". Also you could have different entry criteria for the new orders. ie, if after entry there is an additional pullback but my stop isn't hit and it creates a new qualified setup, then enter with additional contracts.

If you have any more specific scenarios, let us know.
Kirk

zeller4, really dumb question, but the long/shorts trades, are they not unique? Why would you want to create unique names for orders.

Thanks

Reply With Quote
  #5 (permalink)
 
gregid's Avatar
 gregid 
Wrocław, Poland
 
Experience: Intermediate
Platform: NinjaTrader, Racket
Trading: Ockham's razor
Posts: 650 since Aug 2009
Thanks Given: 320
Thanks Received: 623


tellytub View Post
zeller4, really dumb question, but the long/shorts trades, are they not unique? Why would you want to create unique names for orders.

Thanks

If your settings are to allow only unique entries then obviously you cannot have two similar entry positions.

Example:

You enter long but then you would like to add to winners, but if 1st (initial) enter long has exactly the same name as 2nd (add-to-winners) enter long, NT won't allow to execute 2nd long.

The solution is to give unique identifiers to an Order, like "Long1", "Long2", etc

The syntax is as follows:

EnterLong(int quantity) //when no unique identifier needed
EnterLong(int quantity,string signalName) //with signalName as unique identifier

Reply With Quote
Thanked by:
  #6 (permalink)
 ryohkyo 
San Francisco, CA
 
Experience: Intermediate
Platform: NinjaTrader
Broker: Zen-Fire
Trading: ES
Posts: 54 since Feb 2010
Thanks Given: 8
Thanks Received: 17

Hi zeller4, I got it resolved by following your instructions. Thank you very much.

Started this thread Reply With Quote




Last Updated on March 14, 2010


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts