Login Page - Create Account

Support Board


Date/Time: Mon, 21 Apr 2025 16:29:43 +0000



Post From: Can sc.VolumeAtPriceMultiplier be used with multiple study instances?

[2025-04-14 16:50:50]
User2069 - Posts: 24
I'm trying to write a study that works kind of like a Preset Loader for my chart settings. I want to use multiple instances of the study for all the different configurations and bar periods that i use and i'm assigning each one to an ACS button. This is where i keep running into an issue with sc.VolumeAtPriceMultiplier. Only the value from the last instance of the study that was added gets updated in the chart, even though it is showing in the log like it is reading and assigning the right value from the one i actually click on. I've tried all sorts of checks and even forcing the chart to recalculate right after assigning the input into sc.VolumeAtPriceMultiplier and nothing seems to be working. Is this possible at all?