Some add-ons have no digital protection in them and rely on the honesty of the clients not distribute their product, or, some have an end user licence agreement which prohibits distribution of the product (but does not take any positive action to prevent distribution), or, some use a "call home" system to connect to a remote server each time the code is run to validate the authenticity of the application (requires the suer to be connected to the internet, which is not always possible and can be "easily" spoofed), or, some use an encryption algorithm and passkey/phrase which is checked when the application runs. Each methods has its advantages and limitations.
No protection system is foolproof. Given sufficient time and willingness, any application can be cracked by the motivated hacker. The only sure way not to have your product hacked is not to distribute it.
This is about as much as I would like to say on the topic in the open
forum. If you want to discuss discrete details particular to your
specific product, please contact a software security engineer, or
contact me off-forum for some ideas.
Some general advice: One thing to be very aware of is the intelligence of most MS users / traders in general. There are very few who will use a product where they cannot see the inner workings (black boxes). You might think you have the panacea function or the holy grail, but traders wont use it if they cannot see for themselves exactly how the system works. If your function is as good as you think it is, every additional trader using the tool will reduce its effectiveness, so it is in your best interest and the interest of the few trusted traders to whom you do distribute the product to keep the product distribution limited.
wabbit
"The question of whether a computer can think is no more interesting than the question of whether a submarine can swim."
Edsgar W. Dijkstra
MS: 6.52 EOD, 7.x EOD, 8.0 PRO, 9.2 PRO w/QC, 10 PRO w/QC & MDK
For custom MetaStock programming : http://www.wabbit.com.au
My SkyPE status : 
My SkyPE account : wabbit.com.au