通达信大信息量主图指标公式
2020/6/26 18:28:21
N1:=5;
N2:=10;
N3:=20;
N4:=60;
M5:=MA(C,N1);
M10:=MA(C,N2);
M20:=MA(C,N3);
M60:=MA(C,N4);
DRAWTEXT_FIX(1,0,0,0,DYBLOCK),COLORMAGENTA;
DRAWTEXT_FIX(1,0,0.05,0,HYBLOCK),COLORMAGENTA;
DRAWTEXT_FIX(1,0,0.1,0,GNBLOCK),COLORMAGENTA;
DRAWTEXT_FIX(1,0,0.15,0,FGBLOCK),COLORMAGENTA;
CR15:=M10>M5 AND REF(M10,1)<=REF(M5,1);
CR25:=M20>M5 AND REF(M20,1)<=REF(M5,1);
CR21:=M20>M10 AND REF(M20,1)<=REF(M10,1) AND M10>M5;
ZQ15:=BARSLAST(CR15);
ZQ25:=BARSLAST(CR25);
A1:=BACKSET(CR21,ZQ15+1);
A2:=BACKSET(CR21,ZQ25+1);
A3:=IF(A2=1,M20,IF(A1=1,M5,M10));
DRAWBAND(M10,RGB(0,255,0),A3,RGB(0,0,0));
CR51:=M5>M10 AND REF(M5,1)<=REF(M10,1);
CR52:=M5>M20 AND REF(M5,1)<=REF(M20,1);
CR12:=M10>M20 AND REF(M10,1)<=REF(M20,1) AND M10<M5;
ZQ51:=BARSLAST(CR51);
ZQ52:=BARSLAST(CR52);
A4:=BACKSET(CR12,ZQ51+1);
A5:=BACKSET(CR12,ZQ52+1);
A6:=IF(A5=1,M20,IF(A4=1,M5,M10));
DRAWBAND(A6,RGB(255,0,0),M10,RGB(0,0,0));
MA5:M5;
MA10:M10;
MA20:M20;
MA60:M60,LINETHICK2;
每股公积金:FINANCE(18),NODRAW;
未分利润:FINANCE(32),NODRAW;
CV:=CLOSE;
BBIBOLL:(MA(CV,3)+MA(CV,6)+MA(CV,12)+MA(CV,24))/4,COLORBLUE;
UPR:BBIBOLL+6*STD(BBIBOLL,11),COLORBLUE;
DWN:BBIBOLL-6*STD(BBIBOLL,11),COLORBLUE;
MA40:=MA(CLOSE,40),COLOR00FF00;
月:=MA5>MA20 AND MA5>MA10 AND CROSS(MA10,MA20);
季:=MA20>MA60 AND MA20>MA40 AND CROSS(MA40,MA60);
短长:=MA5>MA60 AND MA5>MA10 AND CROSS(MA10,MA60);
DRAWTEXT(月,L-0.20,'月'),COLORMAGENTA;
DRAWTEXT(季,L-0.20,'季'),COLORMAGENTA;
DRAWTEXT(短长,L-0.20,'短长'),COLORMAGENTA;
VOL5:=MA(VOL,5);
VOL10:=MA(VOL,10);
VOL20:=MA(VOL,20);
量:=VOL5>=VOL20 AND CROSS(VOL10,VOL20) AND REF(VOL10,1)<REF(VOL20,1);
DRAWTEXT(量,L-0.20,'量'),COLORMAGENTA;
AA:=BARSLAST(MA40>MA60 AND (MA20=MA40 OR MA20>MA40));
BB:=REF(COUNT(C<MA60,AA)=AA,1);
CC:=CROSS(C,MA60) AND VOL>MA(VOL,5) AND (C-REF(C,1))/REF(C,1)*100>3;
芙蓉出水:=BB AND CC;
DRAWTEXT(芙蓉出水,L-0.20,'芙蓉出水'),COLORMAGENTA;
DRAWTEXT_FIX(1,0.4,0,0,'获利筹码:'),COLORMAGENTA;
DRAWTEXT_FIX(1,0.46,0,0,CON2STR(WINNER(DYNAINFO(7)),3)),COLORMAGENTA;
DRAWTEXT_FIX(1,0.6,0,0,'卖一:'),COLORGREEN;
DRAWTEXT_FIX(1,0.6,0.05,0,'现价:'),COLORWHITE;
DRAWTEXT_FIX(1,0.68,0.05,0,'现手:'),COLORWHITE;
DRAWTEXT_FIX(1,0.6,0.1,0,'买一:'),COLORRED;
DRAWTEXT_FIX(1,0.63,0,0,CON2STR(DYNAINFO(21),2)),COLORGREEN;
DRAWTEXT_FIX(1,0.71,0,0,CON2STR(DYNAINFO(59),0)),COLORGREEN;
DRAWTEXT_FIX(1,0.63,0.05,0,CON2STR(DYNAINFO(7),2)),COLORWHITE;
DRAWTEXT_FIX(1,0.71,0.05,0,CON2STR(DYNAINFO(9),0)),COLORWHITE;
DRAWTEXT_FIX(1,0.63,0.1,0,CON2STR(DYNAINFO(20),2)),COLORRED;
DRAWTEXT_FIX(1,0.71,0.1,0,CON2STR(DYNAINFO(58),0)),COLORRED;
DRAWTEXT_FIX(1,0.75,0,0,'涨幅:'),COLORRED;
DRAWTEXT_FIX(1,0.75,0.05,0,'振幅:'),COLORWHITE;
DRAWTEXT_FIX(1,0.81,0,0,'涨停价:'),COLORRED;
DRAWTEXT_FIX(1,0.81,0.05,0,'跌停价:'),COLORWHITE;
DRAWTEXT_FIX(1,0.75,0.1,0,'现价相对10日线涨幅:'),COLORWHITE;
DRAWTEXT_FIX(1,0.75,0.15,0,'均价:'),COLORWHITE;
DRAWTEXT_FIX(1,0.78,0,0,CON2STR(DYNAINFO(14)*100,2)),COLORRED;
DRAWTEXT_FIX(1,0.78,0.05,0,CON2STR(DYNAINFO(13)*100,2)),COLORWHITE;
DRAWTEXT_FIX(1,0.85,0,0,CON2STR(REF(C,1)*1.1,2)),COLORRED;
DRAWTEXT_FIX(1,0.85,0.05,0,CON2STR(REF(C,1)*0.9,2)),COLORWHITE;
DRAWTEXT_FIX(1,0.87,0.1,0,CON2STR(DYNAINFO(7)/MA10,4)),COLORWHITE;
DRAWTEXT_FIX(1,0.78,0.15,0,CON2STR(DYNAINFO(11),2)),COLORWHITE;
DRAWTEXT_FIX(1,0.6,0.9,0,'买入时间:9:37-43,10:50-11:10,02:40-02:50'),COLORMAGENTA;
DRAWTEXT_FIX(1,0.6,0.95,0,'卖出时间:9:30-33,9:50-10:00,01:20-01:30,下午2点狂拉时,2:57-3:00'),COLORMAGENTA;
投 股票网 www.t ou18.cn
股市公式下载推荐