Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

need help

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

    need help

    tell me please, how can a designer of strategies (built into NinjaTrader) prescribe the choice ATM strategy.
    PS I apologize if that is not explained the

    #2
    Hello viktor-chel,

    Thanks for the post and welcome to the NinjaTrader forums! There is a sample available in all installations you can see for reference. Click Tools > Edit NinjaScript > Strategy > SampleAtmStrategy.

    Excerpt from the sample.
    Code:
     // **** YOU MUST HAVE AN ATM STRATEGY TEMPLATE NAMED '[COLOR="Blue"]AtmStrategyTemplate'[/COLOR] CREATED IN NINJATRADER (SUPERDOM FOR EXAMPLE) FOR THIS TO WORK ****
    if (orderId.Length == 0 && atmStrategyId.Length == 0 && Close[0] > Open[0])
    {
    	atmStrategyId = GetAtmStrategyUniqueId();
    	orderId = GetAtmStrategyUniqueId();
    	AtmStrategyCreate(Cbi.OrderAction.Buy, OrderType.Limit, Low[0], 0, TimeInForce.Day, orderId, "[COLOR="blue"]AtmStrategyTemplate[/COLOR]", atmStrategyId);
    }
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      I realized ... this is an example of ATM, but I would like to understand how the designer Ninja (tools-new-strategy .....) here to register ATM

      Comment


        #4
        ATM strategy templates are saved in the order entry window you're working with. With SuperDom for example, Right Click > Manage AtmStrategyTemplates and provide a name. Please see here for additional help saving ATM strategy templates:
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          thanks for the help

          Accordingly, I figured out, but can not figure out how to attach the ATM's strategy as an example ..... or so I have not come out?

          World's leading screen capture + recorder from Snagit + Screencast by Techsmith. Capture, edit and share professional-quality content seamlessly.

          Comment


            #6
            Thanks for the video. It sounds like you are having difficulty with the custom NinjaScript strategy you're using. For this, you will want to work with the author or vendor. We did not create this, and are just not able to offer support for 3rd party scripts.
            Ryan M.NinjaTrader Customer Service

            Comment


              #7
              thanks for the help and clarification.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by CarlTrading, 03-31-2026, 09:41 PM
              1 response
              32 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Started by CarlTrading, Yesterday, 02:41 AM
              0 responses
              14 views
              0 likes
              Last Post CarlTrading  
              Started by CaptainJack, 03-31-2026, 11:44 PM
              0 responses
              23 views
              1 like
              Last Post CaptainJack  
              Started by CarlTrading, 03-30-2026, 11:51 AM
              0 responses
              40 views
              0 likes
              Last Post CarlTrading  
              Started by CarlTrading, 03-30-2026, 11:48 AM
              0 responses
              34 views
              0 likes
              Last Post CarlTrading  
              Working...
              X