[JL] How Many Signals last N bars

Jesse.Lau Updated   
Got this idea after I found Multiple Indicators Screener from QuantNomad.
This script learnt some codes from QuantNomad's great script. Thanks to him.


This table show how many signals happened during the last N bars.

I only take care Forex, so this table only has 28 symbols. Feel free to change it.

Calculate the following signals:

RSI cross over/under 50
Short Moving average cross over/under long moving average
Stochastic k cross over/under d
MACD hist cross over/under 0
Williams Fractals: Up and Down fractals happened.

The concept is simple: Range period will always happen more cross signals than the trend period.

When the counter is less than median of all symbols, will be set green color. So more green mean more chance to be trend.

Release Notes:
Change the concept:
This version calculate the differences of signals on two same size box.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.


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?