OPEN-SOURCE SCRIPT

Trend Line

Updated
Basic Trend Line base on fractals (v0.1)

Can not draw a line on the future X axis, So just a line segment but not a ray.

I don't have a better idea to upgrade...

Release Notes
Support change line segment to ray and modify ray extend style (Left, Right, Both, None)
Release Notes
Support control line count by modify parameter "Bars Limit"
Release Notes
1, Target price label show on current bar (You can modify parameter to show or not)
2, Support alert condition help you create alert policy. (Alerts must be created manually from Create Alert dialog box on right toolbar.)
Release Notes
optimize line and label count
Release Notes
Prettify code,
Release Notes
Optimize input
Release Notes
New feature: Discover and mark channels
** Increase the qty of trend lines by parameter(Segment Range or Fractals Period), you will get more channels...
Release Notes
Remove something to comply with the official House Rule :)
Release Notes
1. Refactor the script to make TrendLines simpler.
2, Fix the bug of Alert.
3, Support to modify the color.
Release Notes
optimize trendline..
autotrendlineChart patternsTrend AnalysistrendlinesetWilliams Fractal

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer