My code might be a little different (and btw, I did actually trade that name on that day). Here’s how I wrote it:
ATR1 = ATR(10);
RSI1 = RSI(2);
Uptrend = C > MA(C, 100);
Triggerx = RSI1 < 10;
BuyLim = L – (ATR1*0.5);
Cond1 = Uptrend;
Cond2 = Triggerx;
Cond3 = IndexUp AND OptFilt AND HDBFilter;
BuySetUp = Cond1 AND Cond2 AND Cond3;
…got to get back to washing windows!