通达信《主力打板》副图指标公式源码
通达信《主力打板》副图指标公式源码:
VAR11:=C;
VAR12:=REF(C,2),COLORGREEN;
VAR122:=MA(C,5);
VAR123:=MA(C,26);
VAR121:=MA((3*H+C)/4,2),COLORLICYAN;
VAR21:=FORCAST(EMA(VAR12,1),7),COLORGREEN;
VAR22:=FORCAST(EMA(VAR11,16),7),COLOR00FF00,LINETHICK3;
VAR23:=FORCAST(EMA(VAR11,55),7),DOTLINE,COLORFFFF00;
VAR25:=IF(VAR122>VAR22 OR C>VAR22,VAR22,DRAWNULL),COLOR0000FF,LINETHICK3;
VAR26:=IF(VAR22>=VAR23,VAR23,DRAWNULL),DOTLINE,COLOR0000FF;
VAR51:=VAR122>VAR22 OR C>VAR22;
VAR52:=VAR22>=VAR23;
VAR53:=VAR51 AND VAR52;
VAR41:=vol>REF(V,1)*1.9 AND C>=OPEN;
VAR42:=VAR41 AND C>OPEN;
飞龙:BARSLASTCOUNT(VAR25 AND VAR42 )=1 COLORMAGENTA ;
DRAWICON(飞龙,1,9);
VAR13:=EMA(VAR12,5);
VAR14:=2*(VAR12-VAR13)*5.5;
VAR31:=(CLOSE-LLV(LOW,13))/(HHV(HIGH,13)-LLV(LOW,13))*100;
VAR32:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR33:=(SMA(VAR32,3,1)-18)*1.55;
VAR34:=SMA(VAR33,3,1);
VAR35:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*100;
VAR36:=SMA(VAR35,10,1);
VAR37:=(EMA(SMA(VAR36,8,1),34)-25)*2.6;
VAR38:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VAR39:=POW(MA(LOW,5),2)+MA(LOW,5);
主力线:VAR14,COLORRED DOTLINE,LINETHICK1;
打板停:=(H-REF(C,1))/REF(C,1)*100;
强势打板:=(NAMELIKE('ST') OR NAMELIKE('*ST') OR NAMELIKE('S')) AND 打板停>=4.945;
涨停:=C=ZTPRICE(REF(C,1),0.1) OR 强势打板 ;
预警指标:=HHV(VOL,10);
VAR2:=BARSLAST(预警指标=VOL);
强势拉升:crOSS(C,REF(C,VAR2)) AND 涨停 AND NOT(DYNAINFO(4)=0);
DRAWICON(CROSS(主力线,强势拉升),强势拉升*1.002,26);
STICKLINE(强势拉升,0,38,2,0),COLORFF00FF;
STICKLINE(强势拉升,0,28,2,1),COLORFF00FF;
STICKLINE(强势拉升,0,16,2,0),COLORFF00FF;
DRAWICON(强势拉升,25.88,9);DRAWTEXT(强势拉升,25.89,' 打板')COLORYELLOW;
声明:
本站所有文章文字内容如无特殊说明均为原创编写,任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台!指标公式源码来源于网络收集和用户上传,分享目的仅供参考与学习,如需商用,请购买正版,否则后果和损失自行承担。如若本站内容侵犯了原著者的合法权益,请携带相关版权文件 联系我们进行下架处理。指标公式案例截图仅代表过去,依此操作,责任自负。本站不提供技术培训、安装调试、股票推荐等金融服务。