波谷:IF(BARSLAST(FILTER((FILTER(REF(C,10)=HHV(C,2*10+1),10),10+1),20))>BARSLAST(FILTER((FILTER(REF(C,10)=LLV(C,2*10+1),10),10+1),10)) AND NOT(FILTER((FILTER(REF(C,10)=LLV(C,2*10+1),10),10+1),10))>=1,REF(C,BARSLAST(FILTER((FILTER(REF(C,10)=LLV(C,2*10+1),10),10+1),10))),DRAWNULL),COLOR00FFFF;
STICKLINE(C>O AND L<波谷 AND C>波谷,C,O,2,0),COLORYELLOW;