Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Indicator on indicator not working

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

    Indicator on indicator not working

    A number of indicators have bugs in their code, which makes them unusable for an indicator on indicator approach. I have already made a comment on the stochastics indicator here:



    Today I have applied a default ROC on a default MACD. As you can see on the chart below, it easily exceeds a value of 40000. Can you explain this?

    These are the exact chart settings: ES 06-10 30 min, lookback period 5 or 100 days, default ROC applied to default MACD.
    Attached Files

    #2
    Harry,

    The equation for ROC is very straight forward. Are you suggesting that when you feed in the MACD default plot values into the ROC equation, that the value of 40,000 is mathematically incorrect?
    RayNinjaTrader Customer Service

    Comment


      #3
      Originally posted by Harry View Post
      A number of indicators have bugs in their code, which makes them unusable for an indicator on indicator approach. I have already made a comment on the stochastics indicator here:



      Today I have applied a default ROC on a default MACD. As you can see on the chart below, it easily exceeds a value of 40000. Can you explain this?

      These are the exact chart settings: ES 06-10 30 min, lookback period 5 or 100 days, default ROC applied to default MACD.
      It is because ROC is meant ROC for price. Rate of change is valid only for positive values.

      if previous value was 0 and current value is 10, what should be rate of change? Positive infinity.

      There will be another group of indicators which require more than one DataSeries to calculate indicators value. For example someone would create an indicator which would calculate (High + Open + Low)/3. the attempt to put MACD as source for this indicator will not be a good idea and it is not really a bug, it is totally expected.

      I don't think it is a bug, some indicators just do not make sense to be run on other indicators.
      Last edited by roonius; 06-09-2010, 02:00 AM.

      Comment


        #4
        Thanks for the answer. Obviously it does not make sense to apply the ROC to a MACD, so I was completely wrong here, LOL.

        I saw a pattern that I had seen elsewhere, and because it was late I just posted without thinking it over. Sorry for the unnecessary post.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        599 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        344 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        558 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        557 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X