副图公式源码支持 手机/电脑
GUA:=(2*C+H+L)/4;
GUB:=LLV(L,5);
GUC:=HHV(H,5);
红线:EMA((GUA-GUB)/(GUC-GUB)*27,5),COLORRED;
绿线:EMA(红线,3),COLORGREEN;
抄底:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0),LINETHICK1,COLORFF00FF;
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
DRAWICON(CROSS(J,REF(J+0.01,1)) AND X AND J<19,4,1),COLORRED;
GUPA:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
GUPB:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
GUPC:=SMA(GUPB,13,8);
GUPD:=SMA(GUPA,21,8);
机会:=SMA(GUPC,13,8),COLORRED;
AA:=FILTER((COUNT((机会-GUPD<(-65)),3)=3),34);
波段建仓:IF(AA,15,0),COLORFFFFFF,STICK,LINETHICK2;
DRAWTEXT(波段建仓,17,'波段建仓'),COLORFFFFFF;
选股公式源码
{选股公式一:波段建仓}
GUPA:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
GUPB:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
GUPC:=SMA(GUPB,13,8);
GUPD:=SMA(GUPA,21,8);
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
机会:=SMA(GUPC,13,8),COLORRED;
AA:=FILTER((COUNT((机会-GUPD<(-65)),3)=3),34);
波段建仓:IF(AA,15,0),COLORFFFFFF,LINETHICK2;
{选股公式二:抄底}
GUA:=(2*C+H+L)/4;
GUB:=LLV(L,5);
GUC:=HHV(H,5);
抄底:IF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5))/MA(C,5)>0.04,23,0),LINETHICK1,COLORFF00FF;
{选股公式三:红箭头图标}
GUA:=(2*C+H+L)/4;
GUB:=LLV(L,5);
GUC:=HHV(H,5);
RSV:=(((CLOSE - LLV(LOW,9)) / (HHV(HIGH,9) - LLV(LOW,9))) * 100);
K:=SMA(RSV,3,1);
D:=SMA(K,3,1);
J:=3*K-2*D;
X:=LLV(J,2)=LLV(J,8);
GUPA:=((HHV(HIGH,21)-CLOSE)/(HHV(HIGH,21)-LLV(LOW,21)))*(100)-10;
GUPB:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21)))*(100);
GUPC:=SMA(GUPB,13,8);
GUPD:=SMA(GUPA,21,8);
红箭头图标:CROSS(J,REF(J+0.01,1)) AND X AND J<19; |