天牛网

标题: 大单动向资金进出 [打印本页]

作者: haiyi68    时间: 2012-5-21 09:07:56     标题: 大单动向资金进出

DRAWGBKLAST(CLOSE>0,STRIP(RGB(50,10,10),RGB(0,0,0),0));
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VOL/2));
进出量:=买量+卖量;

VAR1:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
主动买盘:IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE<OPEN,VAR1*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LINETHICK0;
N:=6;     
M:=13;
N日内净流入:SUM(进出量,N);
PARTLINE(N日内净流入,N日内净流入>REF(N日内净流入,1),RGB(255,0,0), N日内净流入<REF(N日内净流入,1),RGB(0,255,0)),LINETHICK2;

STICKLINE(c<o ,0,vol,7.0,0),colorff7700;

stickline(c=o and c<ref(c,1),0,vol,7.0,0),COLOR007700;
stickline(c=o and c>ref(c,1),0,vol,7.0,0),COLOR777777;


stickline(c>o,0,vol,7.0,0),colorff77ff;

Stickline(主动买盘>0,0,主动买盘,7.0,0),COLORRED;

STICKLINE(进出量<0,0,进出量,7.0,0),COLOR007700;
STICKLINE(进出量>0,0,进出量,7.0,0),COLORYELLOW;


DRAWTEXTABS(400,5,'说明:黄色--大单多;绿色--大单空;粉色--多头;蓝色--空头'),Color00FFFF;
作者: 步步成神    时间: 2012-7-4 05:01:29

提示: 作者被禁止或删除 内容自动屏蔽




欢迎光临 天牛网 (http://cntndde.com/) Powered by Discuz! X2