副图公式源码:支持手机/电脑
短线趋势:((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),COLORRED;
GUP12:=(2*CLOSE+HIGH+LOW+OPEN)/5;
GUP13:=LLV(LOW,34);
GUP14:=HHV(HIGH,34);
GUP15:=HHV(HIGH,90);
长线趋势:EMA((GUP12-GUP13)/(GUP14-GUP13)*100,13),COLORYELLOW;
GUP16:=CROSS(短线趋势,长线趋势) AND 长线趋势<25;
AB:=REF(长线趋势,20);
BB:=REF(CLOSE,30);
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);
GUP10:=IF((GUP9>100),GUP9-100,0);
GUP11:=HHV(HIGH,34);
B1:=EMA(((GUP6-GUP8)/(GUP11-GUP8))*(100),8);
主力持仓:EMA(B1,13),POINTDOT,COLORRED;
STICKLINE(B1-主力持仓>0,B1,主力持仓,6,0),COLOR0000FF;
STICKLINE(B1-主力持仓<0,B1,主力持仓,6,0),COLOR00FF00;
STICKLINE(GUP16,0,25,3,0),COLORRED;
底部判断:SQRT(SQRT(SQRT(MA(1/(CLOSE/GUP1)*100,4)/10000)))*5;
底部:STICKLINE(短线趋势<10 AND 底部判断>0,0,5,6,1);
DRAWICON(GUP16 AND 底部判断>0,60,1);
DRAWTEXT(COUNT(短线趋势<10 AND 底部判断>0,8) AND GUP16,50,'买');
选股公式源码:
{选股公式一:买}
短线趋势:=((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),COLORRED;
GUP12:=(2*CLOSE+HIGH+LOW+OPEN)/5;
GUP13:=LLV(LOW,34);
GUP14:=HHV(HIGH,34);
GUP15:=HHV(HIGH,90);
长线趋势:=EMA((GUP12-GUP13)/(GUP14-GUP13)*100,13),COLORYELLOW;
GUP16:=CROSS(短线趋势,长线趋势) AND 长线趋势<25;
GUP1:=HHV(HIGH,9)-LLV(LOW,9);
底部判断:=SQRT(SQRT(SQRT(MA(1/(CLOSE/GUP1)*100,4)/10000)))*5;
买:COUNT(短线趋势<10 AND 底部判断>0,8) AND GUP16;
{选股公式二:红箭头}
短线趋势:=((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),COLORRED;
GUP12:=(2*CLOSE+HIGH+LOW+OPEN)/5;
GUP13:=LLV(LOW,34);
GUP14:=HHV(HIGH,34);
GUP15:=HHV(HIGH,90);
长线趋势:=EMA((GUP12-GUP13)/(GUP14-GUP13)*100,13),COLORYELLOW;
GUP16:=CROSS(短线趋势,长线趋势) AND 长线趋势<25;
GUP1:=HHV(HIGH,9)-LLV(LOW,9);
底部判断:=SQRT(SQRT(SQRT(MA(1/(CLOSE/GUP1)*100,4)/10000)))*5;
红箭头:GUP16 AND 底部判断>0;
{选股公式三:红柱}
短线趋势:=((3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1)-50)*1.032+50),COLORRED;
GUP12:=(2*CLOSE+HIGH+LOW+OPEN)/5;
GUP13:=LLV(LOW,34);
GUP14:=HHV(HIGH,34);
GUP15:=HHV(HIGH,90);
长线趋势:=EMA((GUP12-GUP13)/(GUP14-GUP13)*100,13),COLORYELLOW;
GUP16:=CROSS(短线趋势,长线趋势) AND 长线趋势<25;
红柱:GUP16; |