PINE LIBRARY

normsinv

By loxx
Library "normsinv"

Description:
Returns the inverse of the standard normal cumulative distribution.
The distribution has a mean of zero and a standard deviation of one; i.e.,
normsinv seeks that value z such that a normal distribtuion of mean of zero
and standard deviation one is equal to the input probability.

Reference:
github.com/jeremybarnes/cephes/blob/master/cprob/ndtri.c

normsinv(y0)
  Returns the inverse of the standard normal cumulative distribution. The distribution has a mean of zero and a standard deviation of one.
  Parameters:
    y0: float, probability corresponding to the normal distribution.
  Returns: float, z-score
meannormaldistributionnormsinvstandardnormalcumulativedistributionstatisticszscore
loxx
Public Telegram Group, t.me/algxtrading_public

VIP Membership Info: patreon.com/algxtrading/membership

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.

Disclaimer