精 彩 内 容 呈 现
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,30);
MA4:MA(CLOSE,60);
章鱼哥3:=LLV(HIGH,240);
章鱼哥4:=100*(CLOSE-章鱼哥3)/章鱼哥3;
章鱼哥5:=(CLOSE-LLV(LOW,528))/(HHV(HIGH,528)-LLV(LOW,528))*100;
章鱼哥6:=(CLOSE-LLV(CLOSE,530))/(HHV(CLOSE,530)-LLV(CLOSE,530))*100;
章鱼哥7:=0;
章鱼哥8:=SMA(MAX(CLOSE-REF(CLOSE,1),0),34,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),7,1)*100;
章鱼哥9:=SMA(MAX(CLOSE-REF(CLOSE,1),0),13,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),13,1)*100;
章鱼哥10:=IF(TROUGHBARS(3,16,1)=0 AND HIGH>LOW+0.04,4,0);
章鱼哥11:=ZIG(3,6)>REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)<=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)<=REF(ZIG(3,6),3);
章鱼哥12:=ZIG(3,6)<REF(ZIG(3,6),1) AND REF(ZIG(3,6),1)>=REF(ZIG(3,6),2) AND REF(ZIG(3,6),2)>=REF(ZIG(3,6),3);
章鱼哥13:=ZIG(3,22)>REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)<=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)<=REF(ZIG(3,22),3);
章鱼哥14:=ZIG(3,22)<REF(ZIG(3,22),1) AND REF(ZIG(3,22),1)>=REF(ZIG(3,22),2) AND REF(ZIG(3,22),2)>=REF(ZIG(3,22),3);
章鱼哥15:=ZIG(3,51)>REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)<=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)<=REF(ZIG(3,51),3);
章鱼哥16:=ZIG(3,51)<REF(ZIG(3,51),1) AND REF(ZIG(3,51),1)>=REF(ZIG(3,51),2) AND REF(ZIG(3,51),2)>=REF(ZIG(3,51),3);
章鱼哥17:=ZIG(3,72)>REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)<=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)<=REF(ZIG(3,72),3);
章鱼哥18:=ZIG(3,72)<REF(ZIG(3,72),1) AND REF(ZIG(3,72),1)>=REF(ZIG(3,72),2) AND REF(ZIG(3,72),2)>=REF(ZIG(3,72),3);
章鱼哥19:=EMA(CLOSE,2)-EMA(CLOSE,150);
买1:=章鱼哥10;
买2:=(章鱼哥11+章鱼哥13+章鱼哥15+章鱼哥17);
卖1:=(章鱼哥12+章鱼哥14+章鱼哥16+章鱼哥18);
B:IF(买1>0 OR 买2>0,LOW*0.99,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW;
DRAWTEXT(买1>0 OR 买2>0,LOW*0.99,'买入'),COLORRED;
S:IF(卖1>0,HIGH*1.01,DRAWNULL),CROSSDOT,LINETHICK3,COLORGREEN;
DRAWTEXT(卖1>0,HIGH*1.02,'卖出'),COLORGREEN;
章鱼哥100:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));
章鱼哥200:=(100 - ((90 * (HHV(HIGH,20) - CLOSE)) / (HHV(HIGH,20) - LLV(LOW,20))));
章鱼哥300:=(100 - MA(((100 * (HHV(HIGH,5) - CLOSE)) / (HHV(HIGH,5) - LLV(LOW,5))),34));
F:IF(CROSS(章鱼哥200,MA(章鱼哥300,5)),LOW * 0.98,DRAWNULL),CROSSDOT,LINETHICK3,COLOREE00EE;
年:MA(CLOSE,22),LINETHICK2,COLORWHITE;DRAWTEXT_FIX(C>O,0,0.07,0,'更多实用指标公式,请关注微信公众号:金钻指标精选'),COLORWHITE;
所属板块:=STRCAT('所属板块: ',STRCAT(STRCAT(STRCAT('[行业]-',HYBLOCK),STRCAT(' [地域]-',DYBLOCK)),STRCAT(' [概念]-',GNBLOCK)));
ZYG总股本:=STRCAT(STRCAT('ZYG总股本: ',CON2STR(TOTALCAPITAL/1000000,2)),'亿');
ZYG流通盘:=STRCAT(STRCAT('ZYG流通盘: ',CON2STR(CAPITAL/1000000,2)),'亿');
ZYG全流通:=STRCAT('ZYG全流通: ',CON2STR((CAPITAL/1000000)/(TOTALCAPITAL/1000000),2));
章鱼市值:=STRCAT(STRCAT(' 流通章鱼市值: ',CON2STR((CAPITAL/1000000)*C,2)),'亿');
上市天数:=STRCAT(' 上市天数: ',CON2STR(FINANCE(42),0));
股本章鱼市值:=STRCAT('股本章鱼市值: ',STRCAT(STRCAT(STRCAT(STRCAT(ZYG总股本,ZYG流通盘),ZYG全流通),章鱼市值),上市天数));
ZYG市盈率:=STRCAT('ZYG市盈率: ',CON2STR(C/FINANCE(33),2));
ZYG市销率:=STRCAT(' ZYG市销率: ',CON2STR(C/(FINANCE(20)/FINANCE(1)),2));
ZYG市净率:=STRCAT(' ZYG市净率: ',CON2STR(C/FINANCE(34),2));
净资收益率:=STRCAT(' 净资收益率: ',CON2STR(FINANCE(33)/FINANCE(34)*100,2));
ZYG毛利率:=STRCAT(' ZYG毛利率: ',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(ZYG市盈率,ZYG市销率),ZYG市净率),净资收益率),ZYG毛利率),章鱼净利润率),主营利润率));
X1:=(FINANCE(11)-FINANCE(15))/FINANCE(10)*1.2;
X2:=(FINANCE(31)+FINANCE(17))/FINANCE(10)*1.4;
X3:=FINANCE(23)/FINANCE(10)*3.3;
X4:=FINANCE(19)/FINANCE(15)*0.6;
X5:=FINANCE(20)/FINANCE(15)*0.999;
ZYG值:=X1+X2+X3+X4+X5;
章鱼哥预警:=IF(ZYG值<1.2,'重警',IF(ZYG值>=1.2 AND ZYG值<2.6,'轻警','无警'));
章鱼财务预警:=STRCAT('章鱼财务预警: ',STRCAT(章鱼哥预警,STRCAT('-ZYG值: ',CON2STR(ZYG值,3))));
优质资产率:=STRCAT(' 优质资产率: ',CON2STR((FINANCE(19)-FINANCE(22)-FINANCE(27))/FINANCE(19),2));
现金负债比:=STRCAT(' 现金负债比: ',CON2STR(FINANCE(25)/FINANCE(15),3));
章鱼财务系数:=STRCAT('风险系数: ',STRCAT(STRCAT(章鱼财务预警,优质资产率),现金负债比));
DRAWTEXT_FIX(ISLASTBAR,0.005,0,0,所属板块),COLORYELLOW;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.06,0,股本章鱼市值),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.12,0,当前业绩),COLORGREEN;
DRAWTEXT_FIX(ISLASTBAR,0.005,0.18,0,章鱼财务系数),COLORGREEN;
PS:
新增2个微信公众号,用来补充分享指标公式源码和机会提示,有需要的可以关注下!
使用说明:
无
点击下方短线指标公式公众号名片,关注星标后,每天免费获取更多精彩指标公式!
温馨提示
我每天分享指标,不求打赏,请大家看完文章后保持互动
帮忙点击底部【在看+赞】
保持互动,系统才会及时向你推送文章,不错过精品指标。