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".

  • 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.

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。