3、DC>=REF(C,2)ORREF(C,2)=LLV(C,4)ANDREF(C,1)<=REF(C,3)ANDREF(C,2)[=REF(C,1);VAR4:=VAR1>REF(VAR1,1)ANDREF(VAR1,1)][HHV(VAR1,13)ANDCLOSE>REF(C,1)ANDCLOSE>OPEN;VAR6:=VAR5ANDCOUNT(VAR4,2);VAR7:=VAR6ANDNOT(REF(VAR6,1));VAR8:=100*EMA(]
4、EMA(C-REF(C,1),6),6)/EMA(EMA(ABS(C-REF(C,1)),6),6);VAR9:=EMA(MA(C,13),13);VAR10:=FILTER((LLV(VAR8,2)=LLV(VAR8,7)ANDCOUNT(VAR8<0,2)ANDCROSS(VAR8,MA(VAR8,2)))=1,5);VAR11:=SMA(EMA((C-REF(C,1))/REF(C,1),5)*100,3,1)*10;VAR12:=FILTER(((CROSS(VAR11,0)ORCROSS(C,VAR9))ANDVAR10)=1,3);VAR13
5、:=MA(C,18)>=REF(MA(C,18),3)ANDCROSS(C,MA(C,18));RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;金叉:=CROSS(J,D);死叉:=CROSS(D,J);买1:=(VAR12ORVAR13)ANDVAR10;买2:=(VAR12ORVAR13)ANDVAR3;买3:=(VAR12ORVAR13)ANDVAR2;买4:=(VAR2ANDVAR10)OR(VAR3ANDV
6、AR10);买5:=(金叉ANDVAR3)OR(金叉ANDVAR2)OR(金叉ANDVAR10);ST:=EXIST(C/REF(C,1)>1.06,50);输出:=(买1OR买2OR买3OR买4OR买5ORVAR7)ANDST;MA5:=MA(C,5),COLORWHITE;X:=(3*C+L+O+H)/6;多空线:=(20*X+19*REF(X,1)+18*REF(X,2)+17*REF(X,3)+16*REF(X,4)+15*REF(X,5)+14*REF(X,6)+13*REF(X,7)+12*REF(X,8)+11*REF(X,9)+10*RE
7、F(X,10)+9*REF(X,11)+8*REF(X,12)+7*REF(X,13)+6*REF(X,14)+5*REF(X,15)+4*REF(X,16)+3*REF(X,17)+2*REF(X,18)+REF(X,20))/210,COLORFF00FF,LINETHICK1;AB:=DRAWLINE(HIGH>=HHV(HIGH,10),HIGH,LOW<=LLV(LOW,3),HHV(HIGH,3),1),COLORYELLOW;CROSS(MA5,多空线)andCROSS(C,AB)and输出;点石成金(选股公式)KS13:=(CLOSE-M
8、A(CLOSE,13))/MA(CLOSE,13)*(-100);RSV:=(C