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

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?