API Reference
Namespaces
Classes
Events
Global
Externals

Class: gartley

CIQ.Drawing. gartley


new gartley()

Gartley drawing tool. Creates a series of four connected line segments, each one completed with a user click. Will adhere to Gartley requirements vis-a-vis fibonacci levels etc..

It inherits its properties from CIQ.Drawing.continuous.

Version:
  • ChartIQ Advanced Package
Since:
  • 04-2015-15

Methods


reconstruct(stx [, obj])

Reconstruct a gartley

Parameters:
Name Type Argument Description
stx CIQ.ChartEngine

The chart object

obj object <optional>

A drawing descriptor

Properties
Name Type Argument Description
col string <optional>

The line color

fc string <optional>

The fill color

pnl string <optional>

The panel name

ptrn string <optional>

Pattern for line "solid","dotted","dashed". Defaults to solid.

lw number <optional>

Line width. Defaults to 1.

v0 number <optional>

Value (price) for the first point

v1 number <optional>

Value (price) for the last point

d0 number <optional>

Date (string form) for the first point

d1 number <optional>

Date (string form) for the last point

tzo0 number <optional>

Offset of UTC from d0 in minutes

tzo1 number <optional>

Offset of UTC from d1 in minutes

fld string <optional>

Field which drawing is associated with

pts number <optional>

a serialized list of dates,offsets,values for the 3 intermediate points of the gartley (should be 9 items in list)

prm number <optional>

Whether the drawing is permanent

hdn number <optional>

Whether the drawing is hidden

Since:
  • 9.0.0 Added prm and hdn property to obj parameter.