第一部分 副图公式 手机/电脑
CHA1:=(CLOSE-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
CHA2:=SMA(CHA1,3,1);
小牛:=SMA(CHA2,2,1);
大牛:=SMA(小牛,5,1);
DRAWBAND(大牛,RGB(0,104,154),小牛,RGB(255,0,0));
STICKLINE(小牛>=大牛,大牛,小牛,3,0),COLOR000085;
STICKLINE(小牛70,50,'卖'),COLORGREEN;
CHA3:=(CLOSE-LLV(LOW,11))/(HHV(HIGH,11)-LLV(LOW,11))*200-60;
小马:SMA(CHA3,3,1),COLORYELLOW;
大马:=SMA(小马,3,1),COLORRED;
DRAWBAND(大马,RGB(0,128,0),小马,RGB(255,97,0));
DRAWTEXT(CROSS(大马,小马)AND 小马>78,小马,'←快卖');
AF:= EMA(CLOSE,12) - EMA(CLOSE,26);
DEA:=EMA(AF,9);
MACD:=1000* (2*(AF-DEA))/EMA(C,30);
CAIHA:=EMA(REF(CLOSE,1),4);
CAIH1:=(SMA(MAX(CLOSE-CAIHA,0),6,1)/SMA(ABS(CLOSE-CAIHA),6,1)*100);
CAIH2:=FILTER(MACDREF(MACD,1) AND CAIH1<20,5);
CAIH3:=CROSS(CAIH1,90);
准备:IF(CAIH1<3.5,15,0),COLORCYAN,LINETHICK2;
DRAWTEXT(CAIH1<3.5,7,'准备'),COLORCYAN;
买进:IF(CAIH2,20,0),COLORMAGENTA,LINETHICK3;
DRAWTEXT(CAIH2,10,'买进'),COLORRED;
CAIH4:=LLV(LOW,10);
CAIH5:=HHV(H,25);
CAIH6:=EMA((C-CAIH4)/(CAIH5-CAIH4)*4,4);
DRAWTEXT(CROSS(3.5,CAIH6),110,'急卖');
致富:STICKLINE(CROSS(CAIH6,0.3),-50,-30,3,0), COLOR00AAFF,LINETHICK1;
STICKLINE(CROSS(CAIH6,0.3),-40,-30,3,0),COLORRED,LINETHICK1;
DRAWTEXT(CROSS(CAIH6,0.3),-45,'致富'),COLORMAGENTA;
发家:STICKLINE(CROSS(3.5,CAIH6),100,120,2,0), COLORRED,LINETHICK2;
STICKLINE(CROSS(3.5,CAIH6),110,120,2,0),COLORYELLOW,LINETHICK2;
DRAWTEXT(CROSS(3.5,CAIH6),90,'发家'),COLORYELLOW;
马影:=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);
牛飞:IF(马影<=10,-20,-40),COLOR0000FF,LINETHICK2;
第二部分 选股公式 |