Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Modifications to chart WPF elements and tab considerations

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

    Hello Unsuitable,

    It would be possible.

    You would need to remove the code of event handlers assigned to the buttons, the buttons, the code that adds / removes the grid column and the code that sets the column of the leftInnerGrid, as well as the leftInnerGrid.

    When you say it's breaking, do you mean you are getting errors?

    What are the errors?
    Chelsea B.NinjaTrader Customer Service

    Comment


      Well, I'd remove the parts containing the left grid code and the chart goes black. Then when keeping that code in but removing select parts, each refresh of the indicators increases the left side margin indefinitely. It's quite frustrating.

      Comment


        Hello Unsuitable,

        The grid columns are changed on lines 326 - 344, 378 - 379, and 391 - 392.

        Have you also removed this code that changes the columns?

        Chelsea B.NinjaTrader Customer Service

        Comment


          Here's the file I'm currently working on. Line 299 sort of fixes the problem but a lot of the left tool bar code remains.

          ColorToolbar.zip

          Comment


            Hello Unsuitable,

            In your script the code for changing the columns is still there on lines 299 - 306, and 313.
            Chelsea B.NinjaTrader Customer Service

            Comment


              Doing so messes with the top toolbar by moving it down halfway down the chart.

              https://i.imgur.com/AfZt8z3.png

              Comment


                Hello Unsuitable,

                Are you modifying the rows as well, or just the columns?

                The exact code you have posted in post #110 is causing that behavior?
                Chelsea B.NinjaTrader Customer Service

                Comment


                  Honestly, I've been going back and forth trying to fix it that I'm not too sure what was left in and what wasn't when #112 occurred. Getting tired of going back and forth with the code, I have to create a new chart every time as the bugs can be permanent to that chart. Is there any resource you could point me to that only has to top toolbar? I tried googling it but no luck on the proper tutorials.

                  Comment


                    Hello Unsuitable,

                    I had inquiries where developers have used this example and just used the top toolbar and removed all of the grid column changing code, but I'm not sure if their scripts were publicly posted or what the name would be.

                    These indicators were meant to be a learning tools to learn how to manipulate grids so that developers can understand how changing WPF grids works and develop their own custom logic for their scripts, than meant to be something that is copied and pasted into another script.

                    This thread will remain open for any community members that would like to share a script with only a toolbar at the top.

                    You can also contact a professional NinjaScript Consultant who would be eager to create or modify this script at your request or assist you with your script. The NinjaTrader Ecosystem has affiliate contacts who provide educational as well as consulting services. Please let me know if you would like our NinjaTrader Ecosystem team follow up with you with a list of affiliate consultants who would be happy to create this script or any others at your request.
                    Chelsea B.NinjaTrader Customer Service

                    Comment


                      Yes, I would like that. I've made a toolbar using the toolstrip for NT7 in past and I'm trying to port it over. Thought it would be simple, but I guess not. All I really need is a top toolbar with one button. The rest of the functionality I can figure out on my own.


                      Click image for larger version

Name:	2020-09-17_12-55-57.gif
Views:	28
Size:	754.5 KB
ID:	1118672

                      Comment


                        Hi Unsuitable,
                        Are you just looking for functional buttons on the edge of the chart screen? Please see attached chart screen.
                        If so, I could provide you with related codes, which are all from Ninjatrader samples.

                        Chart_buttons_lq.pdf

                        Comment


                          Hello,

                          This is Chris following up on behalf of Chelsea. Chelsea wanted me to provide you with information about third-party NinjaScript programming consultants.

                          You can search our list of NinjaScript consultants through the link below. Simply enter a consultant name or search by using our filter categories. Once you have identified your consultants of choice, please visit each consultant's site for more information or contact them directly to learn more:You can locate the contact information for the consultants on their direct websites for any additional questions you may have. Since these consultants are third-party services for NinjaTrader, all pricing and support information will need to be obtained through the consultant.

                          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 companies and services 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.

                          Let me know if I may be of further assistance.
                          Christopher D.NinjaTrader Customer Service

                          Comment

                          Latest Posts

                          Collapse

                          Topics Statistics Last Post
                          Started by traderharley, Today, 08:46 AM
                          0 responses
                          4 views
                          0 likes
                          Last Post traderharley  
                          Started by NinjaCustomer, Today, 08:22 AM
                          0 responses
                          6 views
                          0 likes
                          Last Post NinjaCustomer  
                          Started by n8dogg59, Today, 07:58 AM
                          2 responses
                          9 views
                          0 likes
                          Last Post n8dogg59  
                          Started by CoffeeOutlaw, Yesterday, 07:33 PM
                          1 response
                          14 views
                          0 likes
                          Last Post NinjaTrader_Kate  
                          Started by localappleseed, Yesterday, 08:16 PM
                          1 response
                          11 views
                          0 likes
                          Last Post NinjaTrader_Jesse  
                          Working...
                          X