Login Page - Create Account

Support Board


Date/Time: Sat, 01 Mar 2025 13:01:54 +0000



Post From: sc.ApplyStudyCollection Doesn't Seem to Work

[2021-09-30 12:53:50]
maxpi - Posts: 181
I have a collection called "PRICE" which when added manually via the Analysis list works fine. I try to add it programmatically with the following code:

if(sc.Index ==0)
{
sc.ApplyStudyCollection(sc.ChartNumber, "PRICE", 0)
}

With ClearExistingStudiesFromChart set to 0 it just does nothing, changing the 0 to a 1 causes it to delete any manually entered collection. With 0 or 1 it never adds the study collection.