第一部分 副图公式 手机/电脑
M2:=EMA(CLOSE,8);M3:=EMA(M2,13);M4:=EMA(M2,55);
CAIH1A:=EMA(M3,55);
CAIH2A:=(REF(HIGH,1)+REF(LOW,1))/2;
CAIH3A:=MA(CLOSE,21)+2*STD(CLOSE,21);
A7:=(2*C+H+L)/4;
SK:=EMA((A7-CAIH1A)/(CAIH2A-CAIH1A)*100,7);
SD:=EMA(0.667*REF(SK,1)+0.333*SK,5);
买:=(COUNT(CLOSE 6/10 AND VOL>=1.5*MA(VOL,5) AND
COUNT(SK>=SD,3) AND REF(LOW,1)=LLV(LOW,120));
买1:=(COUNT(CLOSE6/10 AND
COUNT(SK>SD,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND
REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND
OPEN>REF(CLOSE,1));
买进:买 OR 买1;
CAIH1B:=(HIGH+LOW+OPEN+2*CLOSE)/5;
CAIH2B:=REF(CAIH1B,1);
CAIH3B:=SMA((CLOSE-CAIH2B),6,1)/SMA(ABS(CLOSE-CAIH2B),6,1)*100;
CAIH4B:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
CAIH5B:=EMA(0.667*REF(CAIH4B,1)+0.333*CAIH4B,5);
CAIH6B:=IF(VOL>=1.3*MA(VOL,5) AND COUNT(CAIH4B>=CAIH5B AND CAIH4B<-17,3) AND REF(LOW,1)=LLV (LOW,120),1,0);
CAIH7B:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
CAIH8B:=SMA(MAX(CAIH1B-CAIH2B,0),10,1)/SMA(ABS(CAIH1B-CAIH2B),10,1)*100;
CAIH9B:=IF(COUNT(CAIH8B=1 AND COUNT(CAIH1B=LLV(CAIH1B,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWTEXT(FILTER(CAIH9B OR CAIH6B,5),20,'买入关注'),COLORGREEN;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趋势线:EMA(V11,3),LINETHICK2,COLORLIMAGENTA;
V12:=(趋势线-REF(趋势线,1))/REF(趋势线,1)*100;
准备买:STICKLINE(趋势线89,趋势线,89,5,0),COLORWHITE;
顶:89;
底:11,COLORRED;
中:50,POINTDOT,COLORWHITE;
CAT1:=CROSS(EMA(C,13),EMA(C,34));
CAK1:=EMA(C,13)>EMA(C,55) AND EMA(C,34)>EMA(C,55);
CAK:=CAT1 AND CAK1;
DRAWTEXT(CAK,22,'加仓'),COLORADEAEA;
第二部分 选股公式 |