Hello Forum,
Just wondering if it is possible to have an indicator color set to none
Have been experimenting with buffers and if I adjust the properties of my indicator once attached to a chart and set color to "NONE", it looks like my desired outcome
But if I try and set the default within the code I get an error "indicator_color" defined value expected
Is there a way round this?
thanks in advance
Hi pullend
This won't draw any line, histo, or whatever
SetIndexStyle(0, DRAW_NONE, STYLE_SOLID, 2, Red);
Hi pullend
This won't draw any line, histo, or whatever
SetIndexStyle(0, DRAW_NONE);// no style , no thickness, no color
Hello Forum,
Just wondering if it is possible to have an indicator color set to none
Have been experimenting with buffers and if I adjust the properties of my indicator once attached to a chart and set color to "NONE", it looks like my desired outcome
But if I try and set the default within the code I get an error "indicator_color" defined value expected
Is there a way round this?
thanks in advance
Hi pullend
This won't draw any line, histo, or whatever
Thanks your suggestion works very nicely!
Try CLR_NONE
Both suggested methods work very nicely, thank you!
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello Forum,
Just wondering if it is possible to have an indicator color set to none
Have been experimenting with buffers and if I adjust the properties of my indicator once attached to a chart and set color to "NONE", it looks like my desired outcome
But if I try and set the default within the code I get an error "indicator_color" defined value expected
Is there a way round this?
thanks in advance