Repository navigation
Improve small candlestick rendering and support custom wick color - #803
Conversation
|
Currently the body of the candle is the colour passed into |
|
That is good point @bclehmann. Often the candle wick is kept neutral. Black is often used against a white background. Here is an example with different backgrounds: You could also leave it up to the user by making this color configurable and overwriting the existing settings. |
|
I added a Currently |
|
Hi @bclehmann |
now uses a nullable Color to determine if a custom wick color should be used
|
Hey @bclehmann and @AlgoExecutor, thanks for your input on this one!
I added some new examples to the cookbook demonstrating what it can do. I'm worried I'm inviting chaos into the ScottPlot community with this one... but I made a demo designed to look like TC2000 😅 We'll see how much craziness it invites... I love how this example shows a clear "consolidation period" and periods of "momentum", all resulting from a random number generator 😈 As a neuroscientist, I find the combination of chart reading and pattern hallucination fascinating. Again I'm reminded of A Random Walk Down Wall Street |
|
Thank you both @swharden and @bclehmann for the good work! I also had to laugh about the TC2000 chart 😂. Looks like chaos is really coming - love it ;-) You make a really good point. Reading charts is some kind of art. You just have to believe in it hard enough. Always reminds me of the tea cup pattern: https://www.investopedia.com/terms/c/cupandhandle.asp Looks like the inventor had a deeper meaning in mind 🙃 |





New Contributors:
please review CONTRIBUTING.md
Purpose:
Fixes the drawing of "Doji" candlesticks (i.e. open == close) #800
New Functionality:
Adds a check for the Doji case and adds a red line where otherwise the candle body would not be drawn.
Before:

After:
