追:REF(INDEXC,1)=REF(C,1) AND REF(O,1)/REF(C,1)>=1.05 ;
三角选:
MA5:=MA(CLOSE,5);
TYP:=(H+L+C)/3;
TYP1:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14))<=20 AND REF(MA(C,21),1)
TJ3:=REF(MA(C,250),90)MA(C,250) AND O>MA(C,250);
TOUJI:=TYP1 AND TJ1 AND TJ2 AND REF(C,2)/REF(O,2)<1.06 AND C/O<=1.05 AND HHV(H,5)/LLV(L,30)>=1.65 AND REF(H,5)/REF(L,1)>=1.15 AND REF(C,1)/REF(O,1)<=0.995 AND (L=2) AND O/REF(L,1)<=1.04OR TYP1 AND TJ1 AND O/REF(L,1)<1.05 AND REF(L,1)/REF(O,4)<=0.85 AND REF(C,1)/REF(O,1)<=1.03 AND O1.35 AND V
DATOUJI1:=TYP1 AND TJ3 AND OTOUJI OR TOUJI2 OR DATOUJI OR DATOUJI1;
一楼已经回答了