• 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

help setstoploss

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

    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.

    #2
    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.
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      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.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by sdauteuil, Today, 11:02 PM
      1 response
      1 view
      0 likes
      Last Post sdauteuil  
      Started by Jschmelz, Today, 04:45 PM
      1 response
      7 views
      0 likes
      Last Post NinjaTrader_Marco  
      Started by sisenberg, Today, 08:06 PM
      1 response
      8 views
      0 likes
      Last Post sisenberg  
      Started by priceisking, Today, 07:44 PM
      0 responses
      5 views
      0 likes
      Last Post priceisking  
      Started by saltminer, Today, 06:06 PM
      0 responses
      5 views
      0 likes
      Last Post saltminer  
      Working...
      X