副图公式源码支持: 手机/电脑
主力线:3*SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1)-2*SMA(SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1),3,1),COLORYELLOW;
主力逃:IFF(主力线>=90,90,100),COLORGREEN;
LOWV:=LLV(C,15);HIGHV:=HHV(C,15);
RSV:=EMA((C-LOWV)/(HIGHV-LOWV)*100,3);
K:=EMA(RSV,3);
TJ1:=REF(主力线<=10,1) AND K>REF(K,1);
GUA1:=IFF(主力线<=10,10,0);
GUP1:=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);
TJ2:=IFF(CROSS(GUP1,8),80,0);
GUA2:=IFF(GUP1<=8,25,0);
GUP2:=REF(LOW,1);
GUP3:=SMA(ABS(LOW-GUP2),3,1)/SMA(MAX(LOW-GUP2,0),3,1)*100;
GUP4:=EMA(IFF(CLOSE*1.3,GUP3*10,GUP3/10),3);
GUP5:=LLV(LOW,13);GUP6:=HHV(GUP4,13);
GUP7:=IFF(MA(CLOSE,34),1,0);
GUP8:=EMA(IFF(LOW<=GUP5,(GUP4+GUP6*2)/2,0),3)/618*GUP7;
GUP9:=IFF(GUP8>100,100,GUP8);
GUA3:=CROSS(GUP9>20,0.5);
快:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
慢:=SMA(快,3,1);空:=SMA(慢,3,1);
TJ3:=IFF(BARSLAST(CROSS(慢,空))<9 AND CROSS(慢,空) AND 慢<20,90,0);
吸筹:IFF(GUA1 OR GUA2 OR GUA3,18,0),LINETHICK5,STICK,COLORLIRED;
牛股攻击:IFF(CROSS(TJ1,0.5) OR TJ2 OR TJ3,58,0.0),LINETHICK5,STICK,COLORRED;
选股公式
{选股公式:牛股攻击}
主力线:=3*SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1)-2*SMA(SMA((C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100,5,1),3,1),COLORYELLOW;
LOWV:=LLV(C,15);HIGHV:=HHV(C,15);
RSV:=EMA((C-LOWV)/(HIGHV-LOWV)*100,3);
K:=EMA(RSV,3);
TJ1:=REF(主力线<=10,1) AND K>REF(K,1);
GUA1:=IFF(主力线<=10,10,0);
GUP1:=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);
TJ2:=IFF(CROSS(GUP1,8),80,0);
快:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
慢:=SMA(快,3,1);空:=SMA(慢,3,1);
TJ3:=IFF(BARSLAST(CROSS(慢,空))<9 AND CROSS(慢,空) AND 慢<20,90,0);
牛股攻击:CROSS(TJ1,0.5) OR TJ2 OR TJ3,COLORRED;
|