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 argusthome, Yesterday, 10:06 AM
          0 responses
          20 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          18 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          14 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          9 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          40 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X