FibonacciExtensions

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Common > Drawing > Draw.FibonacciExtensions() >

FibonacciExtensions

Previous page Return to chapter overview Next page

Definition

Represents an interface that exposes information regarding a Fibonacci Extensions IDrawingTool.

 

Methods and Properties

StartAnchor

An IDrawingTool's ChartAnchor representing the starting point of the drawing object

EndAnchor

An IDrawingTool's ChartAnchor representing the end point of the drawing object

ExtensionAnchor

An IDrawingTool's ChartAnchor representing the extension point of the drawing object

PriceLevels

A collection of prices calculated by the drawing object

TextLocation

An enum determining the text location; can be set to TextLocation.Off to remove text

IsExtendedLinesLeft

A bool value determining if the draw object should draw lines to the far left side of the screen

IsExtendedLinesRight

A bool value determining if the draw object should draw lines to the far right side of the screen

 

 

Example

// Instantiates a Fibonnaci Extension
FibonacciExtensions myFibExt = Draw.FibonacciExtensions(this, "tag1", true, 4, Low[4], 3, High[3], 1, Low[1]);
 
// Extend the Fibonacci Extension oject's lines to the right
myFibExt.IsExtendedLinesRight = true;