MPH Tick Countdown

function percentPlotter(canvas, indicatorInstance, history) {
for(let i=0; i<history.data.length; ++i) {
const item = history.get(i);

if (item.percent !== undefined) {
const x = p.x.get(item);

const g = Math.max(Math.min(Math.round(item.percent * 255), 255), 0);
const b = Math.max(Math.min(Math.round(255 * (1 - item.percent)), 255), 0);

canvas.drawLine(
p.offset(x, 0),
p.offset(x, item.percent * 100),
{
color: toRgb(0, g, b),
relativeWidth: 0.5,
opacity: 1.0
});
}
}
}

I am unfamiliar with how you print to the chart so i dont know how to set the color of the ticks but the other community tick function has this RGB method using canvas… Maybe this indicator can use the same kind of function to make the tick count white