Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error with ATM , Maybe

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

    Error with ATM , Maybe

    I have been playing with this strategy but since I have added the ATM code it will not enter trades. The atm strategy is created so no idea. Is there something I am missing in the code?
    Attached Files

    #2
    mccallum,

    When you run this strategy, are you getting any error messages in your log tab of the control center?

    One thing I am noticing is that you are submitting market orders here but giving it a Limit price.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      I get no log errors but run the same strategy without ATM along side it, that one enters trades and this one does not. How do I adjust the entry price. I thought I was entering at market

      Comment


        #4
        Hello,

        Try :

        Code:
        AtmStrategyCreate(Cbi.OrderAction.Sell, OrderType.Market, 0, 0, TimeInForce.Day, orderId, "FtseZ", atmStrategyId);
        Adam P.NinjaTrader Customer Service

        Comment


          #5
          Thanks, ill see if that sorts the problem out.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by charlesugo_1, 05-26-2026, 05:03 PM
          0 responses
          57 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
          161 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          97 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