Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

help NT Strategy - Limit order

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

    help NT Strategy - Limit order

    Thanks!

    That worked.
    Last edited by suchen; 03-03-2009, 06:59 AM.

    #2
    Hi suchen, welcome to the NinjaTrader support forums!

    It would be helpful to review the SampleATMStrategy sample code provided in your NinjaTrader installation.

    For example this would the syntax for a limit order at the bid -
    Code:
    AtmStrategyCreate(Action.Buy, OrderType.Limit, GetCurrentBid() , 0 ,  TimeInForce.Gtc, longTradeId, atmStratLong, longAtmId);
    Please also check this link from our helpguide - http://www.ninjatrader-support.com/H...egyCreate.html
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thanks,

      That worked!

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by rocketman7, Today, 01:00 AM
      0 responses
      1 view
      0 likes
      Last Post rocketman7  
      Started by wzgy0920, 04-20-2024, 06:09 PM
      2 responses
      27 views
      0 likes
      Last Post wzgy0920  
      Started by wzgy0920, 02-22-2024, 01:11 AM
      5 responses
      32 views
      0 likes
      Last Post wzgy0920  
      Started by wzgy0920, 04-23-2024, 09:53 PM
      2 responses
      74 views
      0 likes
      Last Post wzgy0920  
      Started by Kensonprib, 04-28-2021, 10:11 AM
      5 responses
      193 views
      0 likes
      Last Post Hasadafa  
      Working...
      X