OPEN-SOURCE SCRIPT
Actualizado

Trend Lines

56 704
Automated trend lines
Notas de prensa
Cleans/ simplifies script and fixes bugs where the a line might not draw.

Also adds a yellow average line
Notas de prensa
Adds color background to ranges
Notas de prensa
Attempt to fix "Internal server error" issues...
Notas de prensa
adds the ability to toggle lines
adds the ability to smooth the source value to partially ignore random spikes
Notas de prensa
think I finally fixed the runtime error during tick change
Notas de prensa
simplifies the x,y lookups
adds more customization
removes time-based checks
Notas de prensa
fixes high, low inits which were cause line to disappear
Notas de prensa
reduced for loops
Notas de prensa
adds historical line trace
Notas de prensa
renames plot lines to more easily appear in alerts dropdown
Notas de prensa
fixes average line
Notas de prensa
- 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 prensa
- Adds offset capability (historical view)
- Adds back the criss-cross pattern
Notas de prensa
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.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.