最强选股战法推荐:
通达信短波买卖未加密选股指标公式源码
源码正文:
VARV:=(2*C+H+L)/4{XG51};
VARU:=LLV(LOW,30){XG51};
VARA1:=HHV(HIGH,30){XG51};
B:=ema((VARV-VARU)/(VARA1-VARU)*100,8){XG51};
B1:=Ema(B,5){XG51};
VAR100:=B-B1>0 AND BArslAst(B-B1<0)=1{XG51};
买:IF(VAR100,1,0),COLORWHITE,POINTDOT{XG51};
STICKLINE(B-B1>0,B,B1,8,1),COLORWHITE{XG51};
DRAWTEXT(FILTER(VAR100,1)=1,B1*0.9,'买'),COLORWHITE,LINETHICK3 , {XG51};
VAR101:=B-B1<0 AND BARSLAST(B-B1>0)=1{XG51};
卖:IF(VAR101,1,0),COLOR00FF00,POINTDOT{XG51};
STICKLINE(B-B1<0,B,B1,8,1),COLOR00FF00{XG51};
DRAWTEXT(FILTER(VAR101,1)=1,B*1.1,'卖'),COLOR00FF00,LINETHICK3 , {XG51};
LC:=REF(CLOSE,1){XG51};
rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100{XG51};
低吸:=IF(crOSS(RSI,11),70,0),COLORRED,POINTDOT{XG51};
VAR7:=EMA(AMOUNT/vol/100,3){XG51};
VAR8:=EMA(VAR7,88){XG51};
VAR9:=EMA(VAR7,88)*0.85{XG51};
VARA:=VAR9*0.87{XG51};
VARB:=LOW<VARA AND CLOSE>REF(CLOSE,1)*1.02{XG51};
VARF:=(2*CLOSE+HIGH+LOW)/4{XG51};
VA4:=LLV(LOW,34){XG51};
VA5:=HHV(HIGH,34){XG51};
VA6:=EMA((VARF-VA4)/(VA5-VA4)*100,6){XG51};
VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4){XG51};
A:=(3*CLOSE+LOW+OPEN+HIGH)/6{XG51};
D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+
REF(A,20))/211{XG51};
D2:=EMA(D1,2){XG51};
D3:=EMA(D2,2){XG51};
K1:=EMA(D3,2){XG51};
多方趋势:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)
-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
,3,1),2,1){XG51};
天线:=78.89{XG51};
STICKLINE(CROSS(天线,多方趋势),90,95,6,0),COLOR00FF00{XG51};
VAR1:=REF(CLOSE,2){X*G*5~1*C*N*{};
通达信破敌突破主图未加密选股指标公式源码
源码正文:
DRAWGBK(C>0, RGB(01,01,01),RGB(01,01,01),0,0,1){XG51};
DRAWKLINE(H,O,L,C){XG51};
ma7:MA(CLOSE,7)COLORWHITE,LINETHICK2{XG51};
DRAWNUMBER(ISLAstBAR ,C,C),COLORLIMAGENTA{XG51};
SJTJ:=DATE<1590301{XG51};
X1:=(C+L+H)/3{XG51};
X2:=ema(X1,6){XG51};
X3:=EMA(X2,5){XG51};
STICKLINE(X2>=X3 AND SJTJ,LOW,HIGH,0,1),COLORWHITE{XG51};
STICKLINE(X2>=X3 AND SJTJ,CLOSE,OPEN,3.2,2),COLORWHITE{XG51};
STICKLINE(X2<X3 AND SJTJ,LOW,HIGH,0,1),COLORCYAN{XG51};
STICKLINE(X2<X3 AND SJTJ,CLOSE,OPEN,3.2,2),COLORCYAN{XG51};
STICKLINE(crOSS(X3,X2) AND SJTJ,OPEN,CLOSE,3.2,0),COLORCYAN{XG51};
STICKLINE(CROSS(X2,X3) AND SJTJ,OPEN,CLOSE,3.2,0),COLORWHITE{XG51};
STICKLINE((CLOSE>OPEN) AND (X2<X3) AND SJTJ,CLOSE,OPEN,3.2,2)COLORCYAN{XG51};
STICKLINE((CLOSE>OPEN) AND (X2>=X3) AND SJTJ,CLOSE,OPEN,3.2,2)COLORWHITE{XG51};
STICKLINE((CLOSE<OPEN) AND (X2<X3) AND SJTJ,CLOSE,OPEN,3.2,0)COLORCYAN{XG51};
STICKLINE((CLOSE<OPEN) AND (X2>=X3) AND SJTJ,CLOSE,OPEN,3.2,0)COLORWHITE{XG51};
操盘线:=EMA(EMA(EMA(CLOSE,2),2),2){XG51};
MA2:=MA(C,2)COLORRED{XG51};
趋势线:=(MA(操盘线,5)),COLORCYAN,LINETHICK2{XG51};
MA05:=MA(C,5)LINETHICK3,COLOR00CCFF{XG51};
MA10:=MA(C,10){XG51};
MA20:=MA(C,20){XG51};
MA30:=MA(C,30){XG51};
五日乖离率:=(C-MA05)/MA05*100{XG51};
BB05:=ATAN((MA05/REF(MA05,1)-1)*100)*180/3.1416{XG51};
速度5:=SMA(EMA((MA05-REF(MA05,1))/REF(MA05,1),3)*100,3,1){XG51};
加速度5:=EMA((速度5-REF(速度5,1)),3),NODRAW{XG51};
BB10:=ATAN((MA10/REF(MA10,1)-1)*100)*180/3.1416{XG51};
三拾日乖离率:=(C-MA30)/MA30*100,NODRAW{XG51};
VAR1:=(MA20-MA30)>REF((MA20-MA30),1) AND MA20>REF(MA20,1) AND MA30>REF(MA30,1){XG51};
VAR2:=(MA30-MA20)<REF((MA30-MA20),1) AND MA20<REF(MA20,1) AND MA30<REF(MA30,1){XG51};
BB30:=ATAN((MA30/REF(MA30,1)-1)*100)*180/3.1416{XG51};
强势狙击:=FILTER(BB30>30 AND BB10>45 AND CROSS(BB05,60),10){XG51};
加仓:=FILTER(COUNT(CROSS(BB05,30),5)>=1 AND MA05>REF(MA05,1) AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA10>REF(MA10,1)
AND 加速度5>REF(加速度5,1) AND 速度5>REF(速度5,1) ,10) {XG51};
清仓:=FILTER(COUNT(CROSS(30,BB05),5)>=1 AND (C>MA30 OR O>MA30) AND MA05<REF(MA05,1) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10<REF(MA10,1),10){XG51};
DRAWTEXT(加仓 ,LOW*0.98,'←加仓'),COLORWHITE{XG51};
JC:=CROSS(0,五日乖离率) AND 三拾日乖离率<REF(三拾日乖离率,1) AND MA10>REF(MA10,1) {XG51};
减仓:=FILTER(JC,10){XG51};
MR:=COUNT(CROSS(五日乖离率,0),3)>=1 AND 三拾日乖离率>REF(三拾日乖离率,1) AND MA05>REF(MA05,1) AND (C/REF(C,1)-1)*100>5 AND REF(C,1)<MA30{XG51};
买入:=FILTER(MR,10){XG51};
DRAWTEXT(减仓,HIGH*1.02,'←风险'),COLORGREEN{XG51};
DRAWTEXT(买入,LOW*0.98,'←买入'),COLORBLUE{XG51};
DRAWTEXT(清仓 ,HIGH*1.02,'←清仓'),COLORCYAN{XG51};
DRAWTEXT(强势狙击,LOW*0.98,'←强势狙击'),COLORBLUE{XG51};
VAR21:=MAX(Abs(HIGH-AMOUNT/vol/100),ABS(AMOUNT/VOL/100-LOW)){XG51};
VAR3:=ABS((OPEN+CLOSE)/2-AMOUNT/VOL/100){XG51};
MV:=(VAR21+VAR3)/AMOUNT*VOL*100*50{XG51};
ZZ1:=REF(HIGH,4)=HHV(HIGH,2*4+1){XG51};
Y1:=FILTER(ZZ1,3){XG51};
C1:=BacKSET(Y1,3+1){XG51};
D1:=FILTER(C1,3){XG51};
A2:=REF(LOW,3)=LLV(LOW,2*3+1){XG51};
V2:=FILTER(A2,3){XG51};
C2:=BACKSET(V2,3+1){XG51};
D2:=FILTER(C2,3){XG51};
E1:=(REF(LLV(LOW,2*3),1)+REF(HHV(HIGH,2*3),1))/2{XG51};
E2:=(HIGH+LOW)/2{XG51};
H1:=(D1 AND NOT(D2 AND E1>=E2)) OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1{XG51};
H2:=D1 AND NOT(D2 AND E1>=E2){XG51};
L1:=D2 AND NOT(D1 AND E1=E2){XG51};
XX1:=REF(BArslAST(H1),1)+1{XG51};
F1:=BACKSET(H1 AND COUNT(L1,XX1)>0,LLVBARS(IF(L1,LOW,10000),XX1)){XG51};
G1:=F1>REF(F1,1){XG51};
I1:=BACKSET(G1,2){XG51};
LD:=I1>REF(I1,1){XG51};
L2:=LD OR ISLASTBAR=1 OR BARSCOUNT(CLOSE)=1{XG51};
XXX2:=REF(BARSLAST(L2),1)+1{XG51};
F2:=BACKSET(L2 AND COUNT(H2,XXX2)>0,HHVBARS(IF(H2,HIGH,0),XXX2)){XG51};
G2:=F2>REF(F2,1){XG51};
I2:=BACKSET(G2,2){XG51};
HD:=I2>REF(I2,1){XG51};
UU2:=BACKSET(ISLASTBAR=1,BARSLAST(HD)+1){XG51};
VV2:=UU2>REF(UU2,1){XG51};
WW2:=BACKSET(VV2,REF(BARSLAST(HD),1)+2){XG51};
XX2:=WW2>REF(WW2,1){XG51};
突破线:REF(H,BARSLAST(VV2))COLORLIMAGENTA,DOTLINE{XG51};
持仓线:REF(H,BARSLAST(XX2))COLORCYAN,DOTLINE{XG51};
TP1:=CROSS(C,突破线){XG51};
TP2:=CROSS(C,持仓线){XG51};
STICKLINE(TP1,H,L,0,0),COLORBLUE{XG51};
STICKLINE(TP1,C,O,3,0),COLORBLUE{XG51};
STICKLINE(TP1,C,O,2,0),COLORBLUE{XG51};
STICKLINE(TP1,C,O,1,0),COLORBLUE{XG51};
DRAWTEXT(TP1,LOW*0.98,'资金突破'),LINETHICK1,COLORBLUE{XG51};
STICKLINE(TP2,H,L,0,0),COLORBLUE{XG51};
STICKLINE(TP2,C,O,3,0),COLORBLUE{XG51};
STICKLINE(TP2,C,O,2,0),COLORBLUE{XG51};
STICKLINE(TP2,C,O,1,0),COLORBLUE{XG51};
DRAWTEXT(TP2,LOW*0.98,'资金突破'),LINETHICK1,COLORBLUE{X!G.5!1!C!N!{};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7