• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Adjust Profit Target Automatically

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

    Adjust Profit Target Automatically

    Is it possible using ATM strategies (or something else), to adjust Profit target automatically, based on a predetermined unrealized loss? Similar to automatically moving a Stop loss to Break even, based on a predetermined unrealized profit.

    Ex.
    Strategy created and a long position is entered with a 2 pt stop loss and 1 pt profit target. If price moves down from Entry price by 1 pt, automatically move the profit target to Break Even.

    Thanks,
    Phineas

    #2
    Unfortunately this is not supported via an ATM strategy.
    RayNinjaTrader Customer Service

    Comment


      #3
      Would this be supported using NinjaScript to create an automated custom strategy?

      Comment


        #4
        Yup it is. Please take a look at these reference samples. They are a bit different from what you want, but they will give you a jist of how to approach the problem.

        http://www.ninjatrader-support.com/v...ead.php?t=3917
        http://www.ninjatrader-support.com/v...ead.php?t=4084
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          Thanks Josh. I'll take a look at these and at Ninjascript in general.
          Phineas

          Comment


            #6
            One more question before I start out to learn NinjaScript.

            As I explained earlier, I want to be able to manage profit targets based on price movement, once the trade is opened. Josh, confirmed that I could accomplish that with NinjaScript.

            Since I don't want to automate my entries, I use a discretionary method and would want to enter them manually when appropriate. Can I enter the market manually (DOM) and then run a NinjaScript application to manage my profit targets and Stop Loss. (I presume I would still enter Profit target and Stop Loss at time of manual trade entry)

            Phineas

            Comment


              #7
              Unfortunately it is not possible to run a script to manage the exits of entries made manually such as in the SuperDOM.
              RayNinjaTrader Customer Service

              Comment


                #8
                Since I just want to enter Trades at market price, I don't really have to use the DOM. I could just hit a button or mouse click.

                Is it possible to have such a button press or mouse click be input to the NinjaScript, so that the position can them be auto managed by the script.

                Phineas

                Comment


                  #9
                  Yes this is possible through the fact that NinjaScript is C# and anything can be done. However, providing support on how to do this is outside of what we officially provide support for. If you are not an experienced programmer, you could consider contacting a consultant to work with you on this.

                  http://www.ninjatrader.com/webnew/pa...injaScript.htm
                  RayNinjaTrader Customer Service

                  Comment


                    #10
                    Ray,
                    Do you have experience with anyone that you could recommend.
                    Thanks,
                    Phineas

                    Comment


                      #11
                      Anyone listed in the link I provided could be contacted.

                      Ultimately, what you will want to ask them is if they could -

                      - Create a NinjaScript strategy that spawns a windows form that has buy/sell buttons that invoke a NinjaScript Enter() method
                      - Automates the exit of the open position created by the buttons
                      RayNinjaTrader Customer Service

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by maggie3, Today, 02:05 AM
                      0 responses
                      3 views
                      0 likes
                      Last Post maggie3
                      by maggie3
                       
                      Started by qewcool, Today, 01:14 AM
                      0 responses
                      3 views
                      0 likes
                      Last Post qewcool
                      by qewcool
                       
                      Started by fredrikn, 05-08-2019, 04:01 AM
                      17 responses
                      669 views
                      1 like
                      Last Post emtrader  
                      Started by zacharydw00, Yesterday, 10:19 PM
                      0 responses
                      3 views
                      0 likes
                      Last Post zacharydw00  
                      Started by chafan11, Yesterday, 09:28 PM
                      0 responses
                      7 views
                      0 likes
                      Last Post chafan11  
                      Working...
                      X