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

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 ScottWalsh, Today, 06:52 PM
              4 responses
              32 views
              0 likes
              Last Post ScottWalsh  
              Started by olisav57, Today, 07:39 PM
              0 responses
              4 views
              0 likes
              Last Post olisav57  
              Started by trilliantrader, Today, 03:01 PM
              2 responses
              19 views
              0 likes
              Last Post helpwanted  
              Started by cre8able, Today, 07:24 PM
              0 responses
              6 views
              0 likes
              Last Post cre8able  
              Started by Haiasi, Today, 06:53 PM
              1 response
              5 views
              0 likes
              Last Post NinjaTrader_Manfred  
              Working...
              X