Since I have never used either ChartPanels or ChartControls, I've started to look into these topics, but I got confused.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Text drawn on top of the chart
Collapse
X
-
Text drawn on top of the chart
I want to write the session date of each session at the top of the chart. What I don't want is to use Draw.TextFixed(). How can I calculate the y coordinate location of the text Rect?
Since I have never used either ChartPanels or ChartControls, I've started to look into these topics, but I got confused.
Tags: None
-
Hello Gianpiero,
The top of the panel can be found with ChartPanel.Y.
Below is a link to the help guide.
As well as a link to an example of rendering text.
Simple script that adds a background watermark of the instrument symbol (and expiry if a future) to the chart. (Updated July 10th, 2018 ‐ The opacity needed to be casted as a double and divided by 100 to be between 0 and 1) (Update: August 24th, 2021 – Subtracted the ChartPanel.Y so indicator can be […]Chelsea B.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
637 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
366 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
107 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
569 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
571 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment