Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator stopped working

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

    Indicator stopped working

    The attached indicator when run with GomCD as the input series no longer works (constant zero value). Can someone please help?
    I did get an error in the log: "Error on calling 'OnBarUpdate' method for indicator 'Volatility Switch' on bar 1. The code includes
    if
    (CurrentBar < 1) return; which I thought was meant to prevent that error.

    It worked fine yesterday.
    Attached Files

    #2
    Hello Taggart,

    Thank you for your post.

    The Int LookBack by default goes back 21, so you will need to increase the CurrentBar check:
    Code:
    if(CurrentBar < LookBack)
    return;
    For information on making sure you have enough bars before accessing them please visit the following link: http://www.ninjatrader.com/support/f...ead.php?t=3170

    Please let me know if I may be of further assistance.

    Comment


      #3
      I made the change in the code but no improvement with the output. Still constant zero. Is there something else that could cause this to suddenly stop working?


      Edit: I should mention that all other Gom indicators that I am using are working fine and are as normal.

      Comment


        #4
        Hello Taggart,

        Thank you for your response.

        Are you still seeing errors in your Log tab? If so, what do these errors report?

        I look forward to your response.

        Comment


          #5
          There is just one error listed in the log and it was from about an hour ago.

          Comment


            #6
            Hello Taggart,

            Thank you for your response.

            I am able to see values other than 0 when using the GomCD as the input series for the VolatilitySwitch.

            So I may investigate this matter further please answer the following questions.

            What version of NinjaTrader are you using? You can check under Help -> About (Example: 7.0.1000.X)

            Who are you connected to? This is displayed by green on lower left corner of the Control Center window.

            What instrument(s) have you selected? If a futures instrument, what expiry is selected? (Example: ES 06-13)

            What interval is selected for your chart(s)? (Example: Tick, Minute, Day, etc.)

            I look forward to your response.

            Comment


              #7
              Thanks a bunch for your help.

              Ninja 7.0.1000.12
              Connected to Zen- Fire
              Instrument CL 06-13
              Chart - 2 Better Renko

              I have tried it on another instrument and on minute/second charts with the same result.

              Comment


                #8
                Hello Taggart,

                Thank you for that information.

                Please take a screenshot of the chart and attach it to your response.

                I look forward to your response.

                Comment


                  #9
                  The gom recorder is set to millisec which I have not had problems with before.
                  Attached Files

                  Comment


                    #10
                    Hello Taggart,

                    Thank you for your response.

                    To confirm you see this on Minute bars as well?

                    Comment


                      #11
                      I just tried it again on a minute chart and it worked. I definitely tried that before and it didn't. It still won't work on a better renko chart even though it did yesterday. Any ideas?

                      Comment


                        #12
                        Hello Taggart,

                        Thank you for your response.

                        I would like to schedule a support call with you tomorrow if possible to investigate this item on your PC.

                        Please send the following information to support[at]ninjatrader[dot]com with 'ATTN: Patrick - 845135' in the subject line and a refernece to this thread in the body of the e-mail: http://www.ninjatrader.com/support/f...ad.php?t=57815
                        • A phone number where you can be reached
                        • A time window where I can call you (please include a time zone)
                        • Launch our remote support application from the following link, http://www.ninjatrader.com/remotesupport. Once launched, the application will provide you with an ID# and password. I will need these from you once I have you on the phone.

                        I look forward to our support call.

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by patricia70, Today, 01:00 PM
                        0 responses
                        4 views
                        0 likes
                        Last Post patricia70  
                        Started by Guido 01, 07-17-2018, 02:30 AM
                        8 responses
                        1,277 views
                        0 likes
                        Last Post pfsmedical  
                        Started by cjanau, Today, 11:07 AM
                        0 responses
                        16 views
                        0 likes
                        Last Post cjanau
                        by cjanau
                         
                        Started by TrendFollowingCapital, Today, 05:53 AM
                        0 responses
                        16 views
                        0 likes
                        Last Post TrendFollowingCapital  
                        Started by TrendFollowingCapital, Today, 05:38 AM
                        0 responses
                        12 views
                        0 likes
                        Last Post TrendFollowingCapital  
                        Working...
                        X