Login Page - Create Account

Support Board


Date/Time: Sat, 04 May 2024 10:05:07 +0000



Post From: bar index of ACSIL created drawing

[2015-07-08 19:03:32]
User231363 - Posts: 31
I am creating rays from ACSIL at various bars and price levels.
I would like to have the study delete the rays that are older than a certain bar index, however I can't figure out how to get this information from existing ray drawings.
I have tried GetUserDrawnChartDrawing(), and while it returns the correct Line Number, the .BeginIndex is -1 even though I can see the ray on the chart at the correct bar index.

How can I get the bar index number from an existing drawing?

thanks.