通达信超音速巡航指标公式

news/2024/11/17 2:43:33/

   

 

N日:=2;
    VAR1:=EMA(EMA(CLOSE,9),9);
    控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;
    A10:=crOSS(控盘,0);
    做多:=IF(A10,5,0);
    X_1:=MA(CLOSE,10);
    X_2:=MA(CLOSE,20);
    X_3:=MA(CLOSE,30);
    X_4:=MA(CLOSE,54);
    X_5:=MA(CLOSE,60);
    X_6:=MA(CLOSE,120);
    X_7:=(REF(CLOSE,3)-CLOSE)/REF(CLOSE,3)*100>5;
    X_8:=FILTER(X_7,10);
    X_9:=BArslAST(X_8);
    X_10:=REF(HIGH,X_9+2);
    X_11:=REF(HIGH,X_9+1);
    X_12:=REF(HIGH,X_9);
    X_13:=MAX(X_10,X_11);
    X_14:=MAX(X_13,X_12);
    X_15:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100>5;
    X_16:=X_9<150;
    X_17:=(OPEN-X_14)/X_14*100<30;
    X_18:=(CLOSE-LLV(LOW,X_9))/LLV(LOW,X_9)*100<50;
    X_19:=(CLOSE-REF(OPEN,5))/REF(OPEN,5)*100<30;
    X_20:=vol/MA(VOL,5)<3.5;
    X_21:=(CLOSE-REF(CLOSE,89))/REF(CLOSE,89)*100<80;
    X_22:=X_15ANDX_16ANDX_17ANDX_18ANDX_19ANDX_20ANDX_21;
    X_23:=FILTER(X_22,15);
    X_24:=(CLOSE-X_4)/X_4<0.1;
    X_25:=(CLOSE-X_1)/X_1<0.3;
    X_26:=(X_24=1ANDX_25=1)*0.2;
    X_27:=(X_26=0ANDREF(X_26,1)=0.2ANDREF(COUNT(X_26=0.2,10)=10,1)=1)*(-0.1);
    X_28:=X_27=(-0.1);
    X_29:=X_23ORX_28;
    X_30:=DMA(AMOUNT/VOL/100,VOL/CAPITAL);
    X_31:=DYNAINFO(7)/REF(CLOSE,1)>1.05ANDDYNAINFO(7)/OPEN>1.05;
    X_32:=VOL/REF(VOL,1)>1.2ANDCOUNT(CLOSE>OPEN,1)OR(LOW>REF(HIGH,1)ANDCOUNT(OPEN>CLOSE,1)ANDVOL/REF(VOL,1)>1.2);
    妖股:=X_29ANDCLOSE/REF(CLOSE,1)>1.095ANDX_32ANDX_31;
    LCZ:=REF(CLOSE,1);
    rsiZ:=((SMA(MAX((CLOSE-LCZ),0),3,1)/SMA(Abs((CLOSE-LCZ)),3,1))*100);
    FF:=EMA(CLOSE,3);
    MA15:=EMA(CLOSE,21);
    VAR91:=IF(YEAR>=2038ANDMONTH>=1,0,1);
    VAR92:=REF(LOW,1)*VAR91;
    VAR93:=SMA(ABS(LOW-VAR92),3,1)/SMA(MAX(LOW-VAR92,0),3,1)*100*VAR91;
    VAR94:=EMA(IF(CLOSE*1.3,VAR93*10,VAR93/10),3)*VAR91;
    VAR95:=LLV(LOW,30)*VAR91;
    VAR96:=HHV(VAR94,30)*VAR91;
    VAR97:=IF(MA(CLOSE,58),1,0)*VAR91;
    VAR98:=EMA(IF(LOW<=VAR95,(VAR94+VAR96*2)/2,0),3)/618*VAR97*VAR91;
    吸筹:=IF(VAR98>100,100,VAR98)*VAR91,COLORFFC0CB;
    庄家吸筹:STICKLINE(吸筹>-150,0,吸筹*0.05,5,0),COLORRED;
    VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;
    VAR10:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
    VAR11:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);
    VAR12:=VAR10<REF(VAR11,1)ANDVOL>REF(VOL,1)ANDCLOSE>REF(CLOSE,1);
    DRAWTEXT(VAR12ANDCOUNT(VAR12,30)=1,0.6,'—大资金!');
    资金进场:VAR12ANDCOUNT(VAR12,30)=1,NODRAW;
    STICKLINE(资金进场,0,2,3,0),COLORBLUE;
    MA5:=MA(CLOSE,5);
    MA13:=MA(CLOSE,13);
    MA21:=MA(CLOSE,21);
    MA34:=MA(CLOSE,34);
    MA55:=MA(CLOSE,55);
    MA144:=MA(CLOSE,144);
    MA233:=MA(CLOSE,233);
    DIF:=EMA(CLOSE,12)-EMA(CLOSE,26);
    DEA:=EMA(DIF,9);
    macd:=(DIF-DEA)*2;
    V144:=MA(V,144);
    TJ1:=CROSS(V,V144);
    TJ2:=C>MA233ANDC/MA233<1.15;
    TJ3:=做多=5ANDMA233>REF(MA233,1);
    TJ4:=妖股=1;
    高超音速飞行:C<60ANDTJ2ANDTJ3ANDTJ4,NODRAW;
    主趋势线:=EMA(EMA(C,10),10);
    AAAZ:=(3*C+H+L+O)/6;
    VAR101:=(8*AAAZ+7*REF(AAAZ,1)+6*REF(AAAZ,2)+5*REF(AAAZ,3)+4*REF(AAAZ,4)+3*REF(AAAZ,5)+2*REF(AAAZ,6)+REF(AAAZ,8))/36;
    VAR201:=(HHV(VAR101,5)+HHV(VAR101,10)+HHV(VAR101,20))/3;
    VAR301:=(LLV(VAR101,5)+LLV(VAR101,10)+LLV(VAR101,20))/3;
    VAR401:=(HHV(VAR201,5)+HHV(VAR201,10)+HHV(VAR201,20))/3;
    VAR501:=(LLV(VAR301,5)+LLV(VAR301,10)+LLV(VAR301,20))/3;
    VAR601:=(LLV(VAR101,2)+LLV(VAR101,4)+LLV(VAR101,6))/3;
    短线:=VAR101;
    NOTEXT1:=IF(C>=短线,短线,DRAWNULL);
    NOTEXT2:=IF(C<短线,短线,DRAWNULL);
    中线:=VAR601;
    M1:=VAR101>VAR601;
    M2:=VAR101<=VAR601;
    飞行器:M1ANDLAST(M2,N日,1)ANDC>中线ANDC>REF(C,1)ANDC>MA(CLOSE,144)
    ANDO<MA(CLOSE,144)ANDC>MA233ANDC>MA(CLOSE,60)ANDO<MA(CLOSE,60),NODRAW;
    S1:=IF(CODELIKE('688'),0,1);
    S2:=IF(NAMELIKE('S'),0,1);
    S3:=IF(NAMELIKE('*'),0,1);
    TJ5:=S1ANDS2ANDS3;
    超音速飞行:C<60ANDTJ2ANDTJ4ANDTJ5,NODRAW;
    STICKLINE(超音速飞行,0,2.6,3,0),COLORWHITE;
    STICKLINE(超音速飞行,0,1.7,1.3,0),COLORRED;
    STICKLINE(超音速飞行,1.7,3.4,1.3,0),COLORYELLOW;
    DRAWTEXT(超音速飞行,0.8,'超音速飞行'),COLORWHITE;{红牛初选}
    STICKLINE(高超音速飞行,0,3,2,0),COLORYELLOW;
    STICKLINE(高超音速飞行,0.3,0.5,2,0),COLORRED;
    STICKLINE(高超音速飞行,2.7,2.5,2,0),COLORRED;
    DRAWTEXT(高超音速飞行,1.5,'高超音速飞行'),COLORWHITE;
    STICKLINE(飞行器,3.2,2.8,1,0),COLORRED;
    STICKLINE(飞行器,2.8,2.4,1.5,0),COLORMAGENTA;
    STICKLINE(飞行器,2.4,2,2,0),COLORYELLOW;
    STICKLINE(飞行器,2,1.6,2.2,0),COLORMAGENTA;
    STICKLINE(飞行器,1.6,1.2,2.5,0),COLORRED;
    STICKLINE(飞行器,1.2,0.8,3,0),COLORCYAN;
    STICKLINE(飞行器,0.8,0.4,4,0),COLORYELLOW;
    STICKLINE(飞行器,0.4,0,5,0),COLORWHITE;
    DRAWICON(飞行器,3,13);
    DRAWTEXT(飞行器,2.2,'飞行器'),COLORWHITE;
    {板块市值业绩}
    所属板块:=STRCAT('【所属板块】',STRCAT(STRCAT(STRCAT('[行业]—',HYBLOCK),STRCAT('[地域]—',DYBLOCK)),STRCAT('[概念]—',GNBLOCK)));
    总股本:=STRCAT(STRCAT('总股本:',CON2STR(TOTALCAPITAL/1000000,2)),'亿');
    流通盘:=STRCAT(STRCAT('流通盘:',CON2STR(CAPITAL/1000000,2)),'亿');
    全流通:=STRCAT(STRCAT('全流通:',CON2STR(CAPITAL/TOTALCAPITAL*100,2)),'%');
    市值:=STRCAT(STRCAT('流通市值:',CON2STR((CAPITAL/1000000)*C,2)),'亿');
    上市日期:=STRCAT('上市日期:',CON2STR(HHV((BARSCOUNT(C)=0)*(DATE+19000000),0),0));
    股本市值:=STRCAT('【股本市值】',STRCAT(STRCAT(STRCAT(STRCAT(总股本,流通盘),全流通),市值),上市日期));
    市盈率:=STRCAT('市盈率:',CON2STR(C/FINANCE(33),2));
    市销率:=STRCAT('市销率:',CON2STR(C/(FINANCE(20)/FINANCE(1)),2));
    市净率:=STRCAT('市净率:',CON2STR(C/FINANCE(34),2));
    净资收益率:=STRCAT('净资收益率:',CON2STR(FINANCE(33)/FINANCE(34)*100,2));
    毛利率:=STRCAT('毛利率:',CON2STR((FINANCE(20)-FINANCE(21))/FINANCE(20)*100,2));
    净利润率:=STRCAT('净利率:',CON2STR(FINANCE(30)/FINANCE(20)*100,2));
    主营利润率:=STRCAT('主营利润率:',CON2STR(FINANCE(23)/FINANCE(20)*100,2));
    当前业绩:=STRCAT('【当前业绩】',STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(STRCAT(市盈率,市销率),市净率),净资收益率),毛利率),净利润率),主营利润率));
    DRAWTEXT_FIX(ISLASTBAR,0.005,0.2,0,所属板块),COLORMAGENTA;
    DRAWTEXT_FIX(ISLASTBAR,0.005,0.4,0,股本市值),COLORMAGENTA;
    DRAWTEXT_FIX(ISLASTBAR,0.005,0.6,0,当前业绩),COLORMAGENTA;

  


