Skip to content

Colored Candlestick exemplifying a gradient. It was somewhat hard to find a good working example of DRAW_COLOR_CANDLES that was understandable, most of the comments were useless, and the documentation lacks to even specify the plot limitations (PLOT_COLOR_INDEXES being limited to 64 in length, [0; 63]) or which order the functions should be called.

License

Notifications You must be signed in to change notification settings

BRMateus2/Barebone-Gradient-Candles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Barebone-Gradient-Candles

Colored Candlestick exemplifying a gradient.

It was somewhat hard to find a good working example of DRAW_COLOR_CANDLES that was understandable, most of the comments were useless, and the documentation lacks to even specify the plot limitations (PLOT_COLOR_INDEXES being limited to 64 in length, [0; 63]) or which order the functions should be called.

I also had a hard time finding a working algorithm for moving a X color towards a Y color (I believe this is called Gradient?); this code contains a math function which returns a gradient from X towards Y and I would love to know if someone has a better way of doing that.

About

Colored Candlestick exemplifying a gradient. It was somewhat hard to find a good working example of DRAW_COLOR_CANDLES that was understandable, most of the comments were useless, and the documentation lacks to even specify the plot limitations (PLOT_COLOR_INDEXES being limited to 64 in length, [0; 63]) or which order the functions should be called.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages