Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Option to Remove Buttons from Chart Trader Window

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

    Option to Remove Buttons from Chart Trader Window

    I am not sure if this is bothering anyone else, but is there a way now or can be added to future released to remove buttons like Buy Ask or Sell Bid. I often click those by accident and its costing me some points. Also the option to remove Buy Mkt and Buy Sell Mkt would be awesome aswell. We should have the ability to show/hide the buttons we would like to see in Chart trader.

    #2
    Hello cutzpr,

    Thanks for your post.

    We are tracking interest for the option to remove buttons from Chart Trader in an existing internal feature request ticket and I have added your vote. This request is being tracked under the number SFT-3957.

    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.

    Release Notes — https://ninjatrader.com/support/help...ease_notes.htm
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      This has been requested since 2009 for NT7. We may have to wait until NT9 for them to fulfill this request

      Comment


        #4
        For what it's worth, I second this post. Where can I vote?

        Comment


          #5
          Hello peach,

          Thanks for your note.

          I have added your vote to this feature request.
          <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

          Comment


            #6
            Add my vote to this as well

            Comment


              #7
              I wrote an addon that removes all buttons. It's possible to modify it and remove only the buttons that you don't need, but I did not try.

              [ATTACH]n1314464[/ATTACH]

              Click image for larger version

Name:	2024-08-16_083419.png
Views:	652
Size:	86.5 KB
ID:	1314465

              Comment


                #8
                Originally posted by Leeroy_Jenkins View Post
                I wrote an addon that removes all buttons. It's possible to modify it and remove only the buttons that you don't need, but I did not try.

                [ATTACH]n1314464[/ATTACH]

                Click image for larger version

Name:	2024-08-16_083419.png
Views:	652
Size:	86.5 KB
ID:	1314465
                Hi , I would like to try your script, can you reupload it? I dont seem to be able to download it. Thank you.

                Comment


                  #9
                  Code:
                  #region Using declarations
                  using System;
                  using System.Collections.Generic;
                  using System.ComponentModel;
                  using System.ComponentModel.DataAnnotations;
                  using System.Linq;
                  using System.Text;
                  using System.Threading.Tasks;
                  using System.Windows;
                  using System.Windows.Input;
                  using System.Windows.Media;
                  using System.Xml.Serialization;
                  using NinjaTrader.Cbi;
                  using NinjaTrader.Gui;
                  using NinjaTrader.Gui.Chart;
                  using NinjaTrader.Gui.SuperDom;
                  using NinjaTrader.Gui.Tools;
                  using NinjaTrader.Data;
                  using NinjaTrader.NinjaScript;
                  using NinjaTrader.Core.FloatingPoint;
                  using System.Windows.Controls;
                  #endregion
                  
                  //This namespace holds Add ons in this folder and is required. Do not change it.
                  namespace NinjaTrader.NinjaScript.AddOns
                  {
                      public class RemoveChartTraderButtons : NinjaTrader.NinjaScript.AddOnBase
                      {
                          #region Constants and Instance Variables
                          //
                          private const string CHART_TRADER_AUTOMATION_ID = "ChartWindowChartTraderControl";
                          private const string CHART_TRADER_MAIN_GRID_NAME = "grdMain";
                          //
                          #endregion
                          protected override void OnStateChange()
                          {  
                              if (State == State.SetDefaults)
                              {
                                  Description = @"RemoveChartTraderButtons";
                                  Name = "RemoveChartTraderButtons";
                              }
                              else if (State == State.Configure)
                              {
                              }
                          }
                  
                          #region OnWindowCreated
                          //
                          protected override void OnWindowCreated(Window window)
                          {
                              // return if the calling window is not a Chart
                              if (window as Chart == null) return;
                  
                            //  Print("Creating Chart Window " + ++chartWindowCount);
                  
                              // find Chart Trader from the calling chart window by its Automation ID
                              ChartTrader chartTrader = window.FindFirst(CHART_TRADER_AUTOMATION_ID) as ChartTrader;
                              if (chartTrader == null) return; // something is seriously wrong if chartTrader is null
                  
                              // find the main Chart Trader grid where the default buttons and controls reside
                              Grid mainGrid = chartTrader.FindName(CHART_TRADER_MAIN_GRID_NAME) as Grid;
                              if (mainGrid != null) // something is seriously wrong if mainGrid is null
                              {
                                 // Print("yooooo");
                                  var x = mainGrid.Children[0] as System.Windows.Controls.Grid;
                  
                                  //Print(x.ToString());
                                  
                                  foreach (var child in x.Children)
                                  {
                                     // Print(child.ToString());
                                      System.Windows.Controls.Button button = child as System.Windows.Controls.Button;
                                      if(button != null) button.Visibility = Visibility.Collapsed;
                                  }
                              }
                          }
                          #endregion
                      }
                  }

                  Comment


                    #10
                    Thank You.

                    Comment


                      #11
                      Originally posted by NinjaTrader_BrandonH View Post
                      Hello peach,

                      Thanks for your note.

                      I have added your vote to this feature request.
                      Please add my vote too.(Surely this can't be so difficult to do?!?!?)

                      Comment


                        #12
                        Hello GregX999,

                        I have added your vote to SFT-3957.

                        Thank you for your vote.
                        Chelsea B.NinjaTrader Customer Service

                        Comment


                          #13
                          Hi
                          How to upload this script(code)? I also want to delete quick buttons

                          Comment


                            #14
                            Hello charandeep99 ​,

                            Thank you for reaching out.

                            I would suggest searching the user ecosystem for custom NinjaScripts that may accomplish the same goal or closely resemble the indicators your have mentioned;

                            Please try searching here:

                            Trading Indicators | Automated Strategies | Trading Apps | NinjaTrader Ecosystem

                            Here is a basic guideline of how to import NinjaScript add-ons in NinjaTrader 8:
                            Note — To import NinjaScripts you will need the original .zip file.

                            To Import:
                            1. Download the NinjaScripts to your desktop, keep them in the compressed .zip file.
                            2. From the Control Center window select the menu Tools > Import > NinjaScript Add-on...
                            3. Select the downloaded .zip file
                            4. NinjaTrader will then confirm if the import has been successful.


                            Critical - Specifically for some NinjaScripts, it will prompt that you are running newer versions of @SMA, @EMA, etc. and ask if you want to replace, press 'No'

                            Once installed, you may add the indicator to a chart by:
                            • Right-click your chart > Indicators... > Select the Indicator from the 'Available' list on the left > Add > OK


                            Here is a short video demonstration of the import process:

                            Please let us know if we can be of further assistance.
                            The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
                            Erick P.NinjaTrader Customer Service

                            Comment


                              #15
                              I created an Addon to Modify the ChartTrader buttons and area. Thanks Leeroy_Jenkins​ for the idea. ModifyChartTraderButtons.cs

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by argusthome, 03-08-2026, 10:06 AM
                              0 responses
                              88 views
                              0 likes
                              Last Post argusthome  
                              Started by NabilKhattabi, 03-06-2026, 11:18 AM
                              0 responses
                              48 views
                              0 likes
                              Last Post NabilKhattabi  
                              Started by Deep42, 03-06-2026, 12:28 AM
                              0 responses
                              30 views
                              0 likes
                              Last Post Deep42
                              by Deep42
                               
                              Started by TheRealMorford, 03-05-2026, 06:15 PM
                              0 responses
                              34 views
                              0 likes
                              Last Post TheRealMorford  
                              Started by Mindset, 02-28-2026, 06:16 AM
                              0 responses
                              68 views
                              0 likes
                              Last Post Mindset
                              by Mindset
                               
                              Working...
                              X