Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Strategy Builder and ATM

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

    #16
    Add my vote, too

    Comment


      #17
      Is there a way wherein you can create exit conditions that build upon one another?

      I have a condition set that if the current price is 200 ticks above total position price, exit 1 contract (of 3 held). Is there a way to make the next exit 200 ticks above where that first piece was sold?

      Comment


        #18
        Hello CactusMan,

        The Like to your post can be read as acknowledgement that a vote has been added.

        You could consider when in your "200 ticks above AverageEntryPrice" Exit condition, to assign a value to a variable of type double with the value of Strategy > Average Position Price with an offset of 400 ticks. We can call the variable "400TicksAbove"

        Then, in another condition set, you can compare the current price against the "400TickAbove" variable for your second exit.

        When working with variables, it is important to reset them to initial values. For example, you can reset this variable to a very high value when the strategy position is flat, when you place your entry order. That way, when you enter a second time, the condition using "400TickAbove" will not exit at an unintended time/price.

        For more information on making various comparisons in the Strategy Builder like position checks and comparing price levels, please see the resources below.

        Conditions examples - https://ninjatrader.com/support/help...on_builder.htm

        Actions examples - https://ninjatrader.com/support/help...t8/actions.htm

        Variables can be created in the Inputs and Variables page of the Strategy builder. They can be assigned under Actions and read inside Conditions.

        Inputs and Variables - https://ninjatrader.com/support/help...ariablesScreen
        JimNinjaTrader Customer Service

        Comment


          #19
          Please add my vote for this feature request.

          Comment


            #20
            Please add my vote for ticket SFT-1986 to include a feature for implementing an ATM using the Strategy Builder.

            Comment


              #21
              Hello Hodgsohi and mmenigma,

              Thanks for your notes.

              Both of your votes have been added to this feature request.

              As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted on the Release Notes page of the Help Guide.
              Brandon H.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by elirion, Today, 09:32 PM
              0 responses
              2 views
              0 likes
              Last Post elirion
              by elirion
               
              Started by cre8able, Today, 09:15 PM
              1 response
              5 views
              0 likes
              Last Post bltdavid  
              Started by cummish, Today, 08:43 PM
              0 responses
              12 views
              0 likes
              Last Post cummish
              by cummish
               
              Started by Option Whisperer, Today, 07:58 PM
              4 responses
              21 views
              0 likes
              Last Post Option Whisperer  
              Started by ETFVoyageur, 05-07-2024, 07:05 PM
              13 responses
              87 views
              0 likes
              Last Post ETFVoyageur  
              Working...
              X