I have created most of my bar color indicator but am lacking two items that i can not figure out how to do.
We will use an SMA for the example.
I want only the first bullish candle that closes above the SMA to change color.
At this point, every bar that is above the SMA changes color.
The next issue is that after the candle closes below the SMA, I would like the indicator to "reset" and then change the candle color when it closes above the SMA again.
I have tried using BarColorSeries[] but this has not produced the results that I am looking for.
Thank you for your help.
Comment