Fibonacci Drawing Tool
Author: Kart84
Creation Date: 9/24/2011 3:23 PM
profile picture

Kart84

#1
I am new to this site and not much of a programmer but I am wondering if there is an easy way to customize the Fibonacci retracement lines drawing tool. I would like to be able to extend them to custom lengths based on criteria that I would input. Any help would be greatly appreciated.
profile picture

Eugene

#2
Fib Retracement levels, if you mean it, can be customized after drawing by right-clicking on created drawing object.
profile picture

Kart84

#3
What I want to do is be able to extend the actual retracement level lines to the right and left. For example extend the 50% retracement line to right to the edge of the chart pane.
profile picture

Eugene

#4
It's not clear. They are already drawn like that, extended to the right edge.
profile picture

Kart84

#5
Oh sorry I understand the confusion - They are drawn to the right edge when you first draw them but they are not dynamic - They do not extend as time is moved forward - They only extend to the right edge of the time frame they are drawn in plus some nominal amount. Hopefully that clarifys. - it would also be nice to be able to customize each of the levels - for example 50% red color 2 px, 61.8 blue 1 px , etc.
profile picture

Eugene

#6
Wealth-Lab is a systematic trading platform, so the only way to make either one of your ideas happen is by creating a custom drawing tool (or hiring a developer for that).
profile picture

Kart84

#7
Thanks for your input - What resources are available for documentation on creating a custom drawing tool, are there any examples available?
profile picture

Eugene

#8
Sorry but no documentation exists on creating custom drawing tools because Fidelity haven't published the Chart Drawing Tool API guide.
profile picture

Eugene

#9
QUOTE:
customize each of the levels - for example 50% red color 2 px, 61.8 blue 1 px , etc.

Simple solution for customizing Fib level colors is to create one Fib object per each level (by removing the unneeded levels in Properties) and set the color individually per each drawing object.
profile picture

Partha

#10
Hi Eugene

Is it possible to access the Fibonacci Drawing Tool using C#? I can place the Fibonacci Drawing Tool by eyeballing but I did not see a way to push that to code window unlike an indicator...if I had a way to access the end points in C#, i can place them exactly instead of eyeballing...any tips or tricks?
profile picture

Eugene

#11
Hi Partha,

Sorry but interaction with the chart drawing objects is limited to getting the value of manually drawn trend lines which is available through TrendlineValue. Neither the Fib tool nor other tools are supported by this method.
profile picture

Partha

#12
after some though, I think there may be a workaround, I could cycle through the bars for a given date range and find the peak and though. Once I have these two numbers, I can use the DrawLine method to automatically draw the horizontal lines at different fib levels...
profile picture

Eugene

#13
Of course this is possible. Already no shortage of sample code for Fib trading strategies on our forum:

Fibonacci 61.8 retracement strategy
Fibonacci Extensions tool?, posts #5 and #14
Pivot Projection, post #4

Pick your poison :)
profile picture

Partha

#14
thanks this will help a lot
profile picture

Eugene

#15
At your service.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).