Login Page - Create Account

Support Board


Date/Time: Fri, 04 Jul 2025 13:24:06 +0000



Post From: GetStudyLineUntilFutureIntersection example

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

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
}