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 sjsj2732, Yesterday, 04:31 AM
    0 responses
    38 views
    0 likes
    Last Post sjsj2732  
    Started by NullPointStrategies, 03-13-2026, 05:17 AM
    0 responses
    287 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    288 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    134 views
    1 like
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    95 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Working...
    X