通达信股票公式 金拐杖副图及选股源码
2014-9-23 13:31:20 股票入门 http://rumen.southmoney.com
金拐杖副图
DRAWGBK(O》0,RGB(33,47,58),RGB(0,0,0),0,‘02’,0),LINETHICK2;
D:=72;
VAR3:=100-3*SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
VAR4:=100-3*SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
活筹OAMV: VAR3,COLORWHITE,LINETHICK2;
VAR25:=EMA(AMOUNT/VOL/100,13);
VAR26:=VAR24-VAR25;
势能: IF(1000*VAR26/VAR24》0,1000*VAR26/VAR24,0),COLORFF44FF,LINETHICK0;
VAR1:=(HHV(HIGH,8)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,20))*100;
VAR2:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,13)-LLV(LOW,13))*100;
做多资金: SMA(VAR2,8,1)-2,LINETHICK2, COLORRED;
做空资金: SMA(VAR1,6,1)-7,NODRAW;
周D:“KDJ.D”(27,3,3),NODRAW;
角度:=ATAN((MA(周D,10)/REF(MA(周D,10),1)-1)*100)*180/3.1416,NODRAW;
LL:=CROSS(角度,做空资金);
DRAWICON(CROSS(做多资金,活筹OAMV),做多资金,5);
38,COLOR00FFFF,LINETHICK2;
DRAWICON(CROSS(做多资金,38),做多资金,18);
JJ:=(3*C+H+L+O)/6; VAR11:=(8*JJ+7*REF(JJ,1)+6*REF(JJ,2)+5*REF(JJ,3)+4*REF(JJ,4)+3*REF(JJ,5)+2*REF(JJ,6)+REF(JJ,8))/36;
TJ1:=VOL=HHV(VOL,10) AND VOL》2*REF(VOL,1) AND CLOSE》VAR11 AND C》REF(C,1);
LJL:=FILTER(TJ1,5);
黄金柱:=(CLOSE,REF(CLOSE,BARSLAST(LJL)),REF(CLOSE,BARSLAST(LJL)),6,0);
WWW1:=C》MA(C,63);
黄金!:=C》黄金柱 AND WWW1 AND (C》HHV(MA((LOW+HIGH+CLOSE)/3,5),60)) AND (C》1.06*(EMA((EMA(CLOSE*VOL,3)/EMA(VOL,3)+EMA(CLOSE*VOL,6)/EMA(VOL,6)
+EMA(CLOSE*VOL,12)/EMA(VOL,12)+EMA(CLOSE*VOL,24)/EMA(VOL,24))/4,13))) AND C》REF(C,1);
MM:(KK AND 黄金!)*60,COLORGREEN,LINETHICK0;
金拐杖条件选股公式
D:=72;
VAR3:=100-3*SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
活筹OAMV: VAR3,COLORWHITE,LINETHICK2;
VAR2:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,13)-LLV(LOW,13))*100;
做多资金: SMA(VAR2,8,1)-2,LINETHICK2, COLORRED;
十日内有板:=EXIST((C/REF(C,1)》1.099 AND C=H),10)=1;
流通盘:=CAPITAL/1000000《=11.99;
股价:=C》=5.60 AND C《14.69;
去创业板:=IF(CODELIKE(‘300’),0,1);
去除ST:=EXIST(C/REF(C,1)》1.055,60);
去除停牌:=DYNAINFO(4)》0;
去除:=流通盘 AND 股价 AND 去创业板 AND 去除ST AND 去除停牌 AND 十日内有板 AND 五日平均量;
D:=72;
VAR3:=100-3*SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,D))/(HHV(HIGH,D)-LLV(LOW,D))*100,20,1),15,1);
活筹OAMV:= VAR3;
VAR2:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,13)-LLV(LOW,13))*100;
做多资金:= SMA(VAR2,8,1)-2,LINETHICK2, COLORRED;
资金:=38,COLORWHITE,LINETHICK2;
HZ:=做多资金》资金;
金拐杖:CROSS(做多资金,活筹OAMV) OR CROSS(做多资金,资金) OR HZ AND 去除;
更多通达信股票公式,请关注南方财富网。
股票入门声明:资讯来源于互联网,属作者个人观点,仅供投资者参考,并不构成投资建议。投资者据此操作,风险自担。