What function can be used to calculate cube root in pine-script, TradingView?

1.8k Views Asked by At

What function can be used to calculate cube root in pine-script, TradingView?

There is only a function to calculate square root and for power raised to.

1

There are 1 best solutions below

0
SafetyHammer On

use pow function with 1/3.. like cube root of X is also X^(1/3)

https://www.tradingview.com/pine-script-reference/#fun_pow