Bruce
If you mean that you do not want to plot it at all then replace the following line
return new Array(vStoch.getValue(StochStudy.FAST),vStoch.getV alue(StochStudy.SLOW));
with
return vStoch.getValue(StochStudy.SLOW);
This will only plot %D
Let me know if you mean something else
Alex
Bruce
You will also have to change the following in preMain() if you want to maintain the same color, thickness, etc for %D
setStudyTitle("Stochastic");
setCursorLabelName("%D", 0);
setDefaultBarStyle(PS_SOLID, 0);
setDefaultBarFgColor(Color.yellow, 0);
setDefaultBarThickness(2, 0);
setPlotType(PLOTTYPE_LINE, 0);
Comment