Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Any examples of putting buttons on BOTTOM of ChartTrader?

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

    Any examples of putting buttons on BOTTOM of ChartTrader?

    Any examples of putting buttons on the BOTTOM of ChartTrader?

    That is where my cursor is at rest.

    Thx.

    :-)

    #2
    Hello llanqui,

    Please see the SampleWPFModifications reference sample.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      thank you

      is there any documentation on what this grid looks like? I want to put the buttons at the bottom of the grid.....


      // this is the entire chart trader area grid
      chartTraderGrid = (chartWindow.FindFirst("ChartWindowChartTraderCont rol") as ChartTrader).Content as Grid;

      Comment


        #4
        Hello llanqui,

        There is not documentation on the WPF of NinjaTrader windows. Modifying the interface is allowed, as long as you are not disabling any functionality, however this is advanced C# that is beyond NinjaSCript and you will need to inspect and write the code yourself.



        That said, the example puts two buttons at the bottom of chartTrader below all of the other buttons. Your controls also have a vertical alignment.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          well, it seems I'll have to add a bunch of grid rows to fill in the empty space, so the buttons can be at the bottom of CT

          because my cursor rests at the bottom right of the chart, for scalping it is important to keep the mouse and keyboard actions to a minimum

          I will also experiment with Canvas and see if I can define one for ChartTrader...then I'll be able to put the buttons at the bottom easier

          Comment


            #6
            Hello llanqui,

            Have you set the vertical alignment of your grid to bottom?
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              well, I'm new to WPF so I'll check that...thank you!!!!

              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