副图公式源码支持:手机/电脑
GUP1:=(C*2+H+L)/4*10;
GUP2:=EMA(GUP1,13)-EMA(GUP1,34);
GUP3:=EMA(GUP2,5);
GUP4:=2*(GUP2-GUP3)*5.5;
主力出:IF(GUP4<=0,GUP4,0),COLOR00FF00,LINETHICK2;
主力进:IF(GUP4>=0,GUP4,0),COLORFF00FF,LINETHICK2;
GUP8:=(INDEXC*2+INDEXH+INDEXL)/4;
GUP9:=EMA(GUP8,13)-EMA(GUP8,34);
GUP10:=EMA(GUP9,3);
GUP11:=(GUP9-GUP10)/2;
资金进:IF(GUP11>=0,GUP11,0),COLORYELLOW,LINETHICK2;
资金出:IF(GUP11<=0,GUP11,0),COLORBLUE,LINETHICK2;
GUB6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-
LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUB7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV
(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUB8:=GUB6<REF(GUB7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
DRAWTEXT(GUB8 AND COUNT(GUB8,30)=1,20,'★筹码攻击'),COLORRED;
选股公式源码
{选股公式:筹码攻击}
GUB6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-
LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUB7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV
(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
GUB8:=GUB6<REF(GUB7,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
筹码攻击:GUB8 AND COUNT(GUB8,30)=1;
|