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?

          Free online storage and sharing with Screencast.com. 2 GB of storage and 2 GB of bandwidth per month for free. We won't compress, alter or take ownership of your content.

          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 RookieTrader, Today, 09:37 AM
              2 responses
              10 views
              0 likes
              Last Post RookieTrader  
              Started by alifarahani, Today, 09:40 AM
              1 response
              6 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Started by Gerik, Today, 09:40 AM
              2 responses
              6 views
              0 likes
              Last Post Gerik
              by Gerik
               
              Started by KennyK, 05-29-2017, 02:02 AM
              3 responses
              1,285 views
              0 likes
              Last Post NinjaTrader_Clayton  
              Started by AttiM, 02-14-2024, 05:20 PM
              11 responses
              186 views
              0 likes
              Last Post NinjaTrader_ChelseaB  
              Working...
              X