Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
On render and drawing rectagles based on price and time
Collapse
X
-
Hello ballboy11,
You can find the conversion methods for X/Y values in the following two pages:
If you already have a price/time value and wanted to convert to X/Y you can use the following:
For converting a time to an X value use ChartControl.GetXByTime()
For converting a Price to Y value use ChartScale.GetYByValue()
To collect prices/times you can use the GetValueAt() method to retrieve price/time data from the series:
Code:Close.GetValueAt(i) Time.GetValueAt(i)
I look forward to being of further assistance.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
597 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
343 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
556 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
555 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment