第一部分 副图公式 手机/电脑
升线:EMA(C,3),COLORYELLOW,LINETHICK2;
降线:EMA(C,5),COLOR00FF00,LINETHICK2;
中线:EMA(降线,5),COLORWHITE,LINETHICK2;
CAIH1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
CAIH2:=REF(CAIH1,1);
CAIH3:=SMA((CLOSE-CAIH2),6,1)/SMA(ABS(CLOSE-CAIH2),6,1)*100;
CAIH4:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
CAIH5:=EMA(0.667*REF(CAIH4,1)+0.333*CAIH4,5);
CAIH6:=IF(VOL>=1.3*MA(VOL,5) AND COUNT(CAIH4>=CAIH5 AND CAIH4<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0);
CAIH7:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
CAIH8:=SMA(MAX(CAIH1-CAIH2,0),10,1)/SMA(ABS(CAIH1-CAIH2),10,1)*100;
CAIH9:=IF(COUNT(CAIH8=1 AND COUNT(CAIH1=LLV(CAIH1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWICON(FILTER(REF(CAIH3,1)>81 AND CAIH381 AND CAIH3=REF(中线,1)AND CAIH3=1.3*MA(VOL,5) AND COUNT(CAIH4>=CAIH5 AND CAIH4<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0);
CAIH7:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
CAIH8:=SMA(MAX(CAIH1-CAIH2,0),10,1)/SMA(ABS(CAIH1-CAIH2),10,1)*100;
CAIH9:=IF(COUNT(CAIH8=1 AND COUNT(CAIH1=LLV(CAIH1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
{DRAWTEXT(FILTER(CAIH9 OR CAIH6,5),LOW,'买'),COLORRED}
买:FILTER(CAIH9 OR CAIH6,5);
{选股公式二:红箭头图标}
升线:=EMA(C,3),COLORYELLOW,LINETHICK2;
降线:=EMA(C,5),COLOR00FF00,LINETHICK2;
中线:=EMA(降线,5),COLORWHITE,LINETHICK2;
CAIH1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
CAIH2:=REF(CAIH1,1);
CAIH3:=SMA((CLOSE-CAIH2),6,1)/SMA(ABS(CLOSE-CAIH2),6,1)*100;
{DRAWICON(FILTER(CROSS(升线,降线)AND 中线>=REF(中线,1)AND CAIH3=REF(中线,1)AND CAIH3<50,5);
|