Trend Lines
<< Click to Display Table of Contents >> Trend Lines |
When a high swing is followed by a lower high swing, a trend line high is automatically plotted. When a low swing is followed by a higher low swing, a trend line low is automatically plotted.
TrendLines(int strength, int numberOfTrendLines, int oldTrendsOpacity, bool alertOnBreak)
TrendLines(ISeries<double> input, int strength, int numberOfTrendLines, int oldTrendsOpacity, bool alertOnBreak)
double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.
input |
Indicator source data (?) |
strength |
The number of required bars to the left and right of the swing point |
numberOfTrendLines |
The number of recent trend lines to plot |
oldTrendOpacity |
The opacity to apply to old trend lines |
alertOnBreak |
Sets if there should be an alert when the price breaks the current trend line |
// Prints the current value of a 5 strength Trend Lines |