Login Page - Create Account

Support Board


Date/Time: Sun, 21 Oct 2018 13:45:14 +0000



Post From: Sierra Chart Now Supports Building Custom Chart Bars Efficiently in ACSIL

[2017-12-23 18:41:49]
gomifromparis - Posts: 211
So I did some fiddling and could not understand how the bar splitting works to manage the gaps.

I have something like

s_IntradayRecord& record = ChartBarInterface.NewFileRecord;
if (ChartBarInterface.IsNewChartBar)
  if (record.Close > whatever condition) // we have a gap here on this tick
  {
    ChartBarInterface.InsertNewRecord = 1;
    ChartBarInterface.NewRecordToInsert = record; // resend the tick
  }


But the tick is not resent and IsInsertFileRecordsProcessing is never true.

Any suggestion ?
Date Time Of Last Edit: 2017-12-23 18:43:52