Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to generate .cs file from .dll?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to generate .cs file from .dll?

    Hello,
    often I see indicator packages that do not include .cs file within their distribution. For example, let's say there is MyIndicators.zip which contains

    MyIndicators.dll
    MyIndicators.X64.dll
    MyIndicators.X86.dll
    Info.xml

    and all indicators in this package can be imported and used in charts successfully.

    The problem is that MyIndicators.cs is missing, which means that no indicators from this package can be used from custom indicators/strategies (class names can be used in variable declaration but cannot be instantiated). The same applies if MyIndicators.cs is not missing, but it does not contain necessary methods for creating the indicators.

    The questions is: how to (re)generate the missing .cs file from .dll? I believe all necessary information can be derived from .dll because Ninja is able to use the indicators in charts even without .cs file.

    #2
    Endif, you could unfortunately not recreate the .cs file alone - it would be only possible to export the scripts as assembly fresh again so NT would include it then.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Geovanny Suaza, 02-11-2026, 06:32 PM
    0 responses
    579 views
    0 likes
    Last Post Geovanny Suaza  
    Started by Geovanny Suaza, 02-11-2026, 05:51 PM
    0 responses
    334 views
    1 like
    Last Post Geovanny Suaza  
    Started by Mindset, 02-09-2026, 11:44 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by Geovanny Suaza, 02-02-2026, 12:30 PM
    0 responses
    554 views
    1 like
    Last Post Geovanny Suaza  
    Started by RFrosty, 01-28-2026, 06:49 PM
    0 responses
    551 views
    1 like
    Last Post RFrosty
    by RFrosty
     
    Working...
    X