胜者为王 发表于 2024-2-28 15:57:03

2024强牛回头 二次起爆《通达信+指标+公式+副图+源码》


副图公式源码支持: 手机/电脑

BBI线MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4,COLORMAGENTA,LINETHICK3;
牛线:MA(C,25)+MA(C,25)*20/100,LINETHICK2,COLORRED;
GUA1:=C/REF(C,1)>1.09 AND C>=O;
GUA2:=REF(C,4)<REF(O,4) AND REF(C,4)/REF(C,5)<0.96 AND REF(C,2)/REF(C,3)<1.02 AND REF(C,1)/REF(C,2)<1.02;
GUA3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.036 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))<1.036 AND MAX(REF(C,3),REF(O,3))/MIN(REF(C,3),REF(O,3))<1.036;
GUA4:=COUNT(REF(GUA1,1),10) AND GUA2 AND GUA3;
GUB1:=C/REF(C,1)>1.09 AND C>=O;
GUB2:=REF(C,3)<REF(O,3) AND REF(C,3)/REF(C,4)<0.96 AND REF(C,2)/REF(C,3)<1.02 AND REF(C,1)/REF(C,2)<1.02;
GUB3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.036 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))<1.036;
GUB4:=COUNT(REF(GUB1,1),10) AND GUB2 AND GUB3;
GUC1:=C/REF(C,1)>1.09 AND C>=O;
GUC2:=REF(C,2)<REF(O,2) AND REF(C,2)/REF(C,3)<0.96;
GUC3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.05;
GUC4:=COUNT(REF(GUC1,1),10) AND GUC2 AND GUC3;
GUD1:=C/REF(C,1)>1.09 AND C>=O;
GUD2:=REF(C,1)<REF(O,1) AND REF(C,1)/REF(C,2)<0.96;
GUD3:=COUNT(REF(GUD1,1),10) AND GUD2;
GUE1:=MA(C,25)+MA(C,25)*20/100;
GUE2:=(BETWEEN(O/MA(C,10),1.02,0.99) OR BETWEEN(L/MA(C,10),1.04,0.99) OR (BETWEEN(L/GUE1,1.01,0.995) AND GUE1/MA(C,10)<1.08)) AND C>MA(C,10) AND BETWEEN(C/REF(C,1),1.05,0.97) AND MA(C,5)>MA(C,10) AND MA(C,5)/MA(C,10)>1.01 AND H/MAX(C,O)<1.04 AND C>MA(C,120) AND MA(C,20)>MA(C,60) AND MA(C,20)>MA(C,120) AND REF(L,1)/REF(MA(C,10),1)>0.998;
GUE3:=REF(C,1)<REF(MA(C,5),1) AND O<MA(C,5) AND MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30);
XG1:=(GUA4 OR GUB4 OR GUC4 OR GUD3) AND GUE2 AND GUE3;
DRAWICON(XG1,L*0.98,1);
DRAWTEXT(XG1,L*0.94,'牛回头'),COLORYELLOW;
XG2:=COUNT(XG1,5) AND CROSS(MA(C,10),MA(C,5));
DRAWICON(XG2,L*0.98,1);
DRAWTEXT(XG2,L*0.94,'二次爆'),COLORCYAN;

选股公式源码

