mks17

Signal Analyzer

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

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

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 library?

Copy the following line and paste it in your script.