The indicator is based on moving averages. On the basis of these, the "center" of the price is calculated, and price channels are also constructed, which act as corridors for the asset quotations.
You can change long to short in the Input Settings WARNING: - For purpose educate only - This script to change bars colors.