Instrument value on mouse click on chart
Instrument value on mouse click on chart
27 Mar 2013, 13:03
Hello,
Do you have a suggestion for getting the instrument value (and use it in an indicator/robot) by clicking on a chart?
Thanks
Replies
fly_fx
27 Mar 2013, 14:27
Thanks for your reply.
What I'm asking for would be helpful for example if one wants to select specific tops and bottoms on a chart. Run your robot with some code in it, click approximately on the aera where the top or bottom is, process the position (time, price) and then do something else.
@fly_fx
fly_fx
27 Mar 2013, 22:50
I can see that as the pointer is moved over the chart, OHLC prices and time are displayed at the bottome left of the application. These are the exact prices I want to input to my robot with an OnChartClick kind of method. Let me know if you can think of anything. Thanks again.
@fly_fx
cAlgo_Fanatic
28 Mar 2013, 09:21
Thank you for the suggestion we will consider it for future implementations.
@cAlgo_Fanatic
Vitali Gajdabrus
18 Jan 2017, 14:59
RE:
cAlgo_Fanatic said:
Thank you for the suggestion we will consider it for future implementations.
Can I get the coordinates of the cursor in the processing of events MouseClick, MouseDoubleClick, MouseDown, MoseLeave, MuseTove, the MouseUp, and the like to the program trading robots draw on the chart.
@Vitali Gajdabrus
cAlgo_Fanatic
27 Mar 2013, 14:17
No, the chart is not interactive this way. You can access the Symbol Ask and Bid values in Robots/Indicators as well as MarketSeries OHLC prices. Could you explain what exactly you need to do?
@cAlgo_Fanatic