{选股公式一:牛回头}
GUA1:=C/REF(C,1)>1.09 AND C>=O;
GUA2:=REF(C,4)<REF(O,4) AND REF(C,4)/REF(C,5)<0.96 AND REF(C,2)/REF(C,3)<1.02 AND REF(C,1)/REF(C,2)<1.02;
GUA3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.036 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))<1.036 AND MAX(REF(C,3),REF(O,3))/MIN(REF(C,3),REF(O,3))<1.036;
GUA4:=COUNT(REF(GUA1,1),10) AND GUA2 AND GUA3;
GUB1:=C/REF(C,1)>1.09 AND C>=O;
GUB2:=REF(C,3)<REF(O,3) AND REF(C,3)/REF(C,4)<0.96 AND REF(C,2)/REF(C,3)<1.02 AND REF(C,1)/REF(C,2)<1.02;
GUB3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.036 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))<1.036;
GUB4:=COUNT(REF(GUB1,1),10) AND GUB2 AND GUB3;
GUC1:=C/REF(C,1)>1.09 AND C>=O;
GUC2:=REF(C,2)<REF(O,2) AND REF(C,2)/REF(C,3)<0.96;
GUC3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.05;
GUC4:=COUNT(REF(GUC1,1),10) AND GUC2 AND GUC3;
GUD1:=C/REF(C,1)>1.09 AND C>=O;
GUD2:=REF(C,1)<REF(O,1) AND REF(C,1)/REF(C,2)<0.96;
GUD3:=COUNT(REF(GUD1,1),10) AND GUD2;
GUE1:=MA(C,25)+MA(C,25)*20/100;
GUE2:=(BETWEEN(O/MA(C,10),1.02,0.99) OR BETWEEN(L/MA(C,10),1.04,0.99) OR (BETWEEN(L/GUE1,1.01,0.995) AND GUE1/MA(C,10)<1.08)) AND C>MA(C,10) AND BETWEEN(C/REF(C,1),1.05,0.97) AND MA(C,5)>MA(C,10) AND MA(C,5)/MA(C,10)>1.01 AND H/MAX(C,O)<1.04 AND C>MA(C,120) AND MA(C,20)>MA(C,60) AND MA(C,20)>MA(C,120) AND REF(L,1)/REF(MA(C,10),1)>0.998;
GUE3:=REF(C,1)<REF(MA(C,5),1) AND O<MA(C,5) AND MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30);
XG1:=(GUA4 OR GUB4 OR GUC4 OR GUD3) AND GUE2 AND GUE3;
牛回头:XG1;

{选股公式二:二次爆}
GUA1:=C/REF(C,1)>1.09 AND C>=O;
GUA2:=REF(C,4)<REF(O,4) AND REF(C,4)/REF(C,5)<0.96 AND REF(C,2)/REF(C,3)<1.02 AND REF(C,1)/REF(C,2)<1.02;
GUA3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.036 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))<1.036 AND MAX(REF(C,3),REF(O,3))/MIN(REF(C,3),REF(O,3))<1.036;
GUA4:=COUNT(REF(GUA1,1),10) AND GUA2 AND GUA3;
GUB1:=C/REF(C,1)>1.09 AND C>=O;
GUB2:=REF(C,3)<REF(O,3) AND REF(C,3)/REF(C,4)<0.96 AND REF(C,2)/REF(C,3)<1.02 AND REF(C,1)/REF(C,2)<1.02;
GUB3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.036 AND MAX(REF(C,2),REF(O,2))/MIN(REF(C,2),REF(O,2))<1.036;
GUB4:=COUNT(REF(GUB1,1),10) AND GUB2 AND GUB3;
GUC1:=C/REF(C,1)>1.09 AND C>=O;
GUC2:=REF(C,2)<REF(O,2) AND REF(C,2)/REF(C,3)<0.96;
GUC3:=MAX(REF(C,1),REF(O,1))/MIN(REF(C,1),REF(O,1))<1.05;
GUC4:=COUNT(REF(GUC1,1),10) AND GUC2 AND GUC3;
GUD1:=C/REF(C,1)>1.09 AND C>=O;
GUD2:=REF(C,1)<REF(O,1) AND REF(C,1)/REF(C,2)<0.96;
GUD3:=COUNT(REF(GUD1,1),10) AND GUD2;
GUE1:=MA(C,25)+MA(C,25)*20/100;
GUE2:=(BETWEEN(O/MA(C,10),1.02,0.99) OR BETWEEN(L/MA(C,10),1.04,0.99) OR (BETWEEN(L/GUE1,1.01,0.995) AND GUE1/MA(C,10)<1.08)) AND C>MA(C,10) AND BETWEEN(C/REF(C,1),1.05,0.97) AND MA(C,5)>MA(C,10) AND MA(C,5)/MA(C,10)>1.01 AND H/MAX(C,O)<1.04 AND C>MA(C,120) AND MA(C,20)>MA(C,60) AND MA(C,20)>MA(C,120) AND REF(L,1)/REF(MA(C,10),1)>0.998;
GUE3:=REF(C,1)<REF(MA(C,5),1) AND O<MA(C,5) AND MA(C,10)>MA(C,20) AND MA(C,20)>MA(C,30);
XG1:=(GUA4 OR GUB4 OR GUC4 OR GUD3) AND GUE2 AND GUE3;
XG2:=COUNT(XG1,5) AND CROSS(MA(C,10),MA(C,5));
二次爆:XG2;

小心眼子猪挡 发表于 2024-3-20 08:21:54

爱分享,爱生活
页: [1]
查看完整版本: 2024强牛回头 二次起爆《通达信+指标+公式+副图+源码》