Creating a Stochk using a DataSeries ?
Author: zanek
Creation Date: 8/20/2009 9:58 PM
profile picture


Is it possible to create a StochK dataseries using another DataSeries as its input ?

For instance:

Please log in to see this code.

The docs says StochK takes Bars as its first param, but is there a work around for this ?
profile picture


By design, Stochastic looks at the highest high/lowest low of the Bars object. That's why it accepts Bars and not a DataSeries, otherwise it would be a different indicator with different formula.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).