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

(1) real time candlestick Chart with lines and points together (2) show at least two candlesticks together #643

Closed
yezhengli-Mr9 opened this issue Nov 20, 2023 Discussed in #641 · 1 comment

Comments

@yezhengli-Mr9
Copy link

yezhengli-Mr9 commented Nov 20, 2023

Discussed in #641

Originally posted by yezhengli-Mr9 November 20, 2023
I can provide my sample source code if necessary in the near future.
(1) Try to draw real-time candlestick Chart with lines and points together. By lines and points, I mean for example, combination of vertical and horizontal lines to show support point and alert trigger point.
(1a) no need to show arrow; lines are good.
(2a) even rectangles instead of combination of horizontal and vertical lines are OK.
(2) better show at least two candlesticks together -- so far any way is fine: for example,
(2a) side by side
(2b) put two candlesticks on one chart.
DailyMarketStream 2023-11-20 07-32-27

Try to use addPaintAfterEp(...) in following potentially helpful examples while following samples provide blank or non-instructive output charts?

candleStickRenderer.addPaintAfterEp(new PositionFinancialRendererPaintAfterEP(

renderer.addPaintAfterEp(new AbsorptionClusterRendererPaintAfterEP(ohlcvDataSet, chart));

image
image

On the other hand, addPaintAfterEp(...) in following can provide Color.MAGENTA as designed

((RendererPaintAfterEPAware) renderer).addPaintAfterEp(new PositionFinancialRendererPaintAfterEP(positionFinancialDataSet, (XYChart) chart));

image

@wirew0rm
Copy link
Member

No need to duplicate this into the issues

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

No branches or pull requests

2 participants