一、指标源码
{大单分时异动主图}
主力大单1:=MAX(DYNAINFO(3),DYNAINFO(5));
主力大单2:=MIN(DYNAINFO(3),DYNAINFO(6));
主力大单3:=主力大单1-主力大单2;
主力大单4:=(主力大单1+主力大单2)/1;
支撑:主力大单2+主力大单3*1/8,POINTDOT,COLORMAGENTA;
支撑1:主力大单2+主力大单3*0.5/8,POINTDOT;
底参考:主力大单2+主力大单3/3,POINTDOT,COLORBLUE;
STICKLINE(CLOSE< 支撑,支撑,CLOSE,2,0),COLORRED;
H1:=MAX(DYNAINFO(3),DYNAINFO(5));
L1:=MIN(DYNAINFO(3),DYNAINFO(6));
P1:=H1-L1;支撑A:=L1+P1*0.5/8,COLORMAGENTA;
DRAWTEXT(LONGCROSS(支撑A,C,2),C,'买'),COLORYELLOW,LINETHICK4;
资金万:=AMO/10000;资金1:=资金万>500 AND 资金万<1000;
资金2:=资金万>1000;
TXT:=VARCAT(VAR2STR(资金万/10000,1),'亿');
DRAWTEXT(资金1 AND C>REF(C,1),C,'O'),COLORRED;
DRAWTEXT(资金1 AND C<REF(C,1),C,'O'),COLORGREEN;
DRAWTEXT(资金2 AND C>REF(C,1),C,TXT),COLORRED;
DRAWTEXT(资金2 AND C<REF(C,1),C,TXT),COLORGREEN;
DRAWTEXT_FIX(1,0.4,0.003,0,'★圆圈是1:【单笔资金大于5百万小于0.1亿】+【大于0.1亿显示金额】+【红色主动买】 +【绿色主动卖】;【--红色低吸买】!!!'),COLORYELLOW,LINETHICK2;
主力攻击量:=((HSL*0.50+REF(HSL,1)*0.33)+(REF(HSL,2)*0.17))*SUM(C,FROMOPEN)/FROMOPEN;
主力攻击量A:=SUM(IF(C>REF(C,1),主力攻击量*V,0),FROMOPEN),COLOR0000FF,LINETHICK0;
主力攻击量B:=-SUM(IF(C<REF(C,1),主力攻击量*V,0),FROMOPEN),COLOR00FF00,LINETHICK0;
攻击流量:=主力攻击量A+主力攻击量B,COLORSTICK;DRAWTEXT_FIX(1,0.75,0.92,0,' '),COLORYELLOW;
攻击比:=攻击流量/SUM(V,FROMOPEN)*100,COLORRED,LINETHICK1;
资金攻击:=IF(攻击比>=0,(攻击比+50),100-ABS((攻击比-50)));
资金流入:=SUM(IF(C>REF(C,1),V,0),FROMOPEN),STICK,COLORRED;
资金流出:=-SUM(IF(C< REF(C,1),V,0),FROMOPEN),STICK,COLOR00FF00;
资金出入:=资金流入+资金流出,COLORSTICK;
资金比:=资金出入/SUM(V,FROMOPEN)*100,COLOR00FFFF,LINETHICK1;
资金流比:=IF(资金比>=0,(资金比+100)/2,100-ABS((资金比-100)/2));
DRAWTEXT_FIX(1,0.180,0.88,0,STRCAT(STRCAT('【资金流比】',CON2STR(资金流比,2)),'%买')),COLORYELLOW;
DRAWTEXT_FIX(1,0.000,0.88,0,STRCAT(STRCAT('【资金攻击】',CON2STR(资金攻击,2)),' %买')),COLORYELLOW;
TOP1:=(VOL/CLOSE)/3;
TOP2:=SUM((IF(((TOP1>40) AND (CLOSE>(REF(CLOSE,1)))),TOP1,0)),0);
TOP3:=SUM((IF(((TOP1>40) AND (CLOSE<(REF(CLOSE,1)))),TOP1,0)),0);
TOP4:=SUM((IF(((TOP1<40) AND (CLOSE>(REF(CLOSE,1)))),TOP1,0)),0);
TOP5:=SUM((IF(((TOP1<40) AND (CLOSE<(REF(CLOSE,1)))),TOP1,0)),0);
TOP6:=((TOP2+TOP3)+TOP4)+TOP5;TOP7:=IF((BARSTATUS=2),((100*TOP2)/TOP6),0);
TOP8:=((IF((BARSTATUS=2),((100*TOP3)/TOP6),0)));
TOP9:=((IF((BARSTATUS=2),((100*TOP4)/TOP6),0)));
TOP10:=((IF((BARSTATUS=2),((100*TOP5)/TOP6),0)));
机构买盘:=(TOP2),LINETHICK2;机构卖盘:=(TOP3),LINETHICK2;
成交额:=V*C/100,NODRAW;
ZBXQ2:=SUM((IF(((成交额/8>20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);
ZBXQ3:=SUM((IF(((成交额/8>20) AND (CLOSE< (REF(CLOSE,1)))),成交额,0)),0);
ZBXQ6:=(ZBXQ2+ZBXQ3);ZBXQ7:=IF((ISLASTBAR),((100*ZBXQ2)/ZBXQ6),0);
ZBXQ8:=IF((ISLASTBAR),((100*ZBXQ3)/ZBXQ6),0);
BAATOP3:=STRCAT(STRCAT('总买入',CON2STR((100*(ZBXQ2-ZBXQ3))/ZBXQ6,0)),'%');
SSLB:=STRCAT(STRCAT('三日量比',CON2STR((VOL/FROMOPEN)/(MA(V,3)/240)*100,0)),'%');
DRAWTEXT_FIX(1,0,0.18,0,BAATOP3),COLOR00FFFF;
DRAWTEXT_FIX(1,0,0.26,0,SSLB),COLORLIRED;
DRAWTEXT_FIX(1,0.0,1-0.05,0,STRCAT(STRCAT('【机构买盘】',CON2STR(机构买盘,2)),'万')),COLORYELLOW;
DRAWTEXT_FIX(1,0.18,1-0.05,0,STRCAT(STRCAT('【机构卖盘】',CON2STR(机构卖盘,2)),'万')),COLOR00FF00;
二、指标简介
游资专用打板神器【大单分时异动】分时主图指标 游资专用打板神器 源码
通达信分时主图指标,打板类,含DYNAINFO函数,获取动态行情数据,仅限电脑用。
三、指标图示
资源下载
下载价格免费
原文链接:https://zbxq.top/?p=143642,转载请注明出处。