I’m developing an indicator based on RSI and I want the y-axis fixed ( 0 to 100). Is there a function to set/fix the scale of the y-axis and stop it re-scaling (I can’t seem to find anything in the manuals). I tried to cheat and use a horizontal line at 100 but that didn’t solve it.
Not possible, the scale will automatically adapt to the variables drawn by your indicator. The best thing you could do is set 2 variables, for instance named “max level” and “min level”, add them to the RETURN instruction and set their values to the Y-axis scale you want, so in this case:
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue