第一部分 副图公式 手机/电脑
CAIH2:=REF(LOW,1);
CAIH3:=SMA(ABS(LOW-CAIH2),13,1)/SMA(MAX(LOW-CAIH2,0),13,1)*100;
CAIH4:=EMA(IF(CLOSE*1.2,CAIH3*13,CAIH3/13),13);
CAIH5:=LLV(LOW,34);
CAIH6:=HHV(CAIH4,34);
CAIH7:=IF(LLV(LOW,55),1,0);
CAIH8:=EMA(IF(LOW<=CAIH5,(CAIH4+CAIH6*2)/2,0),3)/618*CAIH7;
CAIH11:=EMA(IF(LOWREF(CAIH8,1),0,CAIH8,2,0),COLOR10FFFF;
STICKLINE(CAIH11>REF(CAIH11,1),0,CAIH11,4,1),COLORFFF810;
DRAWICON(CAIH11>REF(CAIH11,1) AND CROSS(CAIH11,CAIH12),CAIH11,9);
40,POINTDOT;
VA:=(C+2*H+L)/4;VB:=LLV(L,8);VC:=HHV(H,8);
VD:=EMA(((VA-VB)/(VC-VB)-VC/VB)*81,5)*-1;
红线上穿买:REVERSE(VD)+100,COLORRED;
红线下穿卖:EMA(红线上穿买,3),COLORFFFF00;
DRAWBAND(红线上穿买,RGB(150,030,030),红线下穿卖,RGB(20,150,20));
IF(红线上穿买>=红线下穿卖,红线上穿买,DRAWNULL),COLORLIMAGENTA,LINETHICK2;
IF(红线上穿买90,90,好机会,2,0),COLORCYAN;
IF(好机会>=REF(好机会,1),好机会,DRAWNULL),COLORCC33CC,LINETHICK2;
中线:EMA(好机会,55),COLOR9933FF,LINETHICK2;
IF(中线
AAS:=FILTER((COUNT((好机会-CHA1D<(-65)),3)=3),34);
波段买:IF(AAS,15,0),COLORFFFFFF,NODRAW;
DRAWTEXT(AAS,32,'波段买'),COLORFFFFFF;
STICKLINE(AAS,0,31,0.3,0),COLORMAGENTA;
DRAWICON(CROSS(好机会,CHA1D),好机会,38);
第二部分 选股公式 |