最强选股战法推荐:
通达信趋势线公式
源码正文:
M1:=WINNER( ma(CLOSE,1))*200{XG51};
M2:=WINNER(MA(CLOSE,20))*200{XG51};
VAR1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200{XG51};
VAR2:=SMA(VAR1,3,1){XG51};
VAR3:=SMA(VAR2,3,1){XG51};
VAR4:=3*VAR2-2*VAR3{XG51};
VAR5:=LLV(LOW,5){XG51};
VAR6:=HHV(HIGH,5){XG51};
VAR7:=ema((CLOSE-VAR5)/(VAR6-VAR5)*100,4)*2{XG51};
VAR8:=EMA(0.667*REF(VAR7,1)+0.333*VAR7,2){XG51};
VAR9:=3*VAR7-2*VAR8{XG51};
VARA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5){XG51};
VARB:=POW(MA(LOW,5),2)+MA(LOW,5){XG51};
VARC:=POW(MA(HIGH,5),2)+MA(HIGH,5){XG51};
VARD:=(VARA-LLV(VARB,64))/(HHV(VARC,64)-LLV(VARB,64))*150+65-10{XG51};
VARE:=SMA(VARD,3,1)*1.5-100{XG51};
VARF:=SMA(VARE,3,1){XG51};
VAR10:=3*VARE-2*VARF{XG51};
VAR11:=(HIGH+LOW+CLOSE*2)/4{XG51};
VAR12:=EMA(VAR11,13){XG51};
VAR13:=stD(VAR11,13){XG51};
VAR14:=(VAR11-VAR12)*100/VAR13{XG51};
VAR15:=EMA(VAR14,5){XG51};
VAR17:=EMA(VAR15,13)+200-100{XG51};
VAR18:=EMA(VAR17,10){XG51};
VAR19:=3*VAR17-2*VAR18{XG51};
VAR1A:=VAR2+VAR7+VARE+VAR17{XG51};
VAR1B:=VAR3+VAR8+VARF+VAR18{XG51};
VAR1C:=VAR4+VAR9+VAR10+VAR19{XG51};
VAR1D:=(HIGH+LOW+CLOSE)/3{XG51};
VAR20:=(VAR1D-MA(VAR1D,34))/(0.015*AVEDEV(VAR1D,34)){XG51};
VAR21:=dma(AMOUNT/vol/100,VOL/CAPITAL){XG51};
VAR22:=(HIGH+LOW+CLOSE+VAR1D)/4{XG51};
VAR23:=EMA(VAR22,24){XG51};
VAR24:=STD(VAR22,24){XG51};
VAR25:=(VAR22-VAR23)/VAR24*100{XG51};
VAR26:=(VAR1D-MA(VAR1D,24))/(0.015*AVEDEV(VAR1D,24)){XG51};
VAR27:=EMA(VAR25,5){XG51};
VAR2A:=((VAR27+VAR26+VAR20)/3+165)/4{XG51};
VAR2B:=(EMA(EMA(EMA(VAR2A,15),10),5)-25)*2+VAR21{XG51};
VAR2C:=(VAR1A+VAR1B+VAR1C*30)/32/5-15{XG51};
VAR2D:=EMA(VAR2C,13){XG51};
VAR2E:=(VAR2A+VAR2C)/2/1.1;
VAR28:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100{XG51};
VAR29:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100{XG51};
VAR30:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100{XG51};
VAR31:=REF(CLOSE,1){XG51};
VAR32:=SMA(MAX(CLOSE-VAR31,0),5,1)/SMA(Abs(CLOSE-VAR31),5,1)*100{XG51};
VAR33:=(HIGH+LOW+CLOSE)/3{XG51};
VAR34:=(VAR33-MA(VAR33,14))/(0.015*AVEDEV(VAR33,14)){XG51};
VAR35:=(VAR28>=-15.8 AND VAR28<=-12.2 AND VAR29<=-20.8 AND VAR30<=-27.5 AND VAR32<=11.7 AND VAR34<=-145)*100{XG51};
多空比例:IF((M1-M2)>-0.02,M1-M2,-0.02),COLORF0F000{XG51};
超短:EMA(VAR2E,3),COLORWHITE {XG51};
短线:EMA(超短,5),COLORRED{XG51};
趋势:EMA((VAR2B+VAR2D)/2,2) ,COLORBLUE{XG51};
底部:0,COLORF00FF0,LINETHICK2{XG51};
界线:50,POINTDOT,COLORBLUE{XG51};
风险:80,COLORRED{XG51};
顶:100,COLORYELLOW{XG51};
逃命:120,COLORCYAN{XG51};
DRAWTEXT(crOSS(短线,超短) AND CROSS(趋势,超短) AND CROSS(趋势,短线),REF(超短,2)*1.2,'逃'),COLORYELLOW{XG51};
DRAWICON(CROSS(超短,短线),超短,9){XG51};
DRAWICON(CROSS(短线,超短),短线,2){XG51};
DRAWICON(CROSS(超短,趋势),趋势,5){XG51};
A:=超短>REF(超短,1) AND 短线 >REF(短线,1) AND 趋势>REF(趋势,1) AND 多空比例>REF(多空比例,1){XG51};
DRAWICON(A,趋势,1){X=G^5-1=C=N={};
通达信唐能通精准买卖
源码正文:
DRAWBAND(ma(CLOSE,5),RGB(155,50,50),MA(CLOSE,10),RGB(83,123,68)){XG51};
DRAWKLINE(H,O,L,C){XG51};
MA5:MA(CLOSE,5),COLORRED{XG51};
MA10:MA(CLOSE,10),COLORBLUE{XG51};
MA20:MA(CLOSE,24),COLORLIMAGENTA{XG51};
MA60:MA(CLOSE,60),COLORCYAN{XG51};
MA120:MA(CLOSE,120),COLORMAGENTA{XG51};
MA240:MA(CLOSE,240),COLORYELLOW{XG51};
DRAWICON(crOSS(MA10,MA20),MA20,1);
DRAWICON(CROSS(MA20,MA60),MA60,1);
DRAWICON(CROSS(MA20,MA120),MA120,1);
DRAWICON(CROSS(MA20,MA240),MA240,1){XG51};
DRAWICON(CROSS(MA60,MA120),MA60,1);
DRAWICON(CROSS(MA60,MA240),MA240,1);
DRAWICON(CROSS(MA120,MA240),MA240,1){XG51};
DRAWICON(CROSS(MA10,MA5),MA10,2);
DRAWICON(CROSS(MA20,MA10),MA20,2);
DRAWICON(CROSS(MA60,MA20),MA60,2);
DRAWICON(CROSS(MA120,MA60),MA60,2);
反弹托:=MA5>MA20 AND MA5>MA20 AND MA20<MA60 AND MA60<MA120 AND CROSS(MA10,MA20){XG51};
月价托:=MA5>MA20 AND MA20>MA60 AND MA60>MA120 AND MA5>MA20 AND CROSS(MA10,MA20){XG51};
季价托:=MA20>MA60 AND MA20>MA60 AND CROSS(MA20,MA60){XG51};
短长价托:=MA5>MA60 AND MA5>MA10 AND CROSS(MA10,MA60){XG51};
半年托:=MA60>MA120 AND MA60>MA120 AND CROSS(MA60,MA120){XG51};
熊来:=MA60<MA120 AND MA60<MA120 AND CROSS(MA120,MA60){XG51};
年托:=MA120>MA240 AND MA120>MA240 AND CROSS(MA120,MA240){XG51};
月蜘蛛:=MA5>MA10 AND MA10>MA20 AND CROSS(MA5,MA20)AND CROSS(MA10,MA20){XG51};
DRAWTEXT(月蜘蛛,MA20-0.08,'金蜘蛛'),COLORLIMAGENTA{XG51};
DRAWTEXT(反弹托,MA20-0.08,'反弹托'),COLORLIMAGENTA{XG51};
DRAWTEXT(月价托 ,MA20-0.2,'月托'),COLORLIMAGENTA{XG51};
DRAWTEXT(季价托,MA60-0.0.08,'季托'),COLORLIMAGENTA{XG51};
DRAWTEXT(短长价托,L+0.015,'短长托'),COLOR36C0C1{XG51};
DRAWTEXT(半年托,MA120-0.08,'牛市来'),COLORWHITE{XG51};
DRAWTEXT(熊来,MA60+0.08,'小心熊'),COLORCYAN{XG51};
DRAWTEXT(年托,MA240-0.08,'年托'),COLORWHITE{XG51};
压:=MA10<MA20 AND MA20>MA10 AND CROSS(MA20,MA10){XG51};
DRAWTEXT(压,MA20+0.012,'压'),COLORBLUE{XG51};
vol5:=MA(VOL,5),COLORRED{XG51};
VOL10:=MA(VOL,10),COLORBLUE{XG51};
VOL40:=MA(VOL,40),COLORFF00FF {XG51};
量托:=VOL5>=VOL40 AND CROSS(VOL10,VOL40) AND REF(VOL10,1)<REF(VOL40,1){XG51};
DRAWTEXT(量托,L-0.012,'量托'),COLORRED{XG51};
AA1:=BArslAst(MA60>MA20 AND (MA20=MA10 OR MA20>MA10)){XG51};
BB1:=REF(COUNT(C<MA60,AA1)=AA1,1){XG51};
CC1:=CROSS(C,MA60) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3{XG51};
芙蓉出水:=BB AND CC1,COLOR00FF00{XG51};
DRAWTEXT(芙蓉出水,H+0.12,'芙蓉出水'),COLORFF00FF{XG51};
STICKLINE(芙蓉出水,H,L,0.5,1),COLORFF00FF{XG51};
STICKLINE(芙蓉出水,O,C,4,1),LINETHICK2,COLORFF00FF{XG51};
MA1:=MA(CLOSE,5){XG51};
MA2:=MA(CLOSE,10){XG51};
MA3:=MA(CLOSE,30){XG51};
ZJ:=AMOUNT/10000{XG51};
TM:=V-MA(V,10){XG51};
一穿三:=MA1>O AND MA2>O AND MA3>O AND MA1<C AND MA2<C AND MA3<C AND CLOSE>OPEN {XG51};
DRAWTEXT(一穿三,L-0.012,'穿三线'),COLORFF00FF{XG51};
C6:=REF(C,1){XG51};
涨停:=IF((C-C6)*100/C6>=(10-0.01*100/C6),1,0){XG51};
STICKLINE(涨停,OPEN,CLOSE,2,0),COLORLIMAGENTA{XG51};
STICKLINE(涨停,H,L,0,0),COLORLICYAN{XG51};
TY:=C{XG51};
A1:=REF(TY,10)=HHV(TY,2*10+1); B1:=FILTER(A1,10); C1:=BacKSET(B1,10+1); HD:=FILTER(C1,10){XG51};
A2:=REF(TY,10)=LLV(TY,2*10+1); B2:=FILTER(A2,10); C2:=BACKSET(B2,10+1); LD:=FILTER(C2,10){XG51};
前期高位:REF(C,BARSLAST(HD)),COLOR00FF00,POINTDOT{XG51};
STICKLINE(C,前期高位,前期高位,8,0),COLORBLUE;
{X=G_5_1=C=N={}
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7