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 Jon17, Today, 04:33 PM
|
0 responses
1 view
0 likes
|
Last Post
by Jon17
Today, 04:33 PM
|
||
Started by Javierw.ok, Today, 04:12 PM
|
0 responses
6 views
0 likes
|
Last Post
by Javierw.ok
Today, 04:12 PM
|
||
Started by timmbbo, Today, 08:59 AM
|
2 responses
10 views
0 likes
|
Last Post
by bltdavid
Today, 04:10 PM
|
||
Started by alifarahani, Today, 09:40 AM
|
6 responses
41 views
0 likes
|
Last Post
by alifarahani
Today, 03:18 PM
|
||
Started by Waxavi, Today, 02:10 AM
|
1 response
21 views
0 likes
|
Last Post Today, 03:03 PM |
Comment