nickbarcomb

Trend Lines

nickbarcomb Aktualisiert   
Automated trend lines
Versionshinweise:
Cleans/ simplifies script and fixes bugs where the a line might not draw.

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

Ganz im Spirit von TradingView hat der Autor dieses Skripts es als Open-Source veröffentlicht, damit Trader es besser verstehen und überprüfen können. Herzlichen Glückwunsch an den Autor! Sie können es kostenlos verwenden, aber die Wiederverwendung dieses Codes in einer Veröffentlichung unterliegt den Hausregeln. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.

Möchten Sie dieses Skript auf einem Chart verwenden?