Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

link stop to limit price

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

    link stop to limit price

    Hello NT experts,

    In stop lomit order submission such as EnterShortStopLimit, will it Ok if I calculate limit price out of stop price in this way:

    enterlong = EnterLongStopLimit(int barsInProgressIndex, bool liveUntilCancelled, int quantity, enterlong.StopPrice+1*TickSize, double stopPrice,string signalName)

    Regards,

    #2
    This would not work, as you would attempt to access a null IOrder object resulting in an error...
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by muratb35, Today, 03:36 AM
    0 responses
    4 views
    0 likes
    Last Post muratb35  
    Started by fernlicht, Today, 02:16 AM
    2 responses
    14 views
    0 likes
    Last Post fernlicht  
    Started by fernlicht, 04-12-2021, 06:01 PM
    1 response
    30 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Started by memonolog, Today, 02:10 AM
    3 responses
    11 views
    0 likes
    Last Post memonolog  
    Started by orenytz, Today, 12:25 AM
    0 responses
    10 views
    0 likes
    Last Post orenytz
    by orenytz
     
    Working...
    X