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 5,467 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 5 posts
    2. attach_file 0 attachments




 
Search this Thread
  #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?
Bitcoin’s 2022 low, 2025 high and 2026 low so far arou …
Cryptocurrency
No book, only a stair: journaling fills where price move …
Cryptocurrency
requesting .nrd replay files from 2026 spy and qqq
The Elite Circle
AI for Traders — Agents, Memory, Tools & Real-Worl …
Elite Quantitative GenAI/LLM
[WTS] ATAS Lifetime ULTRA license – EU buyers only – …
Platforms and Indicators
 
  #3 (permalink)
 zeller4 
Orlando Florida
 
Experience: Intermediate
Platform: NT8
Trading: CL, NQ, ES, RTY
Posts: 478 since Jun 2009
Thanks Given: 1,419
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: 649 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


© 2026 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 - Downloads - Top
no new posts