咨詢內容:
幫忙把這個改成博易大師的
AA:=SCALE*VOL;//主動買
BB:=(1-SCALE)*VOL;//主動賣
N:=BARSLAST(DATE<>REF(DATE,1))+1;
WW:=SUM(SCALE*VOL,N);
NN:=SUM((1-SCALE)*VOL,N);
SS:WW-NN,NODRAW;
STICKLINE(SS>0,0,SS,COLORRED,0);
STICKLINE(SS<0,0,SS,COLORCYAN,0);
?
?來源:程序化99網( www.kzuj.com.cn )
博易技術人員:
SCALE:=BUYVOL/VOL,PRECISION3;
AA:=SCALE*VOL;//主動買
BB:=(1-SCALE)*VOL;//主動賣
N:=BARSLAST(DATE<>REF(DATE,1))+1;
WW:=SUM(SCALE*VOL,N);
NN:=SUM((1-SCALE)*VOL,N);
SS:WW-NN,NODRAW;
STICKLINE(SS>0,0,SS,10,0),COLORRED;
STICKLINE(SS<0,0,SS,10,0),COLORCYAN;
來源 程序化久久網