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.
    BertrandNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by op1031, Yesterday, 05:16 PM
    1 response
    8 views
    0 likes
    Last Post NT-Roland  
    Started by sinpeople, Today, 07:20 AM
    1 response
    3 views
    0 likes
    Last Post NT-Roland  
    Started by Frank1000, Today, 03:05 AM
    1 response
    8 views
    0 likes
    Last Post NT-Roland  
    Started by ntdev, Today, 01:14 AM
    4 responses
    16 views
    0 likes
    Last Post ntdev
    by ntdev
     
    Started by ct, Today, 02:22 AM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_Jason  
    Working...
    X