以下是通达信变色成交量公式
通达信变色成交量公式
指标源码:
VOL,VOLSTICK;
主买:LARGEINTRDVOL,COLORRED,NODRAW;
主卖:LARGEOUTTRDVOL,COLORGREEN,NODRAW;
AA:LARGEINTRDVOL-LARGEOUTTRDVOL,NODRAW;
BBB:=LARGEOUTTRDVOL-LARGEINTRDVOL,NODRAW;
AAA:=IF(主买>主卖,AA,0);
CCC:=IF(主买<主卖,BBB,0);
STICKLINE(AAA,0,AA,2,0),COLORRED;
STICKLINE(CCC,0,BBB,2,0),COLOR35D500;