Support Board
Date/Time: Tue, 01 Jul 2025 23:21:49 +0000
Post From: Price values of User Drawn Tools in ACSIL
[2016-01-14 02:52:29] |
|
Here is a code example which should help: if (sc.GetUserDrawnChartDrawing(0, DRAWING_UNKNOWN, ChartDrawing, -1) > 0) { SCString BeginDateTimeString = sc.FormatDateTime(ChartDrawing.BeginDateTime); SCString EndDateTimeString = sc.FormatDateTime(ChartDrawing.EndDateTime); SCString Msg; Msg.Format("Details of last Chart Drawing on chart: BeginDateTime=%s, EndDateTime=%s, BeginValue=%f, EndValue=%f." , BeginDateTimeString.GetChars(), EndDateTimeString.GetChars(), ChartDrawing.BeginValue, ChartDrawing.EndValue); sc.AddMessageToLog(Msg, 1); } 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: 2016-01-14 02:52:58
|