PlotGrid function
# Syntax: PlotGrid(level,color=colorDefault,pattern=1,width=1,Label=True)
# This function helps to plot a horizontal grid-line on the chart at desired level.
# Level is the no./level where you want to place the line
# Color refers to the line's color - need not use "color=colorRed" (refer eg. below)
# Pattern refers to line type (dotted, dashed etc)
# Width is for line thickness
# Label = true/false determines whether that level should be named on the chart.
Eg. Suppose, in the ADX formula you want to place a constant line at a reading of 25, we will insert the following in the formula.
PlotGrid(25,colorBlack,9,1,False);
Here: 9,1 and False are pattern, width and label respectively - this is a shortcut for using the syntax