OPEN-SOURCE SCRIPT

Daily Deviation

已更新
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.
版本注释
Eliminated debugging code. Updated thumbnail.
版本注释
Updated thumbnail.
版本注释
Cleanup and simplification.
版本注释
Fixed errors with lib references resulting from max_bars_back change.
Daily ChartsdailyhighdailyhighlowdailylowhighLOWVolatility

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明