PureBytes Links
Trading Reference Links
|
Here's a simpler version of the PriHiLoClo indicator that I
posted recently. It plots the prior day's high, low, and
close on today's intraday chart in MS Professional.
Ken
mailto:divenfish@xxxxxxxxxxxxx
MktHour:=Input("Enter start bar hour",1,24,9);
MktMinute:=Input("Enter start bar minute",00,59,35);
MktStart:= Hour()=MktHour AND Minute()=MktMinute;
Clo:= Ref(C,-1);
yestHi:= Ref(HighestSince(1,MktStart,H),-1);
yestLo:= Ref(LowestSince(1,MktStart,L),-1);
ValueWhen(1,MktStart,Clo);
ValueWhen(1,MktStart,yestLo);
ValueWhen(1,MktStart,yestHi);
|