OPEN-SOURCE SCRIPT
מעודכן

Trend Lines

50662
Automated trend lines
הערות שחרור
Cleans/ simplifies script and fixes bugs where the a line might not draw.

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

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.