Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to make a non fixed indicator bars width to avoid overlap
Collapse
X
-
Hello agafon2,
Thank you for your post.
There is not method in NinjaScript to set the width of the plot to a non-fixed width and be able to change it as you would the main data series bars. The only method to change the width is to right click in your chart > select Indicator > and then the indicator your wish to change and adjust it's width.
You can look into the methods used to change the width of the bars visually in the @ChartStyle.cs found in the (My) Documents\NinjaTrader 7\bin\Custom\Type folder. However, this is unsupported and there is no documentation available for these methods.
Please let me know if I may be of further assistance.
-
Look at indicator in attachment
It has a non fixed bars width. Can you explain, how does it draw? I haven't sources of this indicatorAttached Files
Comment
-
Hello agafon2,
Thank you for your response.
That is a protected assembly and unfortunately I cannot view the code used to create the indicator. There are methods used in the @ChartStyle.cs file to create non-fixed width for your plots, however these are unsupported methods.
Please let me know if I may be of further assistance.
Comment
-
SaveImg позволит вам загрузить фото или картинку бесплатно и без регистрации
Comment
-
Hello agafon2,
Thank you for your response.
There is no method to make the Drawing Objects properties inaccessible. However you can use the CustomPlotSample as starting point for your own custom drawing. You can view the CustomPlotSample by going to Tools > Edit NinjaScript > Indicator > CustomPlotSample > OK.
Please let me know if you have any questions
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
571 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
330 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
548 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
548 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment