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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        56 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        143 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        160 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        96 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        276 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X