Hi amitsh27
If you are using Amibroker here is an exploration code to find NR7 in real time.
AFL Code(blue lines only):-
Filter=
H-L==LLV(H-L,7)
AND (EMA(C,20)>HHV(H,7)OR EMA(C,20)<LLV(L,7 ));
AddColumn(H-L,"R0",1.2);
AddColumn(Ref(H,-1)-Ref(L,-1),"R1",1.2);
AddColumn(Ref(H,-2)-Ref(L,-2),"R2",1.2);
AddColumn(Ref(H,-3)-Ref(L,-3),"R3",1.2);
AddColumn(Ref(H,-4)-Ref(L,-4),"R4",1.2);
AddColumn(Ref(H,-5)-Ref(L,-5),"R5",1.2);
AddColumn(Ref(H,-6)-Ref(L,-6),"R6",1.2);
AddColumn(HHV(H,7),"HH",1.2);
AddColumn(EMA(C,20),"EMA20",1.2);
thanks
pkj