Login Page - Create Account

Support Board


Date/Time: Thu, 28 Nov 2024 11:05:17 +0000



Post From: Automatic Scale Adjustment for a custom study

[2023-05-15 12:04:38]
User787032 - Posts: 37
Thanks for your suggestion, Tony.
However, that approach means that the study has to keep track of its highest and lowest values in the currently visible part of the chart (which can obviously change as the user stretches or squeezes the chart time scale on the x-axis.)
As I mentioned in my original post, studies such as Cumulative Delta Bars adjust the scale automatically and there is nothing in the code to suggest that it's doing any such calculation, which is why I suspect that there is a parameter somewhere that is set incorrectly.
Thanks anyway.