Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

increase bar padding

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

    increase bar padding

    Is there a way to increase the space between candles without increasing the candle width? I prefer to do this from inside an indicator or even a strategy, but manually will work too. I would like to be able to draw objects in the interstitial space between bars.

    #2
    Hello Chippy,

    Thanks for your post.

    "Is there a way to increase the space between candles without increasing the candle width?"

    Unfortunately, no you cannot increase the space between candles without increasing the candle width.

    "I would like to be able to draw objects in the interstitial space between bars."

    Please see the attached example script, MultiPlotsPerBarDynamicExample, that demonstrates drawing in between bars. This would not be an exact example, however, it could give you some direction for how to draw there with SharpDX.

    Also, see the help guide documentation below about working with SharpDX.

    SharpDX for Custom Chart Rendering: https://ninjatrader.com/support/help..._rendering.htm

    Let us know if we may assist further.
    Attached Files
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Thanks. I imported the zip file, but I am not seeing "MultiPlotsPerBarDynamicExample" in my indicator list. I have imported numerous indicators before and have never had this problem?

      Comment


        #4
        Hello Chippy,

        Thanks for your note.

        After importing the indicator example, you could find the indicator located in a subfolder named 'CustomRenderingExamples', and the indicator is named "MultiPlotsPerBarDynamic".

        You could view the code for this indicator by opening a New > NinjaScript Editor window, opening the Indicators folder, opening the CustomRenderingExamples subfolder, and selecting the MultiPlotsPerBarDynamic file.

        See the attached screenshot demonstrating this.

        Let us know if we may assist further.
        Attached Files
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        581 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        338 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        554 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        552 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X