PINE LIBRARY
Updated Signal Analyzer

This library contains functions that try to analyze trading signals performance.
Like the % of average returns after a long or short signal is provided or the number of times that signal was correct, in the inmediate 2 candles after the signal.
Like the % of average returns after a long or short signal is provided or the number of times that signal was correct, in the inmediate 2 candles after the signal.
Release Notes
v2Release Notes
v3Added:
f_signalDim()
Release Notes
v4Updated:
f_SignalPrecision()
Removed:
f_signalDim()
Release Notes
v5Signal input is suppose to be an oscillator, SellZone the top threshold and BuyZone the bottom threshold.
The last input is to calculate the outputs at the n bar after the signal
I.e: (RSI, 70, 30, 3)
Release Notes
v6 Efficacy formula changedPine 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 publications is governed by House Rules.
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.
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 publications is governed by House Rules.
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.