Reputation: 121
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.
Upvotes: 0
Views: 2075
Reputation: 411
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
Upvotes: 0