OPEN-SOURCE SCRIPT

Pivot Lines

已更新
This indicator provides possible short, medium, and long-term support and resistance levels based on recent highs and lows. The furthest the level is, the thicker its line is, making it easy to spot stronger levels where 2 lines overlap. It can be configured to use open/close values instead of high/low for tighter levels.

Default settings:
- Short Period: 20
- Medium Period: 50
- Long Period: 100

This script also provides alerts for when the price crosses over/under a given level or pulls back.

Note: It sometimes displays supports above the price and resistances below it, I still have to figure out why (and fix it if possible), but it's still useful.
發布通知
Changes:
  • Change default periods to 5, 20, 50
  • More reliable levels by checking their position
  • Code refactoring
發布通知
Update to Pine Script v5
levelspivotPivot PointsSupport and Resistance

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明