Announcement

Collapse
No announcement yet.

Slow Stochastic

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

  • Slow Stochastic

    I would prefer to assign slow stochastic values to mystochK and mystochD using following syntax, does not work, can anyone correct please:

    StochStudy(14,3,3);
    study.getValue(StochStudy.SLOW);

    var mystochk = stochK(14, 3, 3);
    var mystochd = stochD(14, 3, 3);

    Thank you.

  • #2
    How come no help yet on following?

    I would prefer to assign slow stochastic values to mystochK and mystochD using following syntax, does not work, can anyone correct please:

    StochStudy(14,3,3);
    study.getValue(StochStudy.SLOW);

    var mystochk = stochK(14, 3, 3);
    var mystochd = stochD(14, 3, 3);

    Thank you.

    Comment


    • #3
      You could change the menu parameters in the built-in stochastics indicator. A separate efs is not needed just for that.

      Wayne

      Comment


      • #4
        Thank you.

        I am writing script for an algorithm so I need to use it in efs. Any suggestions?

        Comment


        • #5
          The code "customStoch.efs" already exists in the custom formulas folder found at:

          "C:\Users\[user name]\Documents\Interactive Data\Formulas\Built-in Studies Formulas\Custom Formulas"

          It uses the faster and more versatile EFS2 syntax instead of the older "study.getValue..." syntax.

          Wayne

          Comment

          Working...
          X