OPEN-SOURCE SCRIPT

Daily/Weekly Extremes

Telah dikemas kini
BACKGROUND
This indicator calculates the daily and weekly +-1 standard deviation of the S&P 500 based on 2 methodologies:

1. VIX - Using the market's expectation of forward volatility, one can calculate the daily expectation by dividing the VIX by the square root of 252 (the number of trading days in a year) - also know as the "rule of 16." Similarly, dividing by the square root of 50 will give you the weekly expected range based on the VIX.

2. ATR - We also provide expected weekly and daily ranges based on 5 day/week ATR.

HOW TO USE
- This indicator only has 1 option in the settings: choosing the ATR (default) or the VIX to plot the +-1 standard deviation range.
- This indicator WILL ONLY display these ranges if you are looking at the SPX or ES futures. The ranges will not be displayed if you are looking at any other symbols
- The boundaries displayed on the chart should not be used on their own as bounce/reject levels. They are simply to provide a frame of reference as to where price is trading with respect to the market's implied expectations. It can be used as an indicator to look for signs of reversals on the tape.
- Daily and Weekly extremes are plotted on all time frames (even on lower time frames).
Nota Keluaran
Quick fix
Nota Keluaran
Removed unneeded code
ATRAverage True Range (ATR)extremesrangereversionVolatility

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


Juga pada:

Penafian