Skip to content
Algo Trade Analytics Docs

math.exp() - Pine Script Function

The exp function of number is e raised to the power of number, where e is Euler’s number.

math.exp(number) → const float
NameTypeDescription
numberconst int/floatThe number to use in the calculation.

A value representing e raised to the power of number.