Announcement

Collapse
No announcement yet.

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 frslvr, Today, 04:29 PM
                0 responses
                2 views
                0 likes
                Last Post frslvr
                by frslvr
                 
                Started by wjadevries, Today, 04:18 PM
                0 responses
                1 view
                0 likes
                Last Post wjadevries  
                Started by shahabjet1, Today, 03:47 PM
                1 response
                9 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by JTizz, Today, 03:21 PM
                1 response
                6 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Started by EB Worx, Today, 02:49 PM
                1 response
                9 views
                0 likes
                Last Post NinjaTrader_ChelseaB  
                Working...
                X