以下是通达信聚合起爆点 组合副图选股 和谐源码(无源码的请下载附件导入)
聚合起爆点 组合副图选股 和谐源码 通达信 测试图
{公式名称: 聚合起爆点}
X_1:=OPEN/REF(CLOSE,1)<1.04 AND HIGH/HHV(HIGH,157)>0.97 AND VOL/REF(VOL,1)>1.7 AND CLOSE/OPEN>0.997 AND CLOSE/REF(CLOSE,1)>1.092 AND CLOSE/MA(CLOSE,10)<1.15 AND CLOSE/MA(CLOSE,60)<1.25;
X_2:=1;
X_3:=OPEN/REF(CLOSE,1)<1.04 AND HIGH/HHV(HIGH,157)>0.97 AND VOL/REF(VOL,1)>1.7 AND CLOSE/OPEN>0.997 AND CLOSE/REF(CLOSE,1)>1.092 AND CLOSE/MA(CLOSE,10)<1.15 AND CLOSE/MA(CLOSE,60)<1.25;
起爆点:X_3*X_2;
DRAWTEXT(起爆点=1,1*0.8,'起爆点'),COLORYELLOW;
X_4:=REF(X_1,1)=1 AND LOW/MA(CLOSE,5)<1.02 AND OPEN/REF(CLOSE,1)<1.01 AND REF(OPEN,1)/REF(MA(CLOSE,10),1)<1.02;
X_5:=REF(X_1,2)>=1 AND LOW/MA(CLOSE,5)<1.02 AND REF(OPEN,1)/REF(CLOSE,2)<1.01;
X_6:=X_4 OR X_5;
起低吸:X_6*X_2;
DRAWTEXT(起低吸=1,1*0.8,'起低吸'),COLORGREEN;
X_7:=CLOSE/REF(CLOSE,3)>1.3;
X_8:=COUNT(X_7,20)>=1;
X_9:=X_8 AND OPEN/REF(CLOSE,20)>1.25 AND LOW/REF(HIGH,1)<0.92 AND REF(CLOSE,1)/REF(OPEN,1)>0.935 AND REF(CLOSE,2)/REF(OPEN,2)>0.935 AND REF(CLOSE,3)/REF(OPEN,3)>0.935 AND REF(CLOSE,4)/REF(OPEN,4)>0.935 AND CLOSE/MA(CLOSE,10)>0.99;
龙回头:X_9*X_2;
DRAWTEXT(龙回头=1,1*0.9,'龙回头'),COLORRED;
X_10:=CLOSE/REF(CLOSE,1)>0.97 AND VOL/REF(VOL,1)>1.7 AND VOL/HHV(VOL,170)>0.7 AND HIGH/MA(CLOSE,10)>=1 AND LOW/MA(CLOSE,10)<=1 AND HIGH/MA(CLOSE,20)>=1 AND LOW/MA(CLOSE,20)<=1 AND HIGH/MA(CLOSE,30)>=1 AND LOW/MA(CLOSE,30)<=1 AND HIGH/MA(CLOSE,5)>=1 AND LOW/MA(CLOSE,5)<=1 AND HIGH/MA(CLOSE,60)>=1 AND LOW/MA(CLOSE,60)<=1 AND HIGH/MA(CLOSE,120)>=1 AND LOW/MA(CLOSE,120)<=1 AND VOL/REF(VOL,1)>1.2;
聚合:X_10*X_2;
DRAWTEXT(聚合=1,1*0.9,'聚合'),COLORRED;
X_11:=REF(CLOSE,1)/REF(OPEN,1)>=1 AND REF(CLOSE,3)/REF(CLOSE,4)<1.092 AND OPEN/MA(CLOSE,60)<1.15 AND REF(HIGH,1)/REF(CLOSE,3)>1.15 AND OPEN/REF(HIGH,1)<0.93 AND REF(VOL,1)/REF(HHV(VOL,80),1)>0.7 AND REF(CLOSE,1)/REF(OPEN,1)>0.97;
高空砸物:X_11*X_2;
DRAWTEXT(高空砸物=1,1*0.6,'高空砸物'),COLORRED;
X_12:=MA(CLOSE,10)/MA(CLOSE,20)>0.995 AND MA(CLOSE,20)/MA(CLOSE,60)>0.995 AND MA(CLOSE,60)/MA(CLOSE,120)>0.965;
X_13:=LOW/REF(HIGH,1)<0.91 AND LOW/REF(MA(CLOSE,7),1)<1.04 AND REF(CLOSE,1)/REF(MA(CLOSE,10),1)<1.15 AND OPEN/REF(CLOSE,1)<=1 AND REF(HIGH,1)/REF(MA(CLOSE,20),1)<1.25 AND REF(HIGH,1)/REF(MA(CLOSE,60),1)<1.3 AND REF(CLOSE,1)/REF(HHV(CLOSE,227),1)>0.97 AND X_12 AND REF(VOL,1)/REF(MA(VOL,20),1)>1.7 AND REF(VOL,2)/REF(MA(VOL,20),2)>1.7 AND LOW/REF(HIGH,1)<0.91 AND REF(CLOSE,1)/REF(OPEN,1)>0.99 AND REF(CLOSE,2)/REF(OPEN,2)>0.99;
倍量回马:X_13*X_2;
DRAWTEXT(倍量回马=1,1*0.4,'倍量回马'),COLORRED;
X_14:=OPEN/MA(CLOSE,10)<1.03 AND LOW/MA(CLOSE,7)<1.03 AND REF(HIGH,1)/REF(HHV(HIGH,300),1)>0.97 AND REF(HIGH,1)/REF(HHV(HIGH,27),2)>0.97 AND OPEN/REF(HIGH,1)<0.96 AND REF(VOL,1)/REF(VOL,2)>1.3 AND REF(HIGH,1)/REF(CLOSE,1)>1.03 AND MA(CLOSE,10)/MA(CLOSE,20)>0.995 AND MA(CLOSE,20)/MA(CLOSE,60)>0.985 AND REF(CLOSE,2)/REF(OPEN,2)>=1 AND REF(CLOSE,1)/REF(OPEN,1)>=1 AND REF(HIGH,1)/REF(HHV(CLOSE,157),1)>0.97 AND REF(CLOSE,1)/REF(MA(CLOSE,10),1)<1.12;
上影指路:X_14*X_2;
DRAWTEXT(上影指路=1,1*0.5,'上影指路'),COLORRED;
1455122753.jpg
|