最强选股战法推荐:
通达信超级大黑马2未加密选股指标公式源码
源码正文:
VAR11:=REF(C,2)>REF(O,2){XG51};
VAR12:=(REF(C,2)-REF(C,3))/REF(C,3)>0.02{XG51};
VAR21:=REF(C,1)<REF(O,1){XG51};
VAR31:=C>O AND C>REF(O,1) AND C>REF(C,2) {XG51};
VAR32:=V>REF(V,2) AND V>REF(V,1){XG51};
VAR33:=((H-C)/(H-L))<0.3{XG51};
VAR11 AND VAR12 AND VAR21 AND VAR31 AND VAR32 AND VAR33{X_G?5_1_C_N_{};
通达信波段决策主图未加密选股指标公式源码
源码正文:
M1:=5{XG51};
M2:=0{XG51};
M3:=20{XG51};
M4:=60{XG51};
M5:=0{XG51};
财务数据:=1{XG51};
bs:=1{XG51};
ma1:MA(CLOSE,M1)COLORRED,LINETHICK1{XG51};
MA2:MA(CLOSE,M2)COLORBLUE,LINETHICK1{XG51};
MA3:MA(CLOSE,M3)COLORLIMAGENTA,LINETHICK2{XG51};
MA4:MA(CLOSE,M4)COLORCYAN,LINETHICK2{XG51};
MA5:MA(CLOSE,M5)COLORGREEN,LINETHICK1{XG51};
CC:IF(CURRBARSCOUNT<18,CONst(REF(C,1)),DRAWNULL),COLORLIMAGENTA{XG51};
止赢:1.05*CC,COLOR8000FF{XG51};
止损:0.97*CC,COLOR00F000{XG51};
V1:=ABS((2*CLOSE+HIGH+LOW)/4-MA(CLOSE,20))/MA(CLOSE,20);
V2:=(1-7/100)*(dma(CLOSE,V1)){XG51};
V3:=(1+7/100)*(DMA(CLOSE,V1)){XG51};
V5:=MA((LOW+HIGH+CLOSE)/3,5){XG51};
支撑:REFDATE(V2,DATE),DOTLINE,LINETHICK1,COLORFF0080{XG51};
阻力:REFDATE(V3,DATE),DOTLINE,LINETHICK1,COLOR676767{XG51};
AAA:=CONST(HHV(H*0.5,90)){XG51};
AA:=(REF(CLOSE,1)+REF(CLOSE,2)+OPEN)/3{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.8,0.05,1,'今日保护价'),LINETHICK2,COLOR00FFFF{XG51};
DRAWNUMBER_FIX(CURRBARSCOUNT=1,0.84,0.05,1,AA){XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.86,0.05,1,'元'){XG51};
PT:=REF(H,1)-REF(L,1){XG51};
cdp:=(REF(H,1)+REF(L,1)+REF(C,1)*2)/4{XG51};
AH:=CDP+PT{XG51};
AL:=CDP-PT{XG51};
NH:=CDP*2-REF(L,1){XG51};
NL:=CDP*2-REF(H,1){XG51};
强:IF(AH>REF(C,1)*1.1,REF(C,1)*1.1,AH)NODRAW{XG51};
阻:IF(NH>强,(强-CDP)*0.618+CDP,NH)NODRAW,COLORYELLOW{XG51};
M:=IF(AL<REF(C,1)/1.1,REF(C,1)/1.1,AL){XG51};
撑:IF(NL<M,CDP-(CDP-M)*0.618,NL)NODRAW{XG51};
底:IF(AL<REF(C,1)/1.1,REF(C,1)/1.1,AL)NODRAW{XG51};
总股本:=STRCAT(STRCAT('总股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'亿')*财务数据{XG51};
流通盘:=STRCAT(STRCAT(' 流通盘: ',CON2STR(CAPITAL/1000000,2)),'亿')*财务数据{XG51};
全流通:=STRCAT(' 全流通: ',CON2STR((CAPITAL/1000000)/(TOTALCAPITAL/1000000),2))*财务数据{XG51};
市值:=STRCAT(STRCAT(' 流通市值: ',CON2STR((CAPITAL/1000000)*C,2)),'亿')*财务数据{XG51};
上市天数:=STRCAT(' 上市天数: ',CON2STR(FINANCE(42),0))*财务数据{XG51};
股本市值:=STRCAT('股本市值: ',STRCAT(STRCAT(STRCAT(STRCAT(总股本,流通盘),全流通),市值),上市天数))*财务数据{XG51};
市盈率:=STRCAT('市盈率: ',CON2STR(C/FINANCE(33),2))*财务数据{XG51};
市销率:=STRCAT(' 市销率: ',CON2STR(C/(FINANCE(20)/FINANCE(1)),2))*财务数据{XG51};
市净率:=STRCAT(' 市净率: ',CON2STR(C/FINANCE(34),2))*财务数据{XG51};
净资收益率:=STRCAT(' 净资收益率: ',CON2STR(FINANCE(33)/FINANCE(34)*100,2))*财务数据{XG51};
毛利率:=STRCAT(' 毛利率: ',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2))*财务数据{XG51};
净利润率:=STRCAT(' 净利润率 ',CON2STR(FINANCE(30)/FINANCE(20)*100,2))*财务数据{XG51};
主营利润率:=STRCAT(' 主营利润率 ',CON2STR(FINANCE(23)/FINANCE(20)*100,2))*财务数据{XG51};
当前业绩:=STRCAT('当前业绩: ',STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(市盈率,市销率),市净率),净资收益率),毛利率),净利润率),主营利润率))*财务数据{XG51};
X1:=(FINANCE(11)-FINANCE(15))/FINANCE(10)*1.2{XG51};
X2:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4{XG51};
X3:=FINANCE(23)/FINANCE(10)*3.3{XG51};
X4:=FINANCE(19)/FINANCE(15)*0.6{XG51};
X5:=FINANCE(20)/FINANCE(15)*0.999{XG51};
Z值:=X1+X2+X3+X4+X5{XG51};
预警:=IF(Z值<1.2,'重警',IF(Z值>=1.2 AND Z值<2.6,'轻警','无警'))*财务数据{XG51};
财务预警:=STRCAT('财务预警: ',STRCAT(预警,STRCAT('-Z值: ',CON2STR(Z值,3))))*财务数据{XG51};
优质资产率:=STRCAT(' 优质资产率: ',CON2STR((FINANCE(19)-FINANCE(22)-FINANCE(27))/FINANCE(19),2))*财务数据{XG51};
现金负债比:=STRCAT(' 现金负债比: ',CON2STR(FINANCE(25)/FINANCE(15),3))*财务数据{XG51};
财务系数:=STRCAT('风险系数: ',STRCAT(STRCAT(财务预警,优质资产率),现金负债比))*财务数据{XG51};
DRAWTEXT_FIX(ISLASTBAR,0.00,0.12,0,股本市值),COLORCYAN{XG51};
DRAWTEXT_FIX(ISLASTBAR,0.00,0.18,0,当前业绩),COLORCYAN{XG51};
DRAWTEXT_FIX(ISLASTBAR,0.00,0.24,0,财务系数),COLORCYAN{XG51};
DRAWTEXT_FIX(1,0.00,0,0,'所属地区:')COLOR00FFFF{XG51};
DRAWTEXT_FIX(1,0.07,0,0,DYBLOCK)COLOR00FFFF{XG51};
DRAWTEXT_FIX(1,0.00,0.06,0,'所属行业:')COLORFF00FF{XG51};
DRAWTEXT_FIX(1,0.07,0.06,0,HYBLOCK)COLORFF00FF;
今日保护价:(REF(C,2)+REF(C,1)+O)/3 ,COLORCC3299,NODRAW{XG51};
顶点:IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,HHV(H, BArslAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORWHITE,DOTLINE{XG51};
低点:IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORLIMAGENTA,DOTLINE{XG51};
DRAWTEXT(ISLASTBAR,顶点,'顶点'),COLORWHITE{XG51};
DRAWTEXT(ISLASTBAR,低点,'低点'),COLORLIMAGENTA{XG51};
MA7:=MA(CLOSE,BS){XG51};
转强:=(6*H+5*REF(H,1)+4*REF(H,2)+3*REF(H,3)+2*REF(H,4)+1*REF(H,5))/(6+5+4+3+2+1){XG51};
转弱:=(6*L+5*REF(L,1)+4*REF(L,2)+3*REF(L,3)+2*REF(L,4)+1*REF(L,5))/(6+5+4+3+2+1){XG51};
BB2:=IF(C>REF(转强,1),1,IF(C<REF(转弱,1),-1,0)){XG51};
DD2:=BARSLAST(NOT(BB2=0)){XG51};
B:=IF(BB2=0,REF(BB2,DD2),BB2){XG51};
中短:=IF(B=-1,MA(HIGH,6),MA(LOW,6)){XG51};
STICKLINE(MA7<中短,LOW,HIGH,0,1),COLORGREEN{XG51};
STICKLINE(MA7>中短,LOW,HIGH,0,1),COLORWHITE{XG51};
STICKLINE(((OPEN>CLOSE)AND(MA7<中短)),(CLOSE-0.003),OPEN,3.1,0),COLORLIGREEN{XG51};
STICKLINE(((OPEN<CLOSE)AND(MA7<中短)),CLOSE,OPEN,3.1,1),COLORGREEN{XG51};
STICKLINE(((OPEN>CLOSE)AND(MA7>中短)),OPEN,(CLOSE-0.003),3.1,0),COLORWHITE{XG51};
STICKLINE(((OPEN<CLOSE)AND(MA7>中短)),OPEN,CLOSE,3.1,1),COLORWHITE{XG51};
B点:crOSS(MA7,中短),COLORWHITE,NODRAW{XG51};
持股:MA7>中短,COLORWHITE,NODRAW{XG51};
DRAWICON(CROSS(MA7,中短),L,7){XG51};
DRAWICON(CROSS(中短,MA7),H,8){XG51};
超B:=L2_AMO(0,2)/10000.0{XG51};
大B:=L2_AMO(1,2)/10000.0{XG51};
中B:=L2_AMO(2,2)/10000.0{XG51};
小B:=L2_AMO(3,2)/10000.0{XG51};
超S:=L2_AMO(0,3)/10000.0{XG51};
大S:=L2_AMO(1,3)/10000.0{XG51};
中S:=L2_AMO(2,3)/10000.0{XG51};
小S:=L2_AMO(3,3)/10000.0{XG51};
TESTSKIP(NOT(超B OR 大B OR 中B OR 小B OR 超S OR 大S OR 中S OR 小S)!=0){XG51};
大宗进:=(超B)+(大B),NODRAW{XG51};
大宗出:=(超S)+(大S),NODRAW{XG51};
非大宗进:=(中B)+(小B),NODRAW{XG51};
非大宗出:=(中S)+(小S),NODRAW{XG51};
DAZHIV:=CONST(MAX(ABS(大宗进),MAX(ABS(大宗出),MAX(ABS(非大宗进),ABS(非大宗出))))),NODRAW{XG51};
DRAwrECTREL(0,CONST(950-(ABS(大宗进)*250/DAZHIV))-20,30,950,IF(CONST(大宗进>0),RGB(255,0,0),RGB(23,125,255))){XG51};
DRAWRECTREL(32,CONST(950-(ABS(大宗出)*250/DAZHIV))-20,62,950,IF(CONST(大宗出>0),RGB(23,125,255),RGB(255,0,0))){XG51};
DRAWRECTREL(92,CONST(950-(ABS(非大宗进)*250/DAZHIV))-20,122,950,IF(CONST(非大宗进>0),RGB(255,0,0),RGB(23,125,255))){XG51};
DRAWRECTREL(124,CONST(950-(ABS(非大宗出)*250/DAZHIV))-20,154,950,IF(CONST(非大宗出>0),RGB(23,125,255),RGB(255,0,0))){XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.015,1,0,'主力进出'),COLORLIMAGENTA{XG51};
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.107,1,0,'散户进出'),COLORGREEN{X*G_5_1*C*N*{};
热门股票公式标签:
栏 目:通达信公式
本文标题:通达信超级大黑马2未加密选股指标公式源码
本文地址:https://www.xg51.cn/a/tdxgs/24158.html
重要申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。
如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。
选股无忧网是股票软件指标公式分享平台,不开展相关证券业务,平台展示的所有股票资料由网络收集,不保障实时性和真实性,请勿以此为依据进行股票交易。
联系QQ:875328188 | 邮箱:875328188@qq.com
Copyright © 2002-2021 选股无忧网桂ICP备18001383号-7