Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Implementing ATM capability

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

    Implementing ATM capability

    I built a strategy in strategy builder. Now I want to implement ATM functionality. I searched forever and only came across another helparticle pointing me to the sample strategy preinstalled with NT8. However there's no eplanation as to where my custom code would have to go. I tried to copy and paste but reveived error messages.
    It would be very nice that if an order is filled the ATM strategy selected in the ChartTrader would be used for automated trade execution since the target and stops in strategy builder are very basic.
    Appreciate any help!


    #2
    Hello HappyTrader76,

    The SampleATMStrategy contains a complete strategy, all of that is required to run an ATM from a NinjaScript strategy. You wouldn't be able to copy/paste from the builder into that because the builder uses the managed approach for order submission, you could form conditions in the builder and use that as a guide if you wanted to make different entry conditions for the sample. This sample has a demo entry condition on line 59: && Close[0] > Open[0], if you were to modify it that would be where to start by changing the entry condition.

    In more advanced coding you can access the chart trader, that would require using the addon framework and an indicator.

    Comment


      #3
      Thank you Jesse,
      Do you have a link to resources for advanced coding and the mentioned addon framework?

      Comment


        #4
        Hello HappyTrader76,

        You can find information about the addon framework in the following links:


        Comment


          #5
          Thank you Jesse,
          Looks like I have some work to do.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Today, 05:17 AM
          0 responses
          43 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          124 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          65 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          42 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          46 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X