Hi there,
Sorry for the late reply, but your issue took more time to resolve than expected.
I have removed the lastPrice from your config, the lastVisiblePrice with the color set to red is sufficient.
1. To position the label to the right, you can use the translate method (which is available on every SVG Element in Highcharts).
I have calculated the position of the yAxis labels group and moved the lastVisiblePrice label there.
Demo: https://codesandbox.io/s/highcharts-rea ... ked-h8thpe
You can set the lastVisiblePrice.dashStyle for example to "dash". Take a look at the demo and possible dash options.
Demo: https://codesandbox.io/s/highcharts-rea ... =/demo.jsx
Dash styles: https://jsfiddle.net/BlackLabel/sfq8nhtc/
3. It is not available in the API at this moment, but this functionality sounds like a great feature request to do! Feel free to make a GitHub ticket for it.
GitHub: https://github.com/highcharts/highchart ... new/choose
4. What you can observe is the correct behavior of the moving average. The period of MA also determines its starting point. For example, if you choose to have a MA of 9 period, then on candles 1-8 it doesn't know what data it should plot, since it can't calculate the 9 period due to a lack of data points.
You can't mathematically change it, but you can do a visual trick, where you would set the xAxis.min to a higher value (not the data start).
Take a look at tradingview.com, choose a random chart, and scroll back to the left, and you will see that the moving averages do not start from the first data point.
In case of any other questions, please do not hesitate to ask,
Best regards!