Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

help setstoploss

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

  • optimuss
    replied
    Originally posted by NinjaTrader_Cal View Post
    Hello optimuss,

    This is not possible as the Set() orders will always be submitted to the primary time frame of the instrument.

    You would need to submit these orders by using ExitLong() and designating the BarsInProgress property for it

    http://www.ninjatrader.com/support/h...l?exitlong.htm

    Let me know if I can be of further assistance.
    Hello, Thanks.

    Leave a comment:


  • NinjaTrader_CalH
    replied
    Hello optimuss,

    This is not possible as the Set() orders will always be submitted to the primary time frame of the instrument.

    You would need to submit these orders by using ExitLong() and designating the BarsInProgress property for it

    http://www.ninjatrader.com/support/h...l?exitlong.htm

    Let me know if I can be of further assistance.

    Leave a comment:


  • optimuss
    started a topic help setstoploss

    help setstoploss

    I have a two-frame strategy. Both frames hold the same instrument but in different time scales (one daily and one monthly).
    I would like to have NT to enter long position in one frame with EnterLong(...) and enter short position in the OTHER frame with SetStopLoss(...) (That is, make setstoploss work only in the second frame).
    Is that possible? If not, are there any workarounds to have a similar behaviour with another set of orders?.
    Thank you.

Latest Posts

Collapse

Topics Statistics Last Post
Started by CarlTrading, 03-31-2026, 09:41 PM
1 response
152 views
1 like
Last Post NinjaTrader_ChelseaB  
Started by CarlTrading, 04-01-2026, 02:41 AM
0 responses
89 views
1 like
Last Post CarlTrading  
Started by CaptainJack, 03-31-2026, 11:44 PM
0 responses
133 views
2 likes
Last Post CaptainJack  
Started by CarlTrading, 03-30-2026, 11:51 AM
0 responses
127 views
1 like
Last Post CarlTrading  
Started by CarlTrading, 03-30-2026, 11:48 AM
0 responses
107 views
0 likes
Last Post CarlTrading  
Working...
X