![]() |
This website will be down for maintenance from Friday May 24th at 6PM MDT until Saturday May 25th at 11AM MDT. We apologize for the inconvenience. If you need assistance during this time, please email sales@ninjatrader.com
|
|||||||
| Indicator Development Support for the development of custom indicators using NinjaScript. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Member
Join Date: Nov 2008
Posts: 87
Thanks: 0
Thanked 0 times in 0 posts
|
The following line can be used to draw fibonacci retracements on a chart from within an indicator/strategy:
// Draws a fibonacci retracement object DrawFibonacciRetracements("tag1", true, 10, Low[10], 0, High[0]); Is there a way I can access the various retracement levels of this object once it is on the chart (61.8% etc)? I realise that I can manually calculate the retracement levels between 2 points but wanted to see if there are already existing functions available. |
|
|
|
|
|
#2 |
|
NinjaTrader Customer Service
Join Date: Sep 2008
Location: Germany
Posts: 22,382
Thanks: 252
Thanked 967 times in 950 posts
|
mballagan, unfortunately this is not supported with NinjaTrader 6.5
As work in progess we plan on offering this for NinjaTrader 7 - http://www.ninjatrader.com/webnew/NT7/NinjaTrader7.html Draw Objects Enhancements Draw objects are now associated to an indicator which means that if a user removes a draw object from the chart, it will also remove the indicator. In addition, all draw objects spawned from an indicator share the indicator's z-order. IDrawObject - IDrawObjects are now returned to the caller on all Draw() methods. IDrawObjects expose draw objects properties. Work in progress - We will implement programmatic access to draw objects added to a chart manually. For example, you can have a user draw a line on a chart and add a "tag" to this object and you can retrieve this object, read it's value and do something with it.
Bertrand
NinjaTrader Customer Service |
|
|
|
|
|
#3 |
|
Member
Join Date: Nov 2008
Posts: 87
Thanks: 0
Thanked 0 times in 0 posts
|
Its good to know it will be available in NT7 thanks.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| fibonacci retrace | politcat | Charting | 2 | 12-29-2008 01:39 PM |
| fibonacci levels | vk2205 | Automated Trading | 1 | 12-16-2008 06:09 AM |
| Using Fibonacci in an indicator | cassb | Indicator Development | 10 | 10-29-2008 02:17 PM |
| Fibonacci Extensions | joker23 | Charting | 8 | 09-22-2008 05:07 AM |
| Fibonacci | cabmanage | Charting | 1 | 04-30-2008 10:52 AM |