OPEN-SOURCE SCRIPT
Nearest Multi-Timeframe Pivot Points

This tool simultaneously processes pivot points (standard) calculated on different timeframes, and plots the nearest and the next-nearest ones with respect to the current price. The indicator can be used as a part of a trading strategy, for example, to select stop loss and target prices, identify potential support and resistance levels, etc. Optionally, it also gives signals when the price breaks one of the nearest levels.
Input Description
In the input, you can specify the type of pivot point. Available options:
Available timeframes (can be chosen simultaneously): 1Y, 1M, 1W, 1D.
Please note that data from timeframes equal to or lower than the timeframe of the chart will be omitted. For example, daily pivots will not appear on the daily chart.
Output Description
In the chart, labels contain information about the timeframe, for instance:
“DS1” denotes the first daily S level, S1;
"MR2" denotes the second the monthly R level;
"YP" corresponds to the yearly pivot point.
The labels corresponding to the next-nearest levels are shown in parentheses.
References
The pivot point calculations are based on the details provided here:
tradingview.com/support/solutions/43000521824-pivot-points-standard/
Enjoy and feel free to leave your comments below!
Input Description
In the input, you can specify the type of pivot point. Available options:
- Traditional
- Fibonacci
- Woodie
- Classic
- DeMark
- Camarilla
Available timeframes (can be chosen simultaneously): 1Y, 1M, 1W, 1D.
Please note that data from timeframes equal to or lower than the timeframe of the chart will be omitted. For example, daily pivots will not appear on the daily chart.
Output Description
In the chart, labels contain information about the timeframe, for instance:
“DS1” denotes the first daily S level, S1;
"MR2" denotes the second the monthly R level;
"YP" corresponds to the yearly pivot point.
The labels corresponding to the next-nearest levels are shown in parentheses.
References
The pivot point calculations are based on the details provided here:
tradingview.com/support/solutions/43000521824-pivot-points-standard/
Enjoy and feel free to leave your comments below!
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.