Since it is not possible to change the position of the hoverlabels, I thought about using an annotation that shows me the data of the candle in which it is positioned and hiding the hoverlabels. However, when applying the following code, the graph has a delay when updating the position, which note if you have spikes active, I would like to be able to make the movement more fluid as when using hoverlabels, I already tried with update and relayout and both produce the same delay
myPlot = document.getElementById('chart')
myPlot.on('plotly_hover', function(data){
point = data.points[0];
divid = document.getElementById('chart');
Plotly.relayout(divid, 'annotations[0].text', ' O:' + point.open + ' H:' + point.high + ' L:' + point.low + ' C:' + point.close);
}).on('plotly_unhover', function(data) {
Plotly.relayout(divid, 'annotations[0].text', ' O:' + point.open + ' H:' + point.high + ' L:' + point.low + ' C:' + point.close);
});