http://www.ppmy.cn/news/247696.html

相关文章

南宁股票配资通达信抄底源码:量价潜伏必买

上轨:EMA(H,55),COLORGREEN; 下轨:EMA(L,55),COLORGREEN; A1:PLOYLINE(C>上轨,上轨); NOTEXT_A2:IF(C>上轨,A1,DRAWNULL),COLORRED; B1:PLOYLINE(C>下轨,下轨); NOTEXT_B2:IF(C>下轨,B1,DRAWNULL),COLORRED; DIF:(EMA(CLOSE,12)-EMA(CLOSE,26))*100;DEA:EMA(DIF,9)…

诚通优股获多家评级机构认可,智能选股顺风远航

国家认可、鼓励的第三方信用评估机构&#xff0c;在国务院发布的《社会信用体系建设规划纲要&#xff08;2014—2020年&#xff09;》中明确提出&#xff1a;在招投标领域加强信用体系建设&#xff0c;鼓励以第三方信用报告为依据对投标人进行资格审查、评标、定标和签订合同进…

《扬帆优配》交易拥挤度达历史极值 当前A股TMT板块性价比几何?

上周&#xff0c;A股商场企稳&#xff0c;但盘面风格分歧再度加深&#xff1a;很多资金涌入以ChatGPT、数字经济为代表的TMT板块&#xff0c;而新能源以及前期强势的“中字头”种类都呈现了回调。兴业证券计算显现&#xff0c;3月24日&#xff0c;TMT及电子板块的商场成交金额占…

