Hi Bullstock
This indicator should do what you want. You will need to install the Forum DLL from the Files section for this formula to function. Depending on the name you assign to the DLL you might need to change the ExtFml() function to match. I've used the Forum DLL to eliminate a leading N/A bar, which then allows an accurate bar count to be calculated for the first day. Hope this helps.
{Intraday Bar Counter}
D:=DayOfMonth();
FirstBar:=Cum(1)=1;
NewDay:=ExtFml("Forum.Sum",D<>Ref(D,-1),1);
1 + BarsSince(FirstBar OR NewDay);
Roy
MetaStock Tips & Tools