nicolasxu:
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 :
plot_index
[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).
angevoyageur:
Thanks!
The documentation say :
It's an int not an enum.
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).
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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?