Announcement

Collapse
No announcement yet.

Manipulating Indicator Values in different time frames

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

  • Manipulating Indicator Values in different time frames

    Hello.

    I've got two indicators running in a 233-tick chart, and one indicator running in a 89-tick chart.

    What is the best way to retrieve information from the indicator running on the 89-tick chart, combine it with the 233-tick indicator values and create a new indicator ?

    Regards,
    R. C.

  • #2
    Hello rcsingleton,

    With your chart interval set to 89T, you can base your secondary indicator on the 233T interval using the inv() parameter. See the reference article for some basic code examples.

    To combine the two indicators, you could use the .getValue() method of the Series Object (assuming you've created your two indicators as such) and then apply the values to your custom algorithm. If you need the new indicator to be in Series Object form, perform the algorithm within an efsInternal() function.
    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