OPEN-SOURCE SCRIPT

Trendlines

3 401
Downtrend lines are one of the most important tools in technical analysis. A downtrend line is created by connecting a series of lower highs which forms a clear visual line where price repeatedly finds resistance. Traders use these lines to understand trend direction, time entries, plan exits, and quickly recognize when momentum is shifting.

This indicator automatically finds and maintains the strongest downtrend lines on any timeframe. It removes the guesswork and inconsistency that comes with manually drawing trendlines.

Unlike most other trendline indicators that just draw lines from swing highs to the current high, this indicator actively scans for new pivot highs, tests each potential line against live price action and only promotes a line to valid status once it has proven itself as a true trendline by price touching or respecting the line a user defined number of times, with the default set to three. This filters out noise and leaves only the most meaningful and reliable trendlines on your chart.
스냅샷

When price eventually breaks a respected downtrend line the indicator highlights the breakout immediately. Traders often use these moments for entries confirmation signals or to prepare for a potential shift in market behavior. The breakout alert is built directly into the indicator so you never miss an important move.
스냅샷

This indicator also works with the Pine Screener to find tickers with current valid trendlines.

How are trendlines determined?

The indicator begins by anchoring to the most recent pivot high. From there it draws a temporary line to the current bar and evaluates every bar between the two points.
Each time a high comes within a user selected buffer zone around that line it is counted as a touch. Once the required number of touches is confirmed and price has never exceeded the buffer to the upside the trendline becomes valid and is displayed on the chart as an active downtrend line.

면책사항

해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.