Definition
Draws fibonacci price levels.
Syntax
DrawFibonacciLevels(string tag, int startBar, double startY, int endBar, double endY)
|
Parameters |
|
|
tag |
A user defined unique id used to reference the draw object. For example, if you pass in a value of "myTag", each time this tag is used, the same draw object is modified. If unique tags are used each time, a new draw object will be created each time. |
|
startBar |
The starting bar (x axis co-ordinate) where the draw object will be drawn. For example, a value of 10 would paint the draw object 10 bars back. |
|
startY |
The starting y value co-ordinate where the draw object will be drawn |
|
endBar |
The end bar (x axis co-ordinate) where the draw object will terminate |
|
endY |
The end y value co-ordinate where the draw object will terminate |
Examples
|
// Draws a set of fibonacci levels from the low of 10 bars ago to the current bar high
|