Is it possible, to get the value and data, for example of a ruler or a line, in a ninjascript (a indicator or a strategy), but that the object, has not been created by the ninjascript.
Example : I have a strategy on a chart, its enable, i draw a ruler on the chart, with no rapport of the strategy, and i would like that the strategy could know that the object type "ruler" has been drawn on the chart, take the value that the ruler has created (time, bar, y value). since the tag of 2 ruler can be different, the strategy will take only the value of a ruler that actually exist, and if there is multiple she will only take the first ruler.
For the goal, to take the amount of bar of the ruler, and put in a double.
And, its about being enable to get the values of a object not drawn by the script that i have problem with, and where i don't find a lot of documentation.
So, is this possible to do ?
Thanks !
Comment