公式指标论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

股市捡钱指标 (源码)

2012-10-9 15:39| 发布者: admin| 查看: 72| 评论: 0

通达信股市捡钱指标公式股票软件源码如下:

EM7:=EMA(C,7);
EM19:=EMA(C,19);
MA20:=MA(C,20);
MA30:=MA(C,30);
MXS:=MA20>MA30 AND MA20>REF(MA20,1) AND MA30>REF(MA30,1);
ZF:=(C/REF(C,1)-1)*100;
N1:=BARSLAST(CROSS(C,MA(C,5)));
N2:=BARSLAST(CROSS(MA(C,5),C));
HM:=IF(N1Z2:=HM=1 AND ZF>=0 AND C>O AND MXS;
KX1:=ZF<=-3 AND CXDSJ:=BARSLAST(KX1);
KX2:=ZF>=3 AND C>O;
JBY:=KX2 AND XDSJ<=2 AND C>=REF(O*0.99,XDSJ) AND ZF>ABS(REF(ZF,XDSJ)*0.99);
Z3:=IF(FILTER(JBY,1) AND MXS,1,0);
VAR11:=EMA(HHV(HIGH,500),21);
VAR2:=EMA(HHV(HIGH,250),21);
VAR3:=EMA(HHV(HIGH,90),21);
VAR4:=EMA(LLV(LOW,500),21);
VAR5:=EMA(LLV(LOW,250),21);
VAR6:=EMA(LLV(LOW,90),21);
VAR7:=EMA((VAR4*0.96+VAR5*0.96+VAR6*0.96+VAR11*0.558+VAR2*0.558+VAR3*0.558)/6,21);
VAR8:=EMA((VAR4*1.25+VAR5*1.23+VAR6*1.2+VAR11*0.55+VAR2*0.55+VAR3*0.65)/6,21);
VAR9:=EMA((VAR4*1.3+VAR5*1.3+VAR6*1.3+VAR11*0.68+VAR2*0.68+VAR3*0.68)/6,21);
VARA:=EMA((VAR7*3+VAR8*2+VAR9)/6*1.738,21);
VARB:=REF(LOW,1);
VARC:=SMA(ABS(LOW-VARB),3,1)/SMA(MAX(LOW-VARB,0),3,1)*100;
VARD:=EMA(IF(C*1.35<=VARA,VARC*10,VARC/10),3);
VARE:=LLV(L,30);
VARF:=HHV(VARD,30);
AA3:=(EMA(IF(L<=VARE,(VARD+VARF*2)/2,0),3)/618);
AR3:=(1-(MA(L,3))/(MA((H+L+2*C)/4,20)))*100-5;
AH1:=MA(HHV(H,485),17);
AH2:=MA(HHV(H,222),17);
AH3:=MA(HHV(H,96),17);
AD4:=MA(LLV(L,485),17);
AD5:=MA(LLV(L,222),17);
AD6:=MA(LLV(L,96),17);
AVAR7:=MA((AD4*0.96+AD5*0.96+AD6*0.96+AH1*0.558+AH2*0.558+AH3*0.558)/6,17);
AVAR8:=MA((AD4*1.25+AD5*1.23+AD6*1.2+AH1*0.55+AH2*0.55+AH3*0.65)/6,17);
AVAR9:=MA((AD4*1.3+AD5*1.3+AD6*1.3+AH1*0.68+AH2*0.68+AH3*0.68)/6,17);
AA:=MA(((AVAR7*3+AVAR8*2+AVAR9)/6)*1.738,17);
LL:=LOW;
ZL:=REF(LOW,1);
AE:=((SMA(ABS(LL-ZL),3,1)/SMA(MAX(LL-ZL,0),3,1)))*100;
RB:=IF((DATE<=1341231),AA,AA*DAY);
RF:=MA(IF(C*1.35<=RB,AE*10,AE/10),3);
R10:=LLV(LOW,30);
R11:=HHV(RF,30);
MT:=C-REF(C,1);
II:=EMA(EMA(MT,6),6)/EMA(EMA(ABS(MT),6),6);
涨:=DRAWLINE(L=LLV(L,BARSLAST(CROSS(EM19,EM7))+1),LLV(L,BARSLAST(CROSS(EM19,EM7))+1),
H=HHV(H,BARSLAST(CROSS(EM7,EM19))+1),HHV(H,BARSLAST(CROSS(EM7,EM19))+1),0)NODRAW,COLORLIMAGENTA;
跌:=DRAWLINE(H=HHV(H,BARSLAST(CROSS(EM7,EM19))+1),HHV(H,BARSLAST(CROSS(EM7,EM19))+1),
L=LLV(L,BARSLAST(CROSS(EM19,EM7))+1),LLV(L,BARSLAST(CROSS(EM19,EM7))+1),0)NODRAW,COLORCYAN;
买进:=((LLV(II,2)=LLV(II,7)AND COUNT(II<0,2)AND CROSS(II,MA(II,2)))AND REF(跌,1)
REF(跌,1))*0.8,COLORYELLOW,STICK,LINETHICK2;
捡钱了未来:IF(买进,0,1),COLORMAGENTA,STICK,LINETHICK1;
抢钱了:Z2 AND Z3,LINETHICK1,COLORCYAN,STICK;
DRAWTEXT(买进=0,0.5,'买进')COLORYELLOW;
大底:=FILTER(AA3>10 ,1);
找钱了:大底>0 AND C印钞机:IF(AR3>0,1{(AR3*3000*REF((H+L+2*C)/4,3))/C},DRAWNULL),COLORRED,;{AND DATE>901231 AND DATE<1341231}
点钞机:IF(1,MA(IF((L<=R10),(RF+R11*2)/2,0),3),DRAWNULL{100000000}),COLORGREEN,NODRAW;
{(DATE<=AVAR12) AVAR12:=1341231;}
STICKLINE(大底>0 AND CSTICKLINE(印钞机>0,0.1,0,1,0),COLORRED;
STICKLINE(点钞机>0,0.1,0.2,1,0),COLORGREEN;
RR:II,COLORRED;
RCO:CROSS(RR,0),COLORYELLOW,NODRAW;
RMA:MA(RR,2),COLORGREEN;
RR2:=IF(RR>0,RR,DRAWNULL),COLORRED,LINETHICK1;
RRJ:=MA(RR2,2),COLORLIGREEN;
弱R:=IF(RR2>RRJ,RR2,RRJ)COLORCYAN;
{www.gpxiazai.com 股票软件下载网_通达信股票指标公式}
强R:=IF(RR>0,RR,DRAWNULL),COLORRED,LINETHICK2;
J:"KDJ.J"/100,COLORMAGENTA,LINETHICK1;
STICKLINE(J<0,0,J,0.1,0)COLORWHITE;
VC:=(2*C+H+L)/4;
L3:=LLV(L,3);
H3:=HHV(H,3);
RSV3:=(VC-L3)/(H3-L3)*100,COLORCYAN;
V12:=EMA(RSV3,5);
V13:=EMA(V12,2);
RSI2:=SMA(RSI,6,1);
RS:=IF(RSI>RSI2,RRJ,DRAWNULL),COLORLIRED,NODRAW;
强势:IF(V12>V13,J,DRAWNULL),COLORMAGENTA,LINETHICK2;
必买:IF((CROSS(V12,V13)AND REF(V12<30,1))AND(CROSS(RSI,RSI2)AND RR<0),1,DRAWNULL),COLORGREEN;
M18:=(C-LLV(L,18))/(HHV(H,18)-LLV(L,18));
K18:=SMA(M18,3,1);
D18:=SMA(K18,3,1);
J18:(3*K18-2*D18),COLORYELLOW,DOTLINE;
STICKLINE(CROSS(RSI,RSI2)AND RR<0,-0.1,0.2,0,0),COLORLIRED;
DRAWTEXT(CROSS(RSI,RSI2)AND RR<0,-0.08,'R买'),COLORLIRED;
STICKLINE(CROSS(V12,V13)AND REF(V12<30,1),0.8,1.1,0,0),COLORRED;
STICKLINE((CROSS(V12,V13)AND REF(V12<30,1))AND(CROSS(RSI,RSI2)AND RR<0),0,1,0,0),COLORLIGREEN;
DRAWTEXT(必买=1,0.95,'BM'),COLORLIGREEN;
DRAWTEXT(CROSS(V12,V13)AND REF(V12<30,1),1.03,'.U买'),COLORRED;
STICKLINE(RSI>RSI2 AND RR>0 AND RR>RMA,RR2,REF(RR2,1),2,1),COLOR0055AA;
STICKLINE(RCO=1,0,-0.1,0.1,0),COLORYELLOW;
STICKLINE(涨>REF(涨,1),0,0,3,0)COLORRED;
STICKLINE(跌1,COLORCYAN,DOTLINE;
0.5,COLORGRAY,DOTLINE;
IF(AR3>0,1,DRAWNULL),COLORRED,;
IF(L<=R10,0,DRAWNULL),COLORWHITE,;

通达信股市捡钱指标公式


鲜花

握手

雷人

路过

鸡蛋
返回顶部