Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy in chart disables Chart Trader?

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

    Strategy in chart disables Chart Trader?

    When you apply a strategy to a chart, does this automatically disable the Chart Trader for that chart? We are looking to develop a strategy that identifies entry points on the chart, but we still want the user to be able to enter and manage trades from the chart trader. We have observed that when we apply our strategy to a chart, this turns off the chart trader, and we want to confirm that this is the default behavior in Ninja. If so, we will have to develop the trading system based on indicators rather than on a strategy.

    Thanks,
    AutoTraderDev

    #2
    AutoTraderDev, yes this is expected and default behavior in NinjaTrader - it's either ChartTrader running or NinjaScript strategies working. You could always use just two charts, one running ChartTrader, the other a NinjaScript strategy calling ATM's for exit management giving the user best of both worlds...

    Comment


      #3
      I added a strategy to a chart and I think saved the template. Now I can't see how to re-enable the chart-trader so I can re-save the template without the strategy. I've already removed the strategy from the chart.

      Comment


        #4
        Hello vlc,

        Thank you for writing in. Please open a chart with the "<None>" template applied. You can do this by going to File -> New -> Chart and then selecting "<None>" next to where it says "Load the following Chart Template:" in the lower right hand corner of the data series window. Then you can set it up how you want and save the chart template.

        Please let me know if this does not resolve the issue.
        Michael M.NinjaTrader Quality Assurance

        Comment


          #5
          So the only way is to rebuild the template from scratch?

          Comment


            #6
            Hello vlc,

            Strategies applied to a chart do not save with the chart templates. Something else is causing this behavior.

            When you say you removed the strategy did you completely remove it from the strategies dialog box or did you just disable it?

            It needs to be completely removed like in the picture I have attached to my response.

            If this does not resolve the issue, please send me a screenshot of your entire chart so I may further investigate.

            To send a screenshot with Windows 7 or newer I would recommend using Window's Snipping Tool.

            http://windows.microsoft.com/en-us/w...#1TC=windows-8

            Alternatively to send a screenshot press Alt + PRINT SCREEN to take a screen shot of the selected window. Then go to Start--> Accessories--> Paint, and press CTRL + V to paste the image. Lastly, save as a jpeg file and send the file as an attachment.

            http://take-a-screenshot.org/

            Thank you in advance.
            Attached Files
            Michael M.NinjaTrader Quality Assurance

            Comment


              #7
              Bertrand I appreciated your note that the chart trader can be used with a strategy using two charts. I have set this up but when my strategy triggers a stop the ATM is not called on the chart trader chart. is there a way to fix this? Thanks

              Comment


                #8
                Hello Pete77,

                Thank you for writing in.

                Could you please clarify when you say your "strategy triggers a stop" do you mean when your strategy submits a stop order after an entry is filled or when an existing stop order is hit and the position exited?

                Also when you say the "ATM is not called on the chart trader chart", do you mean the entry, stop loss and profit target are not visible flags on the chart, or the ATM strategy submitted by your strategy has not become selected in the Chart Trader?

                This will help me to give you a more specific answer.

                Thank you in advance.
                Michael M.NinjaTrader Quality Assurance

                Comment


                  #9
                  I will try to explain myself better. I am using two charts set at 1000 ticks in each, one with chart trader enabled, the other without. I have placed my strategy in the chart without chat trader. My strategy calls for setting a sell or buy stop if certain conditions are met. These stops show up in the chart trader chart OK, but if one is hit and a trade commences the ATM target and stop loss stops I have set up in the chart trader chart to manage the trade do not show up as expected. I obviously don’t understand something here. Thanks for the help.

                  Comment


                    #10
                    Originally posted by Pete77 View Post
                    I will try to explain myself better. I am using two charts set at 1000 ticks in each, one with chart trader enabled, the other without. I have placed my strategy in the chart without chat trader. My strategy calls for setting a sell or buy stop if certain conditions are met. These stops show up in the chart trader chart OK, but if one is hit and a trade commences the ATM target and stop loss stops I have set up in the chart trader chart to manage the trade do not show up as expected. I obviously don’t understand something here. Thanks for the help.
                    Is the Strategy calling the ATM?

                    Comment


                      #11
                      Hello Pete77,

                      As koganam has indicated the ATM Strategy will need to be called by the NinjaScript strategy in order to function.
                      KyleNinjaTrader Customer Service

                      Comment


                        #12
                        Thanks I will try that. I hope Ninja 8 will simplify this.

                        Comment


                          #13
                          Hello Pete77,

                          Thank you for your input. If you come up with a specific suggestion for how you think it should be simplified, please let us know. For more information on ATM strategy methods you can use in a NinjaScript strategy, please see our help guide here: http://ninjatrader.com/support/helpG...gy_methods.htm

                          There is also a sample built into the program for reference called SampleAtmStrategy which you can find by navigating to Tools -> Edit NinjaScript -> Strategy -> SampleAtmStrategy

                          Please let me know if you have any questions or if I may be of further assistance.
                          Michael M.NinjaTrader Quality Assurance

                          Comment


                            #14
                            I understand the in place of using two chart windows, I Ninja 8 will allow a strategy to be placed in a Chart trader window. This is one step to simplify.



                            Is there not some way the strategy, after setting the buy or sell stop that I have set conditions for, cannot, after a stop is hit, somehow be disabled and turn over control to chart trader? All I want when the stop is hit is the target and stop loss lines to appear as usual from the ATM I have already set up so I can manually manage the trade on the chart trader window. I don’t need the strategy to place orders.
                            This presupposes that Chart Trader will recognize the stop line previously set by the strategy

                            Comment


                              #15
                              Hello Pete77,

                              To make sure I understand what you are saying:

                              You have a NinjaScript strategy which places a stop order to enter, when that stop order is hit you want the NinjaScript strategy to disable itself and for an ATM strategy to be applied to create the profit target and stop loss which you can manage from the chart trader? This is impossible in the way you said it, but if you do not disable the NinjaScript strategy you should have no issue doing this using the AtmStrategyCreate() method.

                              The AtmStrategyCreate() method applies an ATM template you have already created with the Chart Trader or SuperDom to an order.

                              So where your strategy is currently using EnterLongStop()/EnterLongStopLimit()/EnterShortStop()/EnterShortLimit() use AtmStrategyCreate() instead. The definition for how to use AtmStrategyCreate() can be found in our help guide here: http://ninjatrader.com/support/helpG...tegycreate.htm

                              Just keep the strategy running and move the stop loss/profit target around on the chart however you see fit.

                              Please refer to the SampleAtmStrategy for some additional considerations to take when using the ATM strategy methods in NinjaScript. The SampleAtmStrategy can be found in tools -> Edit NinjaScript -> Strategy -> SampleAtmStrategy

                              Please let me know if I may be of further assistance.
                              Michael M.NinjaTrader Quality Assurance

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                              0 responses
                              633 views
                              0 likes
                              Last Post Geovanny Suaza  
                              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                              0 responses
                              364 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by Mindset, 02-09-2026, 11:44 AM
                              0 responses
                              105 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                              0 responses
                              567 views
                              1 like
                              Last Post Geovanny Suaza  
                              Started by RFrosty, 01-28-2026, 06:49 PM
                              0 responses
                              568 views
                              1 like
                              Last Post RFrosty
                              by RFrosty
                               
                              Working...
                              X