OPEN-SOURCE SCRIPT
Cập nhật Swiftedge Pivots

This indicator plots Monthly, Weekly and Daily Pivot Points on the chart using the classic standard formula.
It calculates the Central Pivot Point (PP) and up to 3 levels of Support (S1-S3) and Resistance (R1-R3) for each timeframe based on the previous period's High, Low and Close.
### Key Features
• Multi-timeframe pivots: Monthly + Weekly + Daily
• Individual color customization for every level and timeframe
• Toggle any level (PP, R1/S1, R2/S2, R3/S3) on or off
• Clean horizontal lines that extend right
• Works great on indices (GER40, US30, NAS100, etc.), forex and stocks
### How Pivot Points are Calculated
PP = (High + Low + Close) / 3
R1 = 2 × PP - Low
S1 = 2 × PP - High
R2 = PP + (High - Low)
S2 = PP - (High - Low)
R3 = PP + 2 × (High - Low)
S3 = PP - 2 × (High - Low)
Many traders use these levels as key support and resistance zones for the upcoming period. The indicator is especially useful for day traders and swing traders who want a clear framework of potential turning points across different timeframes.
### Settings
You can enable/disable each timeframe and each support/resistance level separately. All colors are fully customizable.
Feel free to adjust the colors to your own preference and combine with other tools such as moving averages, trend lines or volume.
Enjoy trading!
It calculates the Central Pivot Point (PP) and up to 3 levels of Support (S1-S3) and Resistance (R1-R3) for each timeframe based on the previous period's High, Low and Close.
### Key Features
• Multi-timeframe pivots: Monthly + Weekly + Daily
• Individual color customization for every level and timeframe
• Toggle any level (PP, R1/S1, R2/S2, R3/S3) on or off
• Clean horizontal lines that extend right
• Works great on indices (GER40, US30, NAS100, etc.), forex and stocks
### How Pivot Points are Calculated
PP = (High + Low + Close) / 3
R1 = 2 × PP - Low
S1 = 2 × PP - High
R2 = PP + (High - Low)
S2 = PP - (High - Low)
R3 = PP + 2 × (High - Low)
S3 = PP - 2 × (High - Low)
Many traders use these levels as key support and resistance zones for the upcoming period. The indicator is especially useful for day traders and swing traders who want a clear framework of potential turning points across different timeframes.
### Settings
You can enable/disable each timeframe and each support/resistance level separately. All colors are fully customizable.
Feel free to adjust the colors to your own preference and combine with other tools such as moving averages, trend lines or volume.
Enjoy trading!
Phát hành các Ghi chú
Updated so everything is custimizablePhát hành các Ghi chú
Updatet table / dashboard for easy color remembering :)Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.