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.
Rounding Numbers in PineScript
No Comments

In pine script there is a function round(x). It is very simple and allows you to round numbers only to the closest integer number. This is a bit irritating because I very often have to round numbers to some decimal places and not an integer.So I created 2 functions I use all the time and Rounding Numbers in PineScript Read More →