Members
-
recommendedLevels :Array.<number>
-
Levels to enable by default.
Type:
- Array.<number>
- Since:
-
5.2.0
- Default Value:
-
- [-0.618,-0.382,0,0.382,0.5,0.618,1,1.382,1.618]
Methods
-
initializeSettings(stx)
-
Load default settings every time CIQ.ChartEngine#changeVectorType is called.
Will reset to CIQ.Drawing.fibonacci#recommendedLevels unless CIQ.ChartEngine.currentVectorParameters.fibonacci.fibsAlreadySet is set to ''true''Parameters:
Name Type Description stx
CIQ.ChartEngine Chart object
- Since:
-
5.2.0
-
reconstruct(stx [, obj])
-
Reconstruct a fibonacci
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 border color
fc
string <optional>
The fill color
pnl
string <optional>
The panel name
v0
number <optional>
Value (price) for the first point
v1
number <optional>
Value (price) for the second point
v2
number <optional>
Value (price) for the third point (if used)
d0
number <optional>
Date (string form) for the first point
d1
number <optional>
Date (string form) for the second point
d2
number <optional>
Date (string form) for the third point (if used)
tzo0
number <optional>
Offset of UTC from d0 in minutes
tzo1
number <optional>
Offset of UTC from d1 in minutes
tzo2
number <optional>
Offset of UTC from d2 in minutes (if used)
fld
string <optional>
Field which drawing is associated with
parameters
object <optional>
Configuration parameters
Properties
Name Type Argument Description trend
object <optional>
Describes the trend line
Properties
Name Type Argument Description color
string <optional>
The color for the trend line (Defaults to "auto")
parameters
object <optional>
Line description object (pattern, opacity, lineWidth)
fibs
array <optional>
A fib description object for each fib (level, color, parameters, display)
extendLeft
boolean <optional>
True to extend the fib lines to the left of the screen. Defaults to false.
printLevels
boolean <optional>
True (default) to print text for each percentage level
printValues
boolean <optional>
True to print text for each price level
prm
number <optional>
Whether the drawing is permanent
hdn
number <optional>
Whether the drawing is hidden
- Since:
-
9.0.0 Added
prm
andhdn
property toobj
parameter.