Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crosshair sync in different timeframe attaches to the nearest candle instead of exact location #312

Open
gigasurgeon opened this issue Mar 4, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@gigasurgeon
Copy link

Description

Thanks for implementing the crosshair sync in multiple windows. I am using this code to create two different windows stacked on top of each other ->

main_chart = Chart(width=1820, height=980, inner_width=1, inner_height=0.5)
chart2 = main_chart.create_subchart(width=1, height=0.5, sync=True, sync_crosshairs_only=True)

image

When I hover my mouse crosshair in one of the windows, the crosshair in other windows arrive at the correct candle but it always is attached to that candle. If I hover my mouse in the empty region above the candles, the crosshair is still attached to the candle. This makes measuring support and resistance lines tough. If we could make the crosshairs sync in the empty region above and below the candles as well, it would make the MTF analysis much easy. It would be a neat little addition.

Code example

No response

Method of implementation

No response

@gigasurgeon gigasurgeon added the enhancement New feature or request label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant