Query on AFL coding

Hi ,

I am trying to code a simple exploration afl code which checks for an high and low of a particular date and then checks on the current day if that high and low is broken out.
Below is the code -
_SECTION_BEGIN(“MondayHighLow”);

// AFL to read Close price on 14/June/2017/
// Datenum calculated as being
//(10000 * (2017 - 1900)) + (100 * 6) + 14 = 1170614

H1 = ValueWhen(DateNum() ==1181018, High);

L1 = ValueWhen(DateNum() ==1181018, Low);

HBO=(C>H1 AND L<H1);
HRV=(C

H1);
LBO=(CL1);
LRV=(C>L1 AND L<L1);

Filter=HBO OR HRV OR LBO OR LRV;

_SECTION_END();

I am cehcking for 18th oct high and low and then breakout of tht high and low on 19 th on 5 min time frame . But it is not giving any results though there are many cases. Can someone pls advise?

Thanks,
Sachin