tkarolak

Previous Day and Week Ranges

tkarolak 已更新   
I've designed the "Previous Day and Week Ranges" indicator to enhance your trading strategy by clearly displaying daily and weekly price levels. This tool shows Open-Close and High-Low ranges for both daily and weekly timeframes directly on your trading chart.

Key Features:

  • Potential Support and Resistance: The indicator highlights previous day and week ranges that may serve as key support or resistance levels in subsequent trading sessions.
  • Customizable Display Options: Offers the flexibility to show or hide daily and weekly ranges based on your trading needs.
  • Color Customization: Adjust the color settings to differentiate between upward and downward movements, enhancing visual clarity and chart readability.

This indicator is ideal for traders aiming to understand market dynamics better, offering insights into potential pivot points and zones of price stability or volatility.
版本注释:
Minor bug fix
版本注释:
Changelog
  1. Significant code refactor for faster execution.
  2. Visualizes open-close and high-low values as labels with tooltips for the previous day and week.
  3. Plots lines and labels for the Point of Control (POC) of the previous day and week.
版本注释:
New functions and type:
  • Introduced RangeColors type for improved color management.
  • renderLine function for easier creation and updating of lines.
  • copyAndClear method to handle data copy and clearing between BarArrays.
版本注释:
nothing important
版本注释:
Added max_bars_back that sets the maximum number of bars that is available for historical reference to prevent cache issue
版本注释:
Fixed issue with lines not being redrawn correctly by using persistent variables for line objects.
版本注释:
max_bars_back fixed
版本注释:
Change log:
  • Updated color scheme
  • Added transparency to fill color
  • getPoc() function changed
版本注释:
Change log:
  • getPoc() function uses math.floor now
版本注释:
Chart update
版本注释:
Added new Method to
Initializes the arrays within the `BarArrays` instance to empty arrays.
版本注释:
Rolling back to the previous version, the method for BarArrays object init has been removed

开源脚本

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

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?