Is there a way for a script to detect when a user draws on the chart and then to be able to detect, for example, the endpoints of a drawn line?
Announcement
Collapse
No announcement yet.
Detecting user drawing on chart
Collapse
X
-
I don't beleive so, if you are drawing the line yourself.
Fibbgann
-
Perhaps the esignal guys can look at this as a suggestion. I want the user to be able to identify a trend by drawing a line and then have the script perform some calculations on it It needs to examine the prices covered by the range of the line.
What is needed is an event callback that says a drawing object has been added to chart. Then script then needs to be able to identify that particular object and look at it's properties i.e. end point of a drawn line.
Someone told me that Tradestation can do something like this.
Comment
-
Explain in detail exactly what you are trying to do. Your talking about some major coding. And I was'nt aware of tradestation being able to do exactly what your refering too. Need a clearer picture though.
Fibbgann
Comment
-
I want the user to be able to identify a trend i.e. a range in prices that contains a trend. I was thinking it could be identified by drawing a line to define the range. I then have the script analyze the prices in that range (looking at swings etc) and to make some calculations that result in levels (horizontal lines) being displayed on the chart.
The user needs to be able to identify which portions he wants the analysis to be done.
I'm not sure TS get's notified when a line gets added but I think it can examine drawing objects (after a manual recalc)
Comment
-
Interesting suggestion. I can certainly see the value of such an ability. I'll be happy to pass this along to our Product Development Team for consideration. If you have any further comments or suggestions, you can also email them direct by clicking the above link.Regards,
Jay F.
Product Manager
_____________________________________
Have a suggestion to improve our products?
Click Support --> Request a Feature in eSignal 11
Comment
-
What if instead of drawing a line, you just click the start and end points? With EFS you can now grab mouse clicks:
http://forum.esignalcentral.com/show...&threadid=5922
I would think a tool where you click a button and it prompts the user to click on the start bar and end bar would be very doable.
GarthGarth
Comment
Comment