通达信【寻龙趋势】主图副图指标
股市游侠
2024-06-21 23:30:21
0

图片

  

图片

  

图片

  

图片

  

图片

  

图片

{主图指标源码}

净资收益率:=STRCAT(' 净资收益率:',CON2STR(FINANCE(33)/FINANCE(34)*100,2));

主营利润率:=STRCAT(' 主营利润率:',CON2STR(FINANCE(23)/FINANCE(20)*100,2));

当前业绩:=STRCAT('【当前业绩】:',STRCAT(STRCAT(市盈率,净资收益率),主营利润率));

获利盘%:=100*WINNER(C);

短期压力:=HHV(H,15);

短期支撑:=LLV(L,20);

X11:=(FINANCE(11)-FINANCE(15))/FINANCE(10)*1.2;

X12:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4;{盈余公积用资本公积金代替};

X13:=FINANCE(23)/FINANCE(10)*3.3;

X14:=FINANCE(19)/FINANCE(15)*0.6;{缺长期负债或负债总额}

X15:=FINANCE(20)/FINANCE(15)*0.999;

Z值:=X11+X12+X13+X14+X15;

DRAWTEXT_FIX(Z值<1.2,0.312,0.22,0,' 【●财务重警●】'),COLORLIRED;

DRAWTEXT_FIX( BETWEEN(Z值,1.2,2.6),0.312,0.22,0,' 【○财务轻警○】'),COLOR0099FF;

DRAWTEXT_FIX(Z值>2.6,0.312,0.22,0,' 【◎财务无警◎】'),COLORLIGREEN;

DRAWTEXT_FIX(C>0,0.005 ,0.22,0,'【获利盘%】:'),COLORRED;

DRAWTEXT_FIX(C>0,0.105,0.22,0,'【短期压力】:'),COLOR00FF00;

DRAWTEXT_FIX(C>0,0.21,0.22,0,'【短期支撑】:'),COLORYELLOW;

DRAWNUMBER_FIX(C>0,0.075,0.22,0,CONST(获利盘%)),COLORRED;

DRAWNUMBER_FIX(C>0,0.175,0.22,0,CONST(短期压力)),COLOR00FF00;

DRAWNUMBER_FIX(C>0,0.28,0.22,0,CONST(短期支撑)),COLORYELLOW;

DIR1:=ABS(CLOSE-REF(CLOSE,10));

VIR1:=SUM(ABS(CLOSE-REF(CLOSE,1)),10);

ER1:=DIR1/VIR1;

CS1:=ER1*(2/3-2/31)+2/31;

CQ1:=CS1*CS1;

TRA:=MAX(MAX((HIGH-LOW),ABS(REF(CLOSE,1)-HIGH)),ABS(REF(CLOSE,1)-LOW));

AHR:=SMA(TRA,20,1);

AMA1:DMA(CLOSE,CQ1),COLORFFFFFF,LINETHICK1;

DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);

DEA:=EMA(DIFF,9);

MACD:=2*(DIFF-DEA);

条件1:=MACD<0 OR (DIFF<0 AND MACD>=0);

LH:AMA1+2*AHR,COLOR9314FF;

IF(条件1,DRAWNULL,LH),COLORYELLOW,LINETHICK2;

NH:AMA1+AHR,DOTLINE,COLOR00DFDF;

NL:AMA1-AHR,DOTLINE,COLOR00DFDF;

LL:AMA1-2*AHR,COLOR9314FF;

IF(条件1,DRAWNULL,LL),COLORGREEN,LINETHICK2;

DRAWNUMBER(ISLASTBAR,LH,LH),COLOR9314FF;

DRAWNUMBER(ISLASTBAR,NH,NH),COLOR00DFDF;

DRAWNUMBER(ISLASTBAR,NL,NL),COLOR00DFDF;

DRAWNUMBER(ISLASTBAR,LL,LL),COLOR9314FF;

DRAWNUMBER(ISLASTBAR,AMA1,AMA1),COLORFFFFFF;

DRAWKLINE(H,O,L,C);

众:DRAWNULL,COLORCCCCCC;

号:DRAWNULL,COLORCCCCCC;

指标公式合集:DRAWNULL, COLORFF00FF;

{副图指标源码}

X_1:=EMA(CLOSE,12)-EMA(CLOSE,26);

X_2:=EMA(X_1,9);

X_3:=X_1>X_2;

X_4:=(CLOSE-LLV(LOW,12))/(HHV(HIGH,12)-LLV(LOW,12))*100;

X_5:=SMA(X_4,3,1);

X_6:=SMA(X_5,3,1);

X_7:=X_5>X_6;

X_8:=REF(CLOSE,1);

X_9:=SMA(MAX(CLOSE-X_8,0),9,1)/SMA(ABS(CLOSE-X_8),9,1)*100;

X_10:=SMA(MAX(CLOSE-X_8,0),26,1)/SMA(ABS(CLOSE-X_8),26,1)*100;

X_11:=X_9>X_10;

X_12:=SMA(X_4,3,1);

X_13:=SMA(X_12,3,1);

X_14:=X_12>X_13;

X_15:=(MA(CLOSE,3)+MA(CLOSE,9)+MA(CLOSE,12)+MA(CLOSE,26))/4;

X_16:=CLOSE>X_15;

X_17:=CLOSE-REF(CLOSE,1);

X_18:=100*EMA(EMA(X_17,9),9)/EMA(EMA(ABS(X_17),9),3);

X_19:=100*EMA(EMA(X_17,26),12)/EMA(EMA(ABS(X_17),26),12);

X_20:=X_18>X_19;

X_21:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);

X_22:=REF(EMA(X_21,3),1);

X_23:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

