A couple days ago I was searching for a user function that would allow be to take the nth root of any number. After not being able to find a function, I realized that the nth root is just the the inverse of the nth power. Here I've created a user defined function free to use by everybody that goes off of this. I used this function in my "Pythagorean Averages" script to help calculate the geometric average where p=0.
Disclaimer: Do your own research before making any decisions financially.
Script de código aberto
Dentro do verdadeiro espírito TradingView, o autor deste script publicou ele como um script de código aberto, para que os traders possam compreender e checar ele. Um viva ao autor! Você pode usá-lo gratuitamente, mas a reutilização deste código em uma publicação é regida pelas Regras da Casa.
Você pode favoritá-lo para usá-lo em um gráfico.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.