Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Controlling Behavior of Indicator Scale

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

    Controlling Behavior of Indicator Scale

    Hi, I'm sure this has been asked, but I probably don't have the terminology right for the search. I want to control the scale of my indicator labels:



    What I'd really like is the Y-Axis to show the full range 0-100 with numeric labels at 70, 50 and 30 where I have Lines defined, in addition to the 41 above which is the indicator value and working as intended.

    Thanks in advance for any help.

    #2
    Hello Grasul,

    Thanks for your post.

    In the area of the scale of the indicator (where "41" shows), right mouse click and select properties. In the chart panel properties window (likely panel 2) you can set a fixed scale. To actually see 0 and 100 levels I would suggest setting the minimum to -0.5 and the maximum to 105. For additional "grid" lines, set the interval type to "points" and set the interval value to 10 (you may need to try different values here).

    Comment


      #3
      Originally posted by Grasul View Post
      Hi, I'm sure this has been asked, but I probably don't have the terminology right for the search. I want to control the scale of my indicator labels:



      What I'd really like is the Y-Axis to show the full range 0-100 with numeric labels at 70, 50 and 30 where I have Lines defined, in addition to the 41 above which is the indicator value and working as intended.

      Thanks in advance for any help.
      I had a similar problem. I am not sure my idea is the best solution, but I got it to work. I created two dummy plots, one for the lower end of the range, and one for the higher end of the range and set the Plots[#].Pen.Color = Color.Transparent.

      Comment


        #4
        Originally posted by jeliner View Post
        I had a similar problem. I am not sure my idea is the best solution, but I got it to work. I created two dummy plots, one for the lower end of the range, and one for the higher end of the range and set the Plots[#].Pen.Color = Color.Transparent.
        That a good idea.

        I ended up doing this:

        Code:
        //Fix the scale, 0-100.
        DrawText("adjustTop"+CurrentBar,true,".",00,100,0, rangeColor,textFont,StringAlignment.Near,tr,tr,0);
        DrawText("adjustBot"+CurrentBar,true,".",00,0,  0, rangeColor,textFont,StringAlignment.Near,tr,tr,0);

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by sjsj2732, 03-23-2026, 04:31 AM
        0 responses
        76 views
        0 likes
        Last Post sjsj2732  
        Started by NullPointStrategies, 03-13-2026, 05:17 AM
        0 responses
        313 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        313 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        149 views
        1 like
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        113 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Working...
        X