Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninjascript error on pc

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

    Ninjascript error on pc

    I would like to insert an indicator, unfortunately then comes an error message (see attachment). Is it possible that I still have data from ninjatrader7 on the PC? Do 7 and 8 access the same sources?
    Or what do I have to do?
    Attached Files

    #2
    Hello maxie,

    Please follow the instructions below to see where the errors are coming from after compiling any indicator. This will allow you to debug the indicator/strategy or remove it from your PC. If you are wondering why you receive an error when compiling only one indicator, it is because NinjaTrader always compiles all indicators and strategies - not just one. This is done to give you the highest runtime performance possible.

    - Open NinjaTrader
    - From the Control Center select the New menu--> select NinjaScript Editor
    - Double click on the Indicators folder--> then double click on any of the indicators
    - Once the indicator code is in view right click in the window and select Compile to compile all NinjaScript objects
    - At the bottom of the NinjaScript Editor window, a new section will appear where you can find the error locations
    - You can exclude the file referenced in the editor by double clicking on the appropriate object type on the right of the NinjaScript Editor window. This will expand the object type folder. You can then select the file with a left click--> right click on the object--> then select Open to begin debugging the file, Exclude From Compilation, or Remove to delete the file.

    If you are unsure as to what the error is indicating, please send me a screenshot of the NinjaScript File column and Error column fully visible (not to be confused with the Code column)

    We have also collected more comprehensive steps for resolving NinjaScript programming errors in this tip on our forums - http://www.ninjatrader.com/support/f...ead.php?t=4678

    NinjaTrader 7 and NinjaTrader 8 do not access the same sources.
    JasonNinjaTrader Customer Service

    Comment


      #3
      NinjaScript Datei Fehler <Keine> Die Metadatendatei 'D:\NT8\bin64\InfragisticsWPF4.DataPresenter.v15.1 .dll' konnte nicht gefunden werden. <Keine> Die Metadatendatei 'D:\NT8\bin64\Infralution.Localization.Wpf.dll' konnte nicht gefunden werden. <Keine> Die Metadatendatei 'D:\NT8\bin64\NinjaTrader.Core.dll' konnte nicht gefunden werden. <Keine> Die Metadatendatei 'D:\NT8\bin64\NinjaTrader.Gui.dll' konnte nicht gefunden werden. <Keine> Die Metadatendatei 'D:\NT8\bin64\SharpDX.dll' konnte nicht gefunden werden. <Keine> Die Metadatendatei 'D:\NT8\bin64\SharpDX.Direct2D1.dll' konnte nicht gefunden werden.

      Comment


        #4
        Hello Jason,
        it can not be detached from the compilation

        Comment


          #5
          The compile errors you are seeing in the NinjaScript Editor indicate you are missing references to .DLL files in your installation or the .DLL files do not exist in your installation. Please follow the steps below to rectify the errors.

          - From the Control Center please select New--> NinjaScript Editor
          - In the NinjaScript Editor please right click and select References.
          - In the Reference window look for the .DLL file reference in the compile error by name (in the error the file name has a .cs at the end)
          - If you see the .DLL file reference please left click on the reference and select Remove
          - If you removed the reference in the previous step or you do not see the .DLL file reference then please select Add
          - The Add option will open a File Explorer, from the path that was opened please locate the .DLL file
          - Once you find the .DLL please left click to select it and then select Open--> then select OK in the References window--> then right click in the NinjaScript Editor--> select Compile. I suggest to use Windows Search to find the location of these .DLL files on your computer.
          Last edited by NinjaTrader_Jason; 12-01-2017, 04:05 AM.
          JasonNinjaTrader Customer Service

          Comment


            #6
            Hi Jason,
            it´works, thks.

            One last question: is not there in the demo version the FGBL?

            Comment


              #7
              Hello maxie,

              The FGBL is present by default in NinjaTrader. Please go to Control Center-->Tools-->Instruments, type FGBL and you should see it.
              JasonNinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by gm7_forum, Today, 05:51 PM
              0 responses
              2 views
              0 likes
              Last Post gm7_forum  
              Started by cre8able, Today, 03:20 PM
              1 response
              9 views
              0 likes
              Last Post cre8able  
              Started by fiddich, Today, 05:25 PM
              0 responses
              3 views
              0 likes
              Last Post fiddich
              by fiddich
               
              Started by gemify, 11-11-2022, 11:52 AM
              6 responses
              804 views
              2 likes
              Last Post ultls
              by ultls
               
              Started by ScottWalsh, Today, 04:52 PM
              0 responses
              4 views
              0 likes
              Last Post ScottWalsh  
              Working...
              X