Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ATM with stop entry and bracket exits.

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

    ATM with stop entry and bracket exits.

    Hello all:

    I'm very new to ninjatrader, and do not know about programming.

    I would like to know if there is a simple way to do the following:

    Let's say the market is making a low in a 5' chart and I want to enter 8 tics higher from the low, but if it makes a new low, I want to enter 8 tics higher from the new low, i.e. like a trail stop entry. Also if entry stop is triggered I'd like to have a bracket exit strategy with targets and stop losses.

    Is this a feature easy to implement or do I have to engage in programming?

    Thanks

    Jack

    #2
    Originally posted by jcook View Post
    Hello all:

    I'm very new to ninjatrader, and do not know about programming.

    I would like to know if there is a simple way to do the following:

    Let's say the market is making a low in a 5' chart and I want to enter 8 tics higher from the low, but if it makes a new low, I want to enter 8 tics higher from the new low, i.e. like a trail stop entry. Also if entry stop is triggered I'd like to have a bracket exit strategy with targets and stop losses.

    Is this a feature easy to implement or do I have to engage in programming?

    Thanks

    Jack
    Hello Jack,

    Thank you for your post.

    This will need to be programmed.

    You can try the Strategy Wizard for non-programmers: http://www.ninjatrader-support.com/H...verview41.html

    or NinjaScript:
    NinjaTrader advanced charting is extensible in that you can create custom indicators using NinjaScript which is based on the modern C# programming language.
    Click here for information on programming in NinjaScript
    There is a growing library of user submitted custom indicators (100+) that can be downloaded from our support form. Please look in the NinjaScript File Sharing section of our support forum as you may find what you are looking for there.
    If you have limited time or programming capabilities, you can discuss your requirements with any of our NinjaScript consultants.
    Click here for a list of certified NinjaScript Consultants
    Ray S.NinjaTrader Customer Service

    Comment


      #3
      I see. Thanks. Is it possible to have entry on a stop without programming and then a bracket to manage the exits?

      Jack

      Comment


        #4
        Originally posted by jcook View Post
        I see. Thanks. Is it possible to have entry on a stop without programming and then a bracket to manage the exits?

        Jack
        Yes, this is possible using "Auto Reverse."

        Please see this link for instructions: http://www.ninjatrader-support.com/H...toReverse.html
        Ray S.NinjaTrader Customer Service

        Comment


          #5
          Oh. Maybe I didn't explain myself properly. I meant enter on a stop instead of a limit not reverse a previous position??. Your link explain how to reverse a position.

          Thanks

          Jack

          Comment


            #6
            Hey Jack,

            Please continue reading from that link, here is the second sentence: You can optionally enable "Reverse at stop.....

            Then it will show you how to enable reverse at stop.

            If you want to enter a new position all together at the stop, that will have to be programmed.
            Ray S.NinjaTrader Customer Service

            Comment


              #7
              OK Thanks. I owe you a beer...

              Comment


                #8
                Let's say my position is flat.

                How do I enter a stop order in the DOM?. In IB dom this is a single right click.

                Once my stop is elected. How do I easily put in a bracket to manage the position?

                jack

                Comment


                  #9
                  Hi jcook,

                  You can place for example a Stop Limit order with the middle mouse button, for a Stop Market order you would use the Ctrl key + a middle mouse button click (these are the defaults, you can reverse the above in the SuperDOM properties)

                  Please also see this link - http://www.ninjatrader-support.com/H...ingOrders.html

                  If you have no ATM strategy automatically placing your exit orders, you can attach them manually, please see this from our forum - http://www.ninjatrader-support2.com/...ead.php?t=6197
                  BertrandNinjaTrader Customer Service

                  Comment


                    #10
                    OK thanks. The procedure with the middle click and middle click+ control seems to work. I'm just looking at superdom properties to alter the defaults, and for my life I can't see where to change the buttons, etc. (trying to minimize the amount of buttons I have to push).

                    Jack

                    Comment


                      #11
                      Hi jcook, right click in your SuperDOM and bring up the 'Properties' box. Now look under 'General' for the optiob 'Middle Mouse button is Stop Market' -> Set this to True for your needs.

                      This link here explains all the properties settings - http://www.ninjatrader-support.com/H...roperties.html
                      BertrandNinjaTrader Customer Service

                      Comment


                        #12
                        Hello again:

                        Someone programmed an auto strategy for me that uses ATM.

                        Everything seems to be working fine, the orders generated are correct, and they show in the DOM properly , etc.

                        There is only one small issue: the entries and exits DO NOT show in the chart. I double checked and the chart properties have TextandMarker" selected under properties Plot Executions.

                        What can I do to show the entries and exits on the chart?

                        Thanks for your help.

                        John

                        Comment


                          #13
                          Originally posted by jcook View Post
                          Hello again:

                          Someone programmed an auto strategy for me that uses ATM.

                          Everything seems to be working fine, the orders generated are correct, and they show in the DOM properly , etc.

                          There is only one small issue: the entries and exits DO NOT show in the chart. I double checked and the chart properties have TextandMarker" selected under properties Plot Executions.

                          What can I do to show the entries and exits on the chart?

                          Thanks for your help.

                          John
                          Hello John,

                          Please make sure you have initiated the strategy through the chart by right clicking. Chart Trader CANNOT be enabled.

                          If your orders are still not showing up in the chart, check your log tab in the Control Center for any programming errors.
                          Ray S.NinjaTrader Customer Service

                          Comment


                            #14
                            Originally posted by NinjaTrader_RJStein View Post
                            Hello John,

                            Please make sure you have initiated the strategy through the chart by right clicking. Chart Trader CANNOT be enabled.

                            If your orders are still not showing up in the chart, check your log tab in the Control Center for any programming errors.
                            Hi. The order entries and exits show up only after I remove the strategy and not in realtime.

                            I do not see any programming errors in the log. (attached log below, part of it only)

                            Please advise.

                            John.

                            Date,Category,Message,
                            12/16/2008 3:01:29 PM,Order,Order='12fbb05d0bb4490b9f53e1973bd17a52/Sim101' Name='Target3' New State=Cancelled Instrument='ES 12-08' Action=Sell Limit price=915.5 Stop price=0 Quantity=1 Type=Limit Filled=0 Fill price=0 Error=NoError Native error='',
                            12/16/2008 3:01:29 PM,Strategy,Cancelling any remaining strategy orders,
                            12/16/2008 3:01:29 PM,Position,Instrument='ES 12-08' Account='Sim101' Avg price=894 Quantity=0 Market position=Long Operation=Remove Currency=Unknown,
                            12/16/2008 3:01:29 PM,Execution,Execution='5684172a6443479d8618cbd9cf 36de9c' Instrument='ES 12-08' Account='Sim101' Exchange=Default Price=894 Quantity=1 Market position=Short Operation=Insert Order='ee24d687ee124013a2d3301b0e7573d8' Time='12/16/2008 3:01:29 PM',
                            12/16/2008 3:01:29 PM,Order,Order='12fbb05d0bb4490b9f53e1973bd17a52/Sim101' Name='Target3' New State=PendingCancel Instrument='ES 12-08' Action=Sell Limit price=915.5 Stop price=0 Quantity=1 Type=Limit Filled=0 Fill price=0 Error=NoError Native error='',
                            12/16/2008 3:01:29 PM,Order,Order='ee24d687ee124013a2d3301b0e7573d8/Sim101' Name='Stop3' New State=Filled Instrument='ES 12-08' Action=Sell Limit price=889 Stop price=894 Quantity=1 Type=StopLimit Filled=1 Fill price=894 Error=NoError Native error='',
                            12/16/2008 3:01:29 PM,Order,Order='ee24d687ee124013a2d3301b0e7573d8/Sim101' Name='Stop3' New State=Working Instrument='ES 12-08' Action=Sell Limit price=889 Stop price=894 Quantity=1 Type=StopLimit Filled=0 Fill price=0 Error=NoError Native error='',
                            12/16/2008 2:56:25 PM,Order,Order='09c814ccfd134fb1bd3612ceee326c34/Sim101' Name='Stop2' New State=Cancelled Instrument='ES 12-08' Action=Sell Limit price=889 Stop price=894 Quantity=1 Type=StopLimit Filled=0 Fill price=0 Error=NoError Native error='',
                            12/16/2008 2:56:24 PM,Order,Order='d80059e9a9dd43fb802a0c2d622c61d1/Sim101' Name='Stop1' New State=Cancelled Instrument='ES 12-08' Action=Sell Limit price=889 Stop price=894 Quantity=1 Type=StopLimit Filled=0 Fill price=0 Error=NoError Native error='',
                            12/16/2008 2:56:24 PM,Position,Instrument='ES 12-08' Account='Sim101' Avg price=895.5 Quantity=1 Market position=Long Operation=Update Currency=Unknown,
                            12/16/2008 2:56:24 PM,Execution,Execution='c26ed27aff20402999e39051cd 23423f' Instrument='ES 12-08' Account='Sim101' Exchange=Default Price=896 Quantity=1 Market position=Short Operation=Insert Order='75760b85a92d47019dc25a842b2894a5' Time='12/16/2008 2:56:24 PM',
                            12/16/2008 2:56:24 PM,Order,Order='09c814ccfd134fb1bd3612ceee326c34/Sim101' Name='Stop2' New State=PendingCancel Instrument='ES 12-08' Action=Sell Limit price=889 Stop price=894 Quantity=1 Type=StopLimit Filled=0 Fill price=0 Error=NoError Native error='',
                            12/16/2008 2:56:24 PM,Order,Order='75760b85a92d47019dc25a842b2894a5/Sim101' Name='Target2' New State=Filled Instrument='ES 12-08' Action=Sell Limit price=896 Stop price=0 Quantity=1 Type=Limit Filled=1 Fill price=896 Error=NoError Native error='',
                            12/16/2008 2:56:24 PM,Position,Instrument='ES 12-08' Account='Sim101' Avg price=895.5 Quantity=2 Market position=Long Operation=Update Currency=Unknown,
                            12/16/2008 2:56:24 PM,Execution,Execution='3ff42f0db5004c0baa6caf7174 85c89c' Instrument='ES 12-08' Account='Sim101' Exchange=Default Price=895.75 Quantity=1 Market position=Short Operation=Insert Order='ec683e3d74e0426aac0e231d6667c731' Time='12/16/2008 2:56:24 PM',
                            12/16/2008 2:56:24 PM,Order,Order='d80059e9a9dd43fb802a0c2d622c61d1/Sim101' Name='Stop1' New State=PendingCancel Instrument='ES 12-08' Action=Sell Limit price=889 Stop price=894 Quantity=1 Type=StopLimit Filled=0 Fill price=0 Error=NoError Native error='',
                            12/16/2008 2:56:24 PM,Order,Order='ec683e3d74e0426aac0e231d6667c731/Sim101' Name='Target1' New State=Filled Instrument='ES 12-08' Action=Sell Limit price=895.75 Stop price=0 Quantity=1 Type=Limit Filled=1 Fill price=895.75 Error=NoError Native error='',
                            12/16/2008 2:56:22 PM,Order,Order='12fbb05d0bb4490b9f53e1973bd17a52/Sim101' Name='Target3' New State=Working Instrument='ES 12-08' Action=Sell Limit price=915.5 Stop price=0 Quantity=1 Type=Limit Filled=0 Fill price=0 Error=NoError Native error='',
                            12/16/2008 2:56:22 PM,Order,Order='12fbb05d0bb4490b9f53e1973bd17a52/Sim101' Name='Target3' New State=Accepted Instrument='ES 12-08' Action=Sell Limit price=915.5 Stop price=0 Quantity=1 Type=Limit Filled=0 Fill price=0 Error=NoError Native error='',
                            12/16/2008 2:56:22 PM,Order,Order='ee24d687ee124013a2d3301b0e7573d8/Sim101' Name='Stop3' New State=Accepted Instrument='ES 12-08' Action=Sell Limit price=889 Stop price=894 Quantity=1 Type=StopLimit Filled=0 Fill price=0 Error=NoError Native error='',
                            12/16/2008 2:56:22 PM,Order,Order='75760b85a92d47019dc25a842b2894a5/Sim101'
                            Last edited by jcook; 12-16-2008, 02:51 PM.

                            Comment


                              #15
                              Can you test with one of the default strategies, such as the MA crossover and let me know if the trade markers show up?
                              Ray S.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by bortz, 11-06-2023, 08:04 AM
                              47 responses
                              1,606 views
                              0 likes
                              Last Post aligator  
                              Started by jaybedreamin, Today, 05:56 PM
                              0 responses
                              8 views
                              0 likes
                              Last Post jaybedreamin  
                              Started by DJ888, 04-16-2024, 06:09 PM
                              6 responses
                              18 views
                              0 likes
                              Last Post DJ888
                              by DJ888
                               
                              Started by Jon17, Today, 04:33 PM
                              0 responses
                              4 views
                              0 likes
                              Last Post Jon17
                              by Jon17
                               
                              Started by Javierw.ok, Today, 04:12 PM
                              0 responses
                              13 views
                              0 likes
                              Last Post Javierw.ok  
                              Working...
                              X