OPEN-SOURCE SCRIPT

Price Change Rate with Pivot Labels (%)

127
Bull/Bear labels to show the exact price change percentage at the pivot.

1. Calculates Price Change %

Measures the percentage change in closing price over a user-defined number of bars.

2. Identifies Pivot Points

Finds local highs (pivot highs) and lows (pivot lows) using configurable left/right bar settings.

3. Labels Bullish/Bearish Trends

Bull label: Appears at pivot lows if price is rising and forming higher lows.

Bear label: Appears at pivot highs if price is falling and forming lower highs.

4. Displays % on Labels

Each label includes the current price change percentage, e.g.,

"Bull\n+2.34%"

"Bear\n-1.78%"

5. Optional Visuals

Pivot shapes (triangles) are plotted for clarity.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。