第一部分 副图公式 手机/电脑
A:70;B:90;
CHA1:=5*SMA((CLOSE- LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),2,1),NODRAW;
CHA2:=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),NODRAW;
DRAWBAND(CHA1,RGB(150,030,030),CHA2,RGB(20,150,20));
IF(CHA1>=CHA2,CHA1,DRAWNULL),COLORLIMAGENTA,LINETHICK2;
IF(CHA1
M1:=EMA(MA(CHA1,5),3);
STICKLINE(CHA1>100 AND CHA1>=M1,CHA1,100,3,1),COLORF0F000;
STICKLINE(CHA1<0 AND CHA1<=M1,CHA1,0,3,1),COLORLIGRAY;
底:=LLV(CHA1,2)=LLV(CHA1,8);
进:=IF(CROSS(CHA1,REF(CHA1+0.01,1)) AND 底 AND CHA1<0,20,0);
STICKLINE(CHA1<0 AND CHA1
CAIH1:=REF(LOW,1);
CAIH2:=SMA(ABS(LOW-CAIH1),3,1)/SMA(MAX(LOW-CAIH1,0),3,1)*100;
CAIH3:=EMA(IF(CLOSE*1.2,CAIH2*10,CAIH2/10),3);
CAIH4:=LLV(LOW,38);
CAIH5:=HHV(CAIH3,38);
CAIH6:=IF(LLV(LOW,90),1,0);
CAIH7:=EMA(IF(LOW=100,100,CAIH7);
吸:CAIH71,COLOR0000FF;
吸筹1:STICKLINE(CAIH71,0,CAIH71,6,0),COLOR0000FF;
吸筹2:STICKLINE(CAIH71,0,CAIH71,5,0),COLOR6600FF;
吸筹3:STICKLINE(CAIH71,0,CAIH71,4,0),COLORBB00FF;
吸筹4:STICKLINE(CAIH71,0,CAIH71,3,0),COLORFF00FF;
吸筹5:STICKLINE(CAIH71,0,CAIH71,2,0),COLORFF33FF;
吸筹6:STICKLINE(CAIH71,0,CAIH71,1,0),COLORFF66FF;
吸筹7:STICKLINE(CAIH71,0,CAIH71,0,0),COLORFF99FF;
RSV:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100;
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
入:=(CROSS(K,D) AND K<30);
买:=入 AND FILTER(入,10);
STICKLINE(CROSS(CHA2,2),0,15,1,0),COLORWHITE;
STICKLINE(CHA2<=10,0,8,2,0),COLORLIGREEN;
STICKLINE(CHA110,10,13);
DRAWICON(CROSS(CHA2,11),-3,38);
选:=LAST(CHA2REF(CHA2,1) AND CHA2>15;
DRAWICON(选,-11,1);
第二部分 选股公式 |