andreythedon
New member
Hey Team. So....I'm deciding to slow down...stop gambling and be smarter/more methodical. In my daily chart studies...It'd be really helpful if I can paint the bar number on the chart...for today only (since I typically assess one day at a time). I gave it a shot..but cannot seem to get the painting to START on today. Please see my attempt. Thanks for any input!
def days= getdayOfWeek(getYYYYMMDD());
def today= days<> days[1];
def barn = BarNumber();
plot barns=if today then barn else 0;
barns.SetPaintingStrategy(paintingStrategy = PaintingStrategy.VALUES_BELOW);