Login Page - Create Account

Support Board


Date/Time: Mon, 06 May 2024 09:13:23 +0000



Post From: GetStudyLineUntilFutureIntersection example

[2023-05-18 08:25:36]
User431178 - Posts: 413

auto lineIndex{ 0 };
auto lineID{ 0 };
auto lineEndIndex{ 0 };
auto lineLevel{ 0.0f };
  
while (sc.GetStudyLineUntilFutureIntersection(sc.ChartNumber
, sc.StudyGraphInstanceID
, index
, lineIndex
, lineID
, lineLevel
, lineEndIndex) != 0)
{
// Your code here //
// e.g. check if is intersected already
// i.e. lineEndIndex != 0
// if not, then check distance from current price to lineLevel
}