OPEN-SOURCE SCRIPT

Z-Score Support & Resistance [SS}

Hello everyone,

This is the Z-Score Support and Resistance (S/R) indicator.

How it works:

The trouble with most indicators and strategies that rely on distributions is that they are constantly moving targets.
To combat this, what I have done is anchored the assessment of the normal distribution to the period open price and dropped the data from the current day.
This provides us with a static assessment of the current distribution and static target levels.
It then plots out an assessment of what would be neutral (0 Standard Deviations) all the way up to +3 Standard Deviations and all the way down to -3 Standard Deviations.

It can plot out this assessment on any timeframe, from the minutes to the months to the years, simply select which desired timeframe you want in the settings menu (default is 9 which seems to work well for most generic tickers and indicies).

The indicator will also count the number of times a ticker has closed within each designated period. To do this, please make sure that you have the assessment timeframe opened on the chart. So if you want to look at the instances on the daily timeframe, ensure you have the daily timeframe opened. If you want to look on the monthly, ensure you have the monthly opened, etc. (See below):

Snapshot

How to Use:

To use the indicator, its pretty simple.
Simply select the desired timeframe you want to use as S/R and use it!

You can adjust the period lookback from the defaulted 9 period based on:

a) The degree of normality in the dataset (you can use a kurtosis indicator to help you ascertain this); or
b) The back-test results of closes within a desired range.

For the later, you can see an example below:

This is TSLA with a 9 period lookback:

Snapshot

We can see that 50% of closes are happening within 0.5 and -0.5 standard deviations. If we extend this to a 15 period lookback:

Snapshot

Now over 60% of closes are happening in this area.

Why does this matter? Well, because now we know our prime short and long entries (see below):

Snapshot

The green arrows represent prime long setups and the red prime short setups.
This is because we know, 61% of the time the ticker will close between 0.5 and -0.5 standard deviations, so we can trade the ticker back to this area.

Further instructions:

Because it is somewhat of a complex indicator, I have done a tutorial video that I will link below here:




And that is the indicator my friends! Hopefully you enjoy :-).

As always, leave your comments and suggestions / Questions below!

Safe trades!
statistics

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?


For real-time updates and premium indicators, consider joining my group at: patreon.com/steversteves
Auch am:

Haftungsausschluss