This is an updated version (with lots of extras added) of the Accumulation/Distribution indicator coded by @Cl8DH.
You can read about what he says about his indicator, and how to use it, here:
So, from that, what have I done?
I added a moving average (of which there are many types to choose from) so that you can use this as a "two lines cross" indicator, as...
Advance-decline line for Warsaw Stock Exchange (GPW)
EN: Since GPW doesn't give us advance/decline data similar to NYSE, it's not hard to calculate it manually (WIG20 and WIG30 - can be changed in settings)
PL: Wskaźnik A/D line dla giełdy Warszawskiej (działa dla WIG20 i WIG30)