小单买入:=EXTDATA(1);
小单卖出:=EXTDATA(2);
大单买入:=EXTDATA(3);
大单卖出:=EXTDATA(4);
笔均成交手:=EXTDATA(5);
主动买卖:=EXTDATA(6);
买入金額:=EXTDATA(7);
卖出金額:=EXTDATA(12);
总成交金額:=买入金額+卖出金額;
增量资金:=买入金額-卖出金額;
大单净量:=大单买入-大单卖出;
散户跟风:=(小单买入-小单卖出)*c/100;
主力存量:SUM(大单净量*close/100,0),Colorwhite,LINETHICK3;
STICKLINE(增量资金>0,0,增量资金,10,0),Colorred;
STICKLINE(增量资金<0,0,增量资金,10,0),Colorgreen;
STICKLINE(大单净量*close/100>0,0,大单净量*close/100,7,0),Coloryellow;
STICKLINE(大单净量*close/100<0,0,大单净量*close/100,7,0),Colorblue;
STICKLINE(散户跟风>0,0,散户跟风,4,0),Colormagenta;
STICKLINE(散户跟风<0,0,散户跟风,4,0),Colorwhite;
ma(主力存量,10),colorcyan,linethick2;
FILLRGN(0,主力存量,主力存量>=0,RGB(255,125,0),主力存量<0,RGB(0,125,225));
ma(主力存量,10),colorcyan,linethick2;
DRAWRECTABS(0,0,340,130,RGB(100,100,100));
DRAWTEXTABS(20,5,STKLABEL),LINETHICK3,ColorFF00FF;{代码}
DRAWTEXTABS(80,5,STKNAME),LINETHICK3,ColorFF00FF;{名称}
DRAWTEXTABS(10,30,'■ 大单买入: '+大单买入),Color00ffff,LINETHICK1;
DRAWTEXTABS(130,30,'占'+FLOOR(大单买入/主动买卖*100)+' %'),Color00ffff,LINETHICK1;
DRAWTEXTABS(10,45,'■ 小单买入: '+小单买入),Color2F73FF,LINETHICK1;
DRAWTEXTABS(130,45,'占'+FLOOR(小单买入/主动买卖*100)+' %'),Color2F73FF,LINETHICK1;
DRAWTEXTABS(10,60,'■ 大单卖出: '+大单卖出),Color00FF00,LINETHICK1;
DRAWTEXTABS(130,60,'占'+FLOOR(大单卖出/主动买卖*100)+' %'),Color00FF00,LINETHICK1;
DRAWTEXTABS(10,75,'■ 小单卖出: '+小单卖出),ColorB4B043,LINETHICK1;
DRAWTEXTABS(130,75,'占'+FLOOR(小单卖出/主动买卖*100)+' %'),ColorA8A800,LINETHICK1;
DRAWTEXTABS(10,90,'■ 大单净量: '+大单净量),Colorff00ff,LINETHICK1;
DRAWTEXTABS(130,90,'占'+FLOOR(大单净量/主动买卖*100)+' %'),ColorFF00FF,LINETHICK1;
DRAWTEXTABS(10,105,'■ 笔均成交: '+笔均成交手+' 手'),Color00ffff,LINETHICK1;
DRAWTEXTABS(175,105,'■成交总额:'+总成交金額+' 万元'),LINETHICK1,COLOR00ffff;
DRAWTEXTABS(175,3,'■买入:'+买入金額),LINETHICK1,COLORred;
DRAWTEXTABS(175,15,'■卖出:'+卖出金額),LINETHICK1,COLORgreen;
DRAWTEXTABS(175,30,'■增量资金:'+增量资金),LINETHICK1,COLOR00ffff;
DRAWTEXTABS(300,30,'占'+FLOOR(增量资金/总成交金額*100)+'%'),COLOR00ffff,LINETHICK1;
DRAWRECTABS(0,0,170,28,0),COLORwhite;
DRAWRECTABS(170,0,340,28,0),COLORwhite;
DRAWRECTABS(0,28,170,120,0),COLORwhite;
DRAWRECTABS(170,28,340,120,0),COLORwhite;
DRAWRECTABS(0,103,340,120,0),COLORwhite;
DRAWRECTABS(0,120,340,140,0),COLORwhite;
总:=DYNAINFO(8);{-----------------------------------------大单直观比例-------------------------------------------------------------}
DRAWRECTABS(0,120,大单买入*340/总,140,RGB(255,255,0));
DRAWRECTABS(大单买入*340/总,120,(大单买入+小单买入)*340/总,140,RGB(255,125,0));
DRAWRECTABS((大单买入+小单买入)*340/总,120,(大单买入+小单买入+大单卖出)*340/总,140,RGB(0,200,0));
DRAWRECTABS((大单买入+小单买入+大单卖出)*340/总,120,(大单买入+小单买入+大单卖出+小单卖出)*340/总,140,RGB(0,125,225));
{---------------------------------------------------资金流量&控盘力度--------------------------------------------------------------};
ZLCM:=EMA(WINNER(CLOSE)*70,3);
SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);
ZZLKP:=ZLCM/(ZLCM+SHCM)*100;
PJJ:=DMA((HIGH+LOW+CLOSE*2)/4,0.9);
JJ:=REF(EMA(PJJ,3),1);
QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
XVL:=IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN+CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HIGH-LOW),0-VOL/2));
HSL:=(XVL/20)/1.15;
攻击流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));
LLJX:=EMA(攻击流量,3);
资金流量:=LLJX;
周流量:=SUM(LLJX,5);
流入力度:=HSL/1000;
控盘力度:=INTPART(ZZLKP);
DRAWTEXTABS(175,45,'■资金流量:'+资金流量),LINETHICK1,COLORff00ff;
DRAWTEXTABS(175,60,'■周流总量:'+周流量),LINETHICK1,COLORff00ff;
DRAWTEXTABS(175,75,'■流入力度:'+流入力度),LINETHICK1,COLORff00ff;
{》》 看本软件截图:
分.析家公 式网 http://www、88gs、com 整理}