Made a stripped-down version of the script.
Later it will be supplemented with other functions.
In assembly:
-4 EMA
-The bull / bear area from the volume candlestick data.
In the settings, you can change the size of the array and the amount of sampled data in it.
p.s I cut all my scripts for convenient work for you. Stay tuned! Good luck.