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

NT 8 ChartTrader / Indicator

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

    NT 8 ChartTrader / Indicator

    Hello,

    Will NinjaTrader 8 allow an indicator to submit an ATM?

    Thank you

    #2
    Hello TurtleTrader,

    ATM Orders will still only be submitted from a strategy as they are a part of the StrategyBase.

    However, you can now submit orders to follow an Indicator price as shown in the enhancement document from below -
    http://www.ninjatrader.com/downloads...njaTrader8.pdf
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      ok

      other question:

      In NT8, can a Strategy and ChartTrader both be active on a Chart at the same time?

      Comment


        #4
        Turtle Trader,

        I will add your vote for this feature request for development.

        Let me know if I can be of further assistance.
        Cal H.NinjaTrader Customer Service

        Comment


          #5
          Ok

          Hi Cal,

          Thank you.

          It is frustrating because I'm a Chart Trader and I what I need is a hybrid of what NT currently has now.

          I've written code where an Indicator can submit orders through a Strategy (running in Strategy tab) that is listening, waiting for the signal.

          When it gets a signal, the Strategy submits an ATM. And, it works good, except if I exit a position with ChartTrader that the Strategy submitted, NT then disables the Strategy and I have to go back to the Strategy tab and restart it, which of course takes my focus away from the Chart and interrupts the rhythm in a fast market. It is not what I intend, but it is the only option I have.

          If anyone has a solution I would like to hear it.

          I would prefer to

          1) Have a Strategy on the Chart with Chart Trader active

          2) Be able to manage any ATM orders submitted by the Strategy with an Indicator or Chart Trader

          3) If a position is close, that the Strategy stays Enabled

          OR, better yet

          A) Be able to submit and manage orders with an Indicator / Chart Trader

          It is a kludge that I needed to create my own hybrid, and that it unavoidably has the flaw of the disabled Strategy. I would prefer to not have to create this type of code to accomplish what I need.

          As a coder I understand your comment about the Strategy code base. But this is a design choice of NT, and not an absolute requirement.

          Thank you.

          Comment


            #6
            quick fix

            A quick fix option would be to have a new NT code switch/flag for a Strategy, set in the Strategy C# code, to allow any ATM positions it submitted to be manually closed without ending the strategy.

            AllowManualATMClose = true; (default = false)


            That would solve the immediate issue in NT 7.

            It should only take a few new lines of code in your code base to do this, and the default behavior would be as it is now.

            Comment


              #7
              Hi Turtle Trader,
              there's this dirty little trick no-one knows and it's closing the ATM strategy from chart trader using the middle button on "CLOSE". This is taken from NT help:

              · Left mouse clicking on the "CLOSE" will close the current position and cancel any working orders associated with the instrument/account combination. Clicking on this button with your middle mouse button (scroll wheel) will close the selected active strategy only. This means that the position size of the strategy will be closed and any working orders associated to that strategy will be cancelled.

              This will keep your strategy running. I know this because I also experimented with the semi-automated approach you mention. It's a little bit of hassle, but it kind of works.

              Regards,
              Lucas
              ------------------------------------------------------------
              Download free Rainbow - The NinjaTrader enhancement addon

              Comment


                #8
                Thank you

                Great, I'll try that.

                Thank you!

                Comment


                  #9
                  too bad

                  unfortunately the middle mouse click on the CLOSE button doesn't work when

                  KeepSelectedAtmStrategyTemplateOnOrderSubmission is selected

                  Comment


                    #10
                    TurtleTrader,

                    You need to select the *Active ATM strategy, from the ATM Strategy drop down, that you want to close otherwise the system does not know which one to close out
                    Cal H.NinjaTrader Customer Service

                    Comment


                      #11
                      reply

                      Thank you...but that does not work for the way I trade...I need to keep

                      KeepSelectedAtmStrategyTemplateOnOrderSubmission selected

                      and I want to close everything on the chart, all orders and positions, but not close the strategy

                      looks like that is not available.

                      I return to my suggestion about having a configurable setting/flag in the Strategy base code that disables the NT feature that stops a Strategy running on the same instrument when the CLOSE button is pressed or an OIF Close is sent.

                      I've been a developer for many years, though not C#, and don't believe this would take much new code for your developers.

                      Thank you.

                      Comment

                      Latest Posts

                      Collapse

                      Topics Statistics Last Post
                      Started by cmtjoancolmenero, Yesterday, 03:58 PM
                      1 response
                      17 views
                      0 likes
                      Last Post NinjaTrader_Gaby  
                      Started by benmarkal, Yesterday, 12:52 PM
                      3 responses
                      23 views
                      0 likes
                      Last Post NinjaTrader_Gaby  
                      Started by helpwanted, Today, 03:06 AM
                      1 response
                      20 views
                      0 likes
                      Last Post sarafuenonly123  
                      Started by Brevo, Today, 01:45 AM
                      0 responses
                      11 views
                      0 likes
                      Last Post Brevo
                      by Brevo
                       
                      Started by pvincent, 06-23-2022, 12:53 PM
                      14 responses
                      244 views
                      0 likes
                      Last Post Nyman
                      by Nyman
                       
                      Working...
                      X