Login Page - Create Account

Support Board


Date/Time: Mon, 21 Apr 2025 16:54:03 +0000



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

[2025-04-18 18:25:37]
User2069 - Posts: 24
Yes, i'm assigning each instance it's own ACS Button and the corresponding ID through the study input.
I've also been checking sc.MenuEventID in the log, as well as the StudyID to make sure it wasn't only applying the values from the last one.

Here's the log output after testing with 3 instances of the study:

2025-04-18 14:09:01.734 | Chart: MNQM5.CME [CV][M] 5 Min #2 | Study: Set Chart | Got button event id 1, ACS Button On Event, VolumeAtPriceMultiplier 2, StudyID 19,
2025-04-18 14:09:01.734 | Chart: MNQM5.CME [CV][M] 5 Min #2 | Study: Set Chart | Got button event id 1, ACS Button On Event, VolumeAtPriceMultiplier 2, StudyID 19,
2025-04-18 14:09:01.762 | MNQM5.CME [CV][M] 12.00 Range #2 | Reloading chart.
2025-04-18 14:09:02.060 | MNQM5.CME [CV][M] 12.00 Range #2 | StartDateTimeForLoadingOrderFills: 2024-04-10 00:00:00
2025-04-18 14:09:02.076 | MNQM5.CME [CV][M] 12.00 Range #2 | Chart data loading complete.
2025-04-18 14:09:14.489 | Chart: MNQM5.CME [CV][M] 12.00 Range #2 | Study: Set Chart | Got button event id 2, ACS Button On Event, VolumeAtPriceMultiplier 4, StudyID 20,
2025-04-18 14:09:14.489 | Chart: MNQM5.CME [CV][M] 12.00 Range #2 | Study: Set Chart | Got button event id 2, ACS Button On Event, VolumeAtPriceMultiplier 4, StudyID 20,
2025-04-18 14:09:14.510 | MNQM5.CME [CV][M] 24.00 Range #2 | Reloading chart.
2025-04-18 14:09:14.808 | MNQM5.CME [CV][M] 24.00 Range #2 | StartDateTimeForLoadingOrderFills: 2024-04-10 00:00:00
2025-04-18 14:09:14.821 | MNQM5.CME [CV][M] 24.00 Range #2 | Chart data loading complete.
2025-04-18 14:09:17.146 | Chart: MNQM5.CME [CV][M] 24.00 Range #2 | Study: Set Chart | Got button event id 3, ACS Button On Event, VolumeAtPriceMultiplier 8, StudyID 21,
2025-04-18 14:09:17.146 | Chart: MNQM5.CME [CV][M] 24.00 Range #2 | Study: Set Chart | Got button event id 3, ACS Button On Event, VolumeAtPriceMultiplier 8, StudyID 21,
2025-04-18 14:09:17.193 | MNQM5.CME [CV][M] 5 Min #2 | Reloading chart.
2025-04-18 14:09:17.439 | MNQM5.CME [CV][M] 5 Min #2 | StartDateTimeForLoadingOrderFills: 2024-04-10 00:00:00
2025-04-18 14:09:17.450 | MNQM5.CME [CV][M] 5 Min #2 | Chart data loading complete.

Here you can see that VolumeAtPriceMultiplier is displaying the correct values for each one, but it actually remained at 8 the entire time, which was the value set on the last instance of the study.
Date Time Of Last Edit: 2025-04-18 18:37:17