Login Page - Create Account

Support Board


Date/Time: Mon, 10 Mar 2025 20:42:51 +0000



Post From: ACSIL Updating Ray issue in recent SC versions

[2022-04-05 22:21:49]
Sierra_Chart Engineering - Posts: 18735
Modify the following code:

if (sc.GetUserDrawnDrawingByLineNumber(sc.ChartNumber, line_num, chart_drawing))
{
chart_drawing.BeginIndex = sc.ActiveToolIndex;
chart_drawing.BeginValue = sc.ActiveToolYValue;
chart_drawing.EndIndex = sc.ActiveToolIndex + 1;
chart_drawing.EndValue = sc.ActiveToolYValue;
sc.UseTool(chart_drawing);
As follows:
    if (sc.GetUserDrawnDrawingByLineNumber(sc.ChartNumber, line_num, chart_drawing))
    {
      chart_drawing.BeginDateTime.Clear();
      chart_drawing.EndDateTime.Clear();

      chart_drawing.BeginIndex = sc.ActiveToolIndex;
      chart_drawing.BeginValue = sc.ActiveToolYValue;
      chart_drawing.EndIndex = sc.ActiveToolIndex + 1;
      chart_drawing.EndValue = sc.ActiveToolYValue;
      sc.UseTool(chart_drawing);
    }

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, use the Teton service:
Sierra Chart Teton Futures Order Routing