Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Refresh not flushing memory cache

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

    Refresh not flushing memory cache

    Something funky is going on (.1000.9) with refreshing chart. I am trying to debug an indicator, but every time I edit the indicator, and then refresh the chart, all my debug statements from previous versions of the indicator are printed to the output window as well as the debug statements from the just refreshed version. It seems as though the refresh does not flush the old indicators, the old versions, from memory.

    I have looked through the code and cannot find any unusual statements that may be causing this problem. Any ideas?

    Snap
    Last edited by snaphook; 11-29-2012, 11:25 AM.

    #2
    Hello,

    Could you pleas clarify your method for refreshing the charts? Are you right clicking -> Reload NinjaScript?

    Additionally do you still get old data when you clear out your output window. Right click -> Clear

    If this does not fix the issue, please manually attach your most current log and trace files to your response, so I may investigate this matter further.
    You will find the log file on your PC in the (My) Documents > NinjaTrader 7 > Log folder.
    • The log file will be named "log.YYYYMMDD.txt"

    You will find the trace file on your PC in the (My) Documents > NinjaTrader 7 > Trace folder.
    • The trace file will be named "trace.YYYYMMDD.txt"




    I look forward to assisting you further.
    LanceNinjaTrader Customer Service

    Comment


      #3
      Typically I hit F5 to refresh. Despite clearing the output window, the old data continues to print.
      Attached Files

      Comment


        #4
        If I close the chart and open a new one, all is well. It is just on refresh.

        Comment


          #5
          Hello,

          Could you please upgrade to the latest version of NinjaTrader here: http://www.ninjatrader.com/download-registration.php
          You can find our license key by going to the NinjaTrader Control Center -> Help -> License Key...

          After that as a test, please take the following steps to force NinjaTrader to start without your saved workspace. You will have the option to reopen these after our tests.


          * Shut down NinjaTrader
          * Navigate to (My) Documents\NinjaTrader 7\workspaces
          * Delete the file named "_Workspaces.XML".
          * After deleting this file, restart NinjaTrader which should startup without any workspaces.
          * Once NinjaTrader has started on just the control center, please open a new chart and test for issue.
          * *Please note this will not delete your workspace however the new blank workspace will be named Untitled1. If you have a workspace already named Untitled1 however you will not want to save the workspace when exiting NinjaTrader, otherwise it will overwrite it.


          If there are no issues on this new workspace, please try opening the previous workspace by going to File--> Workspaces--> Open workspace.

          If this reintroduces issues, I would suggest rebuilding your workspace. Please keep track of what indicators you add back in so that we can narrow down what indicator is causing the issue if the issue returns. I also suggest making a backup of your workspace so we can restore a backup if the issue returns.
          Below I have provided a link to the Backup and Restore section of our help guide.


          Please let me know if I can be of further assistance.
          LanceNinjaTrader Customer Service

          Comment


            #6
            Originally posted by snaphook View Post
            Something funky is going on (.1000.9) with refreshing chart. I am trying to debug an indicator, but every time I edit the indicator, and then refresh the chart, all my debug statements from previous versions of the indicator are printed to the output window as well as the debug statements from the just refreshed version. It seems as though the refresh does not flush the old indicators, the old versions, from memory.

            I have looked through the code and cannot find any unusual statements that may be causing this problem. Any ideas?

            Snap
            Are you sure that you do not have the indicator running on more than one chart, especially one in another open workspace?

            Comment


              #7
              Not on any other chart. I am positive of that.

              What happened to bin64. Is there no longer a 64 bit version of NT?

              Comment


                #8
                If you're on a 64-bit machine, there should be a 64-bit version of NinjaTrader automatically installed.

                If you cannot locate this, it's possible that the 64-bit version was running while you upgraded at one point. You can easily repair your installation following the steps below:

                Please note that following the steps below will not impact your charts, workspaces, custom indicators or any other NinjaTrader settings.

                1. Close all running applications.

                2. Then from the Start menu select --> Control Panel --> Add and Remove Programs.

                3. From Add and Remove Programs select NinjaTrader 7 and click Remove.

                4. Then you will need to clear your internet browser cache and history. You will clear this from within your internet browser (with IE, Tools-->Options, delete cookies and files, clear history).

                5. Reboot your machine.

                6. Once these steps are completed, download NT7 from the link below:


                * http://www.ninjatrader.com/download-registration



                Please let me know if you need further assistance.
                MatthewNinjaTrader Product Management

                Comment


                  #9
                  Latest Release, but still funky

                  Here is a clip of the Output Window and my latest Log and Trace files.
                  The indicator is on one chart only with only a single workspace open.

                  EDIT: One thing I see that is odd is that, after hitting F5, the midpoint and Flag 1 lines are printed only a single time. It is not until Flag 2 or a new bar that I begin getting multiples. I hit F5 a third time and am now getting four prints.

                  EDIT2: The reason for the EDIT: oddity is that I was hitting F5 on the bar after Flag 1 had triggered. Therefore it printed once for the new refreshed code but not for the remnants because they already had flag1 set to true on the pre-F5 run through. When flag2 executed, they all reported it.

                  EDIT3: Hit F5 before Flag 1 was triggered. Here is the current Output Window. The bolded text is where I started or refreshed the chart.

                  Open Tick: 89.22
                  Bar: 31, The Chart has been refreshed.

                  Bar: 31, midpoint: 90.095
                  Bar: 31, Session 1S, Flag 1
                  Bar: 31, Session 1S, Flag 3
                  Bar: 32, midpoint: 90.025
                  Bar: 32, Session 1L, Flag 1
                  Bar: 32, Session 1L, Flag 2
                  Bar: 33, midpoint: 89.955
                  Bar: 34, midpoint: 89.885
                  Bar: 35, midpoint: 89.815
                  Bar: 35, Session 1L, Flag 1
                  Bar: 35, Session 1L, Flag 2
                  Bar: 36, midpoint: 89.745
                  Bar: 37, midpoint: 89.675
                  Bar: 37, Session 1L, Flag 1
                  Bar: 37, Session 1L, Flag 2
                  Bar: 37, Session 1L, Flag 3
                  Bar: 38, midpoint: 89.745
                  Bar: 38, Session 1S, Flag 1
                  Bar: 38, Session 1S, Flag 2
                  Bar: 39, midpoint: 89.815
                  Bar: 40, midpoint: 89.885
                  Bar: 40, Session 1S, Flag 1
                  Bar: 41, midpoint: 89.955
                  Bar: 41, Session 1S, Flag 1
                  Open Tick: 89.22
                  Bar: 41, The Chart has been refreshed.

                  Bar: 41, midpoint: 89.955
                  Bar: 41, Session 1S, Flag 1
                  Bar: 41, Session 1S, Flag 2
                  Bar: 41, Session 1S, Flag 2
                  Bar: 41, Session 1S, Flag 3
                  Bar: 42, midpoint: 89.885
                  Bar: 41, Session 1S, Flag 3
                  Bar: 42, midpoint: 89.885
                  Bar: 42, Session 1L, Flag 1
                  Bar: 42, Session 1L, Flag 1
                  Bar: 43, midpoint: 89.815
                  Bar: 43, midpoint: 89.815
                  Bar: 43, Session 1L, Flag 1
                  Bar: 43, Session 1L, Flag 1
                  Open Tick: 89.22
                  Bar: 43, The Chart has been refreshed.

                  Bar: 43, midpoint: 89.815
                  Bar: 43, Session 1L, Flag 1
                  Bar: 43, Session 1L, Flag 2
                  Bar: 43, Session 1L, Flag 2
                  Bar: 43, Session 1L, Flag 2
                  Bar: 43, Session 1L, Flag 3
                  Bar: 44, midpoint: 89.885
                  Bar: 43, Session 1L, Flag 3
                  Bar: 44, midpoint: 89.885
                  Bar: 43, Session 1L, Flag 3
                  Bar: 44, midpoint: 89.885
                  Bar: 44, Session 1S, Flag 1
                  Bar: 44, Session 1S, Flag 1
                  Bar: 44, Session 1S, Flag 1
                  Bar: 44, Session 1S, Flag 2
                  Bar: 44, Session 1S, Flag 2
                  Bar: 44, Session 1S, Flag 2
                  Bar: 44, Session 1S, Flag 3
                  Bar: 45, midpoint: 89.815
                  Bar: 44, Session 1S, Flag 3
                  Bar: 45, midpoint: 89.815
                  Bar: 44, Session 1S, Flag 3
                  Bar: 45, midpoint: 89.815
                  Bar: 46, midpoint: 89.745
                  Bar: 46, midpoint: 89.745
                  Bar: 46, midpoint: 89.745
                  Bar: 47, midpoint: 89.675
                  Bar: 47, midpoint: 89.675
                  Bar: 47, midpoint: 89.675
                  Bar: 47, Session 1L, Flag 1
                  Bar: 47, Session 1L, Flag 1
                  Bar: 47, Session 1L, Flag 1
                  Bar: 48, midpoint: 89.605
                  Bar: 48, midpoint: 89.605
                  Bar: 48, midpoint: 89.605
                  Bar: 48, Session 1L, Flag 1
                  Bar: 48, Session 1L, Flag 1
                  Bar: 48, Session 1L, Flag 1
                  Bar: 48, Session 1L, Flag 2
                  Bar: 48, Session 1L, Flag 2
                  Bar: 48, Session 1L, Flag 2
                  Bar: 49, midpoint: 89.535
                  Bar: 49, midpoint: 89.535
                  Bar: 49, midpoint: 89.535
                  Bar: 50, midpoint: 89.465
                  Bar: 50, midpoint: 89.465
                  Bar: 50, midpoint: 89.465
                  Bar: 50, Session 1L, Flag 1
                  Bar: 50, Session 1L, Flag 1
                  Bar: 50, Session 1L, Flag 1
                  Bar: 51, midpoint: 89.395
                  Bar: 51, midpoint: 89.395
                  Bar: 51, midpoint: 89.395
                  Bar: 52, midpoint: 89.325
                  Bar: 52, midpoint: 89.325
                  Bar: 52, midpoint: 89.325
                  Bar: 53, midpoint: 89.255
                  Bar: 53, midpoint: 89.255
                  Bar: 53, midpoint: 89.255
                  Bar: 53, Session 1L, Flag 1
                  Bar: 53, Session 1L, Flag 1
                  Bar: 53, Session 1L, Flag 1
                  Open Tick: 89.22
                  Bar: 53, The Chart has been refreshed.

                  Bar: 53, midpoint: 89.255
                  Bar: 53, Session 1L, Flag 1
                  Bar: 54, midpoint: 89.185
                  Bar: 54, midpoint: 89.185
                  Bar: 54, midpoint: 89.185
                  Bar: 54, midpoint: 89.185
                  Bar: 55, midpoint: 89.115
                  Bar: 55, midpoint: 89.115
                  Bar: 55, midpoint: 89.115
                  Bar: 55, midpoint: 89.115
                  Bar: 55, Session 1L, Flag 1
                  Bar: 55, Session 1L, Flag 1
                  Bar: 55, Session 1L, Flag 1
                  Bar: 55, Session 1L, Flag 1
                  Bar: 55, Session 1L, Flag 2
                  Bar: 55, Session 1L, Flag 2
                  Bar: 55, Session 1L, Flag 2
                  Bar: 55, Session 1L, Flag 2
                  Bar: 56, midpoint: 89.045
                  Bar: 56, midpoint: 89.045
                  Bar: 56, midpoint: 89.045
                  Bar: 56, midpoint: 89.045
                  Bar: 56, Session 1L, Flag 1
                  Bar: 56, Session 1L, Flag 1
                  Bar: 56, Session 1L, Flag 1
                  Bar: 56, Session 1L, Flag 1
                  Bar: 56, Session 1L, Flag 2
                  Bar: 56, Session 1L, Flag 2
                  Bar: 56, Session 1L, Flag 2
                  Bar: 56, Session 1L, Flag 2
                  Bar: 56, Session 1L, Flag 3
                  Bar: 57, midpoint: 89.115
                  Bar: 56, Session 1L, Flag 3
                  Bar: 57, midpoint: 89.115
                  Bar: 56, Session 1L, Flag 3
                  Bar: 57, midpoint: 89.115
                  Bar: 56, Session 1L, Flag 3
                  Bar: 57, midpoint: 89.115
                  Bar: 57, Session 1S, Flag 1
                  Bar: 57, Session 1S, Flag 1
                  Bar: 57, Session 1S, Flag 1
                  Bar: 57, Session 1S, Flag 1
                  Open Tick: 89.22
                  Bar: 57, The Chart has been refreshed.

                  Bar: 57, midpoint: 89.115
                  Bar: 57, Session 1S, Flag 1
                  Bar: 57, Session 1S, Flag 2
                  Bar: 57, Session 1S, Flag 2
                  Bar: 57, Session 1S, Flag 2
                  Bar: 57, Session 1S, Flag 2
                  Bar: 57, Session 1S, Flag 2
                  Bar: 57, Session 1S, Flag 3
                  Bar: 58, midpoint: 89.045
                  Bar: 57, Session 1S, Flag 3
                  Bar: 58, midpoint: 89.045
                  Bar: 57, Session 1S, Flag 3
                  Bar: 58, midpoint: 89.045
                  Bar: 57, Session 1S, Flag 3
                  Bar: 58, midpoint: 89.045
                  Bar: 57, Session 1S, Flag 3
                  Bar: 58, midpoint: 89.045
                  Open Tick: 89.22
                  Bar: 58, The Chart has been refreshed.

                  Bar: 58, midpoint: 89.045
                  Bar: 58, Session 1L, Flag 1
                  Bar: 58, Session 1L, Flag 1
                  Bar: 58, Session 1L, Flag 1
                  Bar: 58, Session 1L, Flag 1
                  Bar: 58, Session 1L, Flag 1
                  Bar: 58, Session 1L, Flag 1
                  Bar: 58, Session 1L, Flag 2
                  Bar: 58, Session 1L, Flag 2
                  Bar: 58, Session 1L, Flag 2
                  Bar: 58, Session 1L, Flag 2
                  Bar: 58, Session 1L, Flag 2
                  Bar: 58, Session 1L, Flag 2
                  Bar: 58, Session 1L, Flag 3
                  Bar: 59, midpoint: 89.115
                  Bar: 58, Session 1L, Flag 3
                  Bar: 59, midpoint: 89.115
                  Bar: 58, Session 1L, Flag 3
                  Bar: 59, midpoint: 89.115
                  Bar: 58, Session 1L, Flag 3
                  Bar: 59, midpoint: 89.115
                  Bar: 58, Session 1L, Flag 3
                  Bar: 59, midpoint: 89.115
                  Bar: 58, Session 1L, Flag 3
                  Bar: 59, midpoint: 89.115
                  Attached Files
                  Last edited by snaphook; 12-03-2012, 10:31 AM.

                  Comment


                    #10
                    Hello,

                    I do not see any apparent issues with your provided trace/log file.

                    When you click the strategies tab of the control center, is it blank? Can you please verify you started NinjaTrader with a blank workspace?

                    I look forward to assisting you further.
                    LanceNinjaTrader Customer Service

                    Comment


                      #11
                      Here's what I've done

                      1. Close NT (64 bit 7.0.1000.11 (Live))
                      2. Delete _Workspaces.xml
                      3. Start NT
                      4 Open new untitled_2 workspace
                      5. Close untitled_1 workspace
                      a) Check Strategies Tab. Nothing there.
                      6. Create new chart with brick 7 Renko
                      Indicators:
                      a) The problem one
                      b) A simple one that just shows Bars.BarsSinceSession on panel 2
                      7. Connect Market Replay
                      a) Set start to 8:00:00 am today
                      8. Open Output Window
                      9. Start Market Replay
                      10. Watch for a spell and hit F5 on Bar 49
                      11. Curse a bit when double prints begin.
                      12. Hit F5 again on bar 50
                      13 Curse some more when triple prints begin
                      14. Apologize to wife for language.
                      15. F5 on bar 52
                      16. Watch rather befuddled as quad prints begin.

                      Do you want the indicators?
                      I have programmed an external form into the indicator, but it behaves the same whether it is there or commented out.

                      Output Window w/ Form active

                      Bar: 7, The Chart has been refreshed.
                      Bar: 7, midpoint: 89.46
                      Bar: 7, Session 1L, Flag 1
                      Bar: 7, Session 1L, Flag 2
                      Bar: 7, Session 1L, Flag 3
                      Bar: 8, midpoint: 89.46
                      Bar: 8, Session 1S, Flag 1
                      Bar: 8, Session 1S, Flag 2
                      Bar: 8, Session 1S, Flag 3
                      Bar: 9, midpoint: 89.46
                      Bar: 9, Session 1L, Flag 1
                      Bar: 9, Session 1L, Flag 2
                      Bar: 9, Session 1L, Flag 3
                      Bar: 10, midpoint: 89.46
                      Bar: 11, midpoint: 89.53
                      Bar: 11, Session 1S, Flag 1
                      Bar: 11, Session 1S, Flag 2
                      Bar: 11, Session 1S, Flag 3
                      Bar: 12, midpoint: 89.53
                      Bar: 12, Session 1L, Flag 1
                      Bar: 12, Session 1L, Flag 2
                      Bar: 12, Session 1L, Flag 3
                      Bar: 13, midpoint: 89.53
                      Bar: 14, midpoint: 89.6
                      Bar: 14, Session 1S, Flag 1
                      Bar: 14, Session 1S, Flag 2
                      Bar: 15, midpoint: 89.67
                      Bar: 16, midpoint: 89.74
                      Bar: 17, midpoint: 89.81
                      Bar: 18, midpoint: 89.88
                      Bar: 18, Session 1S, Flag 1
                      Bar: 18, Session 1S, Flag 2
                      Bar: 19, midpoint: 89.95
                      Bar: 19, Session 1S, Flag 1
                      Bar: 19, Session 1S, Flag 2
                      Bar: 19, Session 1S, Flag 3
                      Bar: 20, midpoint: 89.95
                      Bar: 21, midpoint: 89.88
                      Bar: 21, Session 1L, Flag 1
                      Bar: 21, Session 1L, Flag 2
                      Bar: 21, Session 1L, Flag 3
                      Bar: 22, midpoint: 89.88
                      Bar: 22, Session 1S, Flag 1
                      Bar: 22, Session 1S, Flag 2
                      Bar: 23, midpoint: 89.95
                      Bar: 24, midpoint: 90.02
                      Bar: 25, midpoint: 90.09
                      Bar: 26, midpoint: 90.16
                      Bar: 26, Session 1S, Flag 1
                      Bar: 26, Session 1S, Flag 2
                      Bar: 27, midpoint: 90.23
                      Bar: 27, Session 1S, Flag 1
                      Bar: 27, Session 1S, Flag 2
                      Bar: 27, Session 1S, Flag 3
                      Bar: 28, midpoint: 90.23
                      Bar: 29, midpoint: 90.16
                      Bar: 30, midpoint: 90.09
                      Bar: 31, midpoint: 90.02
                      Bar: 32, midpoint: 89.95
                      Bar: 33, midpoint: 89.88
                      Bar: 34, midpoint: 89.81
                      Bar: 34, Session 1L, Flag 1
                      Bar: 34, Session 1L, Flag 2
                      Bar: 34, Session 1L, Flag 3
                      Bar: 35, midpoint: 89.81
                      Bar: 36, midpoint: 89.88
                      Bar: 37, midpoint: 89.95
                      Bar: 38, midpoint: 90.02
                      Bar: 38, Session 1S, Flag 3
                      Bar: 39, midpoint: 90.02
                      Bar: 39, Session 1L, Flag 1
                      Bar: 39, Session 1L, Flag 2
                      Bar: 39, Session 1L, Flag 3
                      Bar: 40, midpoint: 90.02
                      Bar: 40, Session 1S, Flag 2
                      Bar: 40, Session 1S, Flag 3
                      Bar: 41, midpoint: 90.02
                      Bar: 42, midpoint: 89.95
                      Bar: 43, midpoint: 89.88
                      Bar: 44, midpoint: 89.81
                      Bar: 45, midpoint: 89.74
                      Bar: 46, midpoint: 89.67
                      Bar: 46, Session 1L, Flag 1
                      Bar: 46, Session 1L, Flag 2
                      Bar: 46, Session 1L, Flag 3
                      Bar: 47, midpoint: 89.67
                      Bar: 47, Session 1S, Flag 1
                      Bar: 48, midpoint: 89.74
                      Bar: 49, midpoint: 89.81
                      Open Tick: 87.89
                      Open Tick: 89.11
                      Bar: 49, The Chart has been refreshed.
                      Bar: 49, midpoint: 89.81
                      Bar: 50, midpoint: 89.88
                      Bar: 50, midpoint: 89.88
                      Bar: 50, Session 1S, Flag 1
                      Bar: 50, Session 1S, Flag 1
                      Bar: 50, Session 1S, Flag 2
                      Bar: 50, Session 1S, Flag 2
                      Open Tick: 87.89
                      Open Tick: 89.11
                      Bar: 50, The Chart has been refreshed.
                      Bar: 50, midpoint: 89.88
                      Bar: 51, midpoint: 89.95
                      Bar: 51, midpoint: 89.95
                      Bar: 51, midpoint: 89.95
                      Bar: 51, Session 1S, Flag 1
                      Bar: 51, Session 1S, Flag 1
                      Bar: 51, Session 1S, Flag 1
                      Bar: 51, Session 1S, Flag 2
                      Bar: 51, Session 1S, Flag 2
                      Bar: 51, Session 1S, Flag 2
                      Bar: 51, Session 1S, Flag 3
                      Bar: 52, midpoint: 89.95
                      Bar: 51, Session 1S, Flag 3
                      Bar: 52, midpoint: 89.95
                      Bar: 51, Session 1S, Flag 3
                      Bar: 52, midpoint: 89.95
                      Open Tick: 87.89
                      Open Tick: 89.11
                      Bar: 52, The Chart has been refreshed.
                      Bar: 52, midpoint: 89.95
                      Bar: 53, midpoint: 89.88
                      Bar: 53, midpoint: 89.88
                      Bar: 53, midpoint: 89.88
                      Bar: 53, midpoint: 89.88
                      Bar: 53, Session 1L, Flag 1
                      Bar: 53, Session 1L, Flag 1
                      Bar: 53, Session 1L, Flag 1
                      Bar: 53, Session 1L, Flag 1
                      Bar: 53, Session 1L, Flag 2
                      Bar: 53, Session 1L, Flag 2
                      Bar: 53, Session 1L, Flag 2
                      Bar: 53, Session 1L, Flag 2
                      Bar: 53, Session 1L, Flag 3
                      Bar: 54, midpoint: 89.88
                      Bar: 53, Session 1L, Flag 3
                      Bar: 54, midpoint: 89.88
                      Bar: 53, Session 1L, Flag 3
                      Bar: 54, midpoint: 89.88
                      Bar: 53, Session 1L, Flag 3
                      Bar: 54, midpoint: 89.88

                      Output Window w/ Form commented out

                      Bar: 11, midpoint: 89.53
                      Bar: 11, Session 1S, Flag 1
                      Bar: 11, Session 1S, Flag 2
                      Bar: 11, Session 1S, Flag 3
                      Bar: 12, midpoint: 89.53
                      Bar: 12, Session 1L, Flag 1
                      Bar: 12, Session 1L, Flag 2
                      Bar: 12, Session 1L, Flag 3
                      Bar: 13, midpoint: 89.53
                      Bar: 14, midpoint: 89.6
                      Bar: 14, Session 1S, Flag 1
                      Bar: 14, Session 1S, Flag 2
                      Bar: 15, midpoint: 89.67
                      Bar: 16, midpoint: 89.74
                      Bar: 17, midpoint: 89.81
                      Bar: 18, midpoint: 89.88
                      Bar: 18, Session 1S, Flag 1
                      Bar: 18, Session 1S, Flag 2
                      Bar: 19, midpoint: 89.95
                      Bar: 19, Session 1S, Flag 1
                      Bar: 19, Session 1S, Flag 2
                      Bar: 19, Session 1S, Flag 3
                      Bar: 20, midpoint: 89.95
                      Bar: 21, midpoint: 89.88
                      Bar: 21, Session 1L, Flag 1
                      Bar: 21, Session 1L, Flag 2
                      Bar: 21, Session 1L, Flag 3
                      Bar: 22, midpoint: 89.88
                      Bar: 22, Session 1S, Flag 1
                      Bar: 22, Session 1S, Flag 2
                      Bar: 23, midpoint: 89.95
                      Open Tick: 87.89
                      Open Tick: 89.11
                      Bar: 23, The Chart has been refreshed.
                      Bar: 23, midpoint: 89.95
                      Bar: 24, midpoint: 90.02
                      Bar: 24, midpoint: 90.02
                      Bar: 25, midpoint: 90.09
                      Bar: 25, midpoint: 90.09
                      Bar: 26, midpoint: 90.16
                      Bar: 26, midpoint: 90.16
                      Bar: 26, Session 1S, Flag 1
                      Bar: 26, Session 1S, Flag 1
                      Bar: 26, Session 1S, Flag 2
                      Bar: 26, Session 1S, Flag 2
                      Bar: 27, midpoint: 90.23
                      Bar: 27, midpoint: 90.23
                      Open Tick: 87.89
                      Open Tick: 89.11
                      Bar: 27, The Chart has been refreshed.
                      Bar: 27, midpoint: 90.23
                      Bar: 27, Session 1S, Flag 1
                      Bar: 27, Session 1S, Flag 1
                      Bar: 27, Session 1S, Flag 1
                      Bar: 27, Session 1S, Flag 2
                      Bar: 27, Session 1S, Flag 2
                      Bar: 27, Session 1S, Flag 2
                      Bar: 27, Session 1S, Flag 3
                      Bar: 28, midpoint: 90.23
                      Bar: 27, Session 1S, Flag 3
                      Bar: 28, midpoint: 90.23
                      Bar: 27, Session 1S, Flag 3
                      Bar: 28, midpoint: 90.23
                      Bar: 29, midpoint: 90.16
                      Bar: 29, midpoint: 90.16
                      Bar: 29, midpoint: 90.16

                      Comment


                        #12
                        Hello,

                        Yes, please provide me with the indicator's source code so that I may test further on my end.
                        Located in: (My)Documents\NinjaTrader 7\bin\Custom\Indicator

                        I look forward to assisting you further.
                        LanceNinjaTrader Customer Service

                        Comment


                          #13
                          Here is the problem indicator and the rather generic BarNumber indicator. This has the External Form commented out. I was testing on a 7 Brick Renko CL 01-13 chart.
                          Attached Files

                          Comment


                            #14
                            Hello,

                            I've tested on my end and it appears to function properly.

                            Please send a note to support [at] ninjatrader [dot]com and reference this forum post: http://www.ninjatrader.com/support/f...ad.php?t=54215

                            In your email please provide us with the following:
                            • A phone number where you can be reached
                            • A time window where I can call you (please include a time zone)

                            I look forward to assisting you further.
                            Attached Files
                            Last edited by NinjaTrader_Lance; 12-04-2012, 04:57 PM.
                            LanceNinjaTrader Customer Service

                            Comment


                              #15
                              It doesn't look like you ever hit F5 to force a refresh. That is when the problem occurs (it works fine until then). Put the chart up with the indicator and hit F5 a couple of times. On my end that is when it begins double and triple +++ printing.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by pmachiraju, 11-01-2023, 04:46 AM
                              8 responses
                              147 views
                              0 likes
                              Last Post rehmans
                              by rehmans
                               
                              Started by mattbsea, Today, 05:44 PM
                              0 responses
                              5 views
                              0 likes
                              Last Post mattbsea  
                              Started by RideMe, 04-07-2024, 04:54 PM
                              6 responses
                              33 views
                              0 likes
                              Last Post RideMe
                              by RideMe
                               
                              Started by tkaboris, Today, 05:13 PM
                              0 responses
                              5 views
                              0 likes
                              Last Post tkaboris  
                              Started by GussJ, 03-04-2020, 03:11 PM
                              16 responses
                              3,282 views
                              0 likes
                              Last Post Leafcutter  
                              Working...
                              X