TradingView Tutorials

The Quant Nomad has over 6 years’ experience in the quantitative trading industry (15+ years in programming).
He has helped more than 200 traders and companies create/optimize their algorithmic trading models.
How to Display Labels only at a specific time every day?
No Comments

Quite often in TradingView, you might want to display labels at a specific time every day. It can be some information at day close, day open, premarket, etc. In this article, I will show you how you can exactly that. If you’ll just use the label.new function as is it will simply plot labels for How to Display Labels only at a specific time every day? Read More →

How to Plot Vertical Lines in Pine Script?
No Comments

Sometimes vertical lines can be a pretty good way to display signals or other information for your indicators. In this article, I will show you how you can plot a vertical line for a custom TradingView indicator in Pine Script. You can do in just 1 line of code: You will see the following vertical How to Plot Vertical Lines in Pine Script? Read More →

How to change bar colors in TradingView / Pine Script?
No Comments

By default TradingView colors candlestick in 2 colors: green when close > open and red if close < open. Quite often you might want to change the standard coloring of the bars for your indicators. Fortunately, it’s really easy to change these colors in TradingView. There are 2 ways to do that, In this article, How to change bar colors in TradingView / Pine Script? Read More →

How to Loop Through Arrays in Pine Script?
No Comments

TradingView recently added an array feature to Pine Script. This powerful new feature allows traders to build custom datasets by working with one-dimensional data structures. However, given that this is a fairly new feature, there aren’t many examples and tutorials to guide beginners. You may find that even the simplest Pine Script array operations result How to Loop Through Arrays in Pine Script? Read More →

My PineScript indicator doesn’t work as expected? Where can I get help?
No Comments

There are plenty of ways you can get help with your PineScript indicator or strategy. In this article, I will list few free and paid ways you can get help. Check official documentation and manuals TradingView has a pretty nice collection of reference guide and manuals: Official Pine Script v4 User Manual – You can My PineScript indicator doesn’t work as expected? Where can I get help? Read More →

How to Fix Pine Script Study Error “Too Many Drawings, Cannot Clean Oldest”
No Comments

Drawing objects need to be limited (per study or strategy) because they consume server resources. When you create too many drawings, Pine runtime automatically deletes old ones in a process known as garbage collection (removing data that is no longer required or in use). If something goes wrong with regards to drawings, you may encounter How to Fix Pine Script Study Error “Too Many Drawings, Cannot Clean Oldest” Read More →