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
Power Editor Secure Code
- Stanley Miller
- Posts: 556
- Joined: 26 Jul 2005
- Has thanked: 3 times
You can add the following condition:
where myID is the unique ID of your computer which you'll find in the menu Help > About MultiCharts.
Code: Select all
if getUserID = myID then begin
{your code here}
end
else
Abort();
- TJ
- Posts: 7740
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2221 times