Yes sir, you can definitely do that. Pine Script provides a built-in table object that allows you to create custom dashboards directly on the TradingView chart.
A table can be used to display any information that your script calculates, such as:
-Trend Direction
-Current Signal (Buy/Sell)
-EMA Values
-RSI Value
-Any custom calculation from your strategy or indicator
For example, you can create a simple dashboard like this:
This creates a dashboard in the top-right corner of the chart that updates automatically on every new bar.
You can also customize the table according to your requirements.
-Change its position using position.top_left, position.top_right, position.bottom_left, position.bottom_right, or other available positions.
-Add more rows and columns.
-Display text, numbers, or calculated values.
-Change the background color and text color.
-Highlight Buy and Sell signals with different colors.
-Show live values from multiple timeframes.
-One important thing to remember is that the table should usually be updated only on the last bar by using barstate.islast. This improves performance and avoids unnecessary updates on historical bars.
So that’s how you can create a professional dashboard on the TradingView chart using Pine Script.
For more information, you can refer to the official Pine Script documentation:
https://www.tradingview.com/pine-script-docs/concepts/tables/