Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Sample ATM strategy.

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

    Sample ATM strategy.

    Hi,

    the Sample ATM strategy(one default sample in NT8) doesn't work when I run it on playback.

    Please take a look at the video, it doesn't seem to take position even though in other tab my strategy is working.
    Last edited by bosajin; 08-02-2020, 07:43 PM.

    #2
    Easy and free screen recorder for Mac, Windows, and Chromebooks. Record your camera and screen with audio directly from your Chrome browser and share the video with your team, friends, and family.

    Comment


      #3
      Hello bosajin,

      The video shows an AtmStrat... becoming active, exit orders being placed, and the position is changing.

      Can you clarify the issue you are having?
      Chelsea B.NinjaTrader Customer Service

      Comment


        #4
        it seems to be not taking any position, it should display entering point something like 1st attachment.

        Comment


          #5
          I think , this line should take long position

          AtmStrategyCreate(OrderAction.Buy, OrderType.Limit, GetCurrentBid(), 0, TimeInForce.Day, orderId, "AtmStrategyTemplate", atmStrategyId, (atmCallbackErrorCode, atmCallBackId) => {

          right?
          Attached Files

          Comment


            #6
            Hello bosajin,

            Yes, a buy limit order when filled will enter a long position if the position is flat when the order is submitted.

            If there are orders being placed, then the position is changing. Are you looking at the Positions tab of the Control Center after new orders appear and there are no Positions showing on the Positions tab of the Control Center?

            Do you have any filters checked in the right-click menu from the Positions tab of the Control Center?
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Hi,

              Yes, I don't see any report when I go to Strategy Performance > Strategy Name > Real-time > Trades or Orders
              I don't see any record in both records.
              I am confident there is not any filter.

              Comment


                #8
                Hello bosajin,

                From the help guide:
                "Executions from ATM Strategies will not have an impact on the hosting NinjaScript strategy position and PnL - the NinjaScript strategy hands off the execution aspects to the ATM, thus no monitoring via the regular NinjaScript strategy methods will take place (also applies to strategy performance tracking)"
                https://ninjatrader.com/support/help...strategies.htm


                Instead please view the Positions tab of the Control Center.
                Chelsea B.NinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Aviram Y, Today, 05:29 AM
                0 responses
                1 view
                0 likes
                Last Post Aviram Y  
                Started by quantismo, 04-17-2024, 05:13 PM
                3 responses
                25 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Started by ScottWalsh, 04-16-2024, 04:29 PM
                7 responses
                34 views
                0 likes
                Last Post NinjaTrader_Gaby  
                Started by cls71, Today, 04:45 AM
                0 responses
                6 views
                0 likes
                Last Post cls71
                by cls71
                 
                Started by mjairg, 07-20-2023, 11:57 PM
                3 responses
                216 views
                1 like
                Last Post PaulMohn  
                Working...
                X