The Correct Code to use for this

 
Hi,

I do understand about iMAonArray. To my Understanding if physically, the Moving Average Apply To is set to First Indicator Data which is the Stochastic.

Someone send me this and i'm wondering how do i code this as his Moving Average is in the Stochastic Window But his Apply To is set to close

Reason: