• 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 cocopod, Today, 05:32 AM
      1 response
      2 views
      0 likes
      Last Post sledge
      by sledge
       
      Started by Leeroy_Jenkins, Today, 03:52 AM
      2 responses
      14 views
      0 likes
      Last Post Leeroy_Jenkins  
      Started by Leope, Today, 03:15 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_ChrisSch  
      Started by Frook1951, Today, 03:09 AM
      0 responses
      5 views
      0 likes
      Last Post Frook1951  
      Started by unlobotrader, Today, 02:46 AM
      0 responses
      6 views
      0 likes
      Last Post unlobotrader  
      Working...
      X