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 CarlTrading, 03-31-2026, 09:41 PM
        1 response
        82 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        43 views
        0 likes
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        64 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        68 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        56 views
        0 likes
        Last Post CarlTrading  
        Working...
        X