Pivot Point Supertrend

アップデート済
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
Centered OscillatorslonesometheblueMoving AveragespivotresistancepivotsupportsupertrendsuplyzonesupportSupport and Resistancetrendfollowingtrendreversaltrendtrading

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?

免責事項