Stochastic Code with price field Close/Close


I am searching for the complete stochastic code with using price_field 0-Low/High or 1-Close/Close. On the normal code I can see the following lines

      for(k=i-InpKPeriod+1; k<=i; k++)







Do I need to fill in the close[k] and close[k+1] there?

I don’t understood what you’re searching for but in attached you can find a stochastic indicator that draws arrow on chart. In the input there is “PriceField” but I don’t know what it mean, can you tell me what mean PriceFiled? it seems that with with PriceField 1 (and no zero) the indicator puts more arrows… I hope that you can say me anything :slight_smile:

No. Just a simple close[k]