通达信【多方牛底买入】副图指标 ★底显☆ ★注意买入 源码分享
{技术指导:好公式网www.goodgongshi.com}
多方:EMA(C,3),COLORYELLOW;
空方:EMA(C,5),COLOR00FF00;
平衡:EMA(空方,5),COLORWHITE,;
ZQWDF1:=COUNT(CROSS(多方,平衡),2)=1;
ZQWDF2:=COUNT(CROSS(空方,平衡),2)=1;
ZQWDF3:=FILTER(ZQWDF1 AND ZQWDF2,2);
DRAWTEXT(ZQWDF3,平衡,'击'),COLORFF00FF;
ZQWDV2:=REF(CLOSE,1);
ZQWDV3:=SMA((CLOSE-ZQWDV2),6,1)/SMA(ABS(CLOSE-ZQWDV2),6,1)*100;
DRAWICON(REF(ZQWDV3,1)>81 AND ZQWDV3<80,HIGH,2);
VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
DRAWTEXT(IF(CLOSE<VF1 AND VOL/240>MA(VOL,5)/240 AND CLOSE>=REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),H,'★底显☆'),COLORRED;
ZQWDPA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
ZQWDPB:=EMA(0.667*REF(ZQWDPA,1)+0.333*ZQWDPA,5);
DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(ZQWDPA>=ZQWDPB AND ZQWDPA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'★注意买入');
ZQWDPR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,ZQWDPR1),HIGH*1.05,2);
ZQWDP1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
ZQWDP2:=REF(ZQWDP1,1);
ZQWDP3:=SMA(MAX(ZQWDP1-ZQWDP2,0),10,1)/SMA(ABS(ZQWDP1-ZQWDP2),10,1)*100;
GOODGONGSHICOM:=IF(COUNT(ZQWDP3<20,5)>=1 AND COUNT(ZQWDP1=LLV(ZQWDP1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWTEXT(GOODGONGSHICOM,LOW*0.90,'攻'),COLORRED;
联系客服