Simply input the vales of the high, low and closing price of the previous period to calculate the Woodie pivot point and the associated resistance and support levels for the present period.
You can change long to short in the Input Settings WARNING: - For purpose educate only - This script to change bars colors.