TLSlopeEasy (Function)
The TLSlopeEasy function returns the slope of a trendline, if that trendline were to be drawn between two data points on your chart.
Syntax
TLSlopeEasy(Price, StartBar, EndBar)
Returns (Double)
A numeric value containing the slope of a trendline.
Parameters
Name |
Type |
Description |
Price |
Numeric |
Specifies which bar value (price, function, or formula) to use. |
StartBar |
Numeric |
Sets the bar number (bars ago) of the trendline start point. |
EndBar |
Numeric |
Sets the bar number (bars ago) of the trendline end point. |
Remarks
This function is similar to TLSlope, except that you cannot specify different prices for the start and end points. This function uses the same price for both the start and end bars.
Example
Plot1(TLSlopeEasy(High,1,9));