MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Custom indicators  SetLevelStyle

 
void SetLevelStyle( int draw_style, int line_width, color clr=CLR_NONE)
The function sets a new style, width and color of horizontal levels of indicator to be output in a separate window.
Parameters:
draw_style   -   Drawing style. Can be one of the Drawing shape styles listed. EMPTY value means that the style will not be changed.
line_width   -   Line width. Valid values are 1,2,3,4,5. EMPTY value indicates that the width will not be changed.
clr   -   Line color. Empty value CLR_NONE means that the color will not be changed.
Sample:
//---- show levels as thick red lines
   SetLevelStyle(STYLE_SOLID,2,Red)