I am still doing little tweaks to get my chart to function like I want it to.
I use different time settings but sometimes forget to pay attention to whether the candle is still forming (changing) or is complete.
So I wrote a little code snippet just to change the forming candle to a different color. Maybe it will be of help to you.
I use different time settings but sometimes forget to pay attention to whether the candle is still forming (changing) or is complete.
So I wrote a little code snippet just to change the forming candle to a different color. Maybe it will be of help to you.
Code:
# Highlight Current Candle Only
# Colors the forming candle differently; reverts to normal on close
declare upper;
AssignPriceColor(if IsNaN(close[-1]) then Color.YELLOW else Color.CURRENT);
Last edited by a moderator: