void SetLevelStyle( int draw_style, int line_width, color clr=CLR_NONE) void SetLevelValue( int level, double value)
Are you trying to use CLR_NONE as a value for color ? I don't think it is valid . . .
yes I did.
I know it's not what you are trying to do . . but try it all the same . . .
Set the variable for color to be Red and compile again . . . the error should not show up. If you look at the documentation for SetLevelStyle you will see that the variable for color is optional and what is written above is the function definition.
"Line color. Empty value CLR_NONE means that the color will not be changed."
I know it's not what you are trying to do . . but try it all the same . . .
Set the variable for color to be Red and compile again . . . the error should not show up. If you look at the documentation for SetLevelStyle you will see that the variable for color is optional and what is written above is the function definition.
"Line color. Empty value CLR_NONE means that the color will not be changed."
thanks
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
How do I make an indicator in a sub window where I declare the level values because I want a scale to the right side of the subwindow but I do not want any horizontal lines.
I could not find a Color Constant for "None". How do I accomplish this?