资金博弈(1分钟用)

2011-02-16 11:34:00来源:本站整理浏览:295

资金博弈

资金博弈(1分钟用)

AA:=DATEDIFF(REF(DATE,1),DATE)<>CURRENTDATE-REF(CURRENTDATE,1);
VERTLINE(AA<>0),LINEDASHDOT;
AA:=DATEDIFF(REF(DATE,1),DATE)<>CURRENTDATE-REF(CURRENTDATE,1);
0,LINEDOT;
QA:=BARSLAST(AA);
总额:SUM(AMOUNT/10000,QA+1),LINETHICK0,PRECISION2;
QC:=IF(ABS(AMOUNT/10000>=100) AND C>=REF(C,1),AMOUNT/10000,0);//大单
QG:=IF(ABS(AMOUNT/10000>=100) AND C<REF(C,1),AMOUNT/10000,0);
QD:=IF(ABS(AMOUNT/10000<50) AND C>=REF(C,1),AMOUNT/10000,0);//小单
QH:=IF(ABS(AMOUNT/10000<50) AND C<REF(C,1),AMOUNT/10000,0);
ZD:=IF(ABS(AMOUNT/10000<100 AND AMOUNT/10000>50) AND C>=REF(C,1),AMOUNT/10000,0);//中单
ZH:=IF(ABS(AMOUNT/10000<100 AND AMOUNT/10000>50) AND C<REF(C,1),AMOUNT/10000,0);
大单:SUM(QC-QG,QA+1),COLORRED,PRECISION2;
中单:SUM(ZD-ZH,QA+1),COLORYELLOW,PRECISION2;
小单:SUM(QD-QH,QA+1),COLORGREEN,PRECISION2;
大小单比:(大单/小单-1)*100,LINETHICK0,COLORWHITE,PRECISION2;
DRAWTEXT(ISLASTBAR,大单,'大单'),COLORRED;
DRAWTEXT(ISLASTBAR,中单,'中单'),COLORYELLOW;
DRAWTEXT(ISLASTBAR,小单,'小单'),COLORGREEN;

股票公式栏目导航

精品指标推荐

最新热门

本类随机推荐

相关公式