X_24:=IF(CLOSE>OPEN,X_23*(HIGH-LOW),IF(CLOSE<OPEN,X_23*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-X_23*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-X_23*(HIGH-LOW),0-VOL/2));

X_25:=X_24/20/1.15;

X_26:=X_25*0.55+REF(X_25,1)*0.33+REF(X_25,2)*0.22;

X_27:=EMA(X_26,8);

X_28:=EMA(X_26,3);

X_29:=X_28;

X_30:=VOL;

X_31:=MA(X_30,5);

X_32:=MA(X_30,10);

X_33:=X_31>=X_32;

X_34:=X_29>=0;

X_35:=X_34 AND X_33;

DRAWICON(X_35,1,1);

X_36:=MA(KDJ.K#WEEK(9,3,3),5);

X_37:=EMA(CLOSE,12/2)-EMA(CLOSE,26/2);

X_38:=EMA(X_37,9/2);

X_39:=X_36>=REF(X_36,1) AND X_37>=X_38;

DRAWICON(X_39,0.9,13);

X_40:=X_39 OR X_35;

X_41:=X_3 AND X_7 AND X_11 AND X_14 AND X_16 AND X_20;

X_42:=COST(50)*COST(50)/COST(80);

X_43:=COST(40)*COST(40)/COST(60);

X_44:=X_43-X_42;

X_45:=X_44>0 AND CLOSE>X_43;

X_46:=X_44<0 AND CLOSE>X_42;

X_47:=X_45 OR X_46 OR (X_45 AND X_46);

X_48:=X_47=0 OR (X_44>0 AND CLOSE>X_43 AND CLOSE<MA(CLOSE,10)) OR (X_44<0 AND CLOSE>X_42 AND CLOSE<MA(CLOSE,5));

X_49:=X_47 AND REF(X_48,1);

X_50:=X_48 AND REF(X_47,1);

STICKLINE(X_47,0.5,0.8,3,0),COLORRED;

STICKLINE(X_48,0.5,0.8,3,1),COLORGRAY;

DRAWICON(X_47 OR X_41 AND REF(X_47 OR X_41,1)=0 AND X_40,0.5,7);

X_51:=(HIGH+LOW+CLOSE*2)/4;

X_52:=EMA(X_51,17);

X_53:=STD(X_51,17);

X_54:=((X_51-X_52)/X_53*100+200)/4;

X_55:=(EMA(X_54,5)-25)*1.56;

X_56:=EMA(X_55,2)*1.22;

X_57:=EMA(X_56,2);

STICKLINE(X_56-X_57>0,0.2,0.4,3,0),COLORRED;

STICKLINE(X_56-X_57<0,0.2,0.4,3,0),COLORGREEN;

STICKLINE(X_56-X_57>0 AND REF(X_56-X_57<0,1),0.2,0.4,3.05,0),COLOR000099;

STICKLINE(X_56-X_57>0 AND REF(X_56-X_57<0,1),0.2,0.4,2.2,0),COLOR0000CC;

STICKLINE(X_56-X_57>0 AND REF(X_56-X_57<0,1),0.2,0.4,1.5,0),COLORRED;

STICKLINE(X_56-X_57>0 AND REF(X_56-X_57<0,1),0.2,0.4,0.5,0),COLORYELLOW;

STICKLINE(X_56-X_57>0 AND X_56-X_57<REF(X_56-X_57,1) AND X_57>110,0.2,0.4,3,0),COLORLIRED;

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报。

相关内容

友邦保险(01299HK)...
来源:格隆汇格隆汇3月11日丨根据联交所最新权益披露资料显示,20...
2024-06-23 22:48:19
通达信【寻龙趋势】主图副图...
图片 图片 图片 图片 图片 图片{主图指标源码}净资收...
2024-06-21 23:30:21
东西问丨Pandaily创...
  有这样一家名为Pandaily的英文媒体,将熊猫元素融入名字与...
2024-06-18 23:41:55

热门资讯

【公告精选】仁信新材:公司通过...   兆易创新:预计2023年度实现营业收入约57.66亿元  兆易创新(603986)1月25日晚间...
宝珀理想国文学奖揭晓,评委罗翔... 11月9日,38岁的青年女作家林棹以作品《潮汐图》摘得第五届宝珀理想国文学奖首奖。因疫情影响,林棹没...
两艘船只在菲中部海域相撞致4名... 中国驻菲律宾大使馆微信公众号消息,1月31日中午,一艘摩托艇在菲八打雁省海域意外与一艘中型游船相撞,...
截至2月29日当周 美国202...   美国农业部数据显示,截至2月29日当周,美国2023/2024年度大豆出口净销售为61.4万吨,...
港股异动 建滔积层板(018... 建滔积层板(01888)再跌超4%,盘中低见6.54港元,较7月高点9.14港元已跌近30%。截至发...
扮演“赵世子”引众怒,由个案看... 近日,在福建福州长乐区举行的“游神”活动中,一“网红”扮演成“赵世子”模样,大摇大摆走在神像巡游队伍...
2024年春节档票房突破37亿...   春节假期,许多人会选择与亲朋好友看一场电影,享受团聚时刻。今年春节档电影市场也延续了火热态势,据...
横琴粤澳深度合作区将于3月1日...   横琴粤澳深度合作区执行委员会与广东省人民政府横琴粤澳深度合作区工作办公室,8日联合发布通告称,根...
一个产品10种收费!这样的海外... 有些金融创新把投资化繁为简,有些创新则反其道而行之。日前,业内的一家龙头大型券商机构与外资私募合作,...
小摩减持友邦保险(01299)... 香港联交所最新资料显示,5月2日,小摩减持友邦保险(01299)2822.9939万股,平均每股作价...