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 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
              289 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