Var1:=DYNAINFO(17)*REF(MA(VOL,5),1);
Var2:=DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT;
預測V1:=IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,Var1,Var2);
預測V:IF(實(shí)際V>=預測V1,實(shí)際V,預測V1),LINETHICK0;
流通盤(pán):CAPITAL/1000000;
換手率:VOL/CAPITAL*100,LINETHICK0;
比:=預測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);
買(mǎi)盤(pán)1:=DYNAINFO(23)*比;
賣(mài)盤(pán)1:=DYNAINFO(22)*比;
買(mǎi)盤(pán)2:=(V9+V8)*比;
賣(mài)盤(pán)2:=(V6+V7)*比;
買(mǎi)盤(pán):=IF(CATEGORY<>0 AND BARSTATUS=2 AND DATATYPE=6,買(mǎi)盤(pán)1,買(mǎi)盤(pán)2);
賣(mài)盤(pán):=IF(CATEGORY<>0 AND BARSTATUS=2 AND DATATYPE=6,賣(mài)盤(pán)1,賣(mài)盤(pán)2);
STICKLINE(1,0,MAX(買(mǎi)盤(pán),賣(mài)盤(pán)),1,0),COLORFFFFFF;
AADD:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));
DRAWTEXTABS(5,5,),linethick1,COLOR00EEff;
買(mǎi)量:=IF(CLOSE>OPEN,AADD*(HIGH-LOW),IF(CLOSE<OPEN,AADD*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2));
賣(mài)量:=IF(CLOSE>OPEN,0-AADD*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AADD*(HIGH-LOW),0-VOL/2));
進(jìn)出量:=買(mǎi)量+賣(mài)量;
紅天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;
凈買(mǎi):買(mǎi)盤(pán)-賣(mài)盤(pán),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(凈買(mǎi)>0,0,買(mǎi)盤(pán),7,0),color102088;
STICKLINE(凈買(mǎi)>0,0,買(mǎi)盤(pán),6,0),color1020aa;
STICKLINE(凈買(mǎi)>0,0,買(mǎi)盤(pán),5,0),color1020bb;
STICKLINE(凈買(mǎi)>0,0,買(mǎi)盤(pán),4,0),color1020bb;
STICKLINE(凈買(mǎi)>0,0,買(mǎi)盤(pán),3,0),color1020dd;
STICKLINE(凈買(mǎi)>0,0,買(mǎi)盤(pán),2,0),color1020ee;
STICKLINE(凈買(mǎi)<=0,0,買(mǎi)盤(pán),7,0),color102088;
STICKLINE(凈買(mǎi)<=0,0,買(mǎi)盤(pán),6,0),color1020aa;
STICKLINE(凈買(mǎi)<=0,0,買(mǎi)盤(pán),5,0),color1020bb;
STICKLINE(凈買(mǎi)<=0,0,買(mǎi)盤(pán),4,0),color1020cc;
STICKLINE(凈買(mǎi)<=0,0,買(mǎi)盤(pán),3,0),color1020dd;
STICKLINE(凈買(mǎi)<=0,0,買(mǎi)盤(pán),2,0),color1020ee;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買(mǎi)>0,v,買(mǎi)盤(pán),7,0),COLORFF7700;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買(mǎi)>0,v,買(mǎi)盤(pán),6,0),COLORFF8811;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買(mǎi)>0,v,買(mǎi)盤(pán),5,0),COLORFFAA22;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買(mǎi)>0,v,買(mǎi)盤(pán),4,0),COLORFFBB33;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買(mǎi)>0,v,買(mǎi)盤(pán),3,0),COLORFFDD44;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買(mǎi)>0,v,買(mǎi)盤(pán),2,0),COLORFFFF55;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買(mǎi)<=0,v,買(mǎi)盤(pán),7,0),COLORFF7700;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買(mǎi)<=0,v,買(mǎi)盤(pán),6,0),COLORFF8811;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買(mǎi)<=0,v,買(mǎi)盤(pán),5,0),COLORFFAA22;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買(mǎi)<=0,v,買(mǎi)盤(pán),4,0),COLORFFBB33;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買(mǎi)<=0,v,買(mǎi)盤(pán),3,0),COLORFFDD44;
STICKLINE(CLOSE>MA(CLOSE,30) AND 凈買(mǎi)<=0,v,買(mǎi)盤(pán),2,0),COLORFFFF55;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買(mǎi)>0,v,買(mǎi)盤(pán),7,0),Color710000;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買(mǎi)>0,v,買(mǎi)盤(pán),6,0),ColorA10000;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買(mǎi)>0,v,買(mǎi)盤(pán),5,0),ColorC50000;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買(mǎi)>0,v,買(mǎi)盤(pán),4,0),ColorE50000;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買(mǎi)>0,v,買(mǎi)盤(pán),3,0),ColorFF6500;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買(mǎi)>0,v,買(mǎi)盤(pán),2,0),ColorFFDB00;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買(mǎi)<=0,v,買(mǎi)盤(pán),7,0),Color710000;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買(mǎi)<=0,v,買(mǎi)盤(pán),6,0),ColorA10000;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買(mǎi)<=0,v,買(mǎi)盤(pán),5,0),ColorC50000;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買(mǎi)<=0,v,買(mǎi)盤(pán),4,0),ColorE50000;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買(mǎi)<=0,v,買(mǎi)盤(pán),3,0),ColorFF6500;
STICKLINE(CLOSE<MA(CLOSE,30) AND 凈買(mǎi)<=0,v,買(mǎi)盤(pán),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,'★買(mǎi)'),COLORYELLOW;
DRAWTEXT(CROSS(mv2,mv1),mv2*1.2,'↓賣(mài)'), colorff9900;(南方財富網(wǎng)SOUTHMONEY.COM)
(責任編輯:張曉軒)