EA Protection thru dll

 

I was wonderingg how to protetct an ea or indicator thru dll.

Below is a very simple ea just for the sake of the example.

Can anyone explain step by step how to acheive it?

Thnkas 

 
Here.
 
You can place some of the most important calculations into DLL file but it is not so simple. It also do not give 100% protection as the DLL itself can also be decompiled.
Reason: