FZ成本籌碼類型系列源碼[分享]
FZMOBV
ABV:=MA(SUM(IF(C>REF(C,1),V,IF(C<REF(C,1),-V,0)),0)/25000,2);
M1:=eMA(ABV,13);
tj:=(abv-m1)*6;
tj3:=(abv-m1)/m1>0.2;
STICKLINE( 1,abv,ref(abv,1),tj,1),COLORGREEN;
stickline(tj3,abv,ref(abv,1),tj,1),COLORBLUE;
stickline(abv>m1,abv,ref(abv,1),1,1),COLORRED;
stickline(abv<m1,abv,ref(abv,1),1,1),COLORRED;
M11:EMA(ABV,12),linethick2;
M22:EMA(ABV,26),linethick2;
FZ操盤論
n=20
m1=4
m2=2
q1=30
V2:=(C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100;
V3:=SMA(V2,M1,1);
V4:=SMA(V3,M2,1);
V5:=V/CAPITAL*100;
V6:=REF(V5,1);
機構(gòu)建倉: V4<14.5 AND V3<11;
大戶減倉: V6>Q1 AND V6<47;
機構(gòu)減倉: V4>82 AND V3>89;
股價臨界: V4>85 AND V3>95;
FZ操盤指令
V1:=1;
V2:=1;
V3:=EMA(C,5)/EMA(EMA(C,9),16);
V4:=1/WINNER(C)*V1;
V5:=(C-MA(C,13))/MA(C,13)*100;
V6:=100-ABS(V5);
V7:=(C-LLV(L,75))/(HHV(H,75)-LLV(L,75))*100;
V8:=SMA(V7,20,1)*V1;
V9:=SMA(V8,15,1);
VA:=100-3*V8+2*V9;
VB:=((EMA(IF(VA>REF(VA,1),VA,VA-3),3)-50)*(-1)*2/2+50)/10;
VC:=EMA(AMOUNT,13)/EMA(V,13);
VD:=(VC/REF(VC,1)-1)*100;
VE:=V/CAPITAL*100;
VF:=(H-L)/((H+L)/2)*100;
V10:=(VB+VE)*VF*VD*V1;
V11:=REF(C,1);
V12:=SUM(IF(C>V11,V,0),26)/SUM(IF(C<=V11,V,0),26)*100;
V13:=IF(V12<70,70,V12);
V14:=(C-LLV(L,9))/(HHV(H*V2,9)-LLV(L,9))*V1*100;
V15:=SMA(V14,3,1);
V16:=SMA(V15,3,1);
V17:=3*V15-2*V16*V1;
V18:=(C-LLV(L,26))/(HHV(H*V2,26)-LLV(L,26))*100;
V19:=SMA(V18,6,1);
V1A:=SMA(V19,3,1)*V1;
V1B:=3*V19-2*V1A;
V1C:=IF(CROSS(V17,V1B*V2) AND V1B*V2<20,-1,0)+IF(CROSS(V1B,V17) AND V1B>80,1,0);
V1D:=(H+L+C)/3;
V1E:=(V1D-MA(V1D,14))/(0.015*AVEDEV(V1D*V2,14))/2;
V1F:=SMA(MAX(C-V11,0),6,1)/SMA(ABS(C*V1-V11),6,1)*100;
V20:=LLV(L,36);
V21:=HHV(H,36);
V22:=EMA((C-V20)/(V21-V20)*100,9)*V1;
V23:=IF(V1E>100 AND V22>50 AND C>O,0.5,0)+IF(V1F>80 AND V22>50 AND C>O,0.5,0);
V24:=(C-LLV(L,100))/(HHV(H*V2,100)-LLV(L*V2,100))*100;
V25:=SMA(V24,21,1)*V1;
V26:=SMA(V15,3,1);
V27:=3*V25-2*V26;
V28:=IF(V27>80 AND V1F>88,0.5,0);
減四分一: IF(V10>50 AND V10<100 OR V1C+V23+V28>0,25,0);
減三分一: IF(V10>100 AND V10<200,33,0);
減二分一: IF(V10>200,50,0);
減三分二: IF(V3>1.1 AND V3<1.15 AND V3<REF(V3,1) OR V3>1.15 AND V3<REF(V3,1),67,0);
警示錄: MAX(MAX(減四分一,減三分一),MAX(減二分一,減三分二));
FZ成本分析
n=3
m=30
STICKLINE(O>=C,C,O,9,0 ),COLORaaaaaa;
STICKLINE(O>=C,C,O,6,0 ),COLORbbbbbb;
STICKLINE(O>=C,C,O,2.4,0 ),COLORcccccc;
STICKLINE(O>=C,C,O,1.1,0 ),COLORdddddd;
STICKLINE(C>O,C,O,9,0 ),COLOr6666cc;
STICKLINE(C>O,C,O,6,0 ),COLOR7777dd;
STICKLINE(C>O,C,O,2.4,0 ),COLOR8888ee;
STICKLINE(C>O,C,O,1.1,0 ),COLOR9999ff;
STICKLINE(C>O,O,L,0.5,0 ),COLOR1199ff;
STICKLINE(C>O,C,H,0.5,0 ),COLOR1199ff;
STICKLINE(O>=C,C,L,0.5,0 ),COLORcccccc;
STICKLINE(O>=C,O,H,0.5,0 ),COLORcccccc;
b:=100*PWINNER(3,C);
a:=hhv(b,5);
ab:=COST(a);
浮動成本:ma(ab,n),colorwhite;
d:=100*PPART(m);
e:=HHv(d,5);
鎖定成本:cost(e),Coloryellow;
aa:=hhv(h,50000);{上市以來的最高價對應(yīng)的籌碼的價位}
bb:=llv(l,250);{250天以來的最低價對應(yīng)的籌碼的價位}
ss:=aa-bb;{最高籌碼與最低籌碼之間的價差}
STICKLINE(c>0,ss*0.191+bb,ss*0.191+bb,10,0),COLORBLUE;
{以下幾句是分別對應(yīng)的黃金分割位置對應(yīng)價位}
STICKLINE(c>0,ss*0.382+bb,ss*0.382+bb,10,0),COLORffff66;
STICKLINE(c>0,ss*0.5+bb,ss*0.5+bb,10,0),colorMAGENTA;
STICKLINE(c>0,ss*0.618+bb,ss*0.618+bb,10,0),colorgreen;
STICKLINE(c>0,ss*0.809+bb,ss*0.809+bb,10,0),colorff9900;
STICKLINE(c>0,bb,bb,10,0),colorred;
DRAWTEXT(c>0 and ISLASTBAR=1,ss*0.191+bb,'19.1%'),Coloryellow;
DRAWTEXT(c>0 and ISLASTBAR=1,ss*0.382+bb,'38.2%'),Coloryellow;
DRAWTEXT(c>0 and ISLASTBAR=1,ss*0.618+bb,'61.8%'),Coloryellow;
DRAWTEXT(c>0 and ISLASTBAR=1,ss*0.5+bb,'50%'),Coloryellow;
DRAWTEXT(c>0 and ISLASTBAR=1,ss*0.809+bb,'80.9%'),Coloryellow;
DRAWTEXT(c>0 and ISLASTBAR=1,bb,'0'),Coloryellow;
FZ成本均線
n1=5
n2=13
n3=34
n4=65
V1:=AMOUNT/(100*V);
短線成本均線: MA(V1,N1);
中線成本均線: MA(V1,N2);
長線成本均線: MA(V1,N3);
無窮成本均線: DMA(C,V/CAPITAL);
STICKLINE(O>=C,C,O,9,0 ),COLORaaaaaa;
STICKLINE(O>=C,C,O,6,0 ),COLORbbbbbb;
STICKLINE(O>=C,C,O,2.4,0 ),COLORcccccc;
STICKLINE(O>=C,C,O,1.1,0 ),COLORdddddd;
STICKLINE(C>O,C,O,9,0 ),COLOr6666cc;
STICKLINE(C>O,C,O,6,0 ),COLOR7777dd;
STICKLINE(C>O,C,O,2.4,0 ),COLOR8888ee;
STICKLINE(C>O,C,O,1.1,0 ),COLOR9999ff;
STICKLINE(C>O,O,L,0.5,0 ),COLOR1199ff;
STICKLINE(C>O,C,H,0.5,0 ),COLOR1199ff;
STICKLINE(O>=C,C,L,0.5,0 ),COLORcccccc;
STICKLINE(O>=C,O,H,0.5,0 ),COLORcccccc;
FZ籌碼K線
STICKLINE(O>=C,C,O,9,0 ),COLORaaaaaa;
STICKLINE(O>=C,C,O,6,0 ),COLORbbbbbb;
STICKLINE(O>=C,C,O,2.4,0 ),COLORcccccc;
STICKLINE(O>=C,C,O,1.1,0 ),COLORdddddd;
STICKLINE(C>O,C,O,9,0 ),COLOr6666cc;
STICKLINE(C>O,C,O,6,0 ),COLOR7777dd;
STICKLINE(C>O,C,O,2.4,0 ),COLOR8888ee;
STICKLINE(C>O,C,O,1.1,0 ),COLOR9999ff;
STICKLINE(C>O,O,L,0.5,0 ),COLOR1199ff;
STICKLINE(C>O,C,H,0.5,0 ),COLOR1199ff;
STICKLINE(O>=C,C,L,0.5,0 ),COLORcccccc;
STICKLINE(O>=C,O,H,0.5,0 ),COLORcccccc;
MA(C,2);
MA(C,4);
生命: MA(C,15);
頂: COST(95);
拉升: COST(75);
控盤成本: COST(30);
主力成本: COST(4);
底: COST(0.05);
V1:=WINNER(C);
V2:=DMA(V1,V/CAPITAL);
V3:=DMA(V,V/CAPITAL)/CAPITAL;
V4:=V1/V3;
V5:=V2/V3;
STICKLINE(V4>V5 AND 100*WINNER(C)>50,C,O,8,1);
V6:=100*WINNER(C*0.95);
STICKLINE(V6>50 AND COST(85)<C,C,O,8,1);
STICKLINE(V6>50 AND COST(85)<C,C,O,2.5,0);
FZ籌碼布分
V1:=MA(COST(99),5);
V2:=MA(COST(80),5);
V3:=MA(C,5);
V4:=MA(COST(20),5);
V5:=MA(COST(1),5);
V6:=(V1-V2)/V2*100;
V7:=(V2-V4)/V4*100;
V8:=(V4-V5)/V5*100;
V9:=IF(V7<10,100,0);
高密集: V9,COLORSTICK;
VA:=IF(V7<15,50,0);
中密集: VA,COLORSTICK;
VB:=IF(V7<20,25,0);
低密集: VB,COLORSTICK;
密集度: V7;
FZ籌碼分布2
V1:=COST(95);
V2:=COST(5);
V3:=V1-V2;
V4:=0.3*V3;
V5:=V2+V4;
低位籌碼: WINNER(V5)*100;
V6:=V1-V4;
高位籌碼: 100-WINNER(V6)*100;
V7:=1.1*C;
V8:=0.9*C;
活動籌碼: 100*(WINNER(V7)-WINNER(V8)),POINTDOT;
籌碼密集大于70: STICKLINE(活動籌碼>70,0,50,1,0);
FZ籌碼分析
n=5
n1=20
m=55
V1:=amount/V;
V2:=c/hhv(h,barscount(c>0))*100;
A:COUNT(V1>REF(V1,1),N)/N*100,COLOR00FFFF;
B:COUNT(V1>REF(V1,1),N1)/N1*100,COLORFF00FF;
C0:=(h+l+c)/3;
b1:=HHV(C0,m);b2:=LLV(C0,m);b3:=b1-b2;
b4:=ema((C0-b2)/b3,2)*100;
中期相對價位:b4,colorred,linethick2;
套牢盤籌碼:100*(1-WINNER(C));
DRAWICON( B>REF(A,2) and A>REF(B,1) and V2<=50 and 100*(1-WINNER(C))>=93 and 中期相對價位<=25,A,40);
FZ籌碼黃金
{n1,3,n2,5,n3,13,n4,89}
籌碼短期: DMA((3*H+L+O+2*C)/7,V/(SUM(AMOUNT,N1)/(AMOUNT/V/100)/100));
籌碼中期: DMA((3*H+L+O+2*C)/7,V/(SUM(AMOUNT,N2)/(AMOUNT/V/100)/100));
籌碼長期: DMA((3*H+L+O+2*C)/7,V/(SUM(AMOUNT,N3)/(AMOUNT/V/100)/100));
籌碼★期: DMA((3*H+L+O+2*C)/7,V/(SUM(AMOUNT,N4)/(AMOUNT/V/100)/100));
V2:=100*(MA(C,13)-REF(MA(C,13),1))/REF(MA(C,13),1)>0 OR 100*(籌碼中期-REF(籌碼中期,1))/REF(籌碼中期,1)>0 OR SMA(SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1),10,1)>80 OR SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1)>80 OR 3*SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1)-2*SMA(SMA((C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100,3,1),3,1)>0 OR CROSS(SMA(SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1),10,1),SMA((C-LLV(L,60))/(HHV(H,60)-LLV(L,60))*100,5,1));
V3:=100*(MA(C,13)-REF(MA(C,13),1))/REF(MA(C,13),1)<0 AND 100*(籌碼中期-REF(籌碼中期,1))/REF(籌碼中期,1)<0 AND 100*(C-籌碼中期)/籌碼中期<0;
STICKLINE(V2 AND O>=C,O,C,7,0)Color00FF00;
STICKLINE(V2 AND O<C,O,C,7,1)colorred;
STICKLINE(V2 AND O>C,H,O,0.8,0)Color00FF00;
STICKLINE(V2 AND O>C,L,C,0.8,0)Color00FF00;
STICKLINE(V2 AND O<=C,H,C,0.8,0)colorred;
STICKLINE(V2 AND O<=C,L,O,0.8,0)colorred;
STICKLINE(V3,O,C,7,0)colorcyan;
STICKLINE(V3 AND O>C,O,C,7,0)colorcyan;
STICKLINE(V3 AND O<C,O,C,7,1)colorcyan;
STICKLINE(V3 AND O<=C,H,L,0.8,0)colorcyan;
STICKLINE(V3 AND O>C,O,H,0.8,1)colorcyan;
STICKLINE(V3 AND O>C,L,C,0.8,0)colorcyan;
FZ籌碼密集度
n=13
V1:=COST(89)-COST(11);
V2:=COST(99.9)-COST(0.1);
單峰密集: (1-V1/V2)*100;
低位密集: (COST(99)-COST(60))/V2*100;
高位密集: (COST(40)-COST(1))/V2*100;
獲利盤: SMA(WINNER(AMOUNT/V/100)*100,N,1);
FZ籌碼轉(zhuǎn)移
V1:=REF(C,5);
V2:=REF(WINNER(C)*100,5);
V3:=WINNER(V1)*100;
籌轉(zhuǎn)5: V2-V3;
V4:=REF(C,10);
V5:=REF(WINNER(C)*100,10);
V6:=WINNER(V4)*100;
籌轉(zhuǎn)10: V5-V6;
V7:=REF(C,20);
V8:=REF(WINNER(C)*100,20);
V9:=WINNER(V7)*100;
籌轉(zhuǎn)20: V8-V9;
VA:=REF(C,30);
VB:=REF(WINNER(C)*100,30);
VC:=WINNER(VA)*100;
籌轉(zhuǎn)30: VB-VC;FZ穿越籌碼
IF((WINNER(C)-WINNER(O))*100/(V*100/CAPITAL)>0,(WINNER(C)-WINNER(O))*100/(V*100/CAPITAL),0)*100,VSTICK,COLORCYAN;
IF((WINNER(C)-WINNER(O))*100/(V*100/CAPITAL)<0,(WINNER(C)-WINNER(O))*100*V*100/CAPITAL,0)*100,VSTICK,COLOR5050FF;
穿越籌碼: (WINNER(C)-WINNER(O))*100,POINTDOT;
FZ風(fēng)暴
V1:=SMA((HHV(H,24)-C)/(HHV(H,24)-LLV(L,24))*200-125,5,1);
V2:=SMA((C-LLV(L,24))/(HHV(H,24)-LLV(L,24))*200-105,5,1);
多頭: V1;
空頭: V2;
生死線: 0,POINTDOT;
V3:=(2*C+H+L)/4;
V4:=LLV(L,34);
V5:=HHV(H,34);
V6:=EMA((V3-V4)/(V5-V4)*100,9);
V7:=EMA((V3-V4)/(V5-V4)*100,31);
DRAWTEXT(CROSS(V6,20) AND V6>21,多頭,'●買進(jìn)');
DRAWTEXT(CROSS(V6,80) AND V6>75,多頭,'●賣出');
FZ浮籌鎖定
HSL:=EMA(V/CAPITAL,3);
ZDL:=HHV(HSL,240);
ZXL:=LLV(HSL,240);
XS:=MA(C,33);
鎖定籌碼:EMA((HSL-ZXL)/ZXL*XS,13);
浮動籌碼:EMA((ZDL-HSL)/HSL*XS,13);
力量對比:鎖定籌碼-浮動籌碼,COLORSTICK
FZ浮利
n1=12
40,linethick2;
20,linethick2;
0,linethick2;
-20,linethick2;
-40,linethick2;
V1:=DMA(EMA(C,N1),SUM(V,5)/3/CAPITAL);
SW: (C-V1)/V1*100;
FZ個活籌OAMV
V1:=SMA(AMOUNT,10,1)/10000000;
V2:=REF(V1,1);
AA: STICKLINE(V1>V2,V1,V2,8,1),COLORRED;
AD: STICKLINE(V1<V2,V1,V2,8,0),COLORGREEN;
C5: DMA(SMA(V1,3,1),V/0.02/CAPITAL);
C13: DMA(SMA(V1,5,1),V/0.1/CAPITAL);
C34: DMA(SMA(V1,8,1),V/0.18/CAPITAL);
∞: DMA(V1,V/1.1/CAPITAL);
FZ個死籌ODMV
V1:=C-SMA(V,9,1)/10000;
V2:=REF(V1,1);
AA: STICKLINE(V1>V2,V1,V2,8,1),COLORRED;
AD: STICKLINE(V1<V2,V1,V2,8,0),COLORGREEN;
C5: DMA(SMA(V1,2,1),V/0.03/CAPITAL);
C13: DMA(SMA(V1,5,1),V/0.07/CAPITAL);
C34: DMA(SMA(V1,2,1),V/0.22/CAPITAL);
∞: DMA(V1,V/0.9/CAPITAL);
V3:=SUM(V1*V,0)/SUM(V,0);
FZ股價警示
上限警示: (MA(H,30)*1.15-MA(H,3)*1.03)/(MA(H,3)*1.03)*100;
下限警示: (MA(L,3)*0.97-MA(L,30)*0.85)/(MA(H,30)*0.85)*100;
FZ換手率
換手率: V/CAPITAL*100;
換手率5: MA(換手率,5);
換手率10: MA(換手率,10);
換手率20: MA(換手率,20);
換手率30: MA(換手率,30);
換手率40: MA(換手率,40);
換手率60: MA(換手率,60);
累計換手率30: MA(換手率,30)*30
FZ回歸預(yù)測
n=5
STICKLINE(O>=C,C,O,9,0 ),COLORaaaaaa;
STICKLINE(O>=C,C,O,6,0 ),COLORbbbbbb;
STICKLINE(O>=C,C,O,2.4,0 ),COLORcccccc;
STICKLINE(O>=C,C,O,1.1,0 ),COLORdddddd;
STICKLINE(C>O,C,O,9,0 ),COLOr6666cc;
STICKLINE(C>O,C,O,6,0 ),COLOR7777dd;
STICKLINE(C>O,C,O,2.4,0 ),COLOR8888ee;
STICKLINE(C>O,C,O,1.1,0 ),COLOR9999ff;
STICKLINE(C>O,O,L,0.5,0 ),COLOR1199ff;
STICKLINE(C>O,C,H,0.5,0 ),COLOR1199ff;
STICKLINE(O>=C,C,L,0.5,0 ),COLORcccccc;
STICKLINE(O>=C,O,H,0.5,0 ),COLORcccccc;
cb:=(H+L+C)/3,LINETHICK0;
cb1:=((ref(cb,1)+ref(cb,2))/2*0.618+cb*0.382),LINETHICK0;
賣預(yù)測值:FORCAST(h,n),SHIFT0;
賣估算值:cb1+STD(h,n),SHIFT0;
估算成本:cb1,SHIFT0;
買估算值:cb1-STD(l,n),SHIFT0;
買預(yù)測值:FORCAST(l,n),SHIFT0;
A:=(O+H+L+C*2)/5,LINETHICK0;
STICKLINE(BETWEEN(A,H,L),A,A,4,0),COLORFFAA33;
s:=(h-a)*0.618+a,LINETHICK0;
STICKLINE(BETWEEN(s,H,a),s,s,2,0),COLORFFAA33;
x:=(a-l)*0.382+l,LINETHICK0;
STICKLINE(BETWEEN(x,l,a),x,x,2,0),COLORFFAA33;
賣出價:(C*2.5/100+C),LINETHICK0;
買入價:c-C*2.5/100,LINETHICK0;
FZ活籌OAMV
n1=5
n2=13
n3=34
n4=255
Var1:=SMA("1a0002$AMOUNT"+"399107$AMOUNT",10,1)/1000000;
Var2:=REF(Var1,1);
Var3:=MA("1a0002$CLOSE"+"399107$CLOSE"*3,5);
收盤:Var1*("1a0002$CLOSE"+"399107$CLOSE"*3)/Var3*1/10,POINTDOT;
開盤:Var1*("1a0002$OPEN"+"399107$OPEN"*3)/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;
最高:Var1*("1a0002$HIGH"+"399107$HIGH"*3)/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;
最低:Var1*("1a0002$LOW"+"399107$LOW"*3)/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;
昨收盤:=REF(收盤,1),POINTDOT,COLOR009900,LINETHICK0;
漲跌:=(收盤-REF(收盤,1))/REF(收盤,1)*100,POINTDOT,COLOR009900,LINETHICK0;
大盤生命線:EMA(收盤,N1);
EMA(收盤,N2),COLOR00FF00;
EMA(收盤,N3),COLORblue;
EMA(收盤,N4),COLORred;
STICKLINE(收盤>開盤,收盤,開盤,8,0),COLORRED;
STICKLINE(收盤>開盤,最高,MAX(收盤,開盤),0,1),COLORRED;
STICKLINE(收盤>開盤,MIN(收盤,開盤),最低,0,1),COLORRED;
STICKLINE(收盤<開盤,收盤,開盤,8,0),COLORGREEN;
STICKLINE(收盤<開盤,最高,MAX(收盤,開盤),0,1),COLORGREEN;
STICKLINE(收盤<開盤,MIN(收盤,開盤),最低,0,1),COLORGREEN;
FZ活籌OAMV2
V1:=SMA(AMOUNT,10,1)/1000000;
V2:=REF(V1,1);
V3:=MA(REF(C,1),5);
收盤:V1*C/V3*1/10,COLOR009900,LINETHICK0,POINTDOT;
開盤:V1*O/V3*1/10,POINTDOT,COLOR009900,LINETHICK0;
最高:V1*H/V3*1/10,POINTDOT,COLOR009900,LINETHICK0;
最低:V1*L/V3*1/10,POINTDOT,COLOR009900,LINETHICK0;
生命線:EMA(收盤,12),COLORCYAN;
昨收盤:=REF(收盤,1),POINTDOT,COLOR009900,LINETHICK0;
漲跌:=(收盤-REF(收盤,1))/REF(收盤,1)*100,POINTDOT,COLOR009900,LINETHICK0;
STICKLINE(收盤>開盤,收盤,開盤,5,0),COLORRED;
STICKLINE(收盤>開盤,最高,MAX(收盤,開盤),0,1),COLORRED;
STICKLINE(收盤>開盤,MIN(收盤,開盤),最低,0,1),COLORRED;
STICKLINE(收盤<開盤,收盤,開盤,5,0),COLORGREEN;
STICKLINE(收盤<開盤,最高,MAX(收盤,開盤),0,1),COLORGREEN;
STICKLINE(收盤<開盤,MIN(收盤,開盤),最低,0,1),COLORGREEN;
FZ監(jiān)莊金尊
V1:=(C-LLV(L,20))/(HHV(H,20)-LLV(L,20))*100;
V2:=SMA(V1,20,1);
V3:=SMA(V2,15,1);
V4:=(3*V2+2*V3)/4;
V5:= REF(V4,1);
RSA:SMA(MAX(V4-V5,0),2,1)/SMA(ABS(V4-V5),2,1)*100;
RSB:MA(RSA,10);
初升介入:IF(CROSS(RSA,RSB),50,0),STICK,LINETHICK2;
洗盤加倉:IF(CROSS(RSB,90),50,0),STICK,LINETHICK2;
DRAWTEXT(CROSS(RSA,RSB),-15,'初升介入'),COLORBLUE;
DRAWTEXT(CROSS(RSB,90),-15,'洗盤加倉'),COLOR00FFFF;
-30;
FZ看盤
V1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
V2:=2*ABS(V1);
V3:=100-(100-3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
V4:=100-(100-3*SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
V5:=(H+L+C)/3;
V6:=(V5-MA(V5,10))/(0.015*AVEDEV(V5,10));
V7:=(V5-MA(V5,30))/(0.015*AVEDEV(V5,30));
V8:=IF(V6>=150 AND V6<200 AND V7>=150 AND V7<200,10,0);
V9:=IF(V6<=-150 AND V6>-200 AND V7<=-150 AND V7>-200,-10,V8);
VA:=(C-MA(C,13))/MA(C,13)*100;
VB:=100-ABS(VA);
VC:=3*SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1)-2
*SMA(SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1);
VD:=3*SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))
*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1);
VE:=REF(L,1)*0.9;
VF:=L*0.9;
V10:=(VF*V+VE*(CAPITAL-V))/CAPITAL;
V11:=EMA(V10,30);
V12:=V11-C;
V13:=REF(C,1);
V14:=SMA(MAX(C-V13,0),7,1)/SMA(ABS(C-V13),7,1)*100;
V15:=SMA(MAX(C-V13,0),13,1)/SMA(ABS(C-V13),13,1)*100;
V16:=BARSCOUNT(C);
V17:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
V18:=((-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+50)*2;
V19:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
V1A:=(SMA(V19,4,1)-50)*2;
V1B:=SMA(V1A,3,1);
V1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
V1D:=SMA(V1C,4,1);
V1E:=SMA(V1D,3,1);
V1F:=(HHV(H,30)-C)/C*100;
V20:=IF(V17<=25 AND V18<-95 AND V1F>20 AND V1B<-30 AND V1E<30
AND V12>=-0.25 AND V14<22 AND V15<28 AND V16>50,80,0);
大趨勢: V3,colorblack;
頂線: IF(VB<90,VB,100);
多方: IF(V1>0,V1,0),LINESTICK;
空方: -IF(V1<0,V2,0),LINESTICK;
抄底: V20,colorred,linethick2;
預(yù)警系統(tǒng): (IF((V7>=200 AND V6>=150) OR CROSS(65,多方),15,IF(V7<=-200
AND V6<=-150,-15,V9))+65),COLORCYAN,LINETHICK2;
STICKLINE(V3<=REF(V4,1),V3,V4,8,0),colorwhite;
STICKLINE(V3>REF(V4,1),V3,V4,8,0),colorred;
t1:=C>MA(C,20) AND MA(C,20)>=REF(MA(C,20),1);
t2:=C<MA(C,20) AND MA(C,20)<REF(MA(C,20),1);
t3:=多方>60 AND 預(yù)警系統(tǒng)>65 AND 頂線=100;
t4:=多方>48 AND 預(yù)警系統(tǒng)>65 AND 頂線<100;
t5:=空方<-38 AND 預(yù)警系統(tǒng)<65;
t6:=抄底>50 AND 頂線<90;
t7:=V3>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1);
t8:=V3<=REF(V4,1) AND C<REF(C,1) AND 預(yù)警系統(tǒng)=65 AND 抄底=0
AND 空方>=REF(空方,1) AND VC<REF(VD,1);
DRAWTEXT(t1 and count(t1,30)=1,10,'上升通道!'),COLOR00FFFF;
B2:=DRAWTEXT(t2 and count(t2,30)=1,55,'下降通道!'),COLOR00FFFF;
B3:=DRAWTEXT(t3 and count(t3,30)=1,55,'上漲過急!'),COLOR00FFFF;
B4:=DRAWTEXT(t4 and count(t4,30)=1,75,'莊家出貨!'),COLOR00FFFF;
B5:=DRAWTEXT(t5 and count(t5,30)=1,50,'有小反彈!'),COLOR00FFFF;
B6:=DRAWTEXT(t6 and count(t6,30)=1,30,'搶反彈!'),COLOR00FFFF;
B7:=DRAWTEXT(t7 and count(t7,30)=1,-10,'資金進(jìn)場!'),COLOR00FFFF;
DRAWTEXT(t8 and count(t8,30)=1,90,'見頂回落!'),COLOR00FFFF;
FZ控盤力度
V3:=(C+H+L)/3;
V4:=EMA(EMA(EMA(V3,1),13),21);
控盤度:(V4-REF(V4,1))/REF(V4,1)*100,COLORSTICK,LINETHICK3;
強弱分界:0,Coloryellow,LINETHICK3;
V5:=LLV(L,33);
V6:=HHV(H,17);
V7:=EMA((C-V5)/(V6-V5)*100,20)*0.998;
V8:=EMA(0.667*REF(V7,1)+0.333*V7,1);
V9:=EMA(100*(HHV(H,20)-C)/(HHV(H,20)-LLV(L,33)),20);
VA:=EMA(V9,1);
VB:=V/CAPITAL*100;
VC:=SUM(VB,5)>=3;
VD:=VC/REF(VB,10)>=2;
VE:=HHV(C,5);
VF:=VE/REF(C,5)>=1.01;
V10:=VA > 20;
V11:=H/REF(L,20) < 1.2;
V12:=WINNER(C)*100;
V13:=VC AND V10 AND VD AND V11 AND VF;
V14:=FILTER(V13,20);
DRAWTEXT(V14,-0.15,'有主力資金活動跡象!!!'),linethick3,colormagenta;
V15:=EMA(WINNER(C),20);
{V16:=V15 > 0.85 AND CSUM(V,10)/CAPITAL > 0.2 OR SUM(V,3)/CAPITAL > 0.1 OR C/REF(C,20)>=1.9;}
V16:=V15 > 0.85 AND (C> 0.2 OR SUM(V,3)/CAPITAL > 0.1) OR C/REF(C,20)>=1.9;
DRAWTEXT(V16,0.5,'主力出貨跡象!!!'),Coloryellow,LINETHICK3;
FZ龍盤
MA1:MA(C,5);
MA2:MA(C,10);
MA3:MA(C,20);
MA4:MA(C,30);
龍頭線: COST(78),colorblue,LINETHICK2;
龍尾線: COST(15),LINETHICK2,colorgreen;
龍心線: (COST(78)+COST(15))/2,Coloryellow,LINETHICK2;
FZ實戰(zhàn)看盤
V1:=MA(100*(C-LLV(C,34))/(HHV(H,34)-LLV(L,34)),5)-20;
V2:=2*ABS(V1);
V3:=100-(100-3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
V4:=100-(100-3*SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1)+2*SMA(SMA((O-LLV(L,55))/(HHV(H,55)-LLV(L,55))
*100,20,1),15,1));
V5:=(H+L+C)/3;
V6:=(V5-MA(V5,10))/(0.015*AVEDEV(V5,10));
V7:=(V5-MA(V5,30))/(0.015*AVEDEV(V5,30));
V8:=IF(V6>=150 AND V6<200 AND V7>=150 AND V7<200,10,0);
V9:=IF(V6<=-150 AND V6>-200 AND V7<=-150 AND V7>-200,-10,V8);
VA:=(C-MA(C,13))/MA(C,13)*100;
VB:=100-ABS(VA);
VC:=3*SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1)-2
*SMA(SMA((INDEXC-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1);
VD:=3*SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))
*100,20,1)-2*SMA(SMA((INDEXO-LLV(INDEXL,55))/(HHV(INDEXH,55)-LLV(INDEXL,55))*100,20,1),15,1);
VE:=REF(L,1)*0.9;
VF:=L*0.9;
V10:=(VF*V+VE*(CAPITAL-V))/CAPITAL;
V11:=EMA(V10,30);
V12:=V11-C;
V13:=REF(C,1);
V14:=SMA(MAX(C-V13,0),7,1)/SMA(ABS(C-V13),7,1)*100;
V15:=SMA(MAX(C-V13,0),13,1)/SMA(ABS(C-V13),13,1)*100;
V16:=BARSCOUNT(C);
V17:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
V18:=((-100)*(HHV(H,60)-C)/(HHV(H,60)-LLV(L,60))+50)*2;
V19:=(C-LLV(L,15))/(HHV(H,15)-LLV(L,15))*100;
V1A:=(SMA(V19,4,1)-50)*2;
V1B:=SMA(V1A,3,1);
V1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-LLV(INDEXL,14))*100;
V1D:=SMA(V1C,4,1);
V1E:=SMA(V1D,3,1);
V1F:=(HHV(H,30)-C)/C*100;
V20:=IF(V17<=25 AND V18<-95 AND V1F>20 AND V1B<-30 AND V1E<30
AND V12>=-0.25 AND V14<22 AND V15<28 AND V16>50,80,0);
大趨勢: V3,colorblack;
頂線: IF(VB<90,VB,100);
多方: IF(V1>0,V1,0),LINESTICK;
空方: -IF(V1<0,V2,0),LINESTICK;
抄底: V20,colorred,linethick2;
預(yù)警系統(tǒng): (IF((V7>=200 AND V6>=150) OR CROSS(65,多方),15,IF(V7<=-200
AND V6<=-150,-15,V9))+65),COLORCYAN;
STICKLINE(V3<=REF(V4,1),V3,V4,8,0),colorwhite;
STICKLINE(V3>REF(V4,1),V3,V4,8,0),colorred;
t1:=C>MA(C,20) AND MA(C,20)>=REF(MA(C,20),1);
t2:=C<MA(C,20) AND MA(C,20)<REF(MA(C,20),1);
t3:=多方>60 AND 預(yù)警系統(tǒng)>65 AND 頂線=100;
t4:=多方>48 AND 預(yù)警系統(tǒng)>65 AND 頂線<100;
t5:=空方<-38 AND 預(yù)警系統(tǒng)<65;
t6:=抄底>50 AND 頂線<90;
t7:=V3>REF(V4,1) AND V>REF(V,1) AND C>REF(C,1);
t8:=V3<=REF(V4,1) AND C<REF(C,1) AND 預(yù)警系統(tǒng)=65 AND 抄底=0
AND 空方>=REF(空方,1) AND VC<REF(VD,1);
DRAWTEXT(t1 and count(t1,30)=1,10,'上升通道!'),COLOR00FFFF;
B2:=DRAWTEXT(t2 and count(t2,30)=1,55,'下降通道!'),COLOR00FFFF;
B3:=DRAWTEXT(t3 and count(t3,30)=1,55,'上漲過急!'),COLOR00FFFF;
B4:=DRAWTEXT(t4 and count(t4,30)=1,75,'莊家出貨!'),COLOR00FFFF;
B5:=DRAWTEXT(t5 and count(t5,30)=1,50,'有小反彈!'),COLOR00FFFF;
B6:=DRAWTEXT(t6 and count(t6,30)=1,30,'搶反彈!'),COLOR00FFFF;
B7:=DRAWTEXT(t7 and count(t7,30)=1,-10,'資金進(jìn)場!'),COLOR00FFFF;
DRAWTEXT(t8 and count(t8,30)=1,90,'見頂回落!'),COLOR00FFFF;
FZ智能中線
V2:=SUM(IF(C > O,V,0),30)/SUM(V,30)*100;
V3:=100-SUM(IF(C > O,V,0),30)/SUM(V,30)*100;
多頭力量: V2,COLORRED;
空頭力量: V3,COLORBLUE;
多空平衡: 50;
FZ周期獲利
n=5
m=5
周期獲利籌碼:(WINNER(H)-REF(WINNER(L),M))/REF(WINNER(L),N),COLORGREEN;
STICKLINE(周期獲利籌碼>0,0,周期獲利籌碼,6,1);
STICKLINE(0>周期獲利籌碼,0,周期獲利籌碼,6,1);
FZ主力倉位
活籌: 100*WINNER(REF(C,1)*1.1)-100*WINNER(REF(C,1)*0.9);
死籌: 100*WINNER(C);
主力籌碼: 100*WINNER(C*0.9);
獲利3: 100*WINNER(C*0.97);
獲利20: 100*WINNER(C*0.9*0.9);
獲利30: 100*WINNER(C*0.9*0.9*0.9);
穿透籌碼: 100*WINNER(C)-100*WINNER(REF(C,1)*1);
AA: REF(主力籌碼<30,1) AND 主力籌碼>30;
QW: L<COST(4) AND C>COST(4);
STICKLINE(獲利3>85,0,獲利3,8,0);
STICKLINE(主力籌碼>30,0,主力籌碼,8,1);
STICKLINE(獲利20>20,0,獲利20,8,1);
STICKLINE(獲利30>20,0,獲利30,8,1);
FZ主力進(jìn)撤
{n:1,100,8;m:1,100,13;p:1,100,60;s:1,100,3}
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
主力撤: IF(V4<=0,V4,0)COLORGREEN;
主力進(jìn): IF(V4>=0,V4,0)COLORMAGENTA;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大盤資金進(jìn)場: IF(VB>=0,VB,0);
大盤資金撤走: IF(VB<=0,VB,0);
FZ莊籌散籌線
莊籌線:EMA(WINNER(C)*70,5) colorred linethick2;
散籌線:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5)colorgreen linethick2;
{5;20;40;60;}
海底撈活魚:FILTER( (CROSS(5,莊籌線) and 散籌線< 20 )*40,10 ),Coloryellow;
DRAWTEXT(海底撈活魚,30,'海底撈活魚(抄底)' ),Coloryellow;
aa:= ref(莊籌線,30)> 40 or ref(莊籌線,20)> 40;
bb:=CROSS(28,莊籌線) and 散籌線> 40 and aa=1;
DRAWTEXT(bb,60,'決戰(zhàn)誘空(洗盤)' ),COLORWHITE;
決戰(zhàn)誘空:IF(bb,50,80 ),COLORWHITE;
CC:=REF(散籌線,1)> 散籌線 AND REF(莊籌線,1)< 莊籌線 AND 莊籌線> 30 AND 散籌線> 30 AND REF(莊籌線,1)-REF(莊籌線,2)> 3.535;
DD:=COUNT(REF(散籌線,1)> REF(莊籌線,1),5);
雞雀升天:IF(CROSS(莊籌線,散籌線) AND CC=1 AND DD>=5,10,30),COLORMAGENTA;
DRAWTEXT(雞雀升天=10,13,'追隨莊家得道升天'),COLORMAGENTA;
EXPLAIN(bb,'海底撈活魚繼續(xù)賣出');
EXPLAIN(CC,'海底撈活魚最佳賣出時機');
EXPLAIN(aa,'海底撈活魚空倉區(qū)');
EXPLAIN(count(cross(莊籌線,2),1)=1,'莊籌考慮買入');
EXPLAIN(count(cross(散籌線,5),2)=1,'散籌買入時機');
FZ莊見籌
莊籌估算:EMA(WINNER(C)*70,5) colormagenta linethick2;
散籌估算:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5) colorgreen linethick2;
cc:=FILTER( (CROSS(5,莊籌估算) and 散籌估算<20 )*60,10 );
抄底:cc,Coloryellow;
DRAWTEXT(cc,11,'抄底' ),Coloryellow;
aa:= ref(莊籌估算,30)>40 or ref(莊籌估算,20)>40;
bb:=CROSS(28,莊籌估算) and 散籌估算>40 and aa=1 {and LLV(l,60 )>LLV(l,250 )};
洗盤:IF(bb,30,60 ) colorcyan;
DRAWTEXT(FILTER(bb,4),66,'洗盤' ) colorcyan;
drawicon(莊籌估算>60,60,6);
stickline(莊籌估算<散籌估算 and 散籌估算<60,散籌估算,55,1,0),colorgreen;
stickline(莊籌估算>散籌估算,散籌估算,50,1,0),colorred;
FILLRGN(莊籌估算<散籌估算,莊籌估算,0),colorred;
FZ資金波段
V1:=(C*2+H+L)/4*10;
V2:=EMA(V1,13)-EMA(V1,34);
V3:=EMA(V2,5);
V4:=2*(V2-V3)*5.5;
主力撤: IF(V4<=0,V4,0),colorgreen;
主力進(jìn): IF(V4>=0,V4,0),colormagenta;
V5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;
V6:=EMA(3*V5-2*SMA(V5,18,1),5);
V7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;
V8:=(INDEXC*2+INDEXH+INDEXL)/4;
V9:=EMA(V8,13)-EMA(V8,34);
VA:=EMA(V9,3);
VB:=(V9-VA)/2;
大盤資金進(jìn)場: IF(VB>=0,VB,0),Coloryellow;
大盤資金撤走: IF(VB<=0,VB,0),colorblue;;
V11:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
趨勢線: EMA(V11,3),colorblack;
V12:=(趨勢線-REF(趨勢線,1))/REF(趨勢線,1)*100;
準(zhǔn)備現(xiàn)金: STICKLINE(趨勢線<=13,0,20,5,0),colorcc9900;
買入股票: STICKLINE(趨勢線<=13 AND V12>13,0,50,5,0),color0099ff;
見頂清倉: STICKLINE(趨勢線>=90 AND V12<0,100,80,5,0),colorred;
FZ資金監(jiān)控
p=5
R:=AMOUNT/1000000;
R1:=IF(C>REF(C,1),R,
IF(C<REF(C,1),(-1)*R,0));
R3:=SUM(R1,13);
資金監(jiān)控k:R3*O,POINTDOT,COLORFFCC00;
資金監(jiān)控S:R3*C,POINTDOT,COLORFFCC00;
資金平衡位:MA(資金監(jiān)控S,30),COLORCCCCCC;
MM:STICKLINE(資金監(jiān)控S>=REF(資金監(jiān)控S,1),REF(資金監(jiān)控S,1),資金監(jiān)控S,6,0),COLORred;
MN:STICKLINE(資金監(jiān)控S<REF(資金監(jiān)控S,1),REF(資金監(jiān)控S,1),資金監(jiān)控S,6,0),COLORgreen;
MA(資金監(jiān)控S,P),Coloryellow,LINETHICK1;