N:=9;M1:=3;M2:=3;P:=9;
通达信:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100;
K:=SMA(通达信,M1,1),COLORRED,LINETHICK2;
D:=SMA(K,M2,1),COLOR00FF00;
监测主力资金:=P*(3*D-2*K),COLOR00FF00;
J:=((3 * K) - (2 * D));
进出买卖点:= CROSS(K,D) AND K<20;
指标公式:= CROSS(D,K) AND D>80;
eeddd2:=REF(LOW,1);{通达信公式-通达信指标www.gs6699.com}
eeddd3:=SMA(ABS(LOW-eeddd2),3,1)/SMA(MAX(LOW-eeddd2,0),3,1)*100;
eeddd4:=EMA(IF(CLOSE*1.3,eeddd3*10,eeddd3/10),3);
eeddd5:=LLV(LOW,30);
eeddd6:=HHV(eeddd4,30);
eeddd7:=IF(MA(CLOSE,58),1,0);
eeddd8:=EMA(IF(LOW<=eeddd5,(eeddd4+eeddd6*2)/2,0),3)/618*eeddd7;
eeddd9:=IF(eeddd8>100,100,eeddd8);
ssss1:STICKLINE(eeddd9>-120,0,eeddd9,6,1),COLORF00FF0;
ssss2:(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,COLORFF937F;
ssss3:SMA(ssss2,M1,1),COLORRED,LINETHICK2;
ssss4:SMA(ssss3,M2,1),COLOR00FF00;
ssss5:IF(BARSLAST(CROSS(ssss3,ssss4))<P AND BARSLAST(CROSS(ssss4,ssss3))<P AND CROSS(ssss3,ssss4) AND ssss3<20,90,0),STICK,COLORFF937F;
STICKLINE(ssss5,0,90,6,1),LINETHICK4,STICK,COLORFF937F;
BB:=IF(BARSLAST(CROSS(ssss3,ssss2))>=3 AND CROSS(ssss2,ssss3) AND ssss3<30,20,0);
ssss6:STICKLINE(BB,0,20,7,1),COLORYELLOW;
AA:=IF(BARSLAST(CROSS(ssss2,ssss3))>=4 AND CROSS(ssss3,ssss2) AND ssss2>50,20,0);
ssss9:STICKLINE(AA,80,100,7,1),COLOR00FF00;