Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT7 vs NT8: chars bars capacity. How to fix?

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

    NT7 vs NT8: chars bars capacity. How to fix?

    It looks, NT7 chart contain more bars than NT8 chart of same size (850 vs 842 on screenshot).

    Can we increase NT8 chart capacity via NinjaScript?
    I see 2 ways:
    - window border thickness;
    - Y axis width and font size.

    I tried

    Code:
    if (State == State.Configure) 
    {
      ChartControl.AxisYLeftWidth = 10;
    }
    But it doesn't work.

    Tried also:
    Code:
    protected override void OnRender(ChartControl chartControl, ChartScale chartScale)
    {
      ChartControlProperties myProperties = chartControl.Properties;
      myProperties.ChartControl.AxisXHeight = 10;
    }
    Doesn't work too.
    Attached Files
    Last edited by fx.practic; 06-04-2016, 06:39 AM.
    fx.practic
    NinjaTrader Ecosystem Vendor - fx.practic

    #2
    Originally posted by fx.practic View Post
    It looks, NT7 chart contain more bars than NT8 chart of same size (850 vs 842 on screenshot).
    Turn off tabs. Does that help?

    Comment


      #3
      It helps to increase height, but not width.
      fx.practic
      NinjaTrader Ecosystem Vendor - fx.practic

      Comment


        #4
        Hello,

        Thank you for the post.

        I wanted to check a couple of items, does this still occur using a non tick base series like a 1 minute series? Could you check this?

        Also the data you are using, was the data migrated from NT7 or has each platform been connected to the data provider to allow each to download data?

        I look forward to being of further assistance.
        JesseNinjaTrader Customer Service

        Comment


          #5
          I loaded data from same Continuum demo account.
          Here comparison of minutes bars capacity.
          Attached Files
          fx.practic
          NinjaTrader Ecosystem Vendor - fx.practic

          Comment


            #6
            Hello,

            Thank you for the reply.

            I do see that the chart panel is smaller in the image you posted due to one panel not having a border and the NT8 window does have a border. This would reduce the overall chart panel size, unfortunately I dont believe there would be much you could do to change that. You may be able to adjust the window border from a skin but that could adjust borders in the whole platform which may not be favorable.

            I will submit this item as a feature request to development to see if there is a possible way to make the same number of bars appear.

            Please let me know if I may be of further assistance.
            JesseNinjaTrader Customer Service

            Comment


              #7
              It's clear. Thank You.
              And what about changing AxisYLeftWidth and left axis font size via NinjaSCript ?
              fx.practic
              NinjaTrader Ecosystem Vendor - fx.practic

              Comment


                #8
                Hello,

                I am unsure regarding the properties mentioned if they would provide the desired effect or if they are accessible, the Axis left size would be related to specifically if you have a Left axis in the chart which the included screenshots did not display.

                On my previous note regarding skins, you may be able to utilize the following properties to control the border, this may or may not gain additional bars by removing the border.

                Code:
                <system:Double x:Key="MarginBase">0</system:Double>
                <system:Double x:Key="MarginBaseNegative">-0</system:Double>

                I look forward to being of further assistance.
                Last edited by NinjaTrader_Jesse; 06-02-2016, 06:53 AM.
                JesseNinjaTrader Customer Service

                Comment


                  #9
                  Wow!
                  Yahoo!
                  This is great!

                  I'm sure, this must be on default.
                  Attached Files
                  Last edited by fx.practic; 06-04-2016, 06:41 AM.
                  fx.practic
                  NinjaTrader Ecosystem Vendor - fx.practic

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by kaywai, 09-01-2023, 08:44 PM
                  5 responses
                  601 views
                  0 likes
                  Last Post NinjaTrader_Jason  
                  Started by xiinteractive, 04-09-2024, 08:08 AM
                  6 responses
                  22 views
                  0 likes
                  Last Post xiinteractive  
                  Started by Pattontje, Yesterday, 02:10 PM
                  2 responses
                  17 views
                  0 likes
                  Last Post Pattontje  
                  Started by flybuzz, 04-21-2024, 04:07 PM
                  17 responses
                  230 views
                  0 likes
                  Last Post TradingLoss  
                  Started by agclub, 04-21-2024, 08:57 PM
                  3 responses
                  17 views
                  0 likes
                  Last Post TradingLoss  
                  Working...
                  X