【图】成本筹码类型系列源码

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

【图】成本筹码类型系列源码
'FZ成本筹码类型系列源码[分享]
[replyview]
FZMOBV
ABV:=MA(SUM(IF(CLOSE>REF(CLOSE,1),VOL,IF(CLOSE<REF( CLOSE,1),-VOL,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
Var2:=(CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-
LLV(LOW,N))*100;
Var3:=SMA(Var2,M1,1);
Var4:=SMA(Var3,M2,1);
Var5:=VOL/CAPITAL*100;
Var6:=REF(Var5,1);
机构建仓: Var4<14.5 AND Var3<11;
大户减仓: Var6>Q1 AND Var6<47;
机构减仓: Var4>82 AND Var3>89;
股价临界: Var4>85 AND Var3>95;
FZ操盘指令
Var1:=1;
Var2:=1;
Var3:=EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16);
Var4:=1/WINNER(CLOSE)*Var1;
Var5:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
Var6:=100-ABS(Var5);
Var7:=(CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-
LLV(LOW,75))*100;
Var8:=SMA(Var7,20,1)*Var1;
Var9:=SMA(Var8,15,1);
VarA:=100-3*Var8+2*Var9;
VarB:=((EMA(IF(VarA>REF(VarA,1),VarA,VarA-3),3)-50)*(-1)*2/2+50)/10;
VarC:=EMA(AMOUNT,13)/EMA(VOL,13);
VarD:=(VarC/REF(VarC,1)-1)*100;
VarE:=VOL/CAPITAL*100;
VarF:=(HIGH-LOW)/((HIGH+LOW)/2)*100;
Var10:=(VarB+VarE)*VarF*VarD*Var1;
Var11:=REF(CLOSE,1);
Var12:=SUM(IF(CLOSE>Var11,VOL,0),26)/SUM(IF(CLOSE<=V ar11,VOL,0),26)*100;
Var13:=IF(Var12<70,70,Var12);
Var14:=(CLOSE-LLV(LOW,9))/(HHV(HIGH*Var2,9)-
LLV(LOW,9))*Var1*100;
Var15:=SMA(Var14,3,1);
Var16:=SMA(Var15,3,1);
Var17:=3*Var15-2*Var16*Var1;
Var18:=(CLOSE-LLV(LOW,26))/(HHV(HIGH*Var2,26)-
LLV(LOW,26))*100;
Var19:=SMA(Var18,6,1);
Var1A:=SMA(Var19,3,1)*Var1;
Var1B:=3*Var19-2*Var1A;
Var1C:=IF(CROSS(Var17,Var1B*Var2) AND Var1B*Var2<20,-1,0)+IF(CROSS(Var1B,Var17) AND Var1B>80,1,0);
Var1D:=(HIGH+LOW+CLOSE)/3;
Var1E:=(Var1D-
MA(Var1D,14))/(0.015*AVEDEV(Var1D*Var2,14))/2;
Var1F:=SMA(MAX(CLOSE-
Var11,0),6,1)/SMA(ABS(CLOSE*Var1-Var11),6,1)*100;
Var20:=LLV(LOW,36);
Var21:=HHV(HIGH,36);
Var22:=EMA((CLOSE-Var20)/(Var21-Var20)*100,9)*Var1;
Var23:=IF(Var1E>100 AND Var22>50 AND CLOSE>OPEN,0.5,0)+IF(Var1F>80 AND Var22>50 AND CLOSE>OPEN,0.5,0);
Var24:=(CLOSE-LLV(LOW,100))/(HHV(HIGH*Var2,100)-
LLV(LOW*Var2,100))*100;
Var25:=SMA(Var24,21,1)*Var1;
Var26:=SMA(Var15,3,1);
Var27:=3*Var25-2*Var26;
Var28:=IF(Var27>80 AND Var1F>88,0.5,0);
减四分一: IF(Var10>50 AND Var10<100 OR Var1C+Var23+Var28>0,25,0);
减三分一: IF(Var10>100 AND Var10<200,33,0);
减二分一: IF(Var10>200,50,0);
减三分二: IF(Var3>1.1 AND Var3<1.15 AND Var3<REF(Var3,1) OR Var3>1.15 AND Var3<REF(Var3,1),67,0);
警示录: MAX(MAX(减四分一,减三分一),MAX(减二分一,减三分二));
FZ成本分析
n=3
m=30
STICKLINE(open>=close ,close ,open,9,0 ),COLORaaaaaa;
STICKLINE(open>=close ,close ,open,6,0 ),COLORbbbbbb;
STICKLINE(open>=close ,close ,open,2.4,0 ),COLORcccccc;
STICKLINE(open>=close ,close ,open,1.1,0 ),COLORdddddd;
STICKLINE(close>open,close,open,9,0 ),COLOr6666cc;
STICKLINE(close>open,close,open,6 ,0 ),COLOR7777dd;
STICKLINE(close>open,close,open,2.4 ,0 ),COLOR8888ee;
STICKLINE(close>open,close,open,1.1 ,0 ),COLOR9999ff;
STICKLINE(close>open,open,low,0.5,0 ),COLOR1199ff;
STICKLINE(close>open,close,HIGH,0.5 ,0 ),COLOR1199ff;
STICKLINE(open>=close,close,low,0.5 ,0 ),COLORcccccc;
STICKLINE(open>=close,open,HIGH,0.5 ,0 ),COLORcccccc;
b:=100*PWINNER(3,close);
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);{上市以来的最高价对应的筹码的价位}
bb:=llv(l,250);{250天以来的最低价对应的筹码的价位}
ss:=aa-bb;{最高筹码与最低筹码之间的价差}
STICKLINE(c>0,ss*0.191+bb,ss*0.191+bb,10,0),COLORBLUE;
{以下几句是分别对应的黄金分割位置对应价位}
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
Var1:=AMOUNT/(100*VOL);
短线成本均线: MA(Var1,N1);
中线成本均线: MA(Var1,N2);
长线成本均线: MA(Var1,N3);
无穷成本均线: DMA(CLOSE,VOL/CAPITAL);
STICKLINE(open>=close ,close ,open,9,0 ),COLORaaaaaa; STICKLINE(open>=close ,close ,open,6,0 ),COLORbbbbbb; STICKLINE(open>=close ,close ,open,2.4,0 ),COLORcccccc; STICKLINE(open>=close ,close ,open,1.1,0 ),COLORdddddd;
STICKLINE(close>open,close,open,9,0 ),COLOr6666cc; STICKLINE(close>open,close,open,6 ,0 ),COLOR7777dd; STICKLINE(close>open,close,open,2.4 ,0 ),COLOR8888ee; STICKLINE(close>open,close,open,1.1 ,0 ),COLOR9999ff;
STICKLINE(close>open,open,low,0.5,0 ),COLOR1199ff; STICKLINE(close>open,close,HIGH,0.5 ,0 ),COLOR1199ff; STICKLINE(open>=close,close,low,0.5 ,0 ),COLORcccccc; STICKLINE(open>=close,open,HIGH,0.5 ,0 ),COLORcccccc;
FZ筹码K线
STICKLINE(open>=close ,close ,open,9,0 ),COLORaaaaaa;
STICKLINE(open>=close ,close ,open,6,0 ),COLORbbbbbb;
STICKLINE(open>=close ,close ,open,2.4,0 ),COLORcccccc;
STICKLINE(open>=close ,close ,open,1.1,0 ),COLORdddddd;
STICKLINE(close>open,close,open,9,0 ),COLOr6666cc;
STICKLINE(close>open,close,open,6 ,0 ),COLOR7777dd;
STICKLINE(close>open,close,open,2.4 ,0 ),COLOR8888ee;
STICKLINE(close>open,close,open,1.1 ,0 ),COLOR9999ff;
STICKLINE(close>open,open,low,0.5,0 ),COLOR1199ff;
STICKLINE(close>open,close,HIGH,0.5 ,0 ),COLOR1199ff;
STICKLINE(open>=close,close,low,0.5 ,0 ),COLORcccccc;
STICKLINE(open>=close,open,HIGH,0.5 ,0 ),COLORcccccc;
MA(CLOSE,2);
MA(CLOSE,4);
生命: MA(CLOSE,15);
顶: COST(95);
拉升: COST(75);
控盘成本: COST(30);
主力成本: COST(4);
底: COST(0.05);
Var1:=WINNER(CLOSE);
Var2:=DMA(Var1,VOL/CAPITAL);
Var3:=DMA(VOL,VOL/CAPITAL)/CAPITAL;
Var4:=Var1/Var3;
Var5:=Var2/Var3;
STICKLINE(Var4>Var5 AND 100*WINNER(CLOSE)>50,CLOSE,OPEN,8,1);
Var6:=100*WINNER(CLOSE*0.95);
STICKLINE(Var6>50 AND COST(85)<CLOSE,CLOSE,OPEN,8,1);
STICKLINE(Var6>50 AND COST(85)<CLOSE,CLOSE,OPEN,2.5,0);
FZ筹码布分
Var1:=MA(COST(99),5);
Var2:=MA(COST(80),5);
Var3:=MA(CLOSE,5);
Var4:=MA(COST(20),5);
Var5:=MA(COST(1),5);
Var6:=(Var1-Var2)/Var2*100;
Var7:=(Var2-Var4)/Var4*100;
Var8:=(Var4-Var5)/Var5*100;
Var9:=IF(Var7<10,100,0);
高密集: Var9, COLORSTICK;
VarA:=IF(Var7<15,50,0);
中密集: VarA, COLORSTICK;
VarB:=IF(Var7<20,25,0);
低密集: VarB, COLORSTICK;
密集度: Var7;
FZ筹码分布2
Var1:=COST(95);
Var2:=COST(5);
Var3:=Var1-Var2;
Var4:=0.3*Var3;
Var5:=Var2+Var4;
低位筹码: WINNER(Var5)*100, , {00040001};
Var6:=Var1-Var4;
高位筹码: 100-WINNER(Var6)*100, , {00040001};
Var7:=1.1*CLOSE;
Var8:=0.9*CLOSE;
活动筹码: 100*(WINNER(Var7)-WINNER(Var8)), POINTDOT;
筹码密集大于70: STICKLINE(活动筹码>70,0,50,1,0);
FZ筹码分析
n=5
n1=20
m=55
var1:=amount/vol;
var2:=c/hhv(h,barscount(c>0))*100;
A:COUNT(VAR1>REF(VAR1,1),N)/N*100,COLOR00FFFF;
B:COUNT(var1>REF(VAR1,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 var2<=50 and 100*(1-WINNER(C))>=93 and 中期相对价位<=25,A,40);
FZ筹码黄金
{n1,3, n2,5 ,n3,13,n4, 89}
筹码短期: DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT, N1)/(AMOUNT/VOL/100)/100));
筹码中期: DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT, N2)/(AMOUNT/VOL/100)/100));
筹码长期: DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT, N3)/(AMOUNT/VOL/100)/100));
筹码★期: DMA((3*HIGH+LOW+OPEN+2*CLOSE)/7,VOL/(SUM(AMOUNT, N4)/(AMOUNT/VOL/100)/100));
Var2:=100*(MA(CLOSE,13)-
REF(MA(CLOSE,13),1))/REF(MA(CLOSE,13),1)>0 OR 100*(筹码中期-REF(筹码中期,1))/REF(筹码中期,1)>0 OR SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1),10,1)>80 OR SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1)>80 OR 3*SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100,3,1)-
2*SMA(SMA((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-
LLV(LOW,9))*100,3,1),3,1)>0 OR CROSS(SMA(SMA((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-
LLV(LOW,60))*100,5,1),10,1),SMA((CLOSE-
LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100,5,1));
Var3:=100*(MA(CLOSE,13)-
REF(MA(CLOSE,13),1))/REF(MA(CLOSE,13),1)<0 AND 100*(筹码中期-REF(筹码中期,1))/REF(筹码中期,1)<0 AND 100*(CLOSE-筹码中期)/筹码中期<0;
STICKLINE(Var2 AND OPEN>=CLOSE,OPEN,CLOSE,7,0), ,Color00FF00;
STICKLINE(Var2 AND OPEN<CLOSE,OPEN,CLOSE,7,1), ,colorred;
STICKLINE(Var2 AND OPEN>CLOSE,HIGH,OPEN,0.8,0), ,Color00FF00;
STICKLINE(Var2 AND OPEN>CLOSE,LOW,CLOSE,0.8,0), ,Color00FF00;
STICKLINE(Var2 AND OPEN<=CLOSE,HIGH,CLOSE,0.8,0), ,colorred;
STICKLINE(Var2 AND OPEN<=CLOSE,LOW,OPEN,0.8,0), ,colorred;
STICKLINE(Var3,OPEN,CLOSE,7,0), ,colorcyan;
STICKLINE(Var3 AND OPEN>CLOSE,OPEN,CLOSE,7,0), ,colorcyan;
STICKLINE(Var3 AND OPEN<CLOSE,OPEN,CLOSE,7,1), ,colorcyan;
STICKLINE(Var3 AND OPEN<=CLOSE,HIGH,LOW,0.8,0), ,colorcyan;
STICKLINE(Var3 AND OPEN>CLOSE,OPEN,HIGH,0.8,1), ,colorcyan;
STICKLINE(Var3 AND OPEN>CLOSE,LOW,CLOSE,0.8,0), ,colorcyan;
FZ筹码密集度
n=13
Var1:=COST(89)-COST(11);
Var2:=COST(99.9)-COST(0.1);
单峰密集: (1-Var1/Var2)*100;
低位密集: (COST(99)-COST(60))/Var2*100;
高位密集: (COST(40)-COST(1))/Var2*100;
获利盘: SMA(WINNER(AMOUNT/VOL/100)*100,N,1);
FZ筹码转移
Var1:=REF(CLOSE,5);
Var2:=REF(WINNER(CLOSE)*100,5);
Var3:=WINNER(Var1)*100;
筹转5: Var2-Var3;
Var4:=REF(CLOSE,10);
Var5:=REF(WINNER(CLOSE)*100,10);
Var6:=WINNER(Var4)*100;
筹转10: Var5-Var6;
Var7:=REF(CLOSE,20);
Var8:=REF(WINNER(CLOSE)*100,20);
Var9:=WINNER(Var7)*100;
筹转20: Var8-Var9;
VarA:=REF(CLOSE,30);
VarB:=REF(WINNER(CLOSE)*100,30);
VarC:=WINNER(VarA)*100;
筹转30: VarB-VarC;FZ穿越筹码
IF((WINNER(CLOSE)-
WINNER(OPEN))*100/(VOL*100/CAPITAL)>0,(WINNER(CLOSE)-WINNER(OPEN))*100/(VOL*100/CAPITAL),0)*100, VOLSTICK,COLORCYAN;
IF((WINNER(CLOSE)-
WINNER(OPEN))*100/(VOL*100/CAPITAL)<0,(WINNER(CLOSE)-WINNER(OPEN))*100*VOL*100/CAPITAL,0)*100, VOLSTICK,COLOR5050FF;
穿越筹码: (WINNER(CLOSE)-WINNER(OPEN))*100, POINTDOT;
FZ风暴
Var1:=SMA((HHV(HIGH,24)-CLOSE)/(HHV(HIGH,24)-
LLV(LOW,24))*200-125,5,1);
Var2:=SMA((CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-
LLV(LOW,24))*200-105,5,1);
多头: Var1;
空头: Var2;
生死线: 0, POINTDOT;
Var3:=(2*CLOSE+HIGH+LOW)/4;
Var4:=LLV(LOW,34);
Var5:=HHV(HIGH,34);
Var6:=EMA((Var3-Var4)/(Var5-Var4)*100,9);
Var7:=EMA((Var3-Var4)/(Var5-Var4)*100,31);
DRAWTEXT(CROSS(Var6,20) AND Var6>21,多头,'●买进');
DRAWTEXT(CROSS(Var6,80) AND Var6>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;
Var1:=DMA(EMA(CLOSE,N1),SUM(VOL,5)/3/CAPITAL); SW: (CLOSE-Var1)/Var1*100;
FZ个活筹OAMV
Var1:=SMA(AMOUNT,10,1)/10000000;
Var2:=REF(Var1,1);
AA: STICKLINE(Var1>Var2,Var1,Var2,8,1),COLORRED; AD: STICKLINE(Var1<Var2,Var1,Var2,8,0),COLORGREEN; C5: DMA(SMA(Var1,3,1),VOL/0.02/CAPITAL);
C13: DMA(SMA(Var1,5,1),VOL/0.1/CAPITAL);
C34: DMA(SMA(Var1,8,1),VOL/0.18/CAPITAL);
∞: DMA(Var1,VOL/1.1/CAPITAL);
FZ个死筹ODMV
Var1:=CLOSE-SMA(VOL,9,1)/10000;
Var2:=REF(Var1,1);
AA: STICKLINE(Var1>Var2,Var1,Var2,8,1),COLORRED;
AD: STICKLINE(Var1<Var2,Var1,Var2,8,0),COLORGREEN;
C5: DMA(SMA(Var1,2,1),VOL/0.03/CAPITAL);
C13: DMA(SMA(Var1,5,1),VOL/0.07/CAPITAL);
C34: DMA(SMA(Var1,2,1),VOL/0.22/CAPITAL);
∞: DMA(Var1,VOL/0.9/CAPITAL);
Var3:=SUM(Var1*VOL,0)/SUM(VOL,0);
FZ股价警示
上限警示: (MA(HIGH,30)*1.15-MA(HIGH,3)*1.03)/(MA(HIGH,3)*1.03)*100;
下限警示: (MA(LOW,3)*0.97-MA(LOW,30)*0.85)/(MA(HIGH,30)*0.85)*100;
FZ换手率
换手率: VOL/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回归预测
n=5
STICKLINE(open>=close ,close ,open,9,0 ),COLORaaaaaa; STICKLINE(open>=close ,close ,open,6,0 ),COLORbbbbbb; STICKLINE(open>=close ,close ,open,2.4,0 ),COLORcccccc; STICKLINE(open>=close ,close ,open,1.1,0 ),COLORdddddd;
STICKLINE(close>open,close,open,9,0 ),COLOr6666cc; STICKLINE(close>open,close,open,6 ,0 ),COLOR7777dd; STICKLINE(close>open,close,open,2.4 ,0 ),COLOR8888ee; STICKLINE(close>open,close,open,1.1 ,0 ),COLOR9999ff;
STICKLINE(close>open,open,low,0.5,0 ),COLOR1199ff; STICKLINE(close>open,close,HIGH,0.5 ,0 ),COLOR1199ff; STICKLINE(open>=close,close,low,0.5 ,0 ),COLORcccccc; STICKLINE(open>=close,open,HIGH,0.5 ,0 ),COLORcccccc;
cb:=(HIGH+LOW+CLOSE)/3,LINETHICK0;
cb1:=((ref(cb,1)+ref(cb,2))/2*0.618+cb*0.382),LINETHICK0;
卖预测值:FORCAST(h,n),SHIFT0;
卖估算值:cb1+STD(h,n),SHIFT0;
估算成本:cb1,SHIFT0;
买估算值:cb1-STD(l,n),SHIFT0;
买预测值:FORCAST(l,n),SHIFT0;
A:=(OPEN+HIGH+LOW+CLOSE*2)/5,LINETHICK0; STICKLINE(BETWEEN(A,HIGH,LOW),A,A,4,0),COLORFFAA33; s:=(h-a)*0.618+a,LINETHICK0;
STICKLINE(BETWEEN(s,HIGH,a),s,s,2,0),COLORFFAA33;
x:=(a-l)*0.382+l,LINETHICK0;
STICKLINE(BETWEEN(x,l,a),x,x,2,0),COLORFFAA33;
卖出价CLOSE*2.5/100+CLOSE),LINETHICK0;
买入价:c-CLOSE*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,POIN TDOT;

盘:Var1*("1a0002$OPEN"+"399107$OPEN"*3)/Var3*1/10,POINT DOT,COLOR009900,LINETHICK0;

高:Var1*("1a0002$HIGH"+"399107$HIGH"*3)/Var3*1/10,POINTD OT,COLOR009900,LINETHICK0;

低:Var1*("1a0002$LOW"+"399107$LOW"*3)/Var3*1/10,POINTD OT,COLOR009900,LINETHICK0;
昨收盘:=REF(收盘,1),POINTDOT,COLOR009900,LINETHICK0;
涨跌:=(收盘-REF(收盘,1))/REF(收
大盘生命线: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
Var1:=SMA(AMOUNT,10,1)/1000000;
Var2:=REF(Var1,1);
Var3:=MA(REF(CLOSE,1),5);

盘:Var1*CLOSE/Var3*1/10,COLOR009900,LINETHICK0,POINTDOT;

盘:Var1*OPEN/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;

高:Var1*HIGH/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;

低:Var1*LOW/Var3*1/10,POINTDOT,COLOR009900,LINETHICK0;
生命线:EMA(收盘,12),COLORCYAN;
昨收盘:=REF(收盘,1),POINTDOT,COLOR009900,LINETHICK0;
涨跌:=(收盘-REF(收盘,1))/REF(收
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监庄金尊
Var1:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-
LLV(LOW,20))*100;
Var2:=SMA(Var1,20,1);
Var3:=SMA(Var2,15,1);
Var4:=(3*Var2+2*Var3)/4;
Var5:= REF(Var4,1);
RSA:SMA(MAX(Var4-Var5,0),2,1)/SMA(ABS(Var4-
Var5),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看盘
Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-
LLV(LOW,34)),5)-20;
Var2:=2*ABS(Var1);
Var3:=100-(100-3*SMA((CLOSE-
LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1)+2*SMA(SMA((CLOSE-
LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1),15,1));
Var4:=100-(100-3*SMA((OPEN-
LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1)+2*SMA(SMA((OPEN-
LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1),15,1));
Var5:=(HIGH+LOW+CLOSE)/3;
Var6:=(Var5-MA(Var5,10))/(0.015*AVEDEV(Var5,10));
Var7:=(Var5-MA(Var5,30))/(0.015*AVEDEV(Var5,30));
Var8:=IF(Var6>=150 AND Var6<200 AND Var7>=150 AND Var7<200,10,0);
Var9:=IF(Var6<=-150 AND Var6>-200 AND Var7<=-150 AND Var7>-200,-10,Var8);
VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VarB:=100-ABS(VarA);
VarC:=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);
VarD:=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);
VarE:=REF(LOW,1)*0.9;
VarF:=LOW*0.9;
Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;
Var11:=EMA(Var10,30);
Var12:=Var11-CLOSE;
Var13:=REF(CLOSE,1);
Var14:=SMA(MAX(CLOSE-Var13,0),7,1)/SMA(ABS(CLOSE-Var13),7,1)*100;
Var15:=SMA(MAX(CLOSE-Var13,0),13,1)/SMA(ABS(CLOSE-Var13),13,1)*100;
Var16:=BARSCOUNT(CLOSE);
Var17:=SMA(MAX(CLOSE-
REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
Var18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
Var19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-
LLV(LOW,15))*100;
Var1A:=(SMA(Var19,4,1)-50)*2;
Var1B:=SMA(Var1A,3,1);
Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-
LLV(INDEXL,14))*100;
Var1D:=SMA(Var1C,4,1);
Var1E:=SMA(Var1D,3,1);
Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
Var20:=IF(Var17<=25 AND Var18<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30
AND Var12>=-0.25 AND Var14<22 AND Var15<28 AND Var16>50,80,0);
大趋势: Var3,colorblack;
顶线: IF(VarB<90,VarB,100);
多方: IF(Var1>0,Var1,0), LINESTICK;
空方: -IF(Var1<0,Var2,0), LINESTICK;
抄底: Var20,colorred,linethick2;
预警系统: (IF((Var7>=200 AND Var6>=150) OR CROSS(65,多方),15,IF(Var7<=-200
AND Var6<=-150,-15,Var9))+65),COLORCYAN,LINETHICK2;
STICKLINE(Var3<=REF(Var4,1),Var3,Var4,8,0),colorwhite;
STICKLINE(Var3>REF(Var4,1),Var3,Var4,8,0),colorred;
t1:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);
t2:=CLOSE<MA(CLOSE,20) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1);
t3:=多方>60 AND 预警系统>65 AND 顶线=100;
t4:=多方>48 AND 预警系统>65 AND 顶线<100;
t5:=空方<-38 AND 预警系统<65;
t6:=抄底>50 AND 顶线<90;
t7:=Var3>REF(Var4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
t8:=Var3<=REF(Var4,1) AND CLOSE<REF(CLOSE,1) AND 预警系统=65 AND 抄底=0
AND 空方>=REF(空方,1) AND VarC<REF(VarD,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,'资金进场!'),COLOR00FFFF;
DRAWTEXT(t8 and count(t8,30)=1,90,'见顶回落!'),COLOR00FFFF;
FZ控盘力度
Var3:=(CLOSE+HIGH+LOW)/3;
Var4:=EMA(EMA(EMA(Var3,1),13),21);
控盘度Var4-REF(Var4,1))/REF(Var4,1)*100,COLORSTICK,LINETHICK3;
强弱分界:0,COLORYELLOW,LINETHICK3;
Var5:=LLV(LOW,33);
Var6:=HHV(HIGH,17);
Var7:=EMA((CLOSE-Var5)/(Var6-Var5)*100,20)*0.998;
Var8:=EMA(0.667*REF(Var7,1)+0.333*Var7,1);
Var9:=EMA(100*(HHV(HIGH,20)-CLOSE)/(HHV(HIGH,20)-LLV(LOW,33)),20);
VarA:=EMA(Var9,1);
VarB:=VOL/CAPITAL*100;
VarC:=SUM(VarB,5)>=3;
VarD:=VarC/REF(VarB,10)>=2;
VarE:=HHV(CLOSE,5);
VarF:=VarE/REF(CLOSE,5)>=1.01;
Var10:=VarA > 20;
Var11:=HIGH/REF(LOW,20) < 1.2;
Var12:=WINNER(CLOSE)*100;
Var13:=VarC AND Var10 AND VarD AND Var11 AND VarF;
Var14:=FILTER(Var13,20);
DRAWTEXT(Var14,-0.15,'有主力资金活动迹象'),linethick3,colormagenta;
Var15:=EMA(WINNER(CLOSE),20);
{Var16:=Var15 > 0.85 AND CLOSESUM(VOL,10)/CAPITAL > 0.2 OR SUM(VOL,3)/CAPITAL > 0.1 OR CLOSE/REF(CLOSE,20)>=1.9;}
Var16:=Var15 > 0.85 AND (CLOSE> 0.2 OR SUM(VOL,3)/CAPITAL > 0.1) OR CLOSE/REF(CLOSE,20)>=1.9;
DRAWTEXT(Var16,0.5,'主力出货迹象'),COLORYELLOW,LINETHICK3;
FZ龙盘
MA1:MA(CLOSE,5);
MA2:MA(CLOSE,10);
MA3:MA(CLOSE,20);
MA4:MA(CLOSE,30);
龙头线: COST(78),colorblue,LINETHICK2,;
龙尾线: COST(15),LINETHICK2,,colorgreen;
龙心线: (COST(78)+COST(15))/2,coloryellow,LINETHICK2;
FZ实战看盘
Var1:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-
LLV(LOW,34)),5)-20;
Var2:=2*ABS(Var1);
Var3:=100-(100-3*SMA((CLOSE-
LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1)+2*SMA(SMA((CLOSE-
LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1),15,1));
Var4:=100-(100-3*SMA((OPEN-
LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1)+2*SMA(SMA((OPEN-
LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))
*100,20,1),15,1));
Var5:=(HIGH+LOW+CLOSE)/3;
Var6:=(Var5-MA(Var5,10))/(0.015*AVEDEV(Var5,10));
Var7:=(Var5-MA(Var5,30))/(0.015*AVEDEV(Var5,30));
Var8:=IF(Var6>=150 AND Var6<200 AND Var7>=150 AND Var7<200,10,0);
Var9:=IF(Var6<=-150 AND Var6>-200 AND Var7<=-150 AND Var7>-200,-10,Var8);
VarA:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;
VarB:=100-ABS(VarA);
VarC:=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);
VarD:=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);
VarE:=REF(LOW,1)*0.9;
VarF:=LOW*0.9;
Var10:=(VarF*VOL+VarE*(CAPITAL-VOL))/CAPITAL;
Var11:=EMA(Var10,30);
Var12:=Var11-CLOSE;
Var13:=REF(CLOSE,1);
Var14:=SMA(MAX(CLOSE-Var13,0),7,1)/SMA(ABS(CLOSE-Var13),7,1)*100;
Var15:=SMA(MAX(CLOSE-Var13,0),13,1)/SMA(ABS(CLOSE-Var13),13,1)*100;
Var16:=BARSCOUNT(CLOSE);
Var17:=SMA(MAX(CLOSE-
REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100;
Var18:=((-100)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-LLV(LOW,60))+50)*2;
Var19:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-
LLV(LOW,15))*100;
Var1A:=(SMA(Var19,4,1)-50)*2;
Var1B:=SMA(Var1A,3,1);
Var1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-
LLV(INDEXL,14))*100;
Var1D:=SMA(Var1C,4,1);
Var1E:=SMA(Var1D,3,1);
Var1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;
Var20:=IF(Var17<=25 AND Var18<-95 AND Var1F>20 AND Var1B<-30 AND Var1E<30
AND Var12>=-0.25 AND Var14<22 AND Var15<28 AND Var16>50,80,0);
大趋势: Var3,colorblack;
顶线: IF(VarB<90,VarB,100);
多方: IF(Var1>0,Var1,0), LINESTICK;
空方: -IF(Var1<0,Var2,0), LINESTICK;
抄底: Var20,colorred,linethick2;
预警系统: (IF((Var7>=200 AND Var6>=150) OR CROSS(65,多方),15,IF(Var7<=-200
AND Var6<=-150,-15,Var9))+65),COLORCYAN,;
STICKLINE(Var3<=REF(Var4,1),Var3,Var4,8,0),colorwhite;
STICKLINE(Var3>REF(Var4,1),Var3,Var4,8,0),colorred;
t1:=CLOSE>MA(CLOSE,20) AND MA(CLOSE,20)>=REF(MA(CLOSE,20),1);
t2:=CLOSE<MA(CLOSE,20) AND MA(CLOSE,20)<REF(MA(CLOSE,20),1);
t3:=多方>60 AND 预警系统>65 AND 顶线=100;
t4:=多方>48 AND 预警系统>65 AND 顶线<100;
t5:=空方<-38 AND 预警系统<65;
t6:=抄底>50 AND 顶线<90;
t7:=Var3>REF(Var4,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);
t8:=Var3<=REF(Var4,1) AND CLOSE<REF(CLOSE,1) AND 预警系统=65 AND 抄底=0
AND 空方>=REF(空方,1) AND VarC<REF(VarD,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,'资金进场!'),COLOR00FFFF;
DRAWTEXT(t8 and count(t8,30)=1,90,'见顶回落!'),COLOR00FFFF;
FZ智能中线
Var2:=SUM(IF(CLOSE > OPEN,VOL,0),30)/SUM(VOL,30)*100;
Var3:=100-SUM(IF(CLOSE > OPEN,VOL,0),30)/SUM(VOL,30)*100;
多头力量: Var2, , COLORRED;
空头力量: Var3, , 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(CLOSE,1)*1.1)-100*WINNER(REF(CLOSE,1)*0.9);
死筹: 100*WINNER(CLOSE);
主力筹码: 100*WINNER(CLOSE*0.9);
获利3: 100*WINNER(CLOSE*0.97);
获利20: 100*WINNER(CLOSE*0.9*0.9);
获利30: 100*WINNER(CLOSE*0.9*0.9*0.9);
穿透筹码: 100*WINNER(CLOSE)-100*WINNER(REF(CLOSE,1)*1);
AA: REF(主力筹码<30,1) AND 主力筹码>30;
QW: LOW<COST(4) AND CLOSE>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主力进撤
{n:1,100,8;m:1,100,13;p:1,100,60;s:1,100,3}
Var1:=(CLOSE*2+HIGH+LOW)/4*10;
Var2:=EMA(Var1,13)-EMA(Var1,34);
Var3:=EMA(Var2,5);
Var4:=2*(Var2-Var3)*5.5;
主力撤: IF(Var4<=0,Var4,0), , COLORGREEN;
主力进: IF(Var4>=0,Var4,0), , COLORMAGENTA;
Var5:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-
LLV(INDEXL,8))*8;
Var6:=EMA(3*Var5-2*SMA(Var5,18,1),5);
Var7:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-
LLV(INDEXL,8))*10;
Var8:=(INDEXC*2+INDEXH+INDEXL)/4;
Var9:=EMA(Var8,13)-EMA(Var8,34);
VarA:=EMA(Var9,3);
VarB:=(Var9-VarA)/2;
大盘资金进场: IF(VarB>=0,VarB,0), , ;
大盘资金撤走: IF(VarB<=0,VarB,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 ,'决战诱空(洗盘)' ),COLORWHITE;
决战诱空: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,'海底捞活鱼继续卖出');
EXPLAIN(CC,'海底捞活鱼最佳卖出时机');
EXPLAIN(aa,'海底捞活鱼空仓区');
EXPLAIN(count(cross(庄筹线 ,2),1)=1,'庄筹考虑买入');
EXPLAIN(count(cross(散筹线,5),2)=1,'散筹买入时机');
Re:成本筹码类(源码)
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);。

相关文档
最新文档