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

zanek

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

For instance:

CODE:
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

Eugene

#2
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.