Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
increase bar padding
Collapse
X
-
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.Tags: None
-
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>
-
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.<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>
- Likes 1
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
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
338 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
103 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
554 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
552 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment