Announcement

Collapse
No announcement yet.

setShowTitleParameters

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

  • setShowTitleParameters

    Can we limit what parameters show up for a study? I thought I saw somewhere a script that limited what parameters were shown but I can't find it.

    Thanks.

    Bob

  • #2
    Hi Bob,
    As far as I know, the best you will do is:
    setShowTitleParameters(false);
    setStudyTitle("Study Name (My parameters: " + sSomeParameter etc);


    Dave

    Comment


    • #3
      Hi,

      Not sure what parameters you are refering to but you can also place the following into your premain:

      function preMain() {
      setPriceStudy(true); // study plots in price pane
      setStudyTitle("Study");
      setShowTitleParameters(false);
      setShowCursorLabel(false); // supresses this study's label in cursor window

      setCursorLabelName("Parm#1", 0);
      setDefaultBarFgColor(Color.red, 0);
      setDefaultBarThickness(1, 0);
      setPlotType(PLOTTYPE_LINE, 0);
      setShowCursorLabel(false, 0); //supresses this label in cursor window

      setCursorLabelName("Parm#2", 1);
      setDefaultBarFgColor(Color.red, 1);
      setDefaultBarThickness(2, 1);
      setPlotType(PLOTTYPE_LINE, 1);
      setShowCursorLabel(false, 1); //supresses this label in cursor window
      ...
      }
      Hope this helps.
      Jane

      Comment


      • #4
        Thanks. This was helpful.

        Comment


        • #5
          You are welcome. Glad to be of help.
          Jane

          Originally posted by AssetHound
          Thanks. This was helpful.

          Comment

          Working...
          X