OPEN-SOURCE SCRIPT

Daily Deviation

Atualizado
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.
Notas de Lançamento
Eliminated debugging code. Updated thumbnail.
Notas de Lançamento
Updated thumbnail.
Notas de Lançamento
Cleanup and simplification.
Notas de Lançamento
Fixed errors with lib references resulting from max_bars_back change.
Daily ChartsdailyhighdailyhighlowdailylowhighLOWVolatility

Script de código aberto

No verdadeiro espírito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam compreendê-lo e analisá-lo. Parabéns ao autor! Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações é regida pelas Regras da Casa. Você pode favoritá-lo para usá-lo em um gráfico.

Quer usar esse script no gráfico?

Aviso legal