Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is there a way to reset cache?

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

    Is there a way to reset cache?

    I've just put together an indicator and it compiled just fine, but the indicator itself has things in it that I didnt even include in the coding, for example it has overbought/oversold lines, I have NO drawing items in my coding, plus some of the plots are giving the incorrect values. I double checked the code and the dataseries/plots orders are correct. I've closed down ninjatrader and even restarted my computer. After booting back up, I'm still seeing the same issues. Is there some kind of cache that can be reset manually?

    thanks!

    #2
    Originally posted by gubbar924 View Post
    I've just put together an indicator and it compiled just fine, but the indicator itself has things in it that I didnt even include in the coding, for example it has overbought/oversold lines, I have NO drawing items in my coding, plus some of the plots are giving the incorrect values. I double checked the code and the dataseries/plots orders are correct. I've closed down ninjatrader and even restarted my computer. After booting back up, I'm still seeing the same issues. Is there some kind of cache that can be reset manually?

    thanks!
    Was the indicator an existing indicator you modified or did you at one time have overbought/oversold lines. If so, then delete the indicator from the chart and then Re-add it back in.

    J~

    Comment


      #3
      I've tried this as well, it didnt work either
      i might have had a different indicator in the past by the same name, would that effect this one?
      if that is the case, how do I go about cleaning everything out so that the namespace only uses what currently should be on the indicator?

      thanks

      Comment


        #4
        Originally posted by gubbar924 View Post
        I've tried this as well, it didnt work either
        i might have had a different indicator in the past by the same name, would that effect this one?
        if that is the case, how do I go about cleaning everything out so that the namespace only uses what currently should be on the indicator?

        thanks
        Check the public class name in the indicator code. Make sure it isn't named something you didn't intend, possibly its picking up on something else either way, Then Try, renaming your new indicator by saving it with a different indicator name and different public class name and compiling. If that doesn't work, I don't know what to tell you.
        I don't know anything about how this information is kept or how to reset it.

        J~

        Comment


          #5
          Originally posted by JerryWar View Post
          Then Try, renaming your new indicator by saving it with a different indicator name and different public class name and compiling
          J~

          thank you, that worked!

          Comment


            #6
            Hello Gubbar924,

            Thank you for posting and thank you to JerryWar for helping.

            Glad you were able to resolve your inquiry.

            Let me know if I can be of further assistance.
            Cal H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            164 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Started by CaptainJack, 04-24-2026, 11:07 PM
            0 responses
            319 views
            0 likes
            Last Post CaptainJack  
            Started by Mindset, 04-21-2026, 06:46 AM
            0 responses
            246 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by M4ndoo, 04-20-2026, 05:21 PM
            0 responses
            350 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Started by M4ndoo, 04-19-2026, 05:54 PM
            0 responses
            179 views
            0 likes
            Last Post M4ndoo
            by M4ndoo
             
            Working...
            X