大盘分时指标公式

大盘分时指标公式:

{大盘引用}

昨收:REF(C,1),LINETHICK0;

BS:=COUNT(V>0,0);

KB1:=BS=1ANDDYNAINFO(3)

KS1:=BS=1ANDDYNAINFO(3)>DYNAINFO(4);

KB2:=BARSLAST((C>REF(C,1)ORBS=1))+KS1;

KS2:=BARSLAST((C

BV:=IF(KB2

SV:=IF(KB2>KS2,AMOUNT/100000000,0);

资金差:SUM(BV,0)-SUM(SV,0);

N:=MIN(BARPOS,5);

资金差2:SUM(BV,N)-SUM(SV,N);

{叠加大盘}

POLYLINE(C,C),LINETHICK2,COLORBLACK;{要股价粗线删除这句}

TC:=STRCMP(STRLEFT(MARKETLABEL,2),SZ);

DPSH:="SH000001$CLOSE"/HHV(STKINDI(SH000001,大盘引用.昨收#DAY),0);

DPSZ:="399001$CLOSE"/HHV(STKINDI(399001,大盘引用.昨收#DAY),0);

DPC:=IF(INBLOCK(A股板块),DYNAINFO(3)*IF(TC=0,DPSZ,DPSH),C);

POLYLINE(C>0,DPC),COLORMAGENTA,LAYER0;

C,COLORWHITE,LAYER0;

{大盘力度}

总:STKINDI(SH000001,大盘引用.资金差#TICK);

五分:STKINDI(SH000001,大盘引用.资金差2#MIN1),LINETHICK0;

STICKLINE(五分>0,五分,0,1,0),Color5050FF;

STICKLINE(五分