Quite often for your PineScript indicator or strategy, you need tick size. Of course, you can add it explicitly in your code. But this won’t work for all instruments and you’ll have to change the code for all instruments with different tick values. Fortunately, there is a universal way to get tick value in PineScript How to get tick size in PineScript? Read More →
By default indicators you add to the TradingView chart have the same precision as the underlying instrument you applying it on. Sometimes this can cause some problems: We applied cumulative percentile to XBTUDT from Bitmex. Its min tick is 0.1$, so our indicator also inherited this precision. You can see that values change but on How to change the precision for an indicator in TradingView? Read More →
TradingView allows traders to calculate an indicator based on another indicator without writing any line of code.You can apply an indicator not just to price data but also other indicators. This feature – which was introduced over 5 years ago in 2016 – even works with invite-only indicators and indicators with protected code. The technical How To Apply Indicator on Indicator in TradingView? Read More →
In TradingView it’s possible to add a watermark to your chart background. It will show the current symbol and timeframe you’re working with. It can be pretty useful to have it. It will help you and others better understand your charts and ideas. In this article, I will show you how you can add it How to add a watermark (symbol and timeframe) to the chart background in TradingView? Read More →
TradingView is pretty flexible in terms of appearance. You can change the color of the TradingView interface and chart itself. In this article I will show you how you can do it. Changing TradingView Interface Style First of all, you can change the TradingView interface from standard white to dark mode. To do that go How to Change Color Theme in TradingView? Read More →
TradingView for some time already introduced lines and label objects in PineScript. It’s a really nice tool and allows you to make pretty nice indicators. The issue is that it’s not so easy to work with them as with usual plot functions. If you’ll just use this simple code: It will plot label for every How to Display Labels / Lines only for the last bar in PineScript? Read More →