Announcement

Collapse
No announcement yet.

Hiding the parameters on the charts

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

  • Hiding the parameters on the charts

    Hello,

    As I have small windows to display my charts, I would like to hide all the parameters of my indicators written in these windows. For instance MA (9,C)s MA (45, C)s Bollinger Band (50, 2,C)

    How to do it ?

    Thanks for your help

  • #2
    Hello Axel,

    With the basic studies there is no way to remove the indicator titles from the charts. However with some simple editing of the custom EFS studies in the Formula Directory you can remove the titles from the charts and accomplish what you'd like.

    Below is an MA study from the Formula Library where by removing “setStudyTitle()" from preMain() would get you the extra space you're looking for.



    PHP Code:
    function preMain() {
        
    setPriceStudy(true);
        
    setStudyTitle("Moving Average Calculation"); <===Remove this line of code
        setCursorLabelName
    ("MA"0);
        
        var 
    fp1 = new FunctionParameter("nInputLength"FunctionParameter.NUMBER);
            
    fp1.setName("Length");
            
    fp1.setLowerLimit(1);
            
    fp1.setDefault(50);
    }

    function 
    main(nInputLength) {
        if (
    close(-nInputLength) == null) return;

        var 
    vSum 0;

        for(var 
    0nInputLengthi++) {
            
    vSum += close(-i);
        }

        return (
    vSum nInputLength);

    The same can be done for Bollinger Bands.

    Hopefully this helps.

    Comment


    • #3
      thanks a lot

      Comment


      • #4
        Glad we could be of assistance.

        Comment

        Working...
        X