I created an OHLC chart with three Bar charts. Here the three bar chart color comes from the three different formulas of stock indicators. Now I want to set the multiple colors in the OHCL chart from that three bar chart’s colors.
For example, In the below picture I drew a BLUE line as soon as all of these conditions are true, then the line color display as Green in the OHCL chart.
And if all of these conditions are false, then In the OHCL chart the line color display as Red.
And if above both condition are false then color display as black.
I was trying to set multiple colors as an array in Bar chart and it’s working properly. but I want to set that multiple color functionality in OHLC. Please, help me. How can I set the above colors functionality in my OHLC chart?