Var1:=DYNAINFO(17)*REF(MA(VOL,5),1);
Var2:=DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT;
預(yù)測V1:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,Var1,Var2);
預(yù)測V:IF(實(shí)際V>=預(yù)測V1,實(shí)際V,預(yù)測V1),LINETHICK0;
流通盤:CAPITAL/1000000;
換手率:VOL/CAPITAL*100,LINETHICK0;
比:=預(yù)測V/實(shí)際V;
WJ:=(H+L+C)/3;
V1:=IF(H=L,1,H-MAX(O,C));
V2:=IF(H=L,1,MAX(C,O)-WJ);
V3:=IF(H=L,1,MIN(O,C)-L);
V4:=IF(H=L,1,WJ-MIN(C,O));
V5:=VOL/IF(H=L,4,H-L);
V6:=(V1*V5);
V7:=(V2*V5);
V8:=(V3*V5);
V9:=(V4*V5);
買盤1:=DYNAINFO(23)*比;
賣盤1:=DYNAINFO(22)*比;
買盤2:=(V9+V8)*比;
賣盤2:=(V6+V7)*比;
買盤:=IF(CATEGORY<>0 AND BARSTATUS=2 AND DATATYPE=6,買盤1,買盤2);
賣盤:=IF(CATEGORY<>0 AND BARSTATUS=2 AND DATATYPE=6,賣盤1,賣盤2);
STICKLINE(1,0,MAX(買盤,賣盤),1,0),COLORFFFFFF;
AADD:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
DRAWTEXTABS(5,5,),linethick1,COLOR00EEff;
買量:=IF(CLOSE>OPEN,AADD*(HIGH-LOW),IF(CLOSE<OPEN,AADD*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
賣量:=IF(CLOSE>OPEN,0-AADD*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AADD*(HIGH-LOW),0-VOL/2));
進(jìn)出量:=買量+賣量;
紅天3:=COUNT(進(jìn)出量>0,3)=3;
紅天5:=COUNT(進(jìn)出量>0,5)=5;
紅天9:=COUNT(進(jìn)出量>0,9)=9;
DRAWICON(紅天3,-400 ,4),ALIGN1;
凈買:買盤-賣盤,COLORMAGENTA,LINETHICK0;
換手率:=VOL/CAPITAL*100;
hs:=換手率;
A:=MA(換手率,2);
X:=LLV(A,20);
X1:=(A-LLV(A,20))=0;
X2:=HHV(A,20);
X3:=(A-X2)=0;
換手率:=VOL/CAPITAL*100;
mv1:ema(v,9),Color0057FF;
mv2:ema(v,34),ColorF1910E;
FILLRGN(mv1,mv2,mv1>mv2),coloryellow;
FILLRGN(mv1,mv2,mv1<mv2),colorff9900;
STICKLINE(CLOSE<=REF(CLOSE,1) , VOL,0,8.5,1),Color00D400;
STICKLINE(CLOSE>REF(CLOSE,1), VOL,0,8.5,1),ColorBB00FF;
STICKLINE(凈買>0,0,買盤,7,0),color102088;
STICKLINE(凈買>0,0,買盤,6,0),color1020aa;
STICKLINE(凈買>0,0,買盤,5,0),color1020bb;
STICKLINE(凈買>0,0,買盤,4,0),color1020bb;
STICKLINE(凈買>0,0,買盤,3,0),color1020dd;
STICKLINE(凈買>0,0,買盤,2,0),color1020ee;
STICKLINE(凈買<=0,0,買盤,7,0),color102088;
STICKLINE(凈買<=0,0,買盤,6,0),color1020aa;
STICKLINE(凈買<=0,0,買盤,5,0),color1020bb;
STICKLINE(凈買<=0,0,買盤,4,0),color1020cc;
STICKLINE(凈買<=0,0,買盤,3,0),color1020dd;
STICKLINE(凈買<=0,0,買盤,2,0),color1020ee;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買>0,v,買盤,7,0),COLORFF7700;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買>0,v,買盤,6,0),COLORFF8811;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買>0,v,買盤,5,0),COLORFFAA22;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買>0,v,買盤,4,0),COLORFFBB33;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買>0,v,買盤,3,0),COLORFFDD44;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買>0,v,買盤,2,0),COLORFFFF55;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買<=0,v,買盤,7,0),COLORFF7700;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買<=0,v,買盤,6,0),COLORFF8811;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買<=0,v,買盤,5,0),COLORFFAA22;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買<=0,v,買盤,4,0),COLORFFBB33;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買<=0,v,買盤,3,0),COLORFFDD44;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買<=0,v,買盤,2,0),COLORFFFF55;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買>0,v,買盤,7,0),Color710000;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買>0,v,買盤,6,0),ColorA10000;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買>0,v,買盤,5,0),ColorC50000;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買>0,v,買盤,4,0),ColorE50000;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買>0,v,買盤,3,0),ColorFF6500;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買>0,v,買盤,2,0),ColorFFDB00;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買<=0,v,買盤,7,0),Color710000;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買<=0,v,買盤,6,0),ColorA10000;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買<=0,v,買盤,5,0),ColorC50000;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買<=0,v,買盤,4,0),ColorE50000;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買<=0,v,買盤,3,0),ColorFF6500;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買<=0,v,買盤,2,0),ColorFFDB00;
stickline(換手率<1 ,V,0,2,0),colorff9900;
stickline(換手率>1 ,V,0,2,0),color00ff00;
stickline(換手率>3 ,V,0,2,0),coloryellow;
stickline(換手率>5,V,0,2,0),color0099ff;
stickline(換手率>10,V,0,2,0),Color0000FF;
DRAWTEXT(CROSS(mv1,mv2),v*1.2,'★買'),COLORYELLOW;
DRAWTEXT(CROSS(mv2,mv1),mv2*1.2,'↓賣'), colorff9900;(南方財(cái)富網(wǎng)SOUTHMONEY.COM)
(責(zé)任編輯:張曉軒)