PINE LIBRARY

Signal Analyzer

By mks17
Updated
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.
Release Notes
v2
Release Notes
v3

Added:
f_signalDim()
Release Notes
v4

Updated:
f_SignalPrecision()

Removed:
f_signalDim()
Release Notes
v5
Signal 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 changed
analyzersignalstatistics
mks17

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