Support Board
Date/Time: Thu, 13 Nov 2025 08:18:27 +0000
Post From: ACSIL Custom chart bars, combining records into original summary trade
| [2025-09-18 21:26:12] |
| robrg2675 - Posts: 22 |
|
Ok. And are the special values for the Open field the same when dealing with a custom chart bar study, to determine if it is the first or last trade of a bundled trade, -1.99900095e+37F and -1.99900197e+37F respectively? I have tried using these values (e.g., if(ChartBarInterface.NewFileRecord.Open == -1.99900095e+37F)) to filter and find the beginning and ends of a bundled trade, but it does not work. Through trial and error, it seems like the special values are a positive number. For example, if I use ChartBarInterface.NewFileRecord.Open > 1, it will generate a new bar when there is a bundled trade, although I can't distinguish whether it is the beginning or the end.
|
