Daveatt

BEST Multicolor Supertrend InfoPanel

Hello traders

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, futures , 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

Best regards,
Dave
Remove from Favorite Scripts Add to Favorite Scripts
Wicked piece of coding.

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.
+2 Reply
Daveatt Captain_Walker
@Captain_Walker, Hello My Captain
That's normal because this script isn't displaying those supertrends
You can add them using this indicator for example
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out