Open Stochastic from my own indicator

 

Hi friends,

Is it possible to run the stochastic indicator and my custom indicator simultaneously while attaching my own custom indicator on the chart?

thanking in advance,

 
Of course.
 
Keith Watford:
Of course.

I think I didn't clarify my inquiry thoroughly!

I mean opening the stochastic indicator directly from the code of my custom indicator so that as soon as I attach my custom indicator, the stochastic indicator opens on the chart as well, and there would be no need to attach it by drag and drop anymore.

 
parham.trader:

I think I didn't clarify my inquiry thoroughly!

I mean opening the stochastic indicator directly from the code of my custom indicator so that as soon as I attach my custom indicator, the stochastic indicator opens on the chart as well, and there would be no need to attach it by drag and drop anymore.

Why not simply use a template?

 
Keith Watford:

Why not simply use a template?

That would be a good choice, but suppose a situation where I want to open Stochastic indicator with my custom indicator named A while I want to open RSI indicator with my other custom indicator named B.

I need a logical way to open any indicator directly from the code of my custom indicator.