OPEN-SOURCE SCRIPT

Pivot Points (Daily, Weekly, Monthly)

Pivot point: P = (High + Low)/2
First support: S1 = Low
Second support, S2 = Low - 2 * (High - Low)
First resistance: R1 = High
Second resistance, R2 = High + 2 * (High - Low)

White Line: Pivot Point
Gleen Line(Thin Line): Support 1
Green Line(Thick Line): Support 2
Red Line(Thin Line): Resistance 1
Red Line (Thick Line): Resistance 2

You can adjust it to daily, weekly or monthly indicators, daily for intraday trading (1minute, 1hour etc.), weekly and monthly for day/swing trading, monthly for weekly trades. I plot the graph with steplines since I think they can show the differences of pivots from time to time more clearly, you are free to change to other plot styles like circles or regular lines if you want to. Please like this script, and let me know any questions, thanks.
Pivot PointsTrend Analysis

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明