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

Add Features: Additional Candlestick series, Higher Time Frame Candles #484

Open
wants to merge 31 commits into
base: main
Choose a base branch
from

Conversation

EsIstJosh
Copy link

@EsIstJosh EsIstJosh commented Nov 16, 2024

Support for Secondary Candlestick Series:

image

image
image
image

Allows users to overlay or compare a secondary candlestick series alongside the primary one.
Enables simultaneous viewing of different data resolutions or related market instruments.
Useful when pairs-trading or working with correlated assets.

Custom Styling
User can now set :

  • Candle Width
  • Line Width
  • Line Style

Multi-Timeframe Viewing:

Can combine candle data dynamically, Handles high-timeframe data gracefully, ensuring precise alignment and proportional scaling and enabling higher timeframe visualization from a viewing a lower timeframe

Advanced Candle Shape Options:

Added support for various candle shapes such as Rectangle, Rounded, Ellipse, Polygon, and Arrow, with seamless integration of styles and spacing.
Makes for some aesthetic variety and can help differentiate between separate candle series plotted on the same chart.
https://github.com/user-attachments/assets/c436d69a-9c72-4d88-8689-91c98fd7025f

EsIstJosh and others added 30 commits October 26, 2024 20:32
Use existing line/histogram logic to implement area charts
Add methods to plot area chart.
Fix: Area line coloring  
Feat: Implement bar series
Feat: Implement bar series
Feat: Implement Area and Bar series types
Fix: Bar update method
Add functionality to group lines under a single legend item following example shown by @esteban2006 louisnw01#452 (comment)
Implement logic to handle LegendGroup creation when creating a line series.
Add group parameter (str) to make a line appear in the legend under a LegendGroup
Add legend_symbol, group to series types
Cleaned up, restructured for easier interaction adding/removing
Fix wick position for combined candles
For those who think the default candles are too thick.
Enhance flexibility by enabling the configuration of lineStyle, lineWidth, and the shape of individual bars through corresponding columns in the DataFrame, similar to the existing options for color, borderColor, and wickColor. Also improve performance by separating data aggregation from rendering.
@EsIstJosh
Copy link
Author

Untitled.video.31.mp4
  • Cloning series as different series types
  • Fill area between 2 series
  • Right click context menu for series, chart settings

@jcnelson30
Copy link

Being able to display two series on one, I have that specific use case (not multiple time frame). Either way, hope to see this get merged!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants