Hi
Can you please check why mid point of Date and price range tool is showing wrong mid point in options? It’s working correct in index and stocks.
Ideally mid point should be 250 as it is drawn between 200 and 300 ??
Hi @zIPbyZVqWQ, I will check and get back to you.
Hi Piyush, apologies for the delay in getting back to you on this.
We checked the behavior of the Date and Price Range tool. In the example shared, the two price points are 200 and 300. While the normal arithmetic midpoint would be 250, the chart is currently using a logarithmic price scale.
On a logarithmic scale, the midpoint is calculated based on the logarithmic spacing between the two price points:
√(200 × 300) ≈ 244.95
That’s why the midpoint is displayed around 245 instead of 250.
If you switch the chart to a Linear price scale, the midpoint between 200 and 300 will be shown as 250. So, the behavior seen here is due to the logarithmic price scale and is expected, rather than an issue with the Date and Price Range tool.
Hope this clarifies your concern. Please let me know if you have any questions.