OPEN-SOURCE SCRIPT

Nth Root

1 482
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:[\b] Do your own research before making any decisions financially.

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.