Login Page - Create Account

Support Board


Date/Time: Sat, 21 Apr 2018 21:24:22 +0000



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

[2017-12-23 18:41:49]
gomifromparis - Posts: 189
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