Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Draw customized bars or rectangles
Collapse
X
-
Draw customized bars or rectangles
Can I add data/bar series that is a indicator but has nothing to do with a specific symbol? Or do I have to draw every such bar as a rectangle object? I tried to do rectangles, but the thing is for every data bar there is a corresponding rectangle with a unique tag, that makes ninjatrader frozen probably due to too much drawing objects? If I can assign OHLC value to a bar series that might work but they're read only, right? Thanks.Tags: None
-
Hello dodoei, thanks for writing in.
You can override OnRender using SharpDX to render anything you want to the render target. We have an example here demonstrating the technique:
This is a conversion of the Spread Indicator with Candlesticks. Please contact the original author for any questions or comments.
Please let me know if you have any questions on this material.
Disclaimer:
The NinjaTrader Ecosystem website is for educational and informational purposes only and should not be considered a solicitation to buy or sell a futures contract or make any other type of investment decision. The add-ons listed on this website are not to be considered a recommendation and it is the reader's responsibility to evaluate any product, service, or company. NinjaTrader Ecosystem LLC is not responsible for the accuracy or content of any product, service or company linked to on this website.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
589 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
342 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
555 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