Today is a Pinescript hack to display multiple colors in one label.
I used that panel to show the Supertrend Long Term values (weekly, monthly, quarterly, yearly)
What is a Supertrend?
Definition: SuperTrend is an indicator that works on all timeframes and all instruments (stocks, , forex, ...). It is a great tool to follow market trends and optimizes your profits.
SuperTrend evolves below or above the prices depending on the trend. You can use it as an exit position indicator when its direction changes. You can also use it to place your stops.
So.... the hack is?
The hack is about creating a new label for each line - versus creating just one label containing the whole text
Discord channel: https://discord.gg/K6NCTX4
I couldn't get it to show the blue, green, purple and red lines like on your chart. I copied the scrip as is and pasted it into pinescript. The code was validated - so no problems there. I can't figure why I'm not seeing the lines on your chart that it's meant to draw. I'm getting the panel showing ok.
Can you advise.
That's normal because this script isn't displaying those supertrends
You can add them using this indicator for example