Login Page - Create Account

Support Board


Date/Time: Mon, 16 Sep 2024 19:15:58 +0000



Post From: Extended Rectangle Properties Anchor Values

[2024-07-26 00:05:24]
User303857 - Posts: 72
Hello Support

Looking for ways to access the Anchor Values and use them with a Study Sub Graph Add and a Study Sub Graph Subtract with the current price.

I would like to be able to have a count down of the number of ticks from the price as it moves towards an extended rectangle.

For Example if the price is 19000 and the extended rectangle is at 19145 it would count down as it moves closer to the anchor values.

I have one rectangle with these values from the manage drawings window.

Extending Rectangle | NQU4.CME | | | | A1(2024-07-19 06:15:00, 20009), A2(2024-07-19 06:17:00, 19987.25) | -107 |


==============================

Is there a study that can do this or do I have to learn ASCIL ?


------------------------


Programmatically Accessing Chart Drawings | Exporting Drawings

You can access a list of all of the Chart Drawings on a chart through the Manage Chart Drawings Window.

You are able to programmatically access the Chart Drawings through ACSIL. Use the sc.GetUserDrawnChartDrawing function. There are other functions as well.

Once you get a Chart Drawing in ACSIL, you can then output the data of it to a Spreadsheet. Refer to Direct Programmatic Interaction with Spreadsheet Sheets.

You are also able to write the Chart Drawing data to a file through the ACSIL File Functions.


Thanks for any help