• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.
    Patrick H.NinjaTrader Customer Service

    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.
        Patrick H.NinjaTrader Customer Service

        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.
            Patrick H.NinjaTrader Customer Service

            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.
                Patrick H.NinjaTrader Customer Service

                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?
                    Patrick H.NinjaTrader Customer Service

                    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.
                        Patrick H.NinjaTrader Customer Service

                        Comment

                        Latest Posts

                        Collapse

                        Topics Statistics Last Post
                        Started by tibernazok, Today, 02:58 AM
                        0 responses
                        1 view
                        0 likes
                        Last Post tibernazok  
                        Started by tff2011, Today, 02:58 AM
                        0 responses
                        1 view
                        0 likes
                        Last Post tff2011
                        by tff2011
                         
                        Started by JoseyMercy, Today, 02:56 AM
                        0 responses
                        1 view
                        0 likes
                        Last Post JoseyMercy  
                        Started by tibernazok, Today, 02:56 AM
                        0 responses
                        0 views
                        0 likes
                        Last Post tibernazok  
                        Started by GrossBitZeCoinTrader, Today, 02:15 AM
                        0 responses
                        3 views
                        0 likes
                        Last Post GrossBitZeCoinTrader  
                        Working...
                        X