Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
When i change Y scale - i can't see a part of chart after scrolling - why?
Collapse
X
-
Hello agafon2,
You would want to use the DrawText() method overload that has a DateTime Object so that you can set the DateTime of when the DrawText() is drawn at.
DrawText(string tag, bool autoScale, string text, DateTime time, double y, int yPixelOffset, Color textColor, Font font, StringAlignment alignment, Color outlineColor, Color areaColor, int areaOpacity)JCNinjaTrader Customer Service
Comment
-
I want to draw text inside this box for example:
Picture:
How to do it?
Comment
-
Hello agafon2,
You would have to use the DrawRectangle() method separately and manually draw a box around the Text that you have placed on the chart.JCNinjaTrader Customer Service
Comment
-
How to draw objects, which will be always on the bottom of chart?
Picture:
Comment
-
Hello agafon2,
This would require overriding plot method. There is a sample available with all installations that can get you started though by going to Tools -> Edit NinjaScript -> Indicator -> CustomPlotSample. It draws some text in a corner and two lines across corners of the chart.JCNinjaTrader Customer Service
Comment
-
What an algorithm of making Range chart? How does it count?
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CaptainJack, 05-29-2026, 05:09 AM
|
0 responses
482 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 05:09 AM
|
||
|
Started by CaptainJack, 05-29-2026, 12:02 AM
|
0 responses
330 views
0 likes
|
Last Post
by CaptainJack
05-29-2026, 12:02 AM
|
||
|
Started by charlesugo_1, 05-26-2026, 05:03 PM
|
0 responses
259 views
1 like
|
Last Post
by charlesugo_1
05-26-2026, 05:03 PM
|
||
|
Started by DannyP96, 05-18-2026, 02:38 PM
|
1 response
347 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 05-11-2026, 05:56 AM
|
0 responses
312 views
0 likes
|
Last Post
by CarlTrading
05-11-2026, 05:56 AM
|

Comment