DrawingFibonacciPhiChannel
class
Plots a Fibonacci PhiChannel tool
Properties
ChartId string | Chart Id in which was created given drawing |
CreationMode CreationMode | Drawing creation mode - manually or from code/script |
DataFormat DrawingFibonacciPhiChannelDataFormat | Sets/Gets a data format |
ExtendLeft bool | Allows to extend left |
ExtendRight bool | Allows to extend right |
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 |
RayStyle DrawingLineStyle | Sets/Gets a ray style |
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 |
Constructors
DrawingFibonacciPhiChannel (TimePrice point1, TimePrice point2, TimePrice point3, int windowIndex) | Constructor for a Fibonacci PhiChannel tool |
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) |