Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Three targets with balance set to trailing

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

    Three targets with balance set to trailing

    I am new to NT and have not been able to see how I can create a strategy that sells, say 6 contracts of a batch of 24 at each of the the three PT and leave the remaining unsold 6 contracts to run with just a trailing stop. When I attempt to do it the order defaults to sell 12 contracts at PT1.

    #2
    The simplest approach is the following -

    - Enter using 4 entry orders with 6 contracts each and provide each with a unique signal name
    - Call SetProfitTarget() three times referencing three of the signal names, do the same for SetStopLoss() or SetTrailingStop() depending on how you want to manage the stop for these three exits
    - Call SetTrailingStop for the final 6 referencing the last signal name
    - When running your strategy, set the "Entry handling" parameter to "Unique entries"
    RayNinjaTrader Customer Service

    Comment


      #3
      Thanks, but is there already a script already built that I can use or maybe modify slightly? I have looked everywhere but cannot find anything resembling what I want to do. I am not familiar with coding and it looks like I just missed the recent seminar.

      Comment


        #4
        Unfortunately not. The closest sample would be - http://www.ninjatrader-support.com/v...ead.php?t=3751
        RayNinjaTrader Customer Service

        Comment


          #5
          Problem is I have limit time to learn script writing. Is there a script writing service you can direct me to?

          Comment


            #6
            You can check out our NinjaScript Consultant page.

            RayNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by cmoran13, Yesterday, 01:02 PM
            0 responses
            30 views
            0 likes
            Last Post cmoran13  
            Started by PaulMohn, 04-10-2026, 11:11 AM
            0 responses
            22 views
            0 likes
            Last Post PaulMohn  
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            160 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            95 views
            1 like
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            148 views
            2 likes
            Last Post CaptainJack  
            Working...
            X