Login Page - Create Account

Support Board


Date/Time: Thu, 02 May 2024 16:50:11 +0000



[Locked] - sc.StudyDescription and sc.DocumentationImageURL Broken!

View Count: 690

[2020-05-12 16:56:49]
User562525 - Posts: 32
Execute the following code and you will see that both sc.StudyDescription and sc.DocumentationImageURL are empty when printing them!!


#include "sierrachart.h"

SCDLLName("MStudyDesc")

SCSFExport scsf_MStudyDesc(SCStudyInterfaceRef sc)
{    
  if(sc.SetDefaults)
  {
    sc.GraphName="MStudyDesc";
    sc.StudyDescription="STUDY DESCRIPTION";
    sc.DocumentationImageURL="Documentation Image URL";
  
    //Manual looping
    sc.AutoLoop = 0;
    sc.GraphRegion = 1;
    sc.UpdateAlways = 1;

    return;
  }
  
  sc.AddMessageToLog(sc.GraphName,1);
  sc.AddMessageToLog(sc.StudyDescription,1);
  sc.AddMessageToLog(sc.DocumentationImageURL,1);
  sc.AddMessageToLog("===========",1);
}


[2020-05-12 20:52:05]
Sierra Chart Engineering - Posts: 104368
We are testing this. We did do some testing a couple of days ago and could not reproduce the issue. But we will test again.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2020-05-12 20:52:47
[2020-05-12 21:09:35]
Sierra Chart Engineering - Posts: 104368
There is not any problem. This is what we see in the Message Log:
Chart: ESM20[M] Daily #1 | Study: MStudyDesc | =========== | 2020-05-12 17:05:19.232 *
Chart: ESM20[M] Daily #1 | Study: MStudyDesc | MStudyDesc | 2020-05-12 17:05:20.038 *
Chart: ESM20[M] Daily #1 | Study: MStudyDesc | | 2020-05-12 17:05:20.039 *
Chart: ESM20[M] Daily #1 | Study: MStudyDesc | | 2020-05-12 17:05:20.040 *
Update to the latest prerelease of Sierra Chart and see if you still notice an issue:
Software Download: Fast Update
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2020-05-12 21:43:05
[2020-05-13 08:13:56]
User562525 - Posts: 32
I just tried on 2104, there is definitely still a problem. Don't you see that when trying to print sc.StudyDescription and sc.DocumentationImageURL they are both blank?


Chart: F.US.ENQM20 1 Min #2 | Study: MStudyDesc | =========== | 2020-05-13 08:08:26.110 *
Chart: F.US.ENQM20 1 Min #2 | Study: MStudyDesc | MStudyDesc | 2020-05-13 08:08:26.392 *

Chart: F.US.ENQM20 1 Min #2 | Study: MStudyDesc | | 2020-05-13 08:08:26.392 *
Chart: F.US.ENQM20 1 Min #2 | Study: MStudyDesc | | 2020-05-13 08:08:26.392 *


Do you see it should print "STUDY DESCRIPTION" and "Documentation Image URL"
[2020-05-13 08:19:40]
Sierra Chart Engineering - Posts: 104368
Yes you are right. We overlooked the obvious. We apologize for that. We are quite busy. I think we just looked at sc.GraphName.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2020-05-13 10:36:30]
Sierra Chart Engineering - Posts: 104368
Okay we went into this more in depth. There is definitely nothing "broken" here. There is a technical reason why you cannot access those values any longer within the study function:

sc.StudyDescription
sc.DocumentationImageURL

They are not designed to be accessed in the way that you are doing. They are used externally outside of the ACSIL function when the user uses the Description button for the study.

This will not change.

You need to find another solution for what you want to do.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
[2020-05-13 10:41:09]
User562525 - Posts: 32
How is this not broken if this used to work? I was able to access sc.StudyDescription and sc.DocumentationImageURL in prior Sierra Chart builds. So yes, definitely something has changed, I have checked this 10 times going from build 1983 to build 2104 and in build 1983 it prints sc.StudyDescription and sc.DocumentationImageURL just fine. In build 2104 (also tested 2102, 2103) it does not!
[2020-05-13 10:43:11]
Sierra Chart Engineering - Posts: 104368
This change is permanent. Take it or leave it . If you are not happy we want you to discontinue the use of Sierra Chart instead of posting here. There is a good technical reason for this change related to a stability issue.

Do not post further about this, otherwise we are banning you.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2020-05-13 10:45:00
[2020-05-13 10:43:32]
User562525 - Posts: 32
Check uploaded file of it printing just fine in build 1983
imagescreen02.png / V - Attached On 2020-05-13 10:42:40 UTC - Size: 21.27 KB - 212 views
Attachment Deleted.
[2020-05-13 11:01:31]
Sierra Chart Engineering - Posts: 104368
Not sure why you are wanting to access those variables after they are set within an ACSIL function but maybe this function will help:

sc.GetPersistentInt() (sc.GetPersistentSCString)
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing
Date Time Of Last Edit: 2020-05-13 11:01:51

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account