Instrument value on mouse click on chart

fly_fx since: 27 Mar 2013;

  27 Mar 2013, 13:03
Instrument value on mouse click on chart

Hello,

Do you have a suggestion for getting the instrument value (and use it in an indicator/robot) by clicking on a chart?

Thanks

cAlgo_Fanatic's avatar

cAlgo_Fanatic since: 10 Jan 2013;

  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?

TRADERS FIRSTâ„¢

fly_fx since: 27 Mar 2013;

  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 since: 27 Mar 2013;

  27 Mar 2013, 14:33

I wasn't specific, sorry. I was talking about a specific area on a chart. Not the last value of the instrument.

fly_fx since: 27 Mar 2013;

  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.

cAlgo_Fanatic's avatar

cAlgo_Fanatic since: 10 Jan 2013;

  28 Mar 2013, 09:21

Thank you for the suggestion we will consider it for future implementations.

TRADERS FIRSTâ„¢

Vitali Gajdabrus since: 20 Aug 2015;

  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.