PureBytes Links
Trading Reference Links
|
Beginning one hour from the market's opening bell, this plots
the High and Low range channel that was formed during the
first hour of trading.
Regards,
Ken
--
mailto:divenfish@xxxxxxxxxxxxx
---Intra 1st Hour Breakout---
MktHour:=Input("Start bar hour",1,24,9);
MktMinute:= Input("Start bar minute",0,59,35);
BrkOutHour:=Input("Breakout hour",1,24,10);
BrkOutMin:=Input("Breakout minute",0,59,30);
MktStart:=Hour()=MktHour AND
Minute()=MktMinute;
BrkOutTime:=Hour()=BrkOutHour AND Minute()=BrkOutMin;
y:=HighestSince(1,MktStart,H);
z:=LowestSince(1,MktStart,L);
If(Hour()=BrkOutTime,y,
ValueWhen(1,BrkOutTime,y));
If(BrkOutTime,z,
ValueWhen(1,BrkOutTime,z));
|