• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bar Spacing

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

    Bar Spacing

    I'm working on an indicator and I need to set the bar width wider from within the indicator and I found the ChartControl.BarWidth setting for this but it overlaps the bars. How can I set the bar spacing to accommodate the wider bars?

    Thanks!

    #2
    Hello DanWe,

    Unfortunately, the bar spacing cannot be set from a script as this is primarily controlled manually on a chart with the time margin. (The same is true with the price margin range and scale)

    I will submit a feature request on your behalf for the NinjaTrader Development team to consider allowing the bar spacing to be set programmatically.

    Once I have a tracking ID for this request I will post in this thread for future reference.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks for the prompt reply.

      How does the OrderFlow Volume Profile indicator set the spacing when set to bars. The bar width is narrow but there is a setting for the space to allow for the volume profile?

      Comment


        #4
        Hello DanWe,

        I've received tracking ID #SFT-600 for your request to set a charts bar spacing from a script.

        Please note it is up to the NinjaTrader Development to decide if or when any request will be implemented.

        We appreciate your feedback on this.


        Regarding the Order Flow Volume Profile indicator, this does not alter the charts bar spacing but does modify the right side margin (to properly display VP on the last bar).

        Below is a link to a video that demonstrates the bar spacing does not change.
        https://drive.google.com/file/d/1DZR...w?usp=drivesdk
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hi Chelsea,

          Thanks for getting back to me. On the Volume Profile, I was asking about when it is set to bars not session (Profile period=Bars and Bars=1). When it is set to bars you can set the Profile width in the Visual settings and that sets the spacing between the bars to make the profile larger or smaller. I think this is in pixels. So if you can set it in this indicator then there has to be way to set it.

          Can you look at this again for me?

          Thanks,
          Dan

          Comment


            #6
            Hello DanWe,

            Unfortunately, we cannot provide any code internal to the Order Flow indicators or bar types (or any code internal to the core NinjaTrader application).
            Chelsea B.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by NinjaCustomer, Today, 01:48 AM
            0 responses
            1 view
            0 likes
            Last Post NinjaCustomer  
            Started by aligator, Yesterday, 10:11 PM
            0 responses
            2 views
            0 likes
            Last Post aligator  
            Started by psquare, Yesterday, 03:11 PM
            4 responses
            20 views
            0 likes
            Last Post psquare
            by psquare
             
            Started by ballboy11, Yesterday, 03:20 PM
            1 response
            12 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by tonynt, Yesterday, 02:18 PM
            1 response
            11 views
            0 likes
            Last Post NinjaTrader_JoshG  
            Working...
            X