Help, please refer to the position highlighted by the mouse.

14 Mar 2019, 19:10Help, please refer to the position highlighted by the mouse.#1
trader.calgoposts: 18since: 19 Feb 2018

Help, please refer to the position highlighted by the mouse. 
I have not found a way to do this.

15 Mar 2019, 10:04#2
Panagiotis Charalampousposts: 2721since: 13 Jan 2017

Hi trader.calgo,

You can use the MouseMove event to capture the mouse location at any moment. See below an example


        protected override void OnStart()
        {
             Chart.MouseMove += OnChartMouseMove;
            
        }
        
        void OnChartMouseMove(ChartMouseEventArgs obj)
        {
            Print(obj.TimeValue);
            Print(obj.YValue);
        }

Best Regards,

Panagiotis


Head of Community Management at cTrader
16 Mar 2019, 09:17#3
trader.calgoposts: 18since: 19 Feb 2018

thanks for idia, im use OnChartMouseDown. Is not beauty realization but is work. Please realize API PositionSelectedEvenArgs pos, if you have free time ))