I have a custom indicator that uses some buffers for calculations to create objects (horizontal lines in the indicator window). I have used SetIndexBuffer(n,DRAW_NONE) and it all performs correctly. But in the indicator's Properties menu under the 'Color' tab there is still the option to choose line color, width and type for each, even though these settings are meaningless. Is there a way to remove these from the Properties menu while still keeping everything else the same?P.S. I realize I could probably remove these calculations from the buffers completely and still be able to draw the lines I want but I like having the data displayed in the Data Window.Relevant code and screenshot attached below.
The first 2 buffers (0 & 1) plot and therefore their settings are relevant. The rest do/are not.
//---- indicator buffers mapping
//---- indicator line
//---- drawing settings (Only for Buffers that draw)