OPEN-SOURCE SCRIPT

[JL] How Many Signals last N bars

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.
OscillatorsTrend AnalysisWilliams Fractal

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


遁一子交易入道 jesselau.com/
Also on:

Disclaimer