OPEN-SOURCE SCRIPT

Previous Days High & Low

已更新
Renders the high and low values from previous days.
Useful alert conditions are provided: "Less than low" and "Greater than high".

Configuration:
  • The number of days is configurable with a default of 1.
  • The source of the high and low values.
  • Use the close value instead of high and low values. Default is false.


The example above uses 2 days to demonstrate an exit strategy.
版本注释
Added "Higher Low" and "Lower High" alerts.
版本注释
Added lines for future: During session, uses current day's high and low and eliminates the first day in the calculation to predict what the high and low will be. When the session has finished, displays the current values as how they will be plotted in the next session.
boundaryBreadth IndicatorsdailyhighdailyhighlowdailyhighsdailylowdailylowshighLOWTrend AnalysisVolatility

开源脚本

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

想在图表上使用此脚本?

免责声明