Login Page - Create Account

Support Board


Date/Time: Tue, 26 Aug 2025 11:55:10 +0000



Post From: Reversal Order in ACSIL not getting created with Attached Orders

[2025-07-09 16:29:15]
rajeshh - Posts: 23
First off, thanks for your response. I have reviewed and debugged, but could have missed things.

where you do not increment the orderIndex variable

Curious why you say that when I have
++orderIndex;
inside the while loop.

barSize[sc.Index] = std::fabs(sc.High[sc.Index] - sc.Low[sc.Index]);

Understand that I don't need to do that for every bar in the chart, but likely I need to do it for the last n bars whose average I want correct. Just your change will not be sufficient unless barSize is a persistent variable, correct? Or I store it as another subgraph array.

Thanks for the change on the ScaleRange.