Hi,
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++)
{
if(dmin>low[k])
dmin=low[k];
if(dmax<high[k])
dmax=high[k];
}
Do I need to fill in the close[k] and close[k+1] there?
Hi,
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++)
{
if(dmin>low[k])
dmin=low[k];
if(dmax<high[k])
dmax=high[k];
}
Do I need to fill in the close[k] and close[k+1] there?
Hi sunshineh, 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 :-)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi,
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++)
{
if(dmin>low[k])
dmin=low[k];
if(dmax<high[k])
dmax=high[k];
}
Do I need to fill in the close[k] and close[k+1] there?