PowerLanguage source with Diamond Lock

Questions about MultiCharts and user contributed studies.
2haerim
Posts: 502
Joined: 01 Sep 2006
Been thanked: 2 times

PowerLanguage source with Diamond Lock

Postby 2haerim » 11 Jan 2008

Diamond Lock works with TS EasyLanguage.

Will it protect PowerLanguage source code too?

nakayama
Posts: 4
Joined: 31 Jan 2006

Postby nakayama » 13 Jan 2008

Yes, it work fine ^^

I am using it with PowerLangauge.

LMC
Posts: 28
Joined: 08 Jul 2010

Re: PowerLanguage source with Diamond Lock

Postby LMC » 17 Sep 2010

Hi, is it difficult to use Diamond Lock ? Do you need to create a DLL file to store important elements of your trading system ? and , is this DLL file encrypted as well ?

User avatar
CrazyNasdaq
Posts: 318
Joined: 02 Sep 2009
Location: ITALY
Has thanked: 97 times
Been thanked: 86 times

Re: PowerLanguage source with Diamond Lock

Postby CrazyNasdaq » 20 Sep 2010

Why don't you use the Multicharts encryption that comes out with Multicharts ?
The Export/import Read-only files (*.sef) that you can find in the PowerLanguage File menu.

It works fine !!!

Emmanuel
Posts: 355
Joined: 21 May 2009
Has thanked: 109 times
Been thanked: 28 times

Re: PowerLanguage source with Diamond Lock

Postby Emmanuel » 22 Sep 2010

Hi

Is the .SEF, (The Export/import Read-only files (*.sef) ), encrypted ?

How secure is it ?

Emmanuel

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: PowerLanguage source with Diamond Lock

Postby TJ » 22 Sep 2010

Hi

Is the .SEF, (The Export/import Read-only files (*.sef) ), encrypted ?

How secure is it ?

Emmanuel
it is compiled.
ie. irreversible.

Emmanuel
Posts: 355
Joined: 21 May 2009
Has thanked: 109 times
Been thanked: 28 times

Re: PowerLanguage source with Diamond Lock

Postby Emmanuel » 22 Sep 2010

TJ,

Did you try Diamond Lock ?

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: PowerLanguage source with Diamond Lock

Postby TJ » 22 Sep 2010

TJ,

Did you try Diamond Lock ?
nope.

LMC
Posts: 28
Joined: 08 Jul 2010

Re: PowerLanguage source with Diamond Lock

Postby LMC » 22 Sep 2010

MC only compiles the codes into binary codes, but not encrypted/scrambled at all.
It is very dangerous to assume the compiled codes are safe. It costs just $1 per KB to decompile them.
See more from this site: http://viziblesoft.com/
If you want to safeguard your codes by filling in MBs of garbage codes, you are just a bit right because it will cost much,much cheaper for a 'high hand' from China to do the job.
So be very very careful to pass on your sef files...

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: PowerLanguage source with Diamond Lock

Postby TJ » 22 Sep 2010

MC only compiles the codes into binary codes, but not encrypted/scrambled at all.
It is very dangerous to assume the compiled codes are safe. It costs just $1 per KB to decompile them.
See more from this site: http://viziblesoft.com/
If you want to safeguard your codes by filling in MBs of garbage codes, you are just a bit right because it will cost much,much cheaper for a 'high hand' from China to do the job.
So be very very careful to pass on your sef files...
ELD is a different animal than sef.

ELDs are not compiled. A locked ELD is merely encrypted.


With MultiCharts, there are 2 ways to prevent access to your code:

1. use "Protect Study" under the Tools menu in PLE.
-- the code is encrypted
-- read access is password protected
-- results in a pla file extension
-- protected study can be used by any releases of MultiCharts of the same version (or higher).

2. use "Export Read-Only" under the Files menu in PLE.
-- the code is compiled
-- no password access; once compiled, the file cannot be reversed
-- results in a sef file extension
-- compiled study can ONLY be used by the same release of MultiCharts of the same version.
ie if there is a new release of MultiCharts, you have to re-compile the study with the new MultiCharts before you can import it again.


A locked ELD is equivalent to MultiCharts' "Protected Study".

User avatar
CrazyNasdaq
Posts: 318
Joined: 02 Sep 2009
Location: ITALY
Has thanked: 97 times
Been thanked: 86 times

Re: PowerLanguage source with Diamond Lock

Postby CrazyNasdaq » 23 Sep 2010

It is very dangerous to assume the compiled codes are safe. It costs just $1 per KB to decompile them.
See more from this site: http://viziblesoft.com/
This people don't speak at all about Multicharts's *sef files (read only version). They convert *esf files from eSignal or ELD files from TS, even the last version 8.8, so where is the dangerous in keeping your files protected with *sef files from Multicharts (the read only version)?
For now I think that *sef files are yet the best solution to protect codes

Emmanuel
Posts: 355
Joined: 21 May 2009
Has thanked: 109 times
Been thanked: 28 times

Re: PowerLanguage source with Diamond Lock

Postby Emmanuel » 23 Sep 2010

Hi

Thank you TJ for your information, I didn't realize before, the difference between, protected and export read only. ( I was thinking it was the same process)

This is interesting. I didn't know that http://viziblesoft.com/ existed.

do you know if the protected file is encrypted ???

LMC
Posts: 28
Joined: 08 Jul 2010

Re: PowerLanguage source with Diamond Lock

Postby LMC » 23 Sep 2010

I think that's best answered by TSsupport guys.
For those who think .sef file is safe, I can only wish you good luck.

User avatar
Dave Masalov
Posts: 1712
Joined: 16 Apr 2010
Has thanked: 51 times
Been thanked: 489 times

Re: PowerLanguage source with Diamond Lock

Postby Dave Masalov » 23 Sep 2010

Dear Sirs,

Let me reassure you that .sef files cannot be opened by http://viziblesoft.com/ software. They contain only binary code.

ELD files on the contrary contain the source code, but the names of the variables are changed (to i.e. var1, var2 etc.).

As for protected .pla files, they are encrypted but crackable.

User avatar
CrazyNasdaq
Posts: 318
Joined: 02 Sep 2009
Location: ITALY
Has thanked: 97 times
Been thanked: 86 times

Re: PowerLanguage source with Diamond Lock

Postby CrazyNasdaq » 23 Sep 2010

I think that's best answered by TSsupport guys.
For those who think .sef file is safe, I can only wish you good luck.
Before Dave gave us a complete and definetly response, I wrote to viziblesoft.com asking them this:
from **********************************
to support@viziblesoft.com
date 23 settembre 2010 17:04
object Decript Multicharts *.sef files

I've a question for you.
Do you decrypt *sef files with codes made with Powerlanguage from TSSupport Multicharts ?
They are encrypted codes made in a single way which can be installed with a "read Only way" and
not decompiled or password protected
They work only if created and installed with the same version of Multicharts.
Codes created with version 6.1 are read only from Multicharts 6.1 and not other versione and so
on.
They are different from *pla codes made with powerlanguage but only password protected.
These one seems to be encripted.
Their response was quick and syntethic:
Hi,

No, we don't support Multicharts.
I think that there will be no doubt now.
Regards

Emmanuel
Posts: 355
Joined: 21 May 2009
Has thanked: 109 times
Been thanked: 28 times

Re: PowerLanguage source with Diamond Lock

Postby Emmanuel » 23 Sep 2010

Hi

Thank you Dave and CrazyNasdaq for your information

It look like that it is better to use .SEF, because you don't put your source on your PC, and the PLA contain the source....

Emmanuel

User avatar
TJ
Posts: 7740
Joined: 29 Aug 2006
Location: Global Citizen
Has thanked: 1033 times
Been thanked: 2221 times

Re: PowerLanguage source with Diamond Lock

Postby TJ » 23 Sep 2010

Hi

Thank you Dave and CrazyNasdaq for your information

It look like that it is better to use .SEF, because you don't put your source on your PC, and the PLA contain the source....

Emmanuel
just a word of caution,
if you import the sef back into your computer,
it can overwrite (with your permission) your original pla study of the same name, and render your pla code inaccessible.

Emmanuel
Posts: 355
Joined: 21 May 2009
Has thanked: 109 times
Been thanked: 28 times

Re: PowerLanguage source with Diamond Lock

Postby Emmanuel » 23 Sep 2010

TJ,

This is interesting, I didn't think about this.

Thank you TJ, I will be carreful

Emmanuel

LMC
Posts: 28
Joined: 08 Jul 2010

Re: PowerLanguage source with Diamond Lock

Postby LMC » 27 Sep 2010

Hi Dave,

As you said, .sef file is in binary codes.
That is to say, MC uses some open standard to convert the Power Language codes into binary codes. During the process, NO encryption is done.
So if one can list out these binary codes then he/she should be able to convert them back to Power Language codes, by using the same open standard, provided he/she spend enough time/effort in it.
Is this understanding correct ?

Emmanuel
Posts: 355
Joined: 21 May 2009
Has thanked: 109 times
Been thanked: 28 times

Re: PowerLanguage source with Diamond Lock

Postby Emmanuel » 28 Sep 2010

Hi LMC,

I agree as it is a binary, you may reverse engineer the binary to a source code.
But it must be complicated . Which is good.

That is why diamond lock look interesting.

Does anyone know where this binary is located ?

Maybe can we use a second software to protect the dll ?
http://www.brothersoft.com/mpress-77695.html
http://www.brothersoft.com/aspack-3899.html
http://www.brothersoft.com/enterprise-a ... 60300.html
http://www.brothersoft.com/execryptor-21017.html

http://www.brothersoft.com/downloads/re ... files.html

User avatar
Dave Masalov
Posts: 1712
Joined: 16 Apr 2010
Has thanked: 51 times
Been thanked: 489 times

Re: PowerLanguage source with Diamond Lock

Postby Dave Masalov » 30 Sep 2010

Hi Dave,

As you said, .sef file is in binary codes.
That is to say, MC uses some open standard to convert the Power Language codes into binary codes. During the process, NO encryption is done.
So if one can list out these binary codes then he/she should be able to convert them back to Power Language codes, by using the same open standard, provided he/she spend enough time/effort in it.
Is this understanding correct ?
Dear LMC,

Everything can be decoded, this is called reverse engineering. Theorethically, it is possible to decode binary code just as every dll file and every application. However, it will require enormous professional and time ressources. It is simply not rational to spend so many efforts to decode a study. Moreover, there is no any open standart. If you decoded one study, it does not mean that you will have the algorithm to decode the other .sef files. You will have to spend exactly the same time and resources to decode the other study, even the identical one.

LMC
Posts: 28
Joined: 08 Jul 2010

Re: PowerLanguage source with Diamond Lock

Postby LMC » 01 Oct 2010

Thanks Dave for your clarification. It is exactly what I understand. Nothing is irreversable.

User avatar
general
Posts: 9
Joined: 10 Sep 2013
Has thanked: 1 time
Been thanked: 1 time

Re: PowerLanguage source with Diamond Lock

Postby general » 18 May 2017

Diamond Lock works with TS EasyLanguage.

Will it protect PowerLanguage source code too?

May I know the website of Diamond Lock?

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: PowerLanguage source with Diamond Lock

Postby JoshM » 18 May 2017

May I know the website of Diamond Lock?
That website seems to be http://www.investlabs.com/ and http://www.investlabs.com/diamondlock2000.html after a quick Google search.

User avatar
general
Posts: 9
Joined: 10 Sep 2013
Has thanked: 1 time
Been thanked: 1 time

Re: PowerLanguage source with Diamond Lock

Postby general » 19 May 2017

Thanks JoshM


Return to “MultiCharts”