Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

question about this function

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

    question about this function

    value1 = NTBuyMarket(OrderName,100);

    if NTMarketPosition ("") < 0 then this function should buy to cover correct????????

    #2
    NT functions take care of Buy or BuyToCover internally. So if you are short, and call NTBuyMarket() it will cover your short position.
    RayNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by seanthenoob, 06-19-2020, 10:16 AM
    8 responses
    672 views
    0 likes
    Last Post Brockjava  
    Started by gyilaoliver, Today, 03:31 AM
    3 responses
    16 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by mtamaku, Yesterday, 11:08 AM
    10 responses
    24 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by PaulMohn, 01-04-2024, 10:08 AM
    6 responses
    122 views
    0 likes
    Last Post SnailHorn  
    Started by Rafaelseki, Today, 03:14 AM
    2 responses
    10 views
    0 likes
    Last Post Rafaelseki  
    Working...
    X