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 mjairg, 07-20-2023, 11:57 PM
                3 responses
                213 views
                1 like
                Last Post PaulMohn  
                Started by TheWhiteDragon, 01-21-2019, 12:44 PM
                4 responses
                544 views
                0 likes
                Last Post PaulMohn  
                Started by GLFX005, Today, 03:23 AM
                0 responses
                3 views
                0 likes
                Last Post GLFX005
                by GLFX005
                 
                Started by XXtrader, Yesterday, 11:30 PM
                2 responses
                12 views
                0 likes
                Last Post XXtrader  
                Started by Waxavi, Today, 02:10 AM
                0 responses
                7 views
                0 likes
                Last Post Waxavi
                by Waxavi
                 
                Working...
                X