Category: Indicator > Miscellaneous
The Custom 3 Lines indicator calculates and plots the values of the numeric expressions specified by the inputs Input1, Input2 and Input3. This is designed to allow you to plot any values, that is, the result of any calculations you choose, simply by editing the inputs in the Format Indicator dialog.
To get you started, the default settings for Input1, Input2 and Input3 are the close. You may substitute any expressions that result in a number, e.g. "range" or "close – close of 3 bars ago". You may also use functions in the expressions. Additionally, this indicator will generate an alert as specified by the input AlrtCond. This input must be an expression that is either true or false, e.g. "range > range of 1 bar ago". The default plot settings are to plot the values in the same subgraph as the price chart. This may also be modified in the Format Indicator dialog.
Input1 - Value (any numeric expression) to be plotted
Input2 - Value (any numeric expression) to be plotted
Input3 - Value (any numeric expression) to be plotted
AlrtCond - True/False expression used to define the indicator’s alert criteria
INPUTS: INPUT1(CLOSE), INPUT2(CLOSE), INPUT3(CLOSE), ALRTCOND(FALSE);
IF ALRTCOND THEN
ALERT("CUSTOM 3 LINE ALERT");