第一部分 副图公式 手机/电脑
CAIH1:=SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1);
CAIH2:=SMA((CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100,3,1);
CAIH3:=SMA((CAIH2-50)*2,3,1)+SMA((CAIH1-50)*2,3,1)/1;
趋势:SMA((CAIH2-50)*2,3,1)+SMA((CAIH1-50)*2,3,1)/1,COLORYELLOW,LINETHICK2;
顶线:150,DOTLINE,COLORGREEN;
底线:(-150),DOTLINE,COLORMAGENTA;
STICKLINE(CAIH3>(-100),CAIH3,100,0,0),COLOR323232;
STICKLINE(CAIH3<(-100),CAIH3,100,0,0),COLOR9F9F5F;
STICKLINE(CAIH3<(-100),CAIH3,(-100),1,0),COLORYELLOW;
STICKLINE(CAIH3<(-120),CAIH3,(-120),1,0),COLORFF2400;
STICKLINE(CAIH3<(-140),CAIH3,(-140),1,0),COLORMAGENTA;
STICKLINE(CAIH3100,CAIH3,100,1,0),COLORWHITE;
STICKLINE(CAIH3>120,CAIH3,120,1,0),COLORFF2400;
STICKLINE(CAIH3>140,CAIH3,140,1,0),COLORMAGENTA;
STICKLINE(CAIH3>150,CAIH3,150,1,0),COLORRED;
CAIH4:=LOW>MA(SLOPE(CLOSE,20)*5+CLOSE,10) AND LOW
CAIH5:=COUNT(CROSS(MA(CLOSE,10),MA(CLOSE,5)),5)>=1;
买牛:CROSS(CLOSE,REF(LLV(LOW,250/12),2)) AND CAIH4 AND CAIH5,NODRAW;
CAIH6:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);
试买:=CAIH6<=13,NODRAW,COLORCYAN;
STICKLINE(买牛,(-90),90,1,0),COLORRED;
CAIH7:=4*SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5,1),3.2,1);
CAIH8:=CROSS(CAIH7,8) AND 试买;
CAIH9:=LOW<=REFDATE(REF(LLV(LOW,150),3),DATE) AND 试买;
短买:CAIH8 OR CAIH9,NODRAW,COLOR0099FF;
STICKLINE(短买,(-60),20,3,0),COLOR0090FF;
STICKLINE(短买,(-55),15,1,(-1)),COLORRED;
CAIH10:=DMA((HIGH+LOW+CLOSE*2)/4.15,0.9);
CAIH11:=REF(EMA(CAIH10,3),1);
CAIH12:=KDJ.JREF(CLOSE,3);
CAIH13:=(CLOSE-MA(CLOSE,30))/MA(CLOSE,30)*100;
CAIH14:=CROSS(0,(CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100);
CAIH15:=CAIH13
CAIH16:=MA(CLOSE,10)>REF(MA(CLOSE,10),1);
CAIH17:=FILTER(CAIH14 AND CAIH15 AND CAIH16,10);
CAIH18:=(2*CLOSE+HIGH+LOW)/4;
CAIH19:=MA(EMA((CAIH18-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100,5),1);
CAIH20:=REF(CAIH17,2) AND CROSS(CLOSE,EMA(CLOSE,5));
CAIH21:=CAIH19>REF(CAIH19,1) AND REF(CAIH19,1)
CAIH22:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
CAIH23:=IF(CLOSE>OPEN,CAIH22*(HIGH-LOW),IF(CLOSE
CAIH24:=IF(CLOSE>OPEN,CAIH22*(HIGH-CLOSE+(OPEN-LOW)),IF(CLOSE
CAIH25:=KDJ.JCAIH24*6 AND CAIH25;
CAIH27:=CROSS(CLOSE,CAIH11) AND CAIH12;
CAIH28:=CAIH20 AND CAIH21;
起爆:试买 AND (CAIH26 OR CAIH27 OR CAIH28),NODRAW,COLORRED;
STICKLINE(起爆,0,70,3,0),COLORRED;
DRAWTEXT(起爆,40,1207),COLORYELLOW;
DRAWTEXT(短买,(-20),1208),COLORWHITE;
DRAWTEXT(买牛,60,1210),COLORWHITE;
第二部分 选股公式 |