rohan sawant
rohan sawant

Reputation: 121

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

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

Answers (1)

SafetyHammer
SafetyHammer

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

Related Questions