以下是通达信双底(源码贴图说明)
HX1:=REF(H,20)=HHV(H,2*20+1);
HX2:=FILTER(HX1,20);
HX3:=BACKSET(HX2,20+1);
HX4:=FILTER(HX3,20);
前高:=REF(H,BARSLAST(HX4));
T:=REF(BARSLAST(H=前高),1);
T1:=REF(BARSLAST(H=前高),T+2);
双底:CROSS(C,前高) AND REF(前高,T+2)>前高 AND LLV(L,T)>REF(LLV(L,T1),T+2) AND REF(HHV(H,T-1),1)<前高 AND (HHV(H,100)-C)/HHV(H,100)*100>10;