에디터즈 픽
OPEN-SOURCE SCRIPT
업데이트됨

Pivot Point Supertrend

795 697
Hello All,

There are many types of SuperTrend around. Recently I thought about a Supertrend based on Pivot Points then I wrote "Pivot Point SuperTrend" script. It looks it has better performance on keeping you in the trend more.

The idea is behind this script is finding pivot point, calculating average of them and like in supertrend creating higher/lower bands by ATR. As you can see in the algorithm the script gives weigth to past pivot points, this is done for smoothing it a bit.


As I wrote above it may keep you in the trend more, lets see an example:
스냅샷

As an option the script can show main center line and I realized that when you are in a position, this line can be used as early exit points. (maybe half of the position size)
스냅샷

While using Pivot Points, I added support resistance lines by using Pivot Point, as an option the script can show S/R lines:
스냅샷

And also it can show Pivot Points:
스냅샷

When you changed Pivot Point Period you can see its reaction, in following example PP period is 4 (default value is 2). Smaller PP periods more sensitive trendlines.
스냅샷

Alerts added for Buy/Sell entries and Trend Reversals. (when you set alerts use the option "Once Per Bar Close")



ENJOY!
릴리즈 노트
Coding improved
Added explanation
릴리즈 노트
updated

면책사항

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