必胜1K老鼠仓 通达信主图指标 源码 贴图
前收:DYNAINFO(3),DOTLINE,NODRAW;开盘:DYNAINFO(4),DOTLINE,NODRAW;
开盘%:(DYNAINFO(4)-DYNAINFO(3))/DYNAINFO(3)*100,NODRAW;
最高:DYNAINFO(5),DOTLINE,NODRAW;
最高%:(DYNAINFO(5)-DYNAINFO(3))/DYNAINFO(3)*100,NODRAW;
最低:DYNAINFO(6),DOTLINE,NODRAW;
最低%:(DYNAINFO(6)-DYNAINFO(3))/DYNAINFO(6)*100,NODRAW;
最新:DYNAINFO(7),DOTLINE,NODRAW;
实体柱长:ABS(C-O),NODRAW;
实体涨幅:(DYNAINFO(7)-DYNAINFO(4))/DYNAINFO(4)*100,NODRAW;
涨跌幅:(DYNAINFO(7)-DYNAINFO(3))/DYNAINFO(3)*100,NODRAW;
上影长:H-MAX(O,C),NODRAW;
下影长:MIN(O,C)-L,NODRAW;
上影幅度:((H-REF(C,1))/REF(C,1)-(MAX(O,C)-REF(C,1))/REF(C,1))*100,NODRAW;
下影幅度:((REF(C,1)-L)/REF(C,1)-(REF(C,1)-MIN(O,C))/REF(C,1))*100,NODRAW;
日量比:=V/REF(V,1),COLORRED,LINETHICK4,VOLSTICK;
日换手:=SUM(VOL,1)*100/CAPITAL,NODRAW;
回头波:(DYNAINFO(7)-DYNAINFO(5))/DYNAINFO(5)*100,LINETHICK0;
攻击波:(DYNAINFO(7)-DYNAINFO(6))/DYNAINFO(6)*100,LINETHICK0;
AA1:=AMOUNT/VOL;
BB1:=L AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100
DD1:=L MA(C,5)*0.921;
EE1:=VOL MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;
DRAWTEXT(FF1,LOW,'老鼠仓');
STICKLINE(FF1=1,L,L*1.003,8*20,0),COLORYELLOW;
VARZT:=BARSLAST(EE1);
STICKLINE(VARZT=2,L*0.97,L*0.98,8,0),COLOR0000FF;
DRAWTEXT(VARZT=2,L*0.95,'3天'),COLORYELLOW;
STICKLINE(VARZT=4,H*1.03,H*1.02,8,0),COLOR9966FF;
DRAWTEXT(VARZT=4,H*1.06,'5天'),COLORYELLOW;
STICKLINE(VARZT=7,L*0.97,L*0.98,8,0),COLOR00FFFF;
DRAWTEXT(VARZT=7,L*0.95,'8天'),COLORYELLOW;
STICKLINE(VARZT=12,H*1.03,H*1.02,8,0),COLORFF33FF;
DRAWTEXT(VARZT=12,H*1.06,'13天'),COLORYELLOW;
STICKLINE(VARZT=20,L*0.97,L*0.98,8,0),COLOR0066FF;
DRAWTEXT(VARZT=20,L*0.95,'21天'),COLORYELLOW;
STICKLINE(VARZT=33,H*1.03,H*1.02,8,0),COLOR9932CD;
DRAWTEXT(VARZT=33,H*1.06,'34天'),COLORYELLOW;
STICKLINE(VARZT=54,L*0.97,L*0.98,8,0),COLOR006600;
DRAWTEXT(VARZT=54,L*0.95,'55天'),COLORYELLOW;
STICKLINE(VARZT=88,H*1.03,H*1.02,8,0),COLOR00FF00;
DRAWTEXT(VARZT=88,H*1.06,'89天'),COLORYELLOW;
STICKLINE(VARZT=143,L*0.97,L*0.98,8,0),COLORCCFFFF;
DRAWTEXT(VARZT=143,L*0.95,'144天'),COLORYELLOW;
STICKLINE(VARZT=232 ,H*1.03,H*1.02,8,0),COLORFF0033;
DRAWTEXT(VARZT=232,H*1.06,'233天'),COLORYELLOW;
STICKLINE(VARZT=376,L*0.97,L*0.98,8,0),COLORFF9966;
DRAWTEXT(VARZT=376,L*0.95,'377天'),COLORYELLOW;
{涨停统计}
W:=EMA(C,1);
涨停:=W/REF(W,1) =1.095;
ZTCS:=COUNT(涨停,BARSSINCE(涨停)+1);
SSTS1:=STRCAT('上市',CON2STR(FINANCE(42),0));SSTS2:=STRCAT(SSTS1,'天');
NTZZT1:=STRCAT(' 距今',CON2STR(CONST(BARSLAST(涨停)),0));
NTZZT2:=STRCAT(NTZZT1,'天有涨停');
GZT1:=STRCAT(' 共涨停',CON2STR(ZTCS,0));GZT2:=STRCAT(GZT1,'次');
ZTTJ1:=STRCAT(SSTS2,GZT2);
ZTTJ2:=STRCAT(ZTTJ1,NTZZT2);ZTTJ:=STRCAT('【涨停统计】',ZTTJ2);
DRAWTEXT_FIX(CURRBARSCOUNT=1,0.618,0.99,0,ZTTJ),COLORCYAN;
N:=STRCAT(CON2STR(YEAR,0),' 年 ');
Y:=STRCAT(CON2STR(MONTH,0),' 月 ');
R:=STRCAT(CON2STR(DAY,0),' 日 ');
SJ:=STRCAT(STRCAT(N,Y), R);
DRAWTEXT_FIX(C 0,0.88,0.00,0.00,SJ);
{www.9m8.cn 九毛八公式指标网}
Z1:=STRCAT(HYBLOCK,' ');
Z2:=STRCAT(Z1,FGBLOCK);
Z3:=STRCAT(Z2,DYBLOCK);
Z4:=STRCAT(Z3,' ');
HSL:=V/CAPITAL*100;
DRAWNUMBER(CURRBARSCOUNT=1 AND HSL,C,HSL),COLOR00FFFF;
DRAWTEXT_FIX(ISLASTBAR,0.00,0.99,0,STRCAT(Z4,GNBLOCK)),COLORGREEN;
DRAWTEXT_FIX(1,0,0.88,0,STRCAT('【自定板块】:',ZDBLOCK)),COLORYELLOW;
DRAWTEXT_FIX(CURRBARSCOUNT=1,0,0,0,'www.9m8.cn 九毛八公式指标网');