通达信选股公式-三线逃顶
2014-5-30 13:11:28 股票入门 http://rumen.southmoney.com
{三线逃顶 攻守兼备}
{参数:
n1 1 100 3
n2 1 150 5}
N1:=3;N2:=5;
{三线逃顶}
上升线:EMA(C,N1),COLORRED,LINETHICK2;
下降线:EMA(C,N2),COLORGREEN,LINETHICK2;
中间线:EMA(下降线,N2),COLORWHITE,LINETHICK2;
VARF1:=COUNT(CROSS(上升线,中间线),2)=1;
VARF2:=COUNT(CROSS(下降线,中间线),2)=1;
ZAI:=FILTER(VARF1 AND VARF2,2);VV2:=REF(CLOSE,1);
VV3:=SMA((CLOSE-VV2),6,1)/SMA(ABS(CLOSE-VV2),6,1)*100;
DRAWICON(REF(VV3,1)》81 AND VV3《80,HIGH,2);
DRAWTEXT(REF(VV3,1)》81 AND VV3《80,HIGH,‘快卖↓’),COLORYELLOW;
VF1:=MA(CLOSE,60)-MA(CLOSE,5)/3.2;
DRAWTEXT(IF(CLOSE《VF1 AND VOL/240》MA(VOL,5)/240 AND CLOSE》=REF(CLOSE,1)*1.08 AND CLOSE《MA(CLOSE,13)*1.3,1,0),LOW,‘追’),COLORYELLOW;
VARA:=(CLOSE-REF(OPEN,29))/REF(OPEN,29)*100;
VARB:=EMA(0.667*REF(VARA,1)+0.333*VARA,5);
DRAWTEXT(IF(VOL》=1.3*MA(VOL,5) AND COUNT(VARA》=VARB AND VARA《-17,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,‘★注意买入’);
VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,VARR1),HIGH,2);
DRAWTEXT(CROSS(82,VARR1),HIGH,‘快卖↓’),COLORYELLOW;
VAR1:=(HIGH+LOW+OPEN+2*CLOSE)/5;
VAR2:=REF(VAR1,1);
VAR3:=SMA(MAX(VAR1-VAR2,0),10,1)/SMA(ABS(VAR1-VAR2),10,1)*100;
HY3:=IF(COUNT(VAR3《20,5)》=1 AND COUNT(VAR1=LLV(VAR1,10),10)》=1 AND CLOSE》=OPEN*1.038 AND VOL》MA(VOL,5)*1.2,1,0);
DRAWTEXT(HY3,LOW,‘▲注意买入’),COLORRED;
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。