2023趋势上升买入 突破轨道龙头《通达信+指标+公式+副图+源码》
副图公式源码支持 手机/电脑
换手:SUM(VOL,1)/CAPITAL*100,COLOR666666,NODRAW;
获利比例:WINNER(CLOSE)*100,NODRAW;
量比:V/REF(MA(V,5),1),COLORBROWN,NODRAW;
轨道:MA(CLOSE,60)+2*STD(CLOSE,60),LINETHICK2;
MA60:MA(CLOSE,60),LINETHICK2;
S:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,35)-LLV(LOW,34)),3);
GUP1:=MA(CLOSE,5);
GUP2:=MA(CLOSE,10),LINETHICK3;
GUP3:=MA(CLOSE,21);
GUP44:=MA(CLOSE,60);
GUP55:=MA(CLOSE,144);
GUP4:=OPEN<GUP1 OR OPEN<GUP2 OR OPEN<GUP3;
GUP5:=CLOSE>MAX(GUP1,MAX(GUP2,MAX(GUP3,GUP44)));
GUP6:=VOL/MA(VOL,30)>1.2;
GUP7:=CLOSE/REF(CLOSE,1)>1.049;
GUP8:=GUP4 AND GUP5 AND GUP6 AND GUP7;
GUP9:=GUP8 AND (REF(BARSLAST(GUP8),1)>60 OR BARSSINCE(GUP8)=0);
DRAWICON(GUP9,L*0.90,1);
DRAWICON(FILTER(CROSS(S,60),20),L*0.80,7),COLORYELLOW;
STICKLINE(GUP9,H,L,5,1),COLORRED;
STICKLINE(GUP9,O,C,5,1),COLORRED;
GUA1:=MA(LOW,20)*1.2,COLORMAGENTA,POINTDOT;
GUA2:=MA(LOW,20)*1.1,COLORYELLOW,POINTDOT;
GUB2:=MA(HIGH,20)*0.9,COLORGRAY,POINTDOT;
GUB1:=MA(HIGH,20)*0.8,COLORGREEN,POINTDOT;
ZD:=(C-REF(C,1))/REF(C,1)*100;
HDZF:=(HHV(H,20)-C)/(HHV(H,20)-LLV(L,20));
趋势:=IF(C>GUA2,IF(C>GUA1,4,3),IF(C>GUB2 AND C<GUA2,2,IF(C<GUB1,0,1)));
STICKLINE(趋势=0,H,L,6,1),COLORBLUE;
STICKLINE(趋势=1,H,L,6,1),COLORGREEN;
STICKLINE(趋势=2,H,L,6,1),COLORGRAY;
STICKLINE(趋势=3,H,L,6,1),COLORYELLOW;
STICKLINE(趋势=4,H,L,6,1),COLORFF00FF;
STICKLINE(趋势=0,C,O,6,0),COLORBLUE;
STICKLINE(趋势=1,C,O,6,0),COLORGREEN;
STICKLINE(趋势=2,C,O,6,0),COLORGRAY;
STICKLINE(趋势=4,C,O,6,0),COLORFF00FF;
妖:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3);
龙:=CROSS(妖,15), COLOR0099FF;
DRAWTEXT(龙,L*1.18,'龙头'),COLOR3399FF;
选股公式源码
{选股公式一:红箭头图标}
GUP1:=MA(CLOSE,5);
GUP2:=MA(CLOSE,10),LINETHICK3;
GUP3:=MA(CLOSE,21);
GUP44:=MA(CLOSE,60);
GUP55:=MA(CLOSE,144);
GUP4:=OPEN<GUP1 OR OPEN<GUP2 OR OPEN<GUP3;
GUP5:=CLOSE>MAX(GUP1,MAX(GUP2,MAX(GUP3,GUP44)));
GUP6:=VOL/MA(VOL,30)>1.2;
GUP7:=CLOSE/REF(CLOSE,1)>1.049;
GUP8:=GUP4 AND GUP5 AND GUP6 AND GUP7;
GUP9:=GUP8 AND (REF(BARSLAST(GUP8),1)>60 OR BARSSINCE(GUP8)=0);
红箭头图标:GUP9;
{选股公式二:红B图标}
S:=EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,35)-LLV(LOW,34)),3);
{DRAWICON(FILTER(CROSS(S,60),20),L*0.80,7),COLORYELLOW;}
红B图标:FILTER(CROSS(S,60),20);
{选股公式三:龙头}
妖:=EMA((CLOSE-MA((2*CLOSE+HIGH+LOW)/4,30))/MA((2*CLOSE+HIGH+LOW)/4,30)*100,3);
龙:=CROSS(妖,15), COLOR0099FF;
{DRAWTEXT(龙,L*1.18,'龙头'),COLOR3399FF;}
龙头:龙;