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")

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 a publication is governed by House Rules. You can favorite it to use it on a chart.

Want to use this script on a chart?
If you find my works useful, please consider a donation
BTC: 19qDW9AShZhBZsGuXcgRzam5Fbpc3EU8EV
ETH: 0x39c8552371b9b7f4e324197af460ba8bc8e18ef9


500 เหรียญ
+3 ตอบกลับ
@PineCoders, Thank you!
+2 ตอบกลับ
jrm-007 LonesomeTheBlue

Hi, great strategy and code. A simple question, can I plot these levels using a spreadsheet rather than relying on tradingview?
+5 ตอบกลับ
Can I use this for intraday trading for 15 minutes chart for accuracy?
+141 ตอบกลับ
@Mayank_baj, yes! I am doing that and it works great with Crypto. You need to up the period to tripple digits and you need a double digits atr factor.
+1 ตอบกลับ
lavventura aaronlittlefield
@aaronlittlefield, what do you mean by `period to tripple digits and you need a double digits atr factor.`?
@lavventura, Yes. I have used ATR factor of 15 or more and have used Time Preiod of 300 and also over 4,000. It goes up to 4999.

I am using this on the 15 and 30 second time frame and use HA candles.
Whts the accuracy u found in this one ?
+41 ตอบกลับ
HermanBrummer kariyabhargav8
@kariyabhargav8, Always the first question I also ask, too much noise on TV with bad indicators.

People really need to publish based on strategy results.

That being said, this indicator looks great, but I'll have to test using a backtester

Thanks to the author for coding this
+5 ตอบกลับ
elkadro HermanBrummer
@HermanBrummer, did you backtest?
+3 ตอบกลับ
หน้าแรก ตัวช่วยคัดกรองหุ้น ตัวคัดกรองฟอเร็กซ์ ตัวคัดกรองคริปโต ปฏิทินเศรษฐกิจ เกี่ยวกับ ฟีเจอร์ของชาร์ต อัตราค่าบริการ แนะนำเพื่อน กฎระเบียบการใช้งาน ศูนย์ช่วยเหลือ โซลูชั่นสำหรับเว็บไซต์ & โบรกเกอร์ วิดเจ็ต ชาร์ตโซลูชั่น Lightweight ชาร์ตไลบรารี บล็อก & ข่าว Twitter