Announcement

Collapse
No announcement yet.

stochastic change

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • stochastic change

    Alex:

    How do I not show the k% value in the attached study?

    Bruce
    Attached Files

  • #2
    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

    Comment


    • #3
      change...

      Change the return line (line 63) to ...

      return (vStoch.getValue(StochStudy.SLOW));

      B
      Brad Matheny
      eSignal Solution Provider since 2000

      Comment


      • #4
        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);

        Alex

        Comment


        • #5
          Perfect......thanks.

          Bruce

          Comment

          Working...
          X