← All Scripts

Delta change Percent indicator

TradeVision
9mo ago
Delta change Percent indicator

This script calculates the percentage change in orderflow delta (close-only) between the current and previous bar.

delta → current orderflow delta value.

delta_prev → delta value from the previous bar.

delta_change_pct → percentage change from the previous bar, using the absolute previous value to avoid sign distortion.

Very large values (over 999) are scaled down to actual percentage form so they don't show as "k".

Green bars indicate a positive change, red bars indicate a negative change.

An alert is triggered if the percentage change exceeds 30%

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 GoCharting. Read more in the Terms of Use.

Related Scripts

Comments (0)

Loading comments…