|
发表于 2020-4-21 21:39:56
|
显示全部楼层
{HMFN---1A}
MA1:=EMA(C,3);
MA2:=EMA(C,5);
MA3:=EMA(C,7);
MA4:=EMA(C,12);
X:=(3*C+L+O+H)/6;
DKX:=(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*REF(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;
TJ1:=CROSS(C,DKX);
ZZNG:=EMA(EMA(CLOSE,13),13);
KP:= (ZZNG-REF(ZZNG,1))/REF(ZZNG,1)*1000;
YZKP:=KP>REF(KP,1) AND KP>0,COLORRED;
TJ2:=YZKP AND CROSS(MA1,MA2) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(MA1,MA4) AND C>O AND C>REF(C,1)
AND C/REF(C,1)>=1.018 OR CROSS(MA2,MA3) AND C>O AND C>REF(C,1) AND C/REF(C,1)>=1.018 OR CROSS(MA1,MA3) AND C>O AND
C>REF(C,1) AND C/REF(C,1)>=1.018 AND CROSS(MA1,MA4);
DIF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);
DEA:=EMA(DIF,9);
AA:=(DIF-DEA)*2*60;
BB:={IF(}AA>REF(AA,1){,AA,DRAWNULL)};
CC:=AA-REF(AA,1);
TJ3:=CROSS(AA,0) AND CROSS(CC,0) AND CC/BB>1;
TJ1 AND TJ2 AND TJ3; |
|