@ahm.montaser, in the above example, these 2 lines were added only to show that the color white is displayed whenever 2 (or more) consecutive values are the same: something that in a moving average is improbable.
I suggest you ask Chat-GPT:
"When calculating a 20-period simple moving average (SMA) over a stock price series, what is the probability that two consecutive SMA values will be identical? Under what conditions will this occur?"