Login Page - Create Account

Support Board


Date/Time: Mon, 10 Mar 2025 17:06:37 +0000



Post From: Issue using sc.GetStudyProfileInformation function

[2019-09-13 05:16:11]
User650124 - Posts: 6
I'm working on an ASCIL trading system where i need to call information from a VbP study on my chart. When i attempt to program this function i am receiving the following errors when i go to build, among others:

error C2065: 's_StudyProfileInformation': undeclared identifier
error C2039: 'GetStudyProfileInformation': is not a member of 's_sc'

Is this function not supported anymore, or have i made a mistake in the way i set up the structure and call upon the function? I've copied my code below for your reference. I've used many other functions successfully and tried many different ways of setting this one up but unfortunately haven't been able to figure this one out. Thanks for your time.

  s_StudyProfileInformation StudyProfileInformation;
  sc.GetStudyProfileInformation(6, 0, StudyProfileInformation);
  float POC = StudyProfileInformation.m_VolumePOCPrice;
  float ValueAreaLow = StudyProfileInformation.m_VolumeValueAreaLow;