DrawingGartleyButterfly
class
Plots a Gartley Butterfly tool
Properties
BearishGartleyColor Color | Sets/Gets a bearish color |
BullishGartleyColor Color | Sets/Gets a bullish color |
ChartId string | Chart Id in which was created given drawing |
CreationMode CreationMode | Drawing creation mode - manually or from code/script |
FibonacciLineColor Color | Sets/Gets a Fibonacci line color |
FibonacciLineStyle DrawingLineStyle | Sets/Gets a Fibonacci line style |
FibonacciLineWidth int | Sets/Gets a Fibonacci line width |
Id string | Current drawing identificator |
LabelBackgroundColor Color | Sets/Gets a label background color |
LabelFont Font | Sets/Gets a label font |
LabelTextColor Color | Sets/Gets a label color |
LineColor Color | Drawing's contour line color |
LineStyle DrawingLineStyle | Drawing's contour line style |
LineWidth int | Drawing's contour line width |
MinBarsCount int | Sets/Gets a minimum bars count |
MoveToBackground bool | Prints drawing behind the chart |
PriceType PriceTypeGartleyButterfly | Sets/Gets a Price Type |
ShowFibonacciLines bool | Shows/Hides a Fibonacci lines |
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
DrawingGartleyButterfly (TimePrice point1, TimePrice point2, int windowIndex) | Constructor for a Gartley Butterfly tool |
Methods
GetPoint (int pointIndex) Return: TimePrice | returns point coordinates in a chart measure format - time(X) price(Y) |
SetPoint (int pointIndex, TimePrice newPoint) Return: void | sets drawing's point coordinates in a chart measure format - time(X) price(Y) |