Custom Indicator - Changing Color Per Candle


Custom Indicator - Changing Color Per Candle
Atom Reply
8/27/2020


Rob

Avatar
Training
I'm creating a custom indicator using ChartIndicatorElement DrawStyle = ChartIndicatorDrawStyles.Dot

Per candle, I would like to change the dot color. How is this achieved? If I add the element to the chart before processing, all of the dots change color according to the last processed value. If I add a new element per candle, the color of the indicator dot, per candle, is correct, but the x-axis of the indicator does not line up with the datetime.

Please advise, thanks.



Thanks:




1 Answers
Support

Avatar
Date: 8/31/2020
Reply


Hello

Can you provide some picture to understand what exactly you expect from the charting component?
Thanks:


Attach files by dragging & dropping, , or pasting from the clipboard.

loading
clippy