Forgive me, I’m new, and not a programmer, but I am needing to see if this is possible.

I have a study in my trading platform I had built a long time ago, lost the original, but have the compiled .dll file.

Is there anyway to go about extracting the code, so I can update my study?

It’s a .dll file that’s compiled, as a study. Basically in my program, I load the .dll, and it loads the study to do what the code it programmed to do.

Basically, I have a stock chart, with a custom .dll to plot lines at certain levels etc., the platform supports .dll compiled studies (like a plugin to do something within a program) they do this, so traders can write custom strategies/stuff for their own trading.

The guy I hired a long time ago to code this study, is now gone, so I don’t have the source code to update the study with new stuff, just the compiled .dll.

Thanks in advance for your help, I will appreciate it!

  • 4
    What’s “a study”? Assume we know nothing about trading platforms.
    – Igor Skochinsky
    Jan 15, 2021 at 1:30
  • 1
    Do you remember the programming language and compiler you used? For a dll there is the chance that it was created by a .Net language and in this case you could use a .Net decompiler for recovering large parts of the code.
    – Robert
    Jan 20, 2021 at 10:58

1 Answer 1


Yes, it is possible to recover the source of a DLL.

For that, you need to find out which language is used in its development. Keep in mind that some languages like in the case of .NET use IL (a type of bytecode) that can facilitate when retrieving the source code, just as if it was developed in VS, GCC, or — simplifying — a language that works with the operating system's API is relatively easy for an experienced programmer to retrieve the source for you.

Another factor to consider is the use of virtualized codes or protections that can hinder the reverse process by less experienced people, to help in your studies I recommend books like Practical Reverse Engineering, it will give you the basic concepts to start and understand the concepts necessary for a good analysis, as well as it will also present tools that will assist in your learning, this is the safest and most guided way for you to study.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.