OPEN-SOURCE SCRIPT

Daily Deviation

Telah dikemas kini
Shows you the normal deviation from the OPEN based upon historical data.

Levels measured:

  • Normal range (1 standard deviation) of the CLOSE (vs the OPEN).
  • Normal daily HIGH +1, +2, +3, and +4 standard deviations.
  • Normal daily LOW -1, -2, -3, and -4 standard deviations.


Configuration:

Always shows you the normal CLOSE vs OPEN range for the current session.
Can display previous day's ranges (extra days) based upon the calendar (not trading days).
Normally displays which levels have been exceeded (to reduce noise and keep auto-scale to a minimum), but can show all the ranges for the current session.
The default number of days to measure (50) will affect the accuracy but outliers are cleaned to avoid dramatic variance.

Note:

These are only statistical representations of what has occurred in the past. You can interpret the current price as oversold or overbought for the day (and only that day) relative to the OPEN. Gaps high or low are not considered in the equation.
Nota Keluaran
Eliminated debugging code. Updated thumbnail.
Nota Keluaran
Updated thumbnail.
Nota Keluaran
Cleanup and simplification.
Nota Keluaran
Fixed errors with lib references resulting from max_bars_back change.
Daily ChartsdailyhighdailyhighlowdailylowhighLOWVolatility

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?

Penafian