OPEN-SOURCE SCRIPT
Atualizado

Trend Lines

50615
Automated trend lines
Notas de Lançamento
Cleans/ simplifies script and fixes bugs where the a line might not draw.

Also adds a yellow average line
Notas de Lançamento
Adds color background to ranges
Notas de Lançamento
Attempt to fix "Internal server error" issues...
Notas de Lançamento
adds the ability to toggle lines
adds the ability to smooth the source value to partially ignore random spikes
Notas de Lançamento
think I finally fixed the runtime error during tick change
Notas de Lançamento
simplifies the x,y lookups
adds more customization
removes time-based checks
Notas de Lançamento
fixes high, low inits which were cause line to disappear
Notas de Lançamento
reduced for loops
Notas de Lançamento
adds historical line trace
Notas de Lançamento
renames plot lines to more easily appear in alerts dropdown
Notas de Lançamento
fixes average line
Notas de Lançamento
- Simplifies the UI to be more instantly apparent of the trend and it's start and end points.
- Simplifies the script down to a simple for loop
- Adds toggle for historical trace lines and prints them as stepline
- **HOPEFULLY** fixes the server error issue

Apologies to anyone that was using the previous version whose settings will get reset, but I think you'll enjoy this version much better.

TODOs: The trace points currently only work with non-log view -- update the code to check for log view and update the linear-extrapolation algorithm to a logarithmic-extrapolation
Notas de Lançamento
- Adds offset capability (historical view)
- Adds back the criss-cross pattern
Notas de Lançamento
Long awaited introduction of indicators on the logarithmic scale!
Unfortunately there is not a variable in PineScript that tells you if you are in log mode or not, so you'll have to toggle it manually.

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.