Custom Indicator - Changing Color Per Candle
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.