Announcement

Collapse
No announcement yet.

EFS design question

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

  • EFS design question

    Hi all,
    I have been playing around with this cci efs for a while now. One of the things I have not been able to figure out is this: Do I need only one of these or all of them?(see below) I only want to use HLC/3, do I need the other ones?

    Thank you,
    chris

    var fp2 = new FunctionParameter("Source", FunctionParameter.STRING);
    fp2.setName("CCISource");
    fp2.addOption("Close");
    fp2.addOption("High");
    fp2.addOption("Low");
    fp2.addOption("Open");
    fp2.addOption("HL/2");
    fp2.addOption("HLC/3");
    fp2.addOption("OHLC/4");
    fp2.setDefault("Close"); //Edit this value to set a new default

  • #2
    Chris
    You would only need the setDefault("HLC/3"). All the other ones are optional and can be deleted if you do not want them.
    Alex

    Comment


    • #3
      Thanks Alex, that was a quick response!

      I have on other question, I set all my setCUrsorLabelName, in this case I have 5 of them. Do I define the CCI plot functions in the

      var fp1 = new FunctionParameter("Length", FunctionParameter.NUMBER);
      fp1.setLowerLimit(1);
      fp1.setDefault(20); //Edit this value to set a new default
      or do I add an Array set at the bottom?

      THanks again,
      chris

      Comment


      • #4
        Chris
        Not quite sure this is what you are asking, anyhow, if you want to have the label in the Cursor Window return also the settings of the study then look at the attached example in Lines 39 and 43 to 46.
        Hope this helps
        Alex
        Attached Files

        Comment


        • #5
          Thanks Alex. Actually, I think I am little confused now on where to go from here. I want to build an indicator that has multiple cci averages over different time frame. I have attached what I have so far. When you get a chance,(or anyone) take a look and tell what I need to change, I am unclear weather I should put the other inputs in the permain or in an array at the end. Thank you.

          chris
          Attached Files

          Comment

          Working...
          X