INVITE-ONLY SCRIPT

ATR Report & Tool

已更新
█ OVERVIEW

This indicator reports the historical probabilities of the price trading past its Average True Range (ATR).


█ CONCEPTS

It is common knowledge that the market is not likely to trade past 1x ATR. Is this true? How much unlikely exactly? The indicator reports the data in a table and tells you precisely how often the price made it past x times ATR.

You have identified two plausible entries at different price structures or two targets at significant projections; which one should you choose? While is it possible to reach them, is this indeed probable? The indicator complements your analysis for making sounds trading decisions.


█ FEATURES

Price Selection Tool
The indicator has a price selection tool embedded. You can select a price on the chart and it will show the distance relative to the ATR so you can easily refer to the historical probability table.

Multi-Timeframe
By default, the indicator uses the daily timeframe​ for analyzing how much price moves compared to its average volatility​ during a day​. To the same extent, you can set it to any other timeframe.

Configurable ATR
• Pick your preferred smoothing between the Simple Moving Average​ (SMA​) or the Relative Moving Average (RMA).
• Set the length for getting the average price movement. For example, you can set it to 20 for the daily ATR (20 trading days in a month), 12 for the weekly ATR (3 months), or 6 for the monthly ATR.
• Select the reference between “previous” or “current” ATR value (default set on previous).

Data Window
The indicator provides additional volatility-related values and reporting data.

Others
Automatically hides the indicator when the chart’s timeframe is higher than the indicator’s one.


█ NOTES

Calculation
The volatility⁣ is calculated from the selected period's low to high. It may use the previous close when the market gaps up/down.
版本注释
v2.0

  • Extended the statistics for reporting price trading past 3x, 4x, and 5x ATR
  • Added on the price scale labels for marking ATR "milestones"
  • Enabled configuring the table text size
  • Adjusted the selection color for automatically providing optimal contrast
  • Updated the rounding number logic (resolves error "cannot use `str.tostring(format=format.mintick)` in this context")
  • Minor improvements
ATRAverage True Range (ATR)historicalHistorical Volatilitymulti-timeframereportreportsstatisticalstatisticalprobabilitystatisticstooltools

仅限邀请脚本

仅限作者授权的用户访问此脚本,并且通常需要付费。您可以将其添加到收藏中,但是只有在向作者请求并获得许可之后,才能使用它。 请联系sbtnc了解更多信息,或按照以下作者的说明操作。

TradingView不建议付费使用脚本,除非您100%信任作者并了解脚本的工作原理。在许多情况下,您可以在我们的社区脚本免费找到不错的开源替代方案。

作者的说明

想在图表上使用此脚本?

警告:请在申请访问权限之前阅读

🌟 Listed as "Trusted Pine Programmer"

👨‍💻 Coding services: sbtnc.dev/hire-pine-script-developer

🔒 Premium indicators: sbtnc.gumroad.com

☕️ Tip: buymeacoffee.com/sbtnc
更多:

免责声明