同花順主力資金流向
基本概況:
- 指標類別: 同花順指標
- 授權方式: 免費版
- 指標評級: ★★★★★
- 指標語言: 簡體中文
- 指標來源: 互聯網
- 指標日期: 2019-08-06 00:00:00
內容介紹:
同花順主力資金流向jg:BIGBUYCOUNT1-BIGSELLCOUNT1+BIGBUYCOUNT2-BIGSELLCOUNT2;
tD:=COUNT(jg,0);
myd:=MIN(tD,60);
機構:EMA(jg,myd)*myd/CAPITAL,colorff00ff;
散戶:-機構,Color22ff33;
小單買:BIGBUYCOUNT3+WAITBUYCOUNT3;
小單賣:BIGSELLCOUNT3+WAITSELLCOUNT3;
小股民凈買:=(小單買-小單賣)*100;
小股民:=SUM(小股民凈買,1);
同花順主力資金流向
//a:=(ZDMR[-1]+BDMR[-1])/10000*CLOSE;
//b:=(ZDMC[-1]+BDMC[-1])/10000*CLOSE;
a:=(ZDMR+BDMR)*CLOSE/10000;//主力資金流入金額
b:=(ZDMC+BDMC)*CLOSE/10000;//主力資金流出金額
a1=SUM(a,1);//www.88gs.com
b1=-SUM(b,1);
ab:=a1+b1;//主力資金凈量
//a13:MA(a1,13),colorgreen;
//b13:MA(b1,13),colorgreen;
//a21:MA(a1,21),coloryellow;
//b21:MA(b1,21),coloryellow;
//a34:MA(a1,34),coloryellow;
//b34:MA(b1,34),coloryellow;
//a55:MA(a1,55),coloryellow;
//b55:MA(b1,55),coloryellow;
a135:MA(a1,135),coloryellow;
b135:MA(b1,135),coloryellow;
//a144:MA(a1,144),colorred;
//b144:MA(b1,144),colorred;
//a252:MA(a1,252),colorred;
//b252:MA(b1,252),colorred;
STICKLINE(ab>0,0,ab,9,0),color0000ff;
STICKLINE(ab<0,0,ab,9,0),color00ff00;
一天主力資金流向:=SUM(ab,1),colorcyan;
三日主力資金流向:=SUM(ab,3),colorcyan;
五日主力資金流向:=SUM(ab,5),colorred;
十日主力資金流向:=SUM(ab,10),colorwhite;
二十日主力資金流向:=SUM(ab,20),colorlicyan;
//主力凈量
主力凈量:=TOSTRING('主力凈量(手):',1);
主力凈量值:=((ZDMR+BDMR)-(ZDMC+BDMC))/100;
DRAWTEXT_FIX(ISLASTBAR,0.60,0.6,0,主力凈量),colormagenta;
DRAWTEXT_FIX(ISLASTBAR,0.70,0.6,0,主力凈量值),colormagenta;
//主力流入
主力流入:=TOSTRING('主力流入金額:',1);
主力流入值:=TOSTRING(((ZDMR+BDMR)/10000)*CLOSE,2);
DRAWTEXT_FIX(ISLASTBAR,0.60,0.7,0,主力流入),colormagenta;
DRAWTEXT_FIX(ISLASTBAR,0.70,0.7,0,主力流入值),colormagenta;
//主力流出
主力流出:=TOSTRING('主力流出金額:',1);
主力流出值:=TOSTRING(((ZDMC+BDMC)/10000)*CLOSE,2);
DRAWTEXT_FIX(ISLASTBAR,0.60,0.8,0,主力流出),colormagenta;
DRAWTEXT_FIX(ISLASTBAR,0.70,0.8,0,主力流出值),colormagenta;
//主力凈流入
主力凈流入:=TOSTRING('主力凈流入金額:',1);
主力凈流入值:=TOSTRING(ab,2);
DRAWTEXT_FIX(ISLASTBAR,0.60,0.9,0,主力凈流入),colormagenta;
DRAWTEXT_FIX(ISLASTBAR,0.70,0.9,0,主力凈流入值),colormagenta;
//3日主力資金流向
三日主力資金流向:=TOSTRING('3日主力資金流向:',1);
三日主力資金流向值:=TOSTRING(SUM(ab,3),2);
DRAWTEXT_FIX(ISLASTBAR,0.80,0.6,0,三日主力資金流向),colormagenta;
DRAWTEXT_FIX(ISLASTBAR,0.90,0.6,0,三日主力資金流向值),colormagenta;
//5日主力資金流向
五日主力資金流向:=TOSTRING('5日主力資金流向:',1);
五日主力資金流向值:=TOSTRING(SUM(ab,5),2);
DRAWTEXT_FIX(ISLASTBAR,0.80,0.7,0,五日主力資金流向),colormagenta;
DRAWTEXT_FIX(ISLASTBAR,0.90,0.7,0,五日主力資金流向值),colormagenta;
//10日主力資金流向
十日主力資金流向:=TOSTRING('10日主力資金流向:',1);
十日主力資金
相關推薦: