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 cmoran13, 04-16-2026, 01:02 PM
        0 responses
        51 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        31 views
        0 likes
        Last Post PaulMohn  
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        165 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        100 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        160 views
        2 likes
        Last Post CaptainJack  
        Working...
        X