This script shows a high and low period value. SelectPeriod - Day or Week or Month and etc. LookBackPeriods - Shift levels 0 - current period, 1 - previous and etc.
You can change long to short in the Input Settings WARNING: - For purpose educate only - This script to change bars colors.