Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Phantom Indicator

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

    Phantom Indicator

    What I did:

    I created two indicators 1) dtcBollingerBands and 2) dtcBollingerBandPlots. Compiled them and everything was fine.

    Then I Exported both of them using CliSecure to protect the IP in One Export File. That went well.

    Then I copied the two indicator .cs files to another folder. ( Wanted to keep the source)

    I deleted the two indicators via Tools | Edit Indicator | Delete.

    I then tried to Import the Assembly and got the following Error Msg saying Import Failed. See first image for details

    So then I went to Tools | Edit Indicator | and the two files where not listed which they should not have been. See second image for details.

    Now the problem starts to arise. From a chart I open the Indicators Dialog and the two indicators are shown. See the third image for details

    So I thought to check Files | Utilities | Remove NinjaScript Assembly to see if the Import actually did work. The dialog box is empty. See forth image for details.

    See the fifth image for a list of files included in the Exported Assembly.



    NT has been restarted several times as well as rebooting the computer. This did not solve the problem.

    I am at a loss as to how the Indicator can work when there is no indicator file or imported assembly.

    So, how do I fix the current situation to remove all references to the two files so I can start over.

    What possibly went wrong? My error or NT or CliSecure. Would like to know so I don't do it again. If you need additional information please let me know.



    Thanks.
    Attached Files

    #2
    And finally an image showing that the indicator does work.

    Fix it "Big Daddy Ray"!
    Attached Files

    Comment


      #3
      TAJTrades, does a .dll of your indicator exist in the My Documents/NinjaTrader 7/bin/custom folder? What about a .cs in /bin/custom/indicator?
      AustinNinjaTrader Customer Service

      Comment


        #4
        Originally posted by NinjaTrader_Austin View Post
        TAJTrades, does a .dll of your indicator exist in the My Documents/NinjaTrader 7/bin/custom folder? What about a .cs in /bin/custom/indicator?

        Austin

        I went through Windows Explorer and there are NO .cs or .dll files listed in any sub folder in the "C:\Documents and Settings\Owner\My Documents\NinjaTrader 7" main folder.

        Good thought because I failed to check everyone of them. But no luck.

        Next?

        Comment


          #5
          Don't have any idea why:

          I copied all the indicator .cs files to a folder outside the NinjaTrader 7 folder. Next I deleted all the custom indicators via Tools | Edit Indicator | Delete except one very basic indicator. Then Complied it. Next I attempted to Import the Assembly.

          It worked as I expected it to. Now I am copying the indicator .cs files back to the NinjaTrader 7 Indicators folder a few at a time and Compiling the them. I am looking for the culprit but so far everything is proceeding as expected.

          I have no idea what may have caused this. Could have been me, NT or CliSecure. No clue and not placing blame. If it happens again I will post.

          Comment


            #6
            Thanks for the update, TAJTrades. If you figure out what happened, please let us know.
            AustinNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by CarlTrading, 03-31-2026, 09:41 PM
            1 response
            153 views
            1 like
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 04-01-2026, 02:41 AM
            0 responses
            89 views
            1 like
            Last Post CarlTrading  
            Started by CaptainJack, 03-31-2026, 11:44 PM
            0 responses
            133 views
            2 likes
            Last Post CaptainJack  
            Started by CarlTrading, 03-30-2026, 11:51 AM
            0 responses
            128 views
            1 like
            Last Post CarlTrading  
            Started by CarlTrading, 03-30-2026, 11:48 AM
            0 responses
            107 views
            0 likes
            Last Post CarlTrading  
            Working...
            X