OPEN-SOURCE SCRIPT
Atualizado

Previous Days High & Low

22 829
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.
Notas de Lançamento
Added "Higher Low" and "Lower High" alerts.
Notas de Lançamento
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.

Aviso legal

As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.