Announcement

Collapse
No announcement yet.

Chaikin Oscillator indicator going off scale - code problem?

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

  • Chaikin Oscillator indicator going off scale - code problem?

    I've modified the Chaikin Oscillator (with the proper parameters) and Demand Index indicators are giving me a problem nearly on every new bar appearing on a chart. BTW, the problems were there before I modifed the code. Is there a a piece of code to force the formula to recalculate immediately a new bar appears to prevent this from happening?

    File is attached to see this problem on a chart with all coding for both formulas.

    Thanks
    Attached Files

  • #2
    Hello jaste,

    There have been a couple of corrections made to these two formulas recently. Here's the corrected version of DemandIndex2.efs, which was done by Garth and seems to be working well. Thanks Garth.

    I recently recreated the ChaikinOsc2.efs using a different method for the EMA calculations as compared to the TSS version. It seems to be working well and doesn't have the refresh problem. Try it out and let me know if you notice any problems.
    Jason K.
    Project Manager
    eSignal - an Interactive Data company

    EFS KnowledgeBase
    JavaScript for EFS Video Series
    EFS Beginner Tutorial Series
    EFS Glossary
    Custom EFS Development Policy

    New User Orientation

    Comment

    Working...
    X