马上注册,享用更多功能,让你轻松玩转本论坛。
您需要 登录 才可以下载或查看,没有账号?立即注册
×
《买卖主力》公式
今天把通达信和同花顺《买卖主力》公式晒到网上。
--------------------------------------------------------------------------------
通达信《买卖主力》公式
--------------------------------------------------------------------------------
通达信《买卖主力》的长相
通达信《买卖主力》的代码
{买卖主力}
持仓:EMA(1*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORFF00FF;
STICKLINE(持仓,0,持仓,0,0),COLORGRAY;
主力:WINNER(CLOSE*0.95),LINETHICK2,COLORYELLOW;
QJ0:=(HIGH+LOW+CLOSE)/3;
QJ1:=IF(HIGH=LOW,1,HIGH-MAX(OPEN,CLOSE));
QJ2:=IF(HIGH=LOW,1,MAX(CLOSE,OPEN)-QJ0);
QJ3:=IF(HIGH=LOW,1,MIN(OPEN,CLOSE)-LOW);
QJ4:=IF(HIGH=LOW,1,QJ0-MIN(CLOSE,OPEN));
QJ5:=(VOL/(IF(HIGH=LOW,4,HIGH-LOW)))/10000;
特大:QJ4*QJ5,NODRAW,COLORRED;
大单:QJ3*QJ5,NODRAW,COLORMAGENTA;
中单:QJ1*QJ5,NODRAW,COLORGREEN;
小单:QJ2*QJ5,NODRAW,COLORYELLOW;
总量:特大+大单+中单+小单,NODRAW,COLORRED;
流向:(DYNAINFO(23)-DYNAINFO(22))/10000,NODRAW,COLORGREEN;
交易万量:=(DYNAINFO(22)+DYNAINFO(23))/10000,NODRAW,COLORRED;
A1:=IF(交易万量<100,ABS(特大/交易万量)/5,ABS(特大/交易万量)*100),NODRAW;
A2:=IF(交易万量<100,ABS(大单/交易万量)/5,ABS(大单/交易万量)*100),NODRAW;
A3:=IF(交易万量<100,ABS(中单/交易万量)/5,ABS(中单/交易万量)*100),NODRAW;
A4:=IF(交易万量<100,ABS(小单/交易万量)/5,ABS(小单/交易万量)*100),NODRAW;
换手:VOL/CAPITAL*100,NODRAW,COLORGREEN;
五日换:(VOL+REF(VOL,1)+REF(VOL,2)+REF(VOL,3)+REF(VOL,4))/CAPITAL*100,NODRAW,COLORFFEE00;
成本:DMA(AMOUNT/V/100,V/CAPITAL),NODRAW,COLORGREEN;
获利:COST(50),COLORRED,NODRAW;
VAR1:=EMA(EMA(CLOSE,13),13);
控盘:= (VAR1-REF(VAR1,1))/REF(VAR1,1)*30,COLORFFCCCC,POINTDOT;
STICKLINE(控盘<0,0.2+控盘,0.2,0,0),COLORWHITE;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,0.2+控盘,0.2,2,0),COLORRED;
STICKLINE(控盘<REF(控盘,1) AND 控盘>0,0.2+控盘,0.2,2,0),COLOR00FF00;
☆ ☆ ☆
--------------------------------------------------------------------------------
同花顺买卖主力
--------------------------------------------------------------------------------
同花顺《买卖主力》的长相
同花顺《买卖主力》的代码
平均:TOSTRING((REF(H,1)+REF(L,1)+REF(O,1)+REF(C,1))/4,3),colorgreen;
市值:TOSTRING(FINANCE(1)*C,3);
主营收入:TOSTRING(FINANCE(20),3),colorred;
持仓:EMA(1*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),LINETHICK2,COLORFF00FF;
STICKLINE(持仓>0,0,持仓,2,0),colorgray;
主力:WINNER(CLOSE*1.9-SHigh),coloryellow;
VAR1:=EMA(EMA(CLOSE,13),13);
控盘:= (VAR1-REF(VAR1,1))/REF(VAR1,1)*30,COLORFFCCCC,POINTDOT;
STICKLINE(控盘<0,0.2+控盘,0.2,0,0),colorwhite;
STICKLINE(控盘>REF(控盘,1) AND 控盘>0,0.2+控盘,0.2,2,0),colorred;
STICKLINE(控盘<REF(控盘,1) AND 控盘>0,0.2+控盘,0.2,2,0),COLOR00FF00;
至于《买卖主力》的意义和用法,我就不解释了。
☆ ☆ ☆
毛泽东说过,决定战争胜负的是人,而不是一两件新式武器。我是相信这名话的。
|