DrawingFibonacci
class
Represents drawing figures which supports levels - all fibonacci tools
Properties
ChartId string | Chart Id in which was created given drawing |
CreationMode CreationMode | Drawing creation mode - manually or from code/script |
FibonacciLevels FibonacciLevel[] | The array of Fibonacci Levels |
Id string | Current drawing identificator |
LabelBackgroundColor Color | Level's label fill color |
LabelFont Font | Level's label font |
LabelTextColor Color | Level's label font color |
LineColor Color | Drawing's contour line color |
LineStyle DrawingLineStyle | Drawing's contour line style |
LineWidth int | Drawing's contour line width |
MoveToBackground bool | Prints drawing behind the chart |
State DrawingState | Drawing locking state - locked or unlocked(can be managed from the terminal) |
SynchronizeWithCharts bool | Represents drawing in all charts that had same Instrument |
Methods
AddFibonacciLevel (FibonacciLevel level) Return: void | add new Fibonacci level to the list of levels |
GetPoint (int pointIndex) Return: TimePrice | returns point coordinates in a chart measure format - time(X) price(Y) |
RemoveFibonacciLevel (FibonacciLevel level) Return: void | remove a Fibonacci level from the list of levels by reference |
RemoveFibonacciLevel (int index) Return: void | remove a Fibonacci level from the list of levels by index |
SetPoint (int pointIndex, TimePrice newPoint) Return: void | sets drawing's point coordinates in a chart measure format - time(X) price(Y) |