// Downloaded From https://www.WiseStockTrader.com
EMP_1_Day=(HHV(H,1)-LLV(L,1))<(Ref(HHV(H,2), -1)-Ref(LLV(L,2), -1)) AND (HHV(H,1)-LLV(L,1))<(Ref(HHV(H,3), -2)-Ref(LLV(L,3), -2)) AND (HHV(H,1)-LLV(L,1))<(Ref(HHV(H,4), -3)-Ref(LLV(L,4), -3)) AND High<Ref(High,-1) AND Low>Ref(Low,-1);
EMP_1_DayCOLOR=IIf(EMP_1_Day,colorBrightGreen,colorWhite);

Filter = 1;

AddColumn(EMP_1_Day,"EMP_1_Day",1,colorBlack,EMP_1_Daycolor);