OPEN-SOURCE SCRIPT
Updated

Price Change Indicator

656
Price Change Indicator (PCI)
Version: 1.0
Author: LazyTrader ๐Ÿš€

๐Ÿ” Overview
The Price Change Indicator (PCI) helps traders visualize and compare price changes between the current bar and the previous bar. It provides a customizable display of price changes in two formats:
Percentage (%) Change โ€“ Relative price movement.
Natural Change โ€“ Absolute difference in price units.

โš™๏ธ Key Features
โœ… Customizable Calculation Method: Choose how the price change is calculated:
Opening Price
Closing Price
High
Low

โœ… Flexible Display Format:
Show Percentage (%) Change.
Show Natural (Absolute) Change in price.

โœ… Adjustable Sensitivity with Multiplier:
100 (Standard Change)
1000 (Small Change)
10000 (Tiny Change)

โœ… Intuitive Labeling:
Green label (above bar) for increase.
Red label (below bar) for decrease.
No label if no change.
Large, easy-to-read labels for better visibility.

โœ… Perfect for Any Market:
Stocks ๐Ÿ“ˆ
Forex ๐Ÿ’ฑ
Crypto ๐Ÿš€
Commodities ๐Ÿ›ข๏ธ

๐Ÿ“Š How It Works

The indicator calculates the difference between the current and previous barโ€™s price based on your chosen method.
The result is displayed as either a percentage (%) or a natural price change.
If the price has increased, a green label is displayed above the bar.
If the price has decreased, a red label is displayed below the bar.

โšก How to Use

Add the indicator to your chart.
Go to settings and customize:
Select calculation method (Open, Close, High, Low).
Choose display format (% or Natural Change).
Adjust multiplier for more sensitivity.
Analyze the labels to see price movements easily!

๐Ÿ”ง Settings Explained
Setting Description
Price Calculation Method: Choose Open, Close, High, or Low price for comparison.
Display Format: Show either % Change or Natural Change.
Multiplier: Apply 100, 1000, or 10000 to scale small price changes.
Show Labels: Toggle labels on/off.

๐ŸŽฏ Best Use Cases
๐Ÿ”น Identifying strong price movements
๐Ÿ”น Spotting trends and momentum shifts
๐Ÿ”น Comparing price movement intensity
๐Ÿ”น Works for scalping, swing trading, and long-term analysis
Release Notes
Price Change Indicator (PCI)
Version: 1.0
Author: QCodeTrader ๐Ÿš€

๐Ÿ” Overview
The Price Change Indicator (PCI) helps traders visualize and compare price changes between the current bar and the previous bar. It provides a customizable display of price changes in two formats:
Percentage (%) Change โ€“ Relative price movement.
Natural Change โ€“ Absolute difference in price units.

โš™๏ธ Key Features
โœ… Customizable Calculation Method: Choose how the price change is calculated:
Opening Price
Closing Price
High
Low

โœ… Flexible Display Format:
Show Percentage (%) Change.
Show Natural (Absolute) Change in price.

โœ… Adjustable Sensitivity with Multiplier:
100 (Standard Change)
1000 (Small Change)
10000 (Tiny Change)

โœ… Intuitive Labeling:
Green label (above bar) for increase.
Red label (below bar) for decrease.
No label if no change.
Large, easy-to-read labels for better visibility.

โœ… Perfect for Any Market:
Stocks ๐Ÿ“ˆ
Forex ๐Ÿ’ฑ
Crypto ๐Ÿš€
Commodities ๐Ÿ›ข๏ธ

๐Ÿ“Š How It Works

The indicator calculates the difference between the current and previous barโ€™s price based on your chosen method.
The result is displayed as either a percentage (%) or a natural price change.
If the price has increased, a green label is displayed above the bar.
If the price has decreased, a red label is displayed below the bar.

โšก How to Use

Add the indicator to your chart.
Go to settings and customize:
Select calculation method (Open, Close, High, Low).
Choose display format (% or Natural Change).
Adjust multiplier for more sensitivity.
Analyze the labels to see price movements easily!

๐Ÿ”ง Settings Explained
Setting Description
Price Calculation Method: Choose Open, Close, High, or Low price for comparison.
Display Format: Show either % Change or Natural Change.
Multiplier: Apply 100, 1000, or 10000 to scale small price changes.
Show Labels: Toggle labels on/off.

๐ŸŽฏ Best Use Cases
๐Ÿ”น Identifying strong price movements
๐Ÿ”น Spotting trends and momentum shifts
๐Ÿ”น Comparing price movement intensity
๐Ÿ”น Works for scalping, swing trading, and long-term analysis

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.