Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to specifi Fibonacci levels
Collapse
X
-
Hello Luigio,
Thanks for your post.
This would not be possible in NT7 as the tool was not designed to expose levels in Price. You could access the data values you enter in the fib tools properties which are in percentages by doing something similar to the following snippet :
But you would not be able to set those values.Code:IFibonacciRetracements fib = DrawFibonacciRetracements("Test", true, 10, Close[10], 0, Close[0]); FibonacciRetracements ret = (FibonacciRetracements)fib; foreach(NinjaTrader.Gui.Chart.FibonacciLevel level in ret.Levels) { Print(level.Value); }
I suggest looking at the code for the NT8 version as it likely shares some of the same calculations for the Level price. One of the improvements in NT8 was that this tools source code was released, also the price levels are easily accessible.Last edited by NinjaTrader_JoshG; 04-02-2019, 08:34 AM.Josh G.NinjaTrader Customer Service
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
556 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
324 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 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
545 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
547 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment