Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NinjaScript Error CS0115

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

    NinjaScript Error CS0115

    Good Afternoon - I have a compile error coded CS0115 that references built in NT8 superDom columns PullingStacking.cs and Recent.cs. Can someone please help to resolve?

    Click image for larger version

Name:	image.png
Views:	405
Size:	46.1 KB
ID:	1297241

    #2
    Hello duffhead,

    Thanks for your post.

    Please expand the Error column of the compile error so that the full error message is visible and share a screenshot showing the full error message.

    To expand the Error column, hover the mouse over the vertical line dividing the Error column and the Code column. Click and drag the mouse to the right to expand the Error column.

    Here is a demonstration video showing how to expand the Error column of a compile error: https://brandonh-ninjatrader.tinytak...NV8yMzAyMDkyMQ

    Thanks in advance; We look forward to assisting further.
    Last edited by NinjaTrader_BrandonH; 03-26-2024, 01:20 PM.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Thank you - see new image below. Trying to avoid reinstalling so that I do not have to setup indicators and such all over again, so any help you can provide would be much appreciated!

      Click image for larger version

Name:	image.png
Views:	402
Size:	57.3 KB
ID:	1297255

      Comment


        #4
        Hello duffhead,

        Thanks for that information.

        First, check for duplicate files by opening a Windows File Explorer window, navigating to the Documents\NinjaTrader 8\bin\Custom\SuperDomColumns folder, and checking for duplicate files

        After checking for duplicate files, please follow the steps below to run a repair using the NinjaTrader installer.
        • Close NinjaTrader if you have it opened.
        • Download the NinjaTrader installer from this link
        • Once the installer is downloaded, run the NinjaTrader installer.
        • Click the Next button
        • Click the Repair button to run a repair.
        • After the repair is complete, exit the Installer
        • Restart NinjaTrader 8 and check to see if the compile error persists.
        ​Let us know if this does not resolve the compile errors.
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        Comment


          #5
          I do not have a repair option, I guess I am running the previous version. Will I just need to overwrite and set everything up again?

          Comment


            #6
            Also, I ran the previous version installer, clicked on repair, and still have the compile error

            Comment


              #7
              Hello duffhead,

              Thanks for your notes.

              To clarify, what version of NinjaTrader are you using? Please provide the entire version number. This can be found under Help -> About (Example: 8.?.?.?)

              If you are using NinjaTrader 8.0.28.0, make sure to download the 8.0.28.0 installer from the NinjaTrader Client Dashboard.

              If you are using NinjaTrader 8.1 and a version prior to 8.1.2.1, please update NinjaTrader to 8.1.2.1 by following the steps below.
              • Shutdown all programs including NinjaTrader *important
              • Download NinjaTrader from the link below
              • Double click the downloaded file to execute it
              • Follow the on screen instructions
              • Restart NinjaTrader
              ​After updating NinjaTrader to 8.1.2.1, run the installer again to run a repair using the NinjaTrader installer.
              • Close NinjaTrader if you have it opened.
              • Download the NinjaTrader installer from this link
              • Once the installer is downloaded, run the NinjaTrader installer.
              • Click the Next button
              • Click the Repair button to run a repair.
              • After the repair is complete, exit the Installer
              • Restart NinjaTrader 8 and check to see if the compile error persists.
              ​Please let us know if this does not resolve the compile errors.
              <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

              Comment


                #8
                I am on version 8.1.1.7

                Comment


                  #9
                  Hello duffhead,

                  Thanks for your notes.

                  To resolve the compile errors, please follow the steps below to completely uninstall and reinstall NinjaTrader.
                  • Close all running applications.
                  • Navigate to your Documents folder > Right click on the 'NinjaTrader 8' folder > Rename > rename the folder to 'NinjaTrader 8 OLD'. DO NOT delete this folder.
                  • Uninstall NinjaTrader within Windows Control Panel.
                  • Navigate to C:\ > Program File > Delete the 'NinjaTrader 8' folder if it exists
                  • Reboot your PC.
                  • Once these steps are completed, download and install NT8 from the link below.
                  • Once reinstalled, you will now have 2 NinjaTrader folders in your Documents, the old one and the new one. Open two file explorer windows and open the new one in one and the old one in another.
                  • Drag the following items from the old folder to the new one (folders should automatically merge)
                    • Config.xml and UI.xml
                    • Workspaces folder (if it asks to overwrite the _Workspaces.xml file, say yes)
                    • Templates folder (if it asks to overwrite anything, say no)
                    • db folder (you can overwrite any files in here)
                  • Once complete, restart NinjaTrader. You may get a few initial errors. Open a NinjaScript Editor and run a compile, then, if no additional errors are received, restart NinjaTrader.
                  • After restarting NinjaTrader, import any third-party addons you have by going to Tools > Import > NinjaScript AddOn.
                  Please let us know if we may assist further.
                  <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

                  Comment


                    #10
                    hola buenas necesito ayuda tengo 2 errores en mi estrategia y ya no se que hacer he actualizado la plataforma la he reparado y no compila el codigo, les compartire los errores para que me ayuden por favor
                    '.OnExecutionUpdate(Execution, Order, double, int, MarketPosition)': no se encontró ningún método adecuado para anular CS0115 166 33
                    '.OnPositionUpdate(Position, double, MarketPosition, double, double, double)': no se encontró ningún método adecuado para anular CS0115 195 33
                    ​ya no se que hacer para que compile
                    Last edited by rosselyn; 03-17-2025, 03:37 PM.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by argusthome, 03-08-2026, 10:06 AM
                    0 responses
                    55 views
                    0 likes
                    Last Post argusthome  
                    Started by NabilKhattabi, 03-06-2026, 11:18 AM
                    0 responses
                    37 views
                    0 likes
                    Last Post NabilKhattabi  
                    Started by Deep42, 03-06-2026, 12:28 AM
                    0 responses
                    17 views
                    0 likes
                    Last Post Deep42
                    by Deep42
                     
                    Started by TheRealMorford, 03-05-2026, 06:15 PM
                    0 responses
                    19 views
                    0 likes
                    Last Post TheRealMorford  
                    Started by Mindset, 02-28-2026, 06:16 AM
                    0 responses
                    49 views
                    0 likes
                    Last Post Mindset
                    by Mindset
                     
                    Working...
                    X