Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

AtmStrategyCreate

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

    AtmStrategyCreate

    I would like to enter an order using AtmStrategyCreate. But I have a few questions.

    1) When the AtmStrategyCreate() line is executed does that create a DOM which appears on my screen?
    2) the parameters limitprice, stopprice are set to 0 in your example I'm not sure what those values mean.

    Thanks

    #2
    1) No but you can open a SuperDOM and monitor a strategy created via your script

    2) Its the value of either the stop or limit price when submitting a limit, stop or stop limit order
    RayNinjaTrader Customer Service

    Comment


      #3
      Ok.

      I would like to enter a limit order so the limit parameter will be Bars.CurrentBid. I'm not putting a stop limit order so do I just leave it as 0?

      AtmStrategyCreate(Action.Buy, OrderType.Limit, Bars.CurrentBid, 0, TimeInForce.Day, GetAtmStrategyUniqueId(), "ATM_SEMI_AUTO_YM_MOMENTUM_1M_LONG", GetAtmStrategyUniqueId());
      Last edited by AO76; 05-20-2007, 07:24 PM.

      Comment


        #4
        Yes, just leave it as zero.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        63 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        35 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        54 views
        1 like
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        61 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        48 views
        0 likes
        Last Post CarlTrading  
        Working...
        X