is't the rule for perfection that Low on 8/9 should be lowest of them all (1-7)
i.e.
Min(L, Ref(L,-1)) < Ref(LLV(L,7),-2)
or
Max(H, Ref(H,-1)) > Ref(HHV(H,7),-2)
Happy
i.e.
Min(L, Ref(L,-1)) < Ref(LLV(L,7),-2)
or
Max(H, Ref(H,-1)) > Ref(HHV(H,7),-2)
Happy
Corrected for line 6 & 7,
low & high are both changed to Close.
Basically in TD Buy, ideally, 8 & 9 should close lower than 1-7
TD Sell, ideally, 8 & 9 should close higher than 1-7