本帖最后由 九转妖 于 2024-1-4 11:40 编辑
副图公式源码支持 手机/电脑
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:=(CLOSE+HIGH+LOW)/3;
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);
GUC6:=HHV(HIGH,9)-LLV(LOW,9);
GUC7:=HHV(HIGH,9)-CLOSE;
GUC8:=CLOSE-LLV(LOW,9);
GUC9:=((GUC7)/(GUC6))*(100)-70;
GUA5:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
GUA6:=((2)*(CLOSE)+HIGH+LOW)/(4);
GUA7:=SMA(((GUC8)/(GUC6))*(100),3,1);
GUA8:=LLV(LOW,34);
GUA9:=SMA(GUA7,3,1)-SMA(GUC9,9,1);
GUD1:=IF((GUA9>100),GUA9-100,0);
GUD2:=HHV(HIGH,34);
GUD3:=EMA(((GUA6-GUA8)/(GUD2-GUA8))*(100),8);
DRAWKLINE(EMA(GUD3,5),EMA(GUD3,5),GUD3+1,GUD3);
趋势线:EMA(GUD3,5),COLORCYAN;
牛熊线:EMA(GUAD,1),COLORYELLOW;
GUB1:=MA(C,5)=HHV(MA(C,5),20);
GUB2:=MA(C,5)>MA(C,10);
GUB3:=MA(V,5)>MA(V,40)*1.01;
GUB4:=COUNT(MA(C,1)>REF(C,1),2)=2;
GUB5:=GUB1 AND GUB2 AND GUB3 AND GUB4;
GUB6:=EMA(CLOSE,8);
GUB7:=EMA(GUB6,20);
GUB8:=CROSS(GUB6,GUB7);
GUB9:=GUB6<EMA(CLOSE,120);
STICKLINE((GUB8 AND GUB9)OR(GUB1 AND GUB2 AND GUB3 AND GUB4),GUD3*1.03,GUD3*1.120,1,0),COLORYELLOW;
GUE1:=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),CIRCLEDOT,COLORFF9900;
GUE2:=20;
底部转强:IF(CROSS(GUE1,GUE2),50,0),STICK,COLORMAGENTA,LINETHICK2;
拉升上涨:IF(CROSS(GUAC,牛熊线) AND GUAC>GUAD AND GUAC<55 AND C>O,50,0),STICK,COLORRED,LINETHICK2;
GUE3:=LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100);
超跌启动:IF(GUE3,趋势线,0),STICK,COLORYELLOW,LINETHICK2;
选股公式源码
{选股公式一:底部转强}
GUE1:=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),COLORFF9900;
GUE2:=20;
底部转强:CROSS(GUE1,GUE2),COLORMAGENTA;
{选股公式二:超跌启动}
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;
GUE3:=LLV(C,500)=LLV(C,5) AND C/REF(C,1)>(1+9.8/100);
超跌启动:GUE3;
{选股公式三:拉升上涨}
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:=(CLOSE+HIGH+LOW)/3;
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,COLORRED;
|