副图公式源码支持 手机/电脑
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);
GUAE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
GUAF:=MA(GUAE,3);
趋势线:EMA(GUAD,1), COLORFF00FF;
GUA1:=HHV(HIGH,9)-LLV(LOW,9);
GUA2:=HHV(HIGH,9)-CLOSE;
GUA3:=CLOSE-LLV(LOW,9);
GUA4:=((GUA2)/(GUA1))*(100)-70;
GUA5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
GUA6:=((2)*(CLOSE)+HIGH+LOW)/(4);
GUA7:=SMA(((GUA3)/(GUA1))*(100),3,1);
GUA8:=LLV(LOW,34);
GUA9:=SMA(GUA7,3,1)-SMA(GUA4,9,1);
GUA10:=IF((GUA9>100),GUA9-100,0);
GUA11:=HHV(HIGH,34);
GUB1:=EMA(((GUA6-GUA8)/(GUA11-GUA8))*(100),8);
GUB2:=EMA(GUB1,5),COLORFF7000;
STICKLINE(GUB1-GUB2>0,GUB1,GUB2,2,0),COLORBLUE;
STICKLINE(GUB1-GUB2<0,GUB1,GUB2,2,0),COLOR00FF00;
GUC1:=MA(C,5)=HHV(MA(C,5),20);
GUC2:=MA(C,5)>MA(C,10);
GUC3:=MA(V,5)>MA(V,40)*1.01;
GUC4:=COUNT(MA(C,1)>REF(C,1),2)=2;
GUC5:=GUC1 AND GUC2 AND GUC3 AND GUC4;
STICKLINE(GUC1 AND GUC2 AND GUC3 AND GUC4,100,110,2,0),COLOR00FF00;
GUD1:=EMA(CLOSE,8);
GUD2:=EMA(GUD1,20);
GUD3:=CROSS(GUD1,GUD2);
GUD4:=GUD1<EMA(CLOSE,120);
STICKLINE(GUD3 AND GUD4,100,110,2,0),COLOR00FF00;
GUD5:=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);
GUD6:=20;
转强:IF(CROSS(GUD5,GUD6),1,0),COLORGREEN;
STICKLINE(转强,2,40,2,0),COLORGREEN;
拉升:IF(CROSS(GUAC,趋势线) AND GUAC>GUAD AND GUAC<55 AND C>O,1,0),COLORYELLOW;
STICKLINE(拉升,20,60,2,0),COLORYELLOW;
A6:=LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100);
启动:IF(A6,1,0),COLORLIRED;
STICKLINE(启动,-0.5,50,2,0),COLORLIRED;
选股公式源码
{选股公式一:转强}
GUA1:=HHV(HIGH,9)-LLV(LOW,9);
GUA2:=HHV(HIGH,9)-CLOSE;
GUD5:=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);
GUD6:=20;
转强:CROSS(GUD5,GUD6);
{选股公式二:启动}
GUC1:=MA(C,5)=HHV(MA(C,5),20);
GUC2:=MA(C,5)>MA(C,10);
A6:=LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100);
启动:A6;
{选股公式三:拉升}
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);
GUAE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
GUAF:=MA(GUAE,3);
趋势线:=EMA(GUAD,1), COLORFF00FF;
拉升:CROSS(GUAC,趋势线) AND GUAC>GUAD AND GUAC<55 AND C>O; |