最强选股战法推荐:
通达信短线强弱未加密选股指标公式源码
源码正文:
UP:=SMA(IF(CLOSE>REF(CLOSE,1), CLOSE-REF(CLOSE,1),0),N,1){XG51};
DN:=Sma(IF (CLOSE<=REF(CLOSE,1),Abs(CLOSE-REF(CLOSE,1)),0),N,1){XG51};
指标:=100*UP/(UP+DN){XG51};
强弱:ema(指标,3),COLORWHITE{XG51};
平均:EMA(强弱,3),COLORCYAN{XG51};
风险:80,COLOR8887EA{XG51};
安全:20,COLOR8887EA{XG51};
分界:50,CIRCLEDOT,LINETHICK2,COLORCYAN{XG51};
RSV:=(CLOSE-LLV(LOW,N1))/(HHV(HIGH,N1)-LLV(LOW,N1))*100{XG51};
K:=SMA(RSV,M1,1){XG51};
D:=EMA(K,M2){XG51};
PJJ:=dma((HIGH+LOW+CLOSE*2)/4,0.9){XG51};
JJ:=REF(EMA(PJJ,3),1){XG51};
QJJ:=vol/((HIGH-LOW)*2-ABS(CLOSE-OPEN)){XG51};
XVL:=(IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2))){XG51};
HSL:=(XVL/20)/1.15{XG51};
攻击流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22)){XG51};
LLJX:=EMA(攻击流量,2){XG51};
资金流:=LLJX/1000{XG51};
卖出:IF(强弱<平均 AND D<REF(D,1) AND 资金流<=0,50,DRAWNULL AND MA(C,3)<REF(MA(C,3),1)),CIRCLEDOT,LINETHICK2,COLORCYAN{XG51};
观望:IF((强弱>=平均 AND D>=REF(D,1) AND MA(C,3)>=REF(MA(C,3),1)) OR (D>=REF(D,1) AND 资金流>0 AND MA(C,3)>=REF(MA(C,3),1)) OR(强弱>=平均 AND 资金流>0 AND MA(C,3)>=REF(MA(C,3),1)) OR (强弱>=平均 AND 资金流>0 AND D>=REF(D,1)),50,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORMAGENTA{XG51};
买进:IF(强弱>=平均 AND D>=REF(D,1) AND 资金流>0 AND MA(C,3)>=REF(MA(C,3),1),50,DRAWNULL),CIRCLEDOT,LINETHICK2,COLORWHITE{XG51};
VAR1:=1/WINNER(CLOSE){XG51};
VAR2:=MA(CLOSE,13){XG51};
VAR3:=100-ABS((CLOSE-VAR2)/VAR2*100){XG51};
VAR4:=LLV(LOW,75){XG51};
VAR5:=HHV(HIGH,75){XG51};
VAR6:=(VAR5-VAR4)/100{XG51};
VAR7:=SMA((CLOSE-VAR4)/VAR6,20,1){XG51};
VAR8:=SMA((OPEN-VAR4)/VAR6,20,1){XG51};
VAR9:=3*VAR7-2*SMA(VAR7,15,1){XG51};
VARA:=3*VAR8-2*SMA(VAR8,15,1){XG51};
VARB:=100-VARA{XG51};
VARC:=IF(900101<DATE AND DATE<99991230,1,0){XG51};
VARE:=REF(LOW,1)*0.9{XG51};
VARF:=LOW*0.9{XG51};
VAR10:=(VARF*VOL+VARE*(CAPITAL-VOL))/CAPITAL{XG51};
VAR11:=EMA(VAR10,30){XG51};
VAR12:=CLOSE-REF(CLOSE,1){XG51};
VAR13:=MAX(VAR12,0){XG51};
VAR14:=ABS(VAR12){XG51};
VAR15:=SMA(VAR13,7,1)/SMA(VAR14,7,1)*100{XG51};
VAR16:=SMA(VAR13,13,1)/SMA(VAR14,13,1)*100{XG51};
VAR17:=BARSCOUNT(CLOSE){XG51};
VAR18:=SMA(MAX(VAR12,0),6,1)/SMA(ABS(VAR12),6,1)*100{XG51};
VAR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+100{XG51};
VAR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100{XG51};
VAR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1){XG51};
VAR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100{XG51};
VAR1D:=SMA(VAR1C,4,1){XG51};
VAR1E:=SMA(VAR1D,3,1){XG51};
VAR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100{XG51};
VAR20:=VAR18<=25 AND VAR19<-95 AND VAR1F>20 AND VAR1B<-30 AND VAR1E<30 AND VAR11-CLOSE>=-0.25 AND VAR15<22 AND VAR16<28 AND VAR17>50{XG51};
VAR21:=(HIGH+LOW+CLOSE)/3{XG51};
VAR22:=(VAR21-MA(VAR21,14))/(0.015*AVEDEV(VAR21,14)){XG51};
VAR23:=(VAR21-MA(VAR21,70))/(0.015*AVEDEV(VAR21,70)){XG51};
VAR24:=IF(VAR22>=150 AND VAR22<200 AND VAR23>=150 AND VAR23<200,10,0){XG51};
VAR25:=IF(VAR22<=-150 AND VAR22>-200 AND VAR23<=-150 AND VAR23>-200,-10,VAR24){XG51};
VAR26:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100{XG51};
VAR27:=REVERSE(VAR26){XG51};
VAR28:=SMA(VAR26,3,1){XG51};
散户: SMA(VAR28,3,1)*VARC, , {XG51};
主力: SMA(散户,3,1)*VARC, , COLORBLUE{X^G~5-1^C^N^{};
通达信新主力控盘未加密选股指标公式源码
源码正文:
VUR1:=vol/CAPITAL{XG51};
VUR2:=1.1*(maX(HIGH,REF(CLOSE,1))/MIN(LOW,REF(CLOSE,1))-1){XG51};
VUR3:=2.5*MAX(VUR1,VUR2){XG51};
VUR4:=dma(CLOSE,VUR3){XG51};
VUR5:=20*(VUR4/REF(VUR4,1)-1)*38{XG51};
VUR6:=ema(VUR5,2){XG51};
VUR7:=EMA(VUR5,2){XG51};
VUR8:=EMA(VUR7,3){XG51};
VURS:=EMA(VUR7,8){XG51};
VUR9:=1.1*(MAX(INDEXH,REF(INDEXC,1))/MIN(INDEXL,REF(INDEXC,1))-1){XG51};
VURA:=2.5*MAX(VUR1,VUR9){XG51};
VURB:=DMA(INDEXC,VURA){XG51};
VURC:=EMA(20*(VURB/REF(VURB,1)-1),1)*38{XG51};
VURD:=EMA(VURC,2){XG51};
VURE:=EMA(VURC,2){XG51};
D强:stICKLINE(VURD>0,0,VURD,2.3,1),COLORB210E4{XG51};
D弱:STICKLINE(VURD<0,0,VURD,2.3,1),COLOR00FF00{XG51};
极强:STICKLINE(VUR5>0,0,VUR5,2.3,0),COLOR00AAAA{XG51};
STICKLINE(VUR5>0,0,VUR5,1.5,0),COLOR00BBBB{XG51};
STICKLINE(VUR5>0,0,VUR5,0.5,0),COLOR00FFFF{XG51};
强势:STICKLINE(VUR6>0,0,VUR6,2.3,0),COLOR0000AA{XG51};
STICKLINE(VUR6>0,0,VUR6,1.5,0),COLOR0000BB{XG51};
STICKLINE(VUR6>0,0,VUR6,0.5,0),COLOR0000FF{XG51};
极弱:STICKLINE(VUR5<0,0,VUR5,2.3,0),COLOR00AA00{XG51};
STICKLINE(VUR5<0,0,VUR5,1.5,0),COLOR00BB00{XG51};
STICKLINE(VUR5<0,0,VUR5,0.5,0),COLOR00FF00{XG51};
弱势:STICKLINE(VUR6<0,0,VUR6,2.3,0),COLOR005AAA{XG51};
STICKLINE(VUR6<0,0,VUR6,1.5,0),COLOR007BBB{XG51};
STICKLINE(VUR6<0,0,VUR6,0.5,0),COLOR009FFF{XG51};
DX:=VURE,LINETHICK2,COLOR1088FF{XG51};
界:=VURS,LINETHICK2,COLOR6CBC10{XG51};
控:VUR8,LINETHICK2,COLORFf10FF{XG51};
零:0,COLORCCCCCC{X~G-5.1~C~N~{};
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7