How to calculate LELEDC indicator

 
Couldn't find the calculations online. Does anybody know where I can find this?
[Deleted]  
M Ibrahim:
Couldn't find the calculations online. Does anybody know where I can find this?

You can check the source code in tradingview.