贝壳正式登陆港交所:开盘报30港元/股,年GTV达3.85万亿元

5月11日&#xff0c;贝壳&#xff08;HK:02423&#xff09;在港交所公布有关美国存託股份上一个交易日在纽交所的交易资料。据贝壳介绍&#xff0c;该公司的美国存托股份&#xff08;ADS&#xff09;在纽交所于2022年5月10日收报11.83美元&#xff0c;等值每股30.76港元。 据贝…

PageOffice国产版(统信UOS操作系统)与Window版的区别

自国家大力推广国产软件以来&#xff0c;统信软件的UOS操作系统在软硬件适配方面不断拓展&#xff0c;整个生态环境日渐完善&#xff0c;已经基本满足政府、企业等日常办公需求。在Windows系统环境下&#xff0c;PageOffice产品积累了十多年的Office在线编辑研发经验和应用经验…

多投资机构点评神州信息2019业绩:看好金融信创,给出增持评级!

兴业证券 金融IT持续发力&#xff0c;有望充分受益信创浪潮 营收结构优化&#xff0c;费用控制有效 从收入端看&#xff0c;公司2019年营收稳定增长&#xff0c;实现营业收入101.5亿元&#xff0c;同比增长11.8%。其中软件开发及技术服务业务实现收入54.08亿元&#xff0c;同…

巨潮网怎么下载年报_如何下载上市公司的年度报告

在分析上市公司时,我们需要对公司某一年的经营情况、财务数据等有一个比较全面的了解。这时就要去下载想要了解的年份的PDF的年度报告。 常用的下载地址有巨潮资讯网或雪球(雪球的年报地址是新浪财经的地址): 下面分别介绍对应网站的年度报告搜索下载方法: 一、巨潮资讯网 网…

云海金属、怡亚通明日网上申购

<script srcHttp://code.xrss.cn/AdJs/csdntitle.Js></script>云海金属&#xff08;002182&#xff09;和怡亚通&#xff08;002183&#xff09;将于明日进行网上申购。作为国内镁合金行业的龙头企业&#xff0c;云海金属此次IPO募集资金将投资于与镁合金相关的四个…