avester:
You can't with standard Stochastic, you have to create a custom indicator with first form of OnCalculate event. Maybe this already exist, search firstly on the Codebase. If not you can read this article to help you to create a custom indicator.
Hi all,
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?
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi all,
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?