I have written an indicator that draws past OHLC values on a chart. I have allowed the user to turn off or on different lines by setting c = 0 in the COLOURED(r,g,b,c) command. However if any are set to zero/turned off then when you hover over the chart to get the values large sections of the chart are blanked out by semi-visible labels.
I will send a report from the platform with a link to here.
An off forum discussion with Nicolas provided me with a workaround. I had forgotten that you can declare variable values as UNDEFINED. So instead of switching the value of c in COLOURED(r,g,b,c) from 1 to 0 I simply declared all values as undefined unless the user selected them.
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue