Login Page - Create Account

Support Board


Date/Time: Sun, 12 Jan 2025 11:04:23 +0000



Post From: Advanced studies - is it possible to detect the time and price of an existing chart drawing?

[2017-02-07 20:07:44]
User99606 - Posts: 9
I'd like to trigger a trade when price intersects a ray that I've drawn on the chart and understand that this will require some programming to achieve. I am not asking for programming help beyond figuring out if what I want to do is even possible.

From what I can see from looking at the programming guide, the capabilities are there to have the study actually draw a ray, but I don't see anything that would allow my code to determine the time and price values of an existing ray.

Two questions:

Is it possible to code a study that can access an existing chart drawing's time and price value?

If not, is it possible for a custom study to allow me to create a chart drawing the same way I do with a normal drawing tool, or do I have to enter specific values in a dialog box to have the code draw the ray?

Thank you.
Date Time Of Last Edit: 2017-02-07 20:09:11