math.log() - Pine Script Function
math.log()
Section titled “math.log()”Overview
Section titled “Overview”Natural logarithm of any number > 0 is the unique y such that e^y = number.
Syntax
Section titled “Syntax”math.log(number) → const floatParameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
| number | const int/float | The number to use in the calculation. |
Returns
Section titled “Returns”The natural logarithm of number.