Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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 i2ogu3, Yesterday, 11:31 PM
|
2 responses
17 views
0 likes
|
Last Post
by i2ogu3
Today, 12:37 PM
|
||
Decrease the size of the RegionHIghLightY on each tick when the price touches it
by cmtjoancolmenero
Started by cmtjoancolmenero, 04-29-2024, 03:40 PM
|
21 responses
68 views
0 likes
|
Last Post Today, 12:34 PM | ||
Started by llanqui, Today, 11:13 AM
|
5 responses
7 views
0 likes
|
Last Post Today, 12:31 PM | ||
Started by llanqui, 04-28-2024, 10:32 AM
|
10 responses
38 views
0 likes
|
Last Post
by llanqui
Today, 12:29 PM
|
||
Started by samish18, 04-17-2024, 08:57 AM
|
27 responses
118 views
0 likes
|
Last Post Today, 11:49 AM |
Comment