DrawingRegressionChannel
class
Plots a Regression Channel tool
Properties
BottomAreaColor Color | Sets/Gets a bottom area color |
BottomLineColor Color | Sets/Gets a bottom line color |
BottomLineStyle DrawingLineStyle | Sets/Gets a bottom line style |
BottomLineWidth int | Sets/Gets a bottom line width |
ChartId string | Chart Id in which was created given drawing |
CreationMode CreationMode | Drawing creation mode - manually or from code/script |
Id string | Current drawing identificator |
LineColor Color | Drawing's contour line color |
LineStyle DrawingLineStyle | Drawing's contour line style |
LineWidth int | Drawing's contour line width |
LowerDeviation int | Sets/Gets an lower deviation |
MoveToBackground bool | Prints drawing behind the chart |
PriceType PriceType | Sets/Gets a price type |
RegressionLineColor Color | Sets/Gets a regression line color |
RegressionLineStyle DrawingLineStyle | Sets/Gets a regression line style |
RegressionLineWidth int | Sets/Gets a regression line width |
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 |
TopAreaColor Color | Sets/Gets a top area color |
TopLineColor Color | Sets/Gets a top line color |
TopLineStyle DrawingLineStyle | Sets/Gets a top line style |
TopLineWidth int | Sets/Gets a top line width |
UpperDeviation int | Sets/Gets an upper deviation |
Constructors
DrawingRegressionChannel (TimePrice point1, TimePrice point2, int windowIndex) | Constructor for a Regression Channel 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) |