Is it possible to find the bar price for a particular drawn object? I am thinking of a Ray, Line, Arc but more complex multi-part objects could be map to the parts, bar, value(price on pricepanel).
If they return a value, might the returned value be used to derive the price for a given bar(slot or bar-time) that object is drawn on? Or perhaps use the every present drawn object Tag could be use instead?
example:
RayRtnVal = Draw.Ray(NinjaScriptBase owner, string tag, int startBarsAgo, double startY, int endBarsAgo, double endY, Brush brush)
RayRtnVal = Draw.Ray(this, "RayTag76" , 61, 3291, 0, 3208, Brushes.Green)
This Ray is clearly at a sloping angle. Yes I understand knowing the slope we can calculate the value of interest. Isn't this information sort of known in that the object was drawn into the environment? Also I understand the "Ray" Object defined in the docs does not contain the information.
Price = DerivePriceFromOject(Bar, RayRtnVal);
Or perhaps use the Tag instead of Return Value
Price = DerivePriceFromOject(Bar, "RayTag76");
Am I asking too much or does this already exist?
thank you for your assisance
Comment