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 pilotfo, Today, 12:50 PM
    1 response
    8 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by DTSSTS, Today, 11:35 AM
    2 responses
    10 views
    0 likes
    Last Post DTSSTS
    by DTSSTS
     
    Started by sinpeople, Today, 07:20 AM
    2 responses
    6 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by Frank1000, Today, 03:05 AM
    5 responses
    15 views
    0 likes
    Last Post Frank1000  
    Started by fscabrera03, Yesterday, 01:18 PM
    2 responses
    25 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X