Announcement

Collapse
No announcement yet.

Scaling Non Price Pane Studies

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

  • Scaling Non Price Pane Studies

    Hello to all,

    I have a sub chart containing a non price study that ranges between -100 and +100. However as I move the chart, the right (y) axis of the sub chart autoscales. Is there a way to prevent this so that the subchart always shows the full range of -100 to +100 on the y axis no matter how the price study data is moved?
    Thank you in advance.

    Regards,
    Jane

  • #2
    Re: Scaling Non Price Pane Studies

    Jane
    Use the setStudyMax() and setStudyMin() functions to set the scale to the desired values
    Alex


    Originally posted by jg
    Hello to all,

    I have a sub chart containing a non price study that ranges between -100 and +100. However as I move the chart, the right (y) axis of the sub chart autoscales. Is there a way to prevent this so that the subchart always shows the full range of -100 to +100 on the y axis no matter how the price study data is moved?
    Thank you in advance.

    Regards,
    Jane

    Comment


    • #3
      Thank you very much Alex. It worked beautifully and did exactly what I wanted. Many thanks for your invaluable help.
      Regards,
      Jane

      Comment


      • #4
        Re: Re: Scaling Non Price Pane Studies

        Hi Alex,

        Is there a way to build a histogramin the non price study likethe one seen in the MACD? I have looked but was not able to find any reference to histograms in the sub chart panes. Thank you for your help.

        Regards,
        Jane

        Originally posted by Alexis C. Montenegro
        Jane
        Use the setStudyMax() and setStudyMin() functions to set the scale to the desired values
        Alex

        Comment


        • #5
          Re: Re: Re: Scaling Non Price Pane Studies

          Jane
          You do that by setting the plot type with the setPlotType() function
          Alex


          Originally posted by jg
          Hi Alex,

          Is there a way to build a histogramin the non price study likethe one seen in the MACD? I have looked but was not able to find any reference to histograms in the sub chart panes. Thank you for your help.

          Regards,
          Jane

          Comment


          • #6
            Re: Re: Re: Re: Scaling Non Price Pane Studies

            Thank you very much Alex. Worked perfectly and exactly as I wanted.
            Regards,
            Jane

            Originally posted by Alexis C. Montenegro
            Jane
            You do that by setting the plot type with the setPlotType() function
            Alex

            Comment


            • #7
              Re: Re: Re: Re: Re: Scaling Non Price Pane Studies

              Jane
              You are most welcome
              Alex


              Originally posted by jg
              Thank you very much Alex. Worked perfectly and exactly as I wanted.
              Regards,
              Jane

              Comment

              Working...
              X