副图公式源码支持 手机/电脑
GUP1:=HHV(HIGH,9)-LLV(LOW,9);
GUP2:=HHV(HIGH,9)-CLOSE;
GUP3:=CLOSE-LLV(LOW,9);
GUP4:=GUP2/GUP1*100-70;
GUP5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
GUP6:=(2*CLOSE+HIGH+LOW)/4;
GUP7:=SMA(GUP3/GUP1*100,3,1);
GUP8:=LLV(LOW,34);
GUP9:=SMA(GUP7,3,1)-SMA(GUP4,9,1);
GUAA:=IF(GUP9>100,GUP9-100,0);
GUAB:=HHV(HIGH,34);
GUAC:=EMA((GUP6-GUP8)/(GUAB-GUP8)*100,13);
GUAD:=EMA(0.667*REF(GUAC,1)+0.333*GUAC,2);
趋势线:EMA(GUAD,1),COLORYELLOW;
GUB1:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1);
GUB2:=20;
转强:IF(CROSS(GUB1,GUB2),50,0),COLORRED,STICK,LINETHICK3;
拉升:IF(CROSS(GUAC,趋势线) AND GUAC>GUAD AND GUAC<55 AND C>O,50,0),COLORFF00FF,STICK,LINETHICK3;
GUB3:=LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100);
底涨:IF(GUB3,50,0),COLORLIRED,STICK,LINETHICK3;
选股公式源码
{选股公式一:拉升}
GUP1:=HHV(HIGH,9)-LLV(LOW,9);
GUP2:=HHV(HIGH,9)-CLOSE;
GUP3:=CLOSE-LLV(LOW,9);
GUP4:=GUP2/GUP1*100-70;
GUP5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
GUP6:=(2*CLOSE+HIGH+LOW)/4;
GUP7:=SMA(GUP3/GUP1*100,3,1);
GUP8:=LLV(LOW,34);
GUP9:=SMA(GUP7,3,1)-SMA(GUP4,9,1);
GUAA:=IF(GUP9>100,GUP9-100,0);
GUAB:=HHV(HIGH,34);
GUAC:=EMA((GUP6-GUP8)/(GUAB-GUP8)*100,13);
GUAD:=EMA(0.667*REF(GUAC,1)+0.333*GUAC,2);
趋势线:=EMA(GUAD,1),COLORYELLOW;
拉升:CROSS(GUAC,趋势线) AND GUAC>GUAD AND GUAC<55 AND C>O,COLORFF00FF;
{选股公式二:转强}
GUB1:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1);
GUB2:=20;
转强:CROSS(GUB1,GUB2),COLORRED;
{选股公式三:底涨}
GUP1:=HHV(HIGH,9)-LLV(LOW,9);
GUP2:=HHV(HIGH,9)-CLOSE;
GUP3:=CLOSE-LLV(LOW,9);
GUB3:=LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100);
底涨:GUB3,COLORLIRED; |