Login Page - Create Account

Support Board

Date/Time: Tue, 31 Mar 2020 02:19:27 +0000


[2014-10-03 21:32:55]
QnReally - Posts: 130 | Ending Date: 2020-06-15
if (sc.UserDrawnChartDrawingExists(sc.ChartNumber, UniqueLineNumber + ni)) {
  if (sc.GetUserDrawingByLineNumber(sc.ChartNumber, UniqueLineNumber + ni, Tool, DRAWING_PITCHFORK_SCHIFF, 0)) {
    BI = Tool.BeginIndex; BV = Tool.BeginValue;
    Buffer.Format("Retr LN = %d usi=%d bi=%d bv=%.2f ", UniqueLineNumber + ni, sc.UpdateStartIndex, BI, BV); sc.AddMessageToLog(Buffer, 0);

I am getting a value of -1 for the Tool.BeginIndex. This used to work a couple of months ago but it stopped working with one of the later releases. I am on 1191 at the moment. Has something changed in the API? I have not changed my code but I understand I could still have a problem on my end. The Tool.BeginValue prints correctly though.

[2014-10-03 21:48:15]
Sierra Chart Engineering - Posts: 82871 | Ending Date: 2020-06-09
We will look into this, but if it is user drawn, the X-coordinate is held as a Date-Time always in the internal list, I think.
Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. If possible please keep your questions brief and to the point. Please be aware of support policy:

If your question/request has been answered and you do not have anything further, then it is easiest for us if you do not reply again to say thank you.
[2014-10-04 21:21:00]
Al SC Developer - Posts: 434 | Ending Date: 2018-01-07 [Expired]
This function is being restored in ver 1200

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


Login Page - Create Account