H1:=EMA(C,8);
H2:=EMA(H1,20); VR1:=(HHV(H,36)-C)/(HHV(H,36)-LLV(L,36))*100; VR2:=SMA(VR1,5,1); VR3:=SMA(VR2,8,1); VAR4:=CROSS(VR2,VR3) AND VR3< 20; VAR5:=C>LLV(C,60)*1.13 AND VAR4; VAR6:=IF(C>200,VAR4,VAR5); HH2:=XMA(CLOSE,14); HH3:=MEMA(CLOSE,4); AA2:=MA(CLOSE,8); BB2:=(CLOSE-AA2)/AA2*10,COLORYELLOW; FF1:=MA(BB2,3),COLORGREEN; DRAWTEXT(CROSS(BB2,FF1) AND REF(HH2>HH3,1) AND REF(HH2>HH3,2) AND REF(HH2<HH3,3) AND HH2>HH3,4,'莊現(xiàn)'),COLORWHITE; T:=DMA((MA(L,4)+MA(L,6)+MA(L,12)+MA(L,24))/4,0.966); U:=T+2*STD(L,20); LO:=T-2*STD(L,20); S:=((U+T)/2-L)/L>0.3 AND ABS(L-LO)/L<0.3 AND L<T; CS:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100; YJD:=(EMA(CS,3)-50)*2,COLORRED; AA:=REF(CLOSE,1); BBB:=SMA(MAX(CLOSE-AA,0),5,1)/SMA(ABS(CLOSE-AA),5,1)*1000; HHH:=BBB-LLV(BBB,10); SS:=(MA(HHH,2)*3+HHH*13)/16; 短線買點(diǎn):=IF(SS>13,MA(SS,2),SS); 短J5:="KDJ.J"(5,3,3),COLORGRAY; VAR1A:=(2*CLOSE+HIGH+LOW)/4; VAR4A:=(HHV(HIGH,4)-VAR1A)/(HHV(HIGH,4)-LLV(LOW,4))*100-72; VAR5A:=(VAR1A-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100; VAR6A:=SMA(VAR5A,2,1); RSV1:=(HHV(H,9.8)-C)/(HHV(H,9.8)-LLV(L,9.8))*101; KK:=SMA(RSV1,3,1); DD:=SMA(KK,3,1); JJ:=3*KK-2*DD; WWQQ:=IF(JJ>=100,100,IF(JJ<=0,0,JJ)); 加分:=WWQQ,COLORWHITE,LINETHICK1; 加分反彈:=CROSS(99,加分); 短線買點(diǎn)反彈:=CROSS(短線買點(diǎn),21),COLORYELLOW; 短J5反彈:=CROSS(短J5,0),COLORBLUE; YJD反彈:=CROSS(YJD,-80),COLORGREEN; VAR1:=REF(CLOSE,1); VAR2:=SMA(MAX(CLOSE-VAR1,0),7,1)/SMA(ABS(CLOSE-VAR1),7,1)*100,COLORYELLOW; 買入:=FILTER(REF(VAR2,1)<20 AND VAR2>REF(VAR2,1),5); 任意反彈:=(短線買點(diǎn)反彈 OR 短J5反彈 OR YJD反彈 OR 加分反彈) AND 買入 AND C>O; STICKLINE(任意反彈,0,3,3,0),COLORRED; 選股公式: |
|