PureBytes Links
Trading Reference Links
|
HI,
Do you think this could do the job
steph
/***Weekly Bars***/
B=DayOfWeek();
G=BarsSince(B<Ref(B,-1));
Hw=ValueWhen(B<Ref(B,-1),HHV(Ref(H,-1) ,Ref(G,-1)+1));
Lw=ValueWhen(B<Ref(B,-1),LLV(Ref(L,-1) ,Ref(G,-1)+1));
Cw=ValueWhen(B<Ref(B,-1),Ref(Close,-1));
Graph0=Close;
Graph0Color=1 ;
Graph0Style=64;
Graph1=CW;
Graph1Color= 5 ;
Graph1Style=1;
I am currently working with some code with the WEEKDAY function to
> determine the previous week start and end and proceed from there.
> Thanks for the code though. Will come in handy for sure.
>
|