Power Editor Secure Code

Questions about MultiCharts and user contributed studies.
trader
Posts: 28
Joined: 06 Nov 2005

Power Editor Secure Code

Postby trader » 15 Feb 2007

Hi Support,
I would like a custom indicator to run only on my machine, what can I implement into the code to do such a thing?

Thanks,
Trader

User avatar
Stanley Miller
Posts: 556
Joined: 26 Jul 2005
Has thanked: 3 times

Postby Stanley Miller » 15 Feb 2007

You can add the following condition:

Code: Select all

if getUserID = myID then begin
 {your code here}
end
else
    Abort();


where myID is the unique ID of your computer which you'll find in the menu Help > About MultiCharts.

trader
Posts: 28
Joined: 06 Nov 2005

Postby trader » 15 Feb 2007

Hi Stanley,

Perfect!

Thank You

User avatar
TJ
Posts: 6518
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 957 times
Been thanked: 1883 times

Postby TJ » 11 Sep 2008

How secure is a code that has been protected with a password?

If I send a password protected study to someone, can he possibly bypass the password?


Return to “MultiCharts”