Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

System.Web.HttpUtility missing

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

    System.Web.HttpUtility missing

    I'm trying to add some code to my strategy but it seems that System.Web.HttpUtility is missing. Is there a way to bind that in? I'm more of a Java programmer - not sure how to add C# libraries to NinjaTrader.

    As an alternative: If I get it to compile in another environment (e.g. SharpDevelop) - how to I package things up and where do I put it?

    #2
    At the very top of the code expand declarations and add what you want.

    Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	20.7 KB
ID:	851993

    Comment


      #3
      In addition, if you need external DLL's, right click in the strategy code and select 'References' on the context menu.

      Click image for larger version

Name:	Capture.PNG
Views:	1
Size:	11.6 KB
ID:	851994

      Comment


        #4
        Thanks!

        Originally posted by ctrlbrk View Post
        In addition, if you need external DLL's, right click in the strategy code and select 'References' on the context menu.

        [ATTACH]5269[/ATTACH]
        I'll give this a shot - thanks a million!! :-)

        BTW, I'm seeing the concept of AddIns in C# - is that similar to dll? I used to code Java for a long time and would have created a jar file to bind in an outside reference.

        Best,

        Michael

        Comment


          #5
          Sorry, not familiar with that enough to say for sure.

          I do know you can add external DLL's as needed for functions not regularly available.

          Mike

          Comment


            #6
            Michael, you can always check MSDN for C# articles, info and general information - http://msdn.microsoft.com/en-us/libr...c2(VS.80).aspx

            Comment


              #7
              I got it.

              Originally posted by NinjaTrader_Bertrand View Post
              Michael, you can always check MSDN for C# articles, info and general information - http://msdn.microsoft.com/en-us/libr...c2(VS.80).aspx
              Thanks Bertrand but I actually figured it all out. Turns out loading external libraries is a lot easier in C# than in Java :-)

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by Geovanny Suaza, 02-11-2026, 06:32 PM
              0 responses
              558 views
              0 likes
              Last Post Geovanny Suaza  
              Started by Geovanny Suaza, 02-11-2026, 05:51 PM
              0 responses
              324 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
              545 views
              1 like
              Last Post Geovanny Suaza  
              Started by RFrosty, 01-28-2026, 06:49 PM
              0 responses
              547 views
              1 like
              Last Post RFrosty
              by RFrosty
               
              Working...
              X