2024短线拉升 跟随主力《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
GUA:=3*SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,5,1),3,1);
底线:10,COLOR983433,LINETHICK2;
顶线:85,COLORGREEN,LINETHICK2;
STICKLINE(REF(GUA,1)>顶线 AND GUA<顶线,86,80,2,0),COLORCYAN;
主力线:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORMAGENTA,LINETHICK1;
GUP1:=SMA(GUA,5,1);
GUP2:=SMA(GUP1,4,1);
GUP6:=(2*CLOSE+HIGH+LOW)/4;
GUP8:=LLV(LOW,28);
GUP11:=HHV(HIGH,28);
GUP12:=EMA((GUP6-GUP8)/(GUP11-GUP8)*100,13);
GUP13:=EMA(0.667*REF(GUP12,1)+0.333*GUP12,2);
STICKLINE(GUP12-GUP13>0,GUP12,GUP13,4,0),COLORRED;
STICKLINE(GUP12-GUP13<0,GUP12,GUP13,4,0),COLOR00FF0F;
短线:=GUP2<15 AND CROSS(主力线,GUP2);
STICKLINE(短线,0,20,2,0),COLORRED;
DRAWTEXT(短线,30,'拉升'),COLORRED;
选股公式源码
{选股公式:拉升}
GUA:=3*SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,5,1),3,1);
主力线:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORMAGENTA,LINETHICK1;
GUP1:=SMA(GUA,5,1);
GUP2:=SMA(GUP1,4,1);
短线:=GUP2<15 AND CROSS(主力线,GUP2);
拉升:短线;
{卖出公式:青色柱}
GUA:=3*SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100,5,1),3,1);
顶线:=85,COLORGREEN,LINETHICK2;
GUP6:=(2*CLOSE+HIGH+LOW)/4;
GUP8:=LLV(LOW,28);
GUP11:=HHV(HIGH,28);
GUP12:=EMA((GUP6-GUP8)/(GUP11-GUP8)*100,13);
青色柱:REF(GUA,1)>顶线 AND GUA<顶线;