Jump to content

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

Recommended Posts

Posted

Can anyone explain the process to modify a dll generated by Ninjatrader without having the original source code? I have a dll file that I can see the C# code using DotPeek or dnSpy, I want to modify a bit of that code then recompile the dll without having to take the cs file and re-engineering it back to ninjascript. There is no Agile protection in the code. What I found trying to take the decomplied cs file and trying to code it in ninjascript is a nightmare as so many things have to be coded in the ninjascript methods ie  State = 2 , would be  State ==  State.Configured, that's easy but many other lines are not translating easily. I think there is some kind of debug mode that lets you open in Visual Studio and has all the resources of Ninjatrader but haven't got that figured out.

Posted
1 hour ago, atljam said:

Can anyone explain the process to modify a dll generated by Ninjatrader without having the original source code? I have a dll file that I can see the C# code using DotPeek or dnSpy, I want to modify a bit of that code then recompile the dll without having to take the cs file and re-engineering it back to ninjascript. There is no Agile protection in the code. What I found trying to take the decomplied cs file and trying to code it in ninjascript is a nightmare as so many things have to be coded in the ninjascript methods ie  State = 2 , would be  State ==  State.Configured, that's easy but many other lines are not translating easily. I think there is some kind of debug mode that lets you open in Visual Studio and has all the resources of Ninjatrader but haven't got that figured out.

You need the source code 

Posted

well looks lke dnspy did a closer to ninjascript,  of converting the cs file so was able to get that one working. but still would like to know how to do that in dnspy as when i went to edit the strategy cs it had a boatload of compile errors.

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

⤴️-Paid Ad- Check advertising disclaimer here. Add your banner here.🔥

×
×
  • Create New...