Thanks
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Accessing Fibonacci Time Extensions properties
Collapse
X
-
Accessing Fibonacci Time Extensions properties
Hi, I would like to add verticle text showing the date to the Fibonacci Time Extensions, but first I'd like to know how can I access the the "Start Time" and "End Time" of a Fibonacci Time Extensions properties? Also how can I delete a specific manually drawn Fibonacci Time Extension?
ThanksTags: None
-
Hello,
Thank you for your post and welcome to our forums!
You can access the Fib Time Extension StartBar and EndBar using IFibonacciTimeExtensions
If these are for manually drawn objects, you can search for these on the chart and then get the object start/end time:
You would not be able to delete a specific manually drawn object.Code:foreach (IDrawObject fib in DrawObjects) { if (fib.UserDrawn && fib.DrawType == DrawType.FibonacciTimeExtensions) { IFibonacciTimeExtensions fibTime = (IFibonacciTimeExtensions) fib; DateTime start = fibTime.StartTime; DateTime end = fibTime.EndTime; Print("Start Time : " + start.ToString()); Print("End Time : " + end.ToString()); } }MatthewNinjaTrader Product Management
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
37 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, Yesterday, 02:41 AM
|
0 responses
17 views
0 likes
|
Last Post
by CarlTrading
Yesterday, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
25 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
40 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
34 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment