• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Placing 2 Orders on Same Trend

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Placing 2 Orders on Same Trend

    Hi,

    Is it possible to program a strategy to place an additional order once one order is already placed? I am not an advanced programmer, I've just created a simpler strategy thus far.

    If my strategy is running as it should, and conditions of the strategy are met and it places an order (with, say, a profit target of 5), and then on the next bar when it still hasn't hit its profit target, the conditions are still met, is it possible to get this strategy to place another order (for a second contract basically)?

    So ultimately, 2 contracts would be ordered but at slightly different times, one right after the other in consecutive bars?

    Thank you.

    #2
    Hello WilliamW,

    Thanks for your post.

    Yes, all possible.

    You will need to set your "entries per direction" to 2. This can be done in the code or at the time you run the strategy through the strategy parameters.

    References:
    https://ninjatrader.com/support/help...rdirection.htm
    https://ninjatrader.com/support/help...t_strategy.htm
    https://ninjatrader.com/support/help...t_strateg2.htm
    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by rainbow47, Today, 06:10 AM
    1 response
    9 views
    0 likes
    Last Post NinjaTrader_ChristopherD  
    Started by oscsoft, Yesterday, 07:07 PM
    1 response
    13 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by pjsmith, Today, 03:28 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by Leeroy_Jenkins, Today, 06:54 AM
    0 responses
    3 views
    0 likes
    Last Post Leeroy_Jenkins  
    Started by stenberg98, Today, 04:53 AM
    2 responses
    7 views
    0 likes
    Last Post NinjaTrader_Marco  
    Working...
    X