This is a collection of moving averages. Thanks to everget and other pinecoders to pubblish their codes in tradingview. I just collect a lot of moving averages in one script and transform them in stand alone functions, so you can copy and paste in your script the MA that best fit your needs. Furthermore, the chart shows which moving average has more smooth and which one has less lag and so on: in this way it is easy to graphically compare moving averages.