副图公式源码支持: 手机/电脑
多方:EMA(C,3),COLORYELLOW;
空方:EMA(C,5),COLOR00FF00;
平衡:EMA(空方,5),COLORWHITE,;
GUF1:=COUNT(CROSS(多方,平衡),2)=1;
GUF2:=COUNT(CROSS(空方,平衡),2)=1;
GUF3:=FILTER(GUF1 AND GUF2,2);
DRAWTEXT(GUF3,平衡,'击'),COLORFF00FF;
GUV2:=REF(CLOSE,1);
GUV3:=SMA((CLOSE-GUV2),6,1)/SMA(ABS(CLOSE-GUV2),6,1)*100;
DRAWICON(REF(GUV3,1)>81 AND GUV3<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;
GUPA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
GUPB:=EMA(0.667*REF(GUPA,1)+0.333*GUPA,5);
DRAWTEXT(IF(VOL>=1.3*MA(VOL,5) AND COUNT(GUPA>=GUPB AND GUPA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'★注意买入');
GUPR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,GUPR1),HIGH*1.05,2);
GUP1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
GUP2:=REF(GUP1,1);
GUP3:=SMA(MAX(GUP1-GUP2,0),10,1)/SMA(ABS(GUP1-GUP2),10,1)*100;
HY3:=IF(COUNT(GUP3<20,5)>=1 AND COUNT(GUP1=LLV(GUP1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
DRAWTEXT(HY3,LOW*0.90,'攻'),COLORRED;
选股公式源码:
{选股公式一:攻}
GUP1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
GUP2:=REF(GUP1,1);
GUP3:=SMA(MAX(GUP1-GUP2,0),10,1)/SMA(ABS(GUP1-GUP2),10,1)*100;
HY3:=IF(COUNT(GUP3<20,5)>=1 AND COUNT(GUP1=LLV(GUP1,10),10)>=1 AND CLOSE>=OPEN*1.038 AND VOL>MA(VOL,5)*1.2,1,0);
攻:HY3;
{选股公式二:击}
多方:=EMA(C,3),COLORYELLOW;
空方:=EMA(C,5),COLOR00FF00;
平衡:=EMA(空方,5),COLORWHITE,;
GUF1:=COUNT(CROSS(多方,平衡),2)=1;
GUF2:=COUNT(CROSS(空方,平衡),2)=1;
GUF3:=FILTER(GUF1 AND GUF2,2);
击:GUF3;
{选股公式三:底}
VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
底: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);
{选股公式四:注意买入}
GUPA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
GUPB:=EMA(0.667*REF(GUPA,1)+0.333*GUPA,5);
注意买入:IF(VOL>=1.3*MA(VOL,5) AND COUNT(GUPA>=GUPB AND GUPA<-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0); |