龙争虎斗趋势 强势买入抄底《通达信+指标+公式+副图+源码》分享
副图公式源码支持: 手机/电脑
CHP1:=LLV(LOW,36);
CHP2:=HHV(HIGH,30);
CHP3:=EMA((CLOSE-CHP1)/(CHP2-CHP1)*4,4)*25;
BIAS1W:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
BIAS2W:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
BIAS3W:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
GM:=(BIAS1W+2*BIAS2W+3*BIAS3W)/6;
GN:=MA(GM,3);
D:=EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,20);
J:=EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5);
K:EMA(D,3),COLOR00FF00,LINETHICK1;
M:EMA(J,7),COLORRED,LINETHICK1;
龙:J,COLORLIMAGENTA,LINETHICK2;
底观察:IF(GN<-4,10,0),COLORLIBLUE,LINETHICK2;
底背离:IF((CHP3<10),90,100), COLORGREEN,LINETHICK2;
顶背离:IF((CHP3>90),5,18), COLOR808000,LINETHICK2;
AA:=LLV(LOW,36);
BB:=HHV(HIGH,30);
DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
虎:=(((DD-LLV(DD,21))/(HHV(DD,21)-LLV(DD,21)))*(4))*(25);
跟踪:10,COLOR0000FF,LINETHICK1;
强买入:IF((COUNT((DD>REF(DD,1)),1)=1) AND (REF(DD,1)
DRAWICON(CROSS(10,龙),5,1);
V1:=(CLOSE-MA(CLOSE,21))/MA(CLOSE,21)*100;
V2:=(CLOSE-LLV(LOW,43))/(HHV(HIGH,43)-LLV(LOW,43))*100;
V3:=SMA(V2,2,1);
顶:100+(-ABS(V1)),COLORGRAY;
底:ABS(V1),COLORGRAY;
CHA1:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
CHA2:=SMA(CHA1,3,1);
CHA3:=SMA(CHA2,3,1);
CHA4:=SMA(CHA3,3,1);
CHA5:=CROSS(CHA3,CHA4) AND CHA3<20;
CHA8:=CROSS(CHA2,CHA3) AND CHA3>80 AND CHA3>CHA4;
CHA9:=CROSS(CHA4,CHA3) AND CHA3>80;
DRAWTEXT(FILTER(CHA5,10)=1,21,'抄底'),COLORRED;
STICKLINE(FILTER(CHA5,10)=1,0,20,2,0),COLORRED;
STICKLINE(FILTER(CHA9,5)=1,80,100,2,0),COLORGREEN;
DRAWTEXT(FILTER(CHA9,5)=1,79,'逃顶'),COLORGREEN;
STICKLINE(CHA8,85,100,2,0),COLOR0099FF;
选股公式源码
{选股公式一:抄底}
CHA1:=(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34))*100;
CHA2:=SMA(CHA1,3,1);
CHA3:=SMA(CHA2,3,1);
CHA4:=SMA(CHA3,3,1);
CHA5:=CROSS(CHA3,CHA4) AND CHA3<20;
抄底:FILTER(CHA5,10)=1;
{选股公式二:红箭头图标}
D:=EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,20);
J:=EMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5);
龙:=J,COLORLIMAGENTA,LINETHICK2;
红箭头图标:CROSS(10,龙);
{选股公式三:强买入}
AA:=LLV(LOW,36);
BB:=HHV(HIGH,30);
DD:=(EMA(((CLOSE-AA)/(BB-AA))*(4),4))*(25);
跟踪:=10,COLOR0000FF,LINETHICK1;
强买入:IF((COUNT((DD>REF(DD,1)),1)=1) AND (REF(DD,1)