Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator export/import broken

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

    #31
    Thanks. Works here.

    Christian, our export specialist, will follow up tomorrow morning.

    Also: Please make sure you are on latest 6.5.1000.4.

    Comment


      #32
      Sorry, we're still failing to the reproduce the issue you're experiencing.

      I suggest trying a fresh start:
      - create a backup of your settings (if needed, File->Utilities->Backup)
      - uninstall NT
      - manually remove folder <my documents>/NinjaTrader6.5/bin/Custom. Note: this will remove all your custom NinjaScript files
      - reinstall NT
      - create a new copy of e.g. the standard SMA indicator by pulling Tools->Edit NinjaScript->Indicator->Right click->Copy and provide a new name
      - try to export this freshly created copy

      Comment


        #33
        I also am getting error when I try to export an indicator I previously had been able to export. Attached is error message:
        Attached Files

        Comment


          #34
          winja, did you check into this tip from the helpguide? -> http://www.ninjatrader-support.com/H...tProblems.html
          BertrandNinjaTrader Customer Service

          Comment


            #35
            Thanks Bertrand,

            I get this error message CS0246;The type or namespace name 'AverageType' could not be found(are you missing a using directive or an assembly reference?)

            Following the help tip when I went to File > Utilities > Export NinjaScript in the Export NinjaScript Archive File window when I searched for the SMA indicator and other moving averages(EMA, HMA, and WMA) that I used they were not located in the left hand pane so I was not able to add them to the archive File. Is there another way I can fix this problem?

            Comment


              #36
              winja, please make sure you select 'System indicators' under Export objects to see those listed in the left pane (they will start with @, so @SMA, @EMA ...).
              BertrandNinjaTrader Customer Service

              Comment


                #37
                Bertrand, I am able to export other indicators with no problem. I am very puzzled with this. My version (6.5.1000.5) does not say 'System Indicators' but 'Indicators' only with no @ symbol to the left.

                I am attaching the code as a text file. Could you try to export it on your machine. I don't think I am missing a namespace.
                Attached Files

                Comment


                  #38
                  For this option you would need to upgrade to 6.5.1000.10 - from your code it seems you miss the enum declaration -
                  Code:
                   
                  public enum AverageType
                  {
                  SMA,
                  EMA,
                  HMA,
                  WMA,
                  }
                  Please check into this sample here - http://www.ninjatrader-support2.com/...ead.php?t=3420
                  BertrandNinjaTrader Customer Service

                  Comment


                    #39
                    Thanks Bertrand, it is working now.

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by traderqz, Yesterday, 12:06 AM
                    11 responses
                    27 views
                    0 likes
                    Last Post NinjaTrader_Gaby  
                    Started by PaulMohn, Today, 03:49 AM
                    0 responses
                    7 views
                    0 likes
                    Last Post PaulMohn  
                    Started by inanazsocial, Today, 01:15 AM
                    1 response
                    9 views
                    0 likes
                    Last Post NinjaTrader_Jason  
                    Started by rocketman7, Today, 02:12 AM
                    0 responses
                    10 views
                    0 likes
                    Last Post rocketman7  
                    Started by dustydbayer, Today, 01:59 AM
                    0 responses
                    4 views
                    0 likes
                    Last Post dustydbayer  
                    Working...
                    X