Login Page - Create Account

Support Board


Date/Time: Sat, 12 Jul 2025 08:58:29 +0000



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

[2025-07-09 16:29:15]
rajeshh - Posts: 14
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.