Announcement

Collapse
No announcement yet.

Stoch question

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

  • Stoch question

    Alex,

    You have helped me out several times in the past and hopefully you can again. I wanting the value of stochD and stochK but from an interval different than the current chart interval.

    When I use the toolbox to build it I get something similar to
    x = stochD(14, 3, 3, close(0, "100v"));

    but although the code does not have syntax errors it does not evaluate.

    Any help would be appreciated.

    Thanks

  • #2
    notoad
    You need to use the inv() function inside the data series to base it on an external interval. For example

    PHP Code:
    var myVar stochD(1433close(inv("100v"))); 
    For information on the inv() function see the EFS KnowledgeBase under EFS2 Function Reference-> Series Functions
    Alex

    Comment

    Working...
    X