Logic:
Use the average value of the highest and lowest price from the period bar to now as Center Line.
Upper and Lower bands are Deviation of close price.
Use the average value of the highest and lowest price from the period bar to now as Center Line.
Upper and Lower bands are Deviation of close price.