Here is a video of an EasyLanguage solution both in an indicator and in an indicator through a functions, where calculations are hidden in a DLL and the DLL is locked to specific user accounts.

EasyLanguage with DLL calculations for Unentitled & Entitled Accounts

The demo starts with an unentitled account where the first two indicators using the DLL return null values. Then we switch to an entitled account where the two indicators using the DLL reflect values matching calculations in EasyLanguage.