This macro draws a linear regression line through all data points in a chart.

SYNTAX:

@TRENDLINE_ALLDATA bShowLinearLine bShowEquation

PARAMETERS:

; 1=Show Linear Regression Line, 0=Hide Linear Regression LinebShowLinearLine

; 1=Show Equation, 1=Hide EquationbShowEquation

EXAMPLE:

@TRENDLINE_ALLDATA 1 1

@TRENDLINE_ALLDATA 1 1

PERSISTENT:YES

ALSO SEE:@MOVA; to draw a moving average line

@TRENDLINE; to draw a trend line

Next Macro Previous Macro Return to Alpha List

Next Macro in this Group Previous Macro in this Group Return to Group List