Kharevsky

P-Signal v1.0


P-Signal calculates the error function (Gauss-Laplace) for a series of increments in the specific price of time frame.
The absolute value of the signal is equal to the probability of changing the sign of the observed series of increments.
The sign of the observed series coincides with the sign of the signal.

P-Signal v1.0 has two parameters.

- Number of Time Frames defines the length of the series, by default 4.
The larger the value, the smaller the absolute error for the series.
- Smoothing is the anti-aliasing option, it is enabled by default.

As a specific price of time frame, ohlc4 PINE built-in variable is used.
Protected script
This script is published closed-source but you may use it freely. You can favorite it to use it on a chart. You cannot view or modify its source code.
Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?