I am studying 4th chapter "Supply and demand" and I would like to code the supply analysis indicator.

I wonder if anyone did code this tool succesfully: any help is really appreciated.


Thanks