I am wondering whether it is possible to apply an indicator, which used the second form of the OnCalculate event (i.e. Open, High, Low, Close etc.), to another indicator?
For example, I would like to apply the Stochastic indicator to another custom indicator. However, the Stochastic indicator has been coded using the second form within the OnCalculate event. As a result, if I drag the Stochastic indicator to a chart, I don't get the possibility to chose on which price this indicator should be based, i.e. Close or Previous Indicator's Data.
So, how can I apply indicators of such type, such as Stochastic, to another indicator?