View Full Version : Testing for Drawing Object
11-19-2007, 08:25 AM
Is there any way to test for the existance of a drawing object like down and up trangles that are in the indicator panel?
11-19-2007, 09:42 AM
Unfortunately this is not supported.
11-19-2007, 10:41 PM
What you could do is run a bool when your strategy/indicator draws an object. If that bool is true then there is an object somewhere. If its false then there are none.
11-20-2007, 12:28 PM
Unfortunately, the indicator that I am watching was developed by someone else and the code is locked. So, I have no way of inserting code into that indicator. I have a custom indicator that I've written and would like it to test for the existance of the triangle that was displayed by that other indicator.
11-20-2007, 11:42 PM
You are going to have to ask the original author to expose some variable that evaluates to true when it draws a triangle then. With that variable you can determine if the object was drawn or not.
11-21-2007, 12:37 AM
That's what I figured but thought I'd ask just in case.