Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATM or Sample Code...

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

    ATM or Sample Code...

    Hello,

    If I have a normal practice of purchasing 1 contract at a price of X,
    and as/if it retraces exactly 1 point, I want to purchase 2
    contracts. Then, if it retraces another point, I want to purchase 4 contracts.

    Is this something I can do in an ATM? Alternatively, is this
    something that can be programmed? If so, is it a complex programming task? Sample code would be appreciated.

    Tnx,
    Brett

    #2
    You could do this manually with an ATM strategy. This can also be custom programmed but unfortunately we do not have a reference sample for this.
    RayNinjaTrader Customer Service

    Comment


      #3
      Ray,

      Can you provide an example of how to accomplish this using an ATM?

      Brett

      Comment


        #4
        Hello Brett,

        You will need to scale in manually at the price points by clicking the Market button, but you can set your scale in quantity via the SuperDOM properties menu.
        JessicaNinjaTrader Customer Service

        Comment


          #5
          This is a simple market entry with brackets.

          We want the entire process to be automated from the point of the 1st entry with 1 contract, with auto entries 1 point away with 2 contracts, 2 points away with 4 contracts, 3 points away with 8 contracts and 5 points away with 16 contracts. This can likely only be done with writing something in NT code.

          Pse get us on the right track so we know how to proceed.

          Comment


            #6
            It is not possible to automate scaling in via an ATM strategy. You can place your initial entry order which submits stops and targets upon a fill. Subsequently, you can scale by *manually* placing limit orders below your average entry price.

            If you want to automate, then this must be done using NinjaScript. We do not have a reference sample available for this at this time but there is enough reference samples and tutorials available to get you started in the right direction. It will require some effort on your part.

            You could also use one of our NinjaScript consultants if you do not wish to do the programming yourself.

            RayNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Skifree, Today, 03:41 AM
            1 response
            2 views
            0 likes
            Last Post Skifree
            by Skifree
             
            Started by usazencort, Today, 01:16 AM
            0 responses
            1 view
            0 likes
            Last Post usazencort  
            Started by kaywai, 09-01-2023, 08:44 PM
            5 responses
            603 views
            0 likes
            Last Post NinjaTrader_Jason  
            Started by xiinteractive, 04-09-2024, 08:08 AM
            6 responses
            23 views
            0 likes
            Last Post xiinteractive  
            Started by Pattontje, Yesterday, 02:10 PM
            2 responses
            23 views
            0 likes
            Last Post Pattontje  
            Working...
            X