StefanReich

Hindsight Trend

StefanReich 업데이트됨   
Non-realtime but highly accurate trend analyzer with only one fundamental parameter (period aka "minimum trend length")

Basically Hindsight Trend is pivot points on steroids (handles many cases much better). Plus it shows the trend line.

Period

I usually like periods of 10, 20 or 30.

The indicator's delay is identical to the chosen period.

You can actually try a low period like 4 or 5 to get something resembling a realtime indicator.

Uptrends are based on candle lows, downtrends are based on candle highs. So it is possible to have an uptrend and a downtrend at the same time.

Triangles

At trend start, a triangle is drawn. (Trendline isn't always there if the trend didn't last that long.)

Triangle size shows how long the high or low that started the trend remained unbroken. E.g. with period 20: Small triangle = 20+ candles, medium triangle = 40+ candles, big triangle = 80+ candles. So a big triangle marks an important reversal point.

How Hindsight Trend works

Whenever a candle completes, its high and low are saved as potentially "notable" points. A high or low is the more notable the longer it stays unbroken (= not touched again by price).

Now we simply take the notable highs and lows (as in, staying unbroken at least for the user-selected period)... and connect them together - if they are close enough to each other (less than "period" candles away). And decorate the first point in each trend with a triangle.

We only know whether a point is notable after "period" more candles have printed, so that's where the indicator's delay comes from.

Finally we divide the period by 2 and look at highs and lows which are unbroken for that shorter time. While they are not fully "notable" as defined above, we'll call them "semi-notable". Those points are only considered at the end of a trend, and help us extend the trend line a bit further.
릴리즈 노트:
Fixed a typo in the settings
릴리즈 노트:
Fixed the script for non-Premium members

오픈 소스 스크립트

이 스크립트의 오써는 참된 트레이딩뷰의 스피릿으로 이 스크립트를 오픈소스로 퍼블리쉬하여 트레이더들로 하여금 이해 및 검증할 수 있도록 하였습니다. 오써를 응원합니다! 스크립트를 무료로 쓸 수 있지만, 다른 퍼블리케이션에서 이 코드를 재사용하는 것은 하우스룰을 따릅니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.

차트에 이 스크립트를 사용하시겠습니까?