[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Starting and indicator at a specific time???????????



PureBytes Links

Trading Reference Links

Apperantly not a clue what I'm doing.  I've  been trying to code a new high 
for the day starting at a spacific time instead  of the beginning of the day, 
but with no luck.  Can someone tell me what  I'm doing wrong.  One of the ways 
I've tried is below.
Thanks  
Randy

Inputs: BeginTime(1000);
Vars: LastHH(0);

if Date  <> Date[1] and Time >= BeginTime then begin

LastHH  = High;    
end;

If High > LastHH then LastHH = High  else LastHH = LastHH ;
Plot1( LastHH, "LastHH" ) ;