In the document here, it says the first param is the Index of the graphical plotting. Graphic plotting is one of the ENUM_DRAW_TYPE.
Why it is always 0 in the example here? I think it should be one of the ENUM_DRAW_TYPE. Why it is not?
The documentation say :
[in] Index of the graphical plotting
It's an int not an enum.
//---- plot ColorLine
#property indicator_label1 "ColorLine"
#property indicator_type1 DRAW_COLOR_LINE
#property indicator_color1 clrRed,clrGreen,clrBlue
The plot is a colorline : 1 plot, 2 buffers. So a colored line with 3 colors. The code you posted set the 3 colors for the plot 1 (indexed as 0).