Previous I'v already writed something about it.
I'v updated the detail in comment. In case you guys might not read it. I'm writing this new article
Draw rule
2bar's range break
U1=close>=close and close>=close ? 1 : 0
D1=close<=close and close<=close ? 1 : 0
Draw them with the color you like.
U1->D1 or d1->u1 1st break. Fill the lower gap under the break to...