筹码类公式
筹码分析精品指标公式分享
筹码分析精品指标公式分享LC:=REF(CLOSE,1);WRSI:=SMA(MAX(CLOSE-LC,0),5,1)/SMA(ABS(CLOSE-LC),5,1)*100;获利筹码:=CONST(WINNER(C)*100);SAT:=(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20));量能饱和:=(IF(SAT>1,1,SAT)*100);WR10:=(HHV(HIGH,3)-CLOSE)/(HHV(HIGH,3)-LLV(LOW,3))*100;活跃:=(WRSI-WR10);活跃度比:=IF(活跃>=0,(活跃+100)/2,100-ABS((活跃-100)/2));DRAWTEXT_FIX(ISLASTBAR=1,0.83,0.25,1,STRCAT(STRCAT('量能饱和: ',CON2STR(量能饱和,2)),'%')),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR=1,0.83,0.52,1,STRCAT(STRCAT('活跃度比: ',CON2STR(活跃度比,2)),'%')),COLORYELLOW;DRAWTEXT_FIX(ISLASTBAR=1,0.83,0.75,1,STRCAT(STRCAT('获利筹码: ',CON2STR(获利筹码,2)),'%')),COLORYELLOW;DRAWRECTREL(950,470,630,365,RGB(150,10,250));DRAWRECTREL(950,710,630,610,RGB(150,10,250));DRAWRECTREL(950,855,630,955,RGB(150,10,250));DRAWRECTREL(950,470,630+CONST(量能饱和*(950-630)/100),365,RGB(0,100,0));DRAWRECTREL(790,470,790,365,RGB(0,0,10));DRAWRECTREL(950,710,630+CONST(活跃度比*(950-630)/100),610,RGB(0,100,0));DRAWRECTREL(790,710,790,610,RGB(0,0,10));DRAWRECTREL(950,855,630+CONST(获利筹码*(950-630)/100),955,RGB(0,100,0));DRAWRECTREL(790,855,790,955,RGB(0,0,10));总涨幅周期:=350;高点位:=REFDATE(HHV(H,总涨幅周期),DATE);低点位:=REFDATE(LLV(L,总涨幅周期),DATE);低位价:=REF(L,BARSLAST(低点位=L)),COLORGREEN,NODRAW;高位价:=REF(H,BARSLAST(高点位=H)),COLORRED,NODRAW;曾最大涨幅:=(高位价-低位价)/低位价*100;当前涨幅:=(C-低位价)/低位价*100;ZFA:=CON2STR(CONST(曾最大涨幅),2);ZFB:=CON2STR(CONST(当前涨幅),2);ZFC:=STRCAT('【曾最大涨幅】:',ZFA);ZFD:=STRCAT(ZFC,'%');ZFE:=STRCAT(ZFD,'【当前总涨幅】:');ZFF:=STRCAT(ZFE,ZFB);ZFG:=STRCAT(ZFF,'%');{DRAWTEXT_FIX(ISLASTBAR,0.73,0.345,0,''),COLORRED;DRAWTEXT_FIX(ISLASTBAR,0.73,0.345,0,ZFG),COLORYELLO W};AA1X:=SUM(IF(CLOSE>REF(CLOSE,1),VOL/CAPITAL*100,IF(C LOSEVOL/CAPITAL*100,0)),0)};成交额:=V*C/100,NODRAW;{万元}AA2X:=SUM((IF(((成交额/8>20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);AA3X:=SUM((IF(((成交额/8>20) AND (CLOSEAA4X:=SUM((IF(((成交额/8<20) AND (CLOSE>(REF(CLOSE,1)))),成交额,0)),0);AA5X:=SUM((IF(((成交额/8<20) AND (CLOSEAA6X:=((AA2X+AA3X)+AA4X)+AA5X;DD1X:=1;AAA1:=STRCAT(STRCAT('机构持有',CON2STR((100*AA2X)/AA6X,0)),'%');AAA2:=STRCAT(STRCAT('散户持有',CON2STR((100*AA3X)/AA6X,0)),'%');DRAWTEXT_FIX(1,0.83,0,1,'《★筹码分析★》'),COLORRED;DRAWTEXT_FIX(DD1X=1,0.63,0,0,AAA1),COLORMAGENTA;DRAWTEXT_FIX(DD1X=1,0.89,0,0,AAA2),COLORGREEN;VARA5:=CONST(AA2X/AA6X*100);DRAWRECTREL(950,220,630,115,RGB(150,10,250));DRAWRECTREL(950,220,630+CONST(VARA5*(950-630)/100),115,RGB(0,100,0));DRAWRECTREL(790,220,790,115,RGB(0,0,10));指标并非万能,使用时请做参考之用,以下个股并非推荐,仅作练习学习之用。
筹码分布及选股公式(原码、附图
筹码分布及选股公式(原码、附图)获利筹码:EMA(WINNER(C)*70,5),Colorred;亏损筹码:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5),Colorf0ff00; STICKLINE(亏损筹码>0,0,亏损筹码,5,0),COLOR66FF00;STICKLINE(亏损筹码>0,0,亏损筹码*0.9,5,0),COLOR66EE00;STICKLINE(亏损筹码>0,0,亏损筹码*0.25,5,0),COLOR661100; STICKLINE(亏损筹码>0,0,亏损筹码*0.2,5,0),COLOR660000;主力控筹:If(获利筹码>亏损筹码,获利筹码*2,获利筹码),colorred; STICKLINE(主力控筹>0,0,主力控筹,5,0),COLORFFFFFF;STICKLINE(主力控筹>0,0,主力控筹*0.9,5,0),COLOREEEEEE;STICKLINE(主力控筹>0,0,主力控筹*0.85,5,0),COLORDDDDDD; STICKLINE(主力控筹>0,0,主力控筹*0.8,5,0),COLORCCCCCC; STICKLINE(主力控筹>0,0,主力控筹*0.75,5,0),COLORBBBBBB; STICKLINE(主力控筹>0,0,主力控筹*0.7,5,0),COLORAAAAAA; STICKLINE(主力控筹>0,0,主力控筹*0.65,5,0),COLOR999999;STICKLINE(获利筹码>0,0,获利筹码*0.75,5,0),COLORBBBBFF; STICKLINE(获利筹码>0,0,获利筹码*0.7,5,0),COLORAAAAFF; STICKLINE(获利筹码>0,0,获利筹码*0.65,5,0),COLOR9999FF; STICKLINE(获利筹码>0,0,获利筹码*0.6,5,0),COLOR8888FF; STICKLINE(获利筹码>0,0,获利筹码*0.55,5,0),COLOR7777FF;STICKLINE(获利筹码>0,0,获利筹码*0.5,5,0),COLOR6666FF; STICKLINE(获利筹码>0,0,获利筹码*0.45,5,0),COLOR5555FF; STICKLINE(获利筹码>0,0,获利筹码*0.4,5,0),COLOR4444FF; STICKLINE(获利筹码>0,0,获利筹码*0.35,5,0),COLOR3333FF; STICKLINE(获利筹码>0,0,获利筹码*0.3,5,0),COLOR2222FF;抄底部);STICKLINE(((SAT20)AND(SAT40)ANDday=2),21,(20+SAT),35,0),color000 0FF;主力筹码:EMA(WINNER(CLOSE)*70,10),colorwhite;小股民筹码:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,10),color00ff00;stickline(主力筹码>小股民筹码,主力筹码,小股民筹码,5,0),Color0AF5EF; stickline(主力筹码<小股民筹码,主力筹码,小股民筹码,5,0),color00ff00; 选股:获利筹码:=EMA(WINNER(C)*70,5);。
筹码公式
主力控筹:If(获利筹码>亏损筹码,获利筹码, 0),POINTDOT,colorred;
stickline(获利筹码<亏损筹码,获利筹码,0,0,0),ColorD98EF1;
AI:=AMOUNT/VOL/100;
筹码空间:IF(WINNER(CLOSE),WINNER(CLOSE)*100,20),VOLSTICK;
TX80:80,pointdot coloryellow;
DX20:20,pointdot colorgreen;
Var1:=LLV(LOW,21);
VaБайду номын сангаас2:=HHV(HIGH,21);
Var6:=(K+Var5)/2;
Var7:=EMA(0.667*REF(Var5,1)+0.333*K,2);
Var8:=EMA(Var6,5);
Var9:EMA(0.667*REF(Var8,1)+0.333*Var8,2);
{空头筹码多头筹码}
空头筹码:100*(1-WINNER(C)),COLORGREEN,linethick2;
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;
{筹码空间}
x52:POLYLINE(c<COST(50),COST(25)),COLORff9933;
筹码平均成本线指标公式
筹码平均成本线指标公式
筹码平均成本线指标公式是一个技术指标,用于衡量投资者在某个股票或市场中的平均买入成本。
它计算了不同价格买入的股票数量的加权平均价格。
筹码平均成本线指标公式如下:
CACL = (Sum(N*P) + Sum(Nold*Pold))/(Sum(N) + Sum(Nold))
其中,CACL表示筹码平均成本线指标,N代表在某个价格段内的股票数量,P代表每一股票的价格。
Sum函数表示求和。
公式的作用是通过考虑不同价格买入的股票数量和价格来计算投资者的平均成本。
这可以帮助投资者了解他们的投资情况,并作出相应的决策。
需要注意的是,这只是一种计算平均成本的方法,其他指标和技术分析也需要结合起来使用,以便更全面地评估投资风险和收益。
筹码类公式
股票筹码类公式汇总共同学习提升!筹码分布的两个函数:获利盘比率winner(x)=n%;和筹码分布cost(n)=x;互为反函数。
如果从不同的角度来描述,可以更清楚的看出它们的意义。
取X=C 即收盘价(当前价),则:1、winner(c)=n%; 表达的是以收盘价C卖出,而能获利的最大筹码量为流通盘的N%;2、反过来也同样成立,即:cost(n)=c; 表达的是:使流通盘的n%的筹码完全获利的最低价为C;基于这样的理解,我们可以得出几个有意思的公式。
这些公式对判断底部有一定的帮助。
一、区间集中度 cmjwinner(c*(1+m%))-winner(c*(1-m%)))*100;cmj的含义是:收盘价C附近(上下各m%)的筹码量(%);M的取值范围一般为 2~10;二、获利倍数 cmbcost(n)/cost(0)-1)*100;cmb的含义是:N%的筹码中的任意一部份,以当前价卖出时所能得到的最大收益(%);N的取值范围一般为10~90;三、盈亏幅度 ykfc/cost(n)-1)*100;ykf的含义是N%的筹码中的任意一部份以当前价卖出时的最大盈亏幅度(%);N的取值范围一般为5~10;需要说明的是:筹码分布是一个统计概念,由于市场的千变万化,人们的交易行为不会只受到一种或几种思维方式的支配,因此不可能仅用一两种模式就能完整地描述市场的真实情况。
也就是说其必然存在着局限性。
从实际的情况看这种局限性还非常严重。
在使用时仅仅只能做为一种参考。
{筹码低位密集线}x1:POLYLINE(c〈COST(50),COST(1)),COLOR008800;x3:POLYLINE(c〈COST(50),COST(3)),COLOR008800;x5:POLYLINE(c〈COST(50),COST(5)),COLOR008800;x7:POLYLINE(c〈COST(50),COST(7)),COLOR008800;x9:POLYLINE(c〈COST(50),COST(9)),COLOR008800;十:POLYLINE(c〈COST(50),COST(10)),POINTDOT,COLOR008800;x11:POLYLINE(c〈COST(50),COST(11)),COLOR66CC00;x31:POLYLINE(c〈COST(50),COST(13)),COLOR66CC00;x51:POLYLINE(c〈COST(50),COST(15)),COLOR66CC00;x71:POLYLINE(c〈COST(50),COST(17)),COLOR66CC00;x91:POLYLINE(c〈COST(50),COST(19)),COLOR66CC00;二十:POLYLINE(c〈COST(50),COST(20)),POINTDOT,COLOR66CC00;x12:POLYLINE(c〈COST(50),COST(21)),COLORff9933;x32:POLYLINE(c〈COST(50),COST(23)),COLORff9933;x52:POLYLINE(c〈COST(50),COST(25)),COLORff9933;x72:POLYLINE(c〈COST(50),COST(27)),COLORff9933;x92:POLYLINE(c〈COST(50),COST(29)),COLORff9933;三十:POLYLINE(c〈COST(50),COST(30)),POINTDOT,COLORff9933;x13:POLYLINE(c〈COST(50),COST(31)),COLOR008800;x33:POLYLINE(c〈COST(50),COST(33)),COLOR008800;x53:POLYLINE(c〈COST(50),COST(35)),COLOR008800;x73:POLYLINE(c〈COST(50),COST(37)),COLOR008800;x93:POLYLINE(c〈COST(50),COST(39)),COLOR008800;四十:POLYLINE(c〈COST(50),COST(40)),POINTDOT,COLOR008800;x14:POLYLINE(c〉0,COST(41)),COLOR33cc00;x34:POLYLINE(c〉0,COST(43)),COLOR33cc00;x54:POLYLINE(c〉0,COST(45)),COLOR33cc00;x74:POLYLINE(c〉0,COST(47)),COLOR33cc00;x94:POLYLINE(c〉0,COST(49)),COLOR33cc00;COST(50),COLORYELLOW,CIRCLEDOT;STICKLINE(c〉=o,c,o,9,1),colorred;STICKLINE(c〉=o,l,o,0.1,0),colorred;STICKLINE(c〉=o,c,h,0.1,0),colorred;STICKLINE(c〈o,c,o,9,0),colorffff00;STICKLINE(c〈o,h,l,0.1,0),colorffff00;{“三丰诱空”分解}获利盘:WINNER(C)☆100,COLORRED;二十天获利盘最高:HHV(获利盘,20);乖离:ema((100+获利盘-二十天获利盘最高),3);挖坑线:乖离,linethick2;成本乖离:(c/cost(50)-1)☆100,linethick1;{筹码盈亏}input:N(13,13,13),M(5,5,5);Var2:= WINNER(CLOSE☆1.1)☆100;Var3:= WINNER(CLOSE☆0.9)☆100;获利: MA(Var3,N), colorwhite;STICKLINE(1, 0, 获利, 1, 0), colorred;套牢:= 100-MA(Var2,N);STICKLINE(1, 100, MA(Var2,N), 1, 0), colorgreen;HH: 100-套牢,colorwhite;浮动:= MA(Var2,N)-MA(Var3,N);STICKLINE(1, 获利, MA(Var2,N), 1, 0), coloryellow;var4:= (HHV(获利,15)-var3)/var3☆100〉M AND HHV(获利,15)〉50; STICKLINE(var4,-2, 2,10,0),COLORGREEN;STICKLINE(not(var4),-2, 2,10,0),COLORBLUE;{筹码统计}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;{筹码空间}筹码空间:IF(WINNER(CLOSE),WINNER(CLOSE)☆100,20),VOLSTICK;TX80:80,pointdot coloryellow;DX20:20,pointdot colorgreen;Var1:=LLV(LOW,21);Var2:=HHV(HIGH,21);K: EMA((CLOSE-Var1)/(Var2-Var1)☆100,8),colormagenta ;D: EMA(0.667☆REF(K,1)+0.333☆K,2),coloryellow;Var3:=LLV(LOW,55);Var4:=HHV(HIGH,34);Var5:=EMA((CLOSE-Var3)/(Var4-Var3)☆100,3);Var6:=(K+Var5)/2;Var7:=EMA(0.667☆REF(Var5,1)+0.333☆K,2);Var8:=EMA(Var6,5);Var9:EMA(0.667☆REF(Var8,1)+0.333☆Var8,2);{空头筹码多头筹码}空头筹码:100☆(1-WINNER(C)),COLORGREEN,linethick2;多头筹码:100☆WINNER(C),COLORRED,linethick2;获利平均值:EMA(100☆WINNER(C),20),coloryellow,linethick2;获利99 := ma(COST(99 ),5);获利80:=ma(cost(80),5);均线5日:= ma(c,5);获利20:=ma(cost(20),5);获利1 :=ma(cost(1),5);a1:=(获利99-获利80)/获利80☆100;a2:=(获利80-获利20)/获利20☆100;aa3:=(获利20-获利1)/获利1☆100;a4:=IF(a2〈10 ,100 ,0 );a5:=IF(a2〈15 ,50 ,0 );a6:=IF(a2〈20 ,25 ,0 );密集度:a2,colorFF0000,linethick2;高密集:a4,color0000FF,linethick2;中密集:a5,colorFF00FF,linethick2;低密集:a6,color00FF00,linethick2;{筹码跟踪}获利筹码:EMA(WINNER(C)☆70,5),ColorD98EF1;亏损筹码:EMA((WINNER(C☆1.1)-WINNER(C☆0.9))☆80,5),ColorF3FF00;stickline(获利筹码〈亏损筹码 and 亏损筹码〈60,亏损筹码,55,1,0),ColorF3FF00; stickline(获利筹码〉亏损筹码,亏损筹码,50,1,0),colorred;主力控筹:If(获利筹码〉亏损筹码,获利筹码, 0),POINTDOT,colorred;stickline(获利筹码〈亏损筹码,获利筹码,0,0,0),ColorD98EF1;AI:=AMOUNT/VOL/100;C0:=REF(C,2)☆0.865;C1:=REF(C,13)☆0.772;DSY:=100☆vol/CApitAl;抄底:If((C-MIN(C0,C1))/C〈0.1 AND SUM(DSY,5)/5〈1.8,10, 0),Color00FF00;灾区:stickline(获利筹码〈10,亏损筹码,亏损筹码+5,2,0),POINTDOT,ColorFF009D; 重灾区:stickline(获利筹码〈5,亏损筹码,亏损筹码+8,2,0),POINTDOT,Color970000; stickline(抄底,0,30,4,0),Color00FF00;0,ColorFFFFFF;{筹码转移}V1:=REF(C,5);V2:=REF(WINNER(C)☆100,5);V3:=WINNER(V1)☆100;筹转5: V2-V3;V4:=REF(C,10);V5:=REF(WINNER(C)☆100,10);V6:=WINNER(V4)☆100;筹转10: V5-V6;V7:=REF(C,20);V8:=REF(WINNER(C)☆100,20);V9:=WINNER(V7)☆100;筹转20: V8-V9;VA:=REF(C,30);VB:=REF(WINNER(C)☆100,30);VC:=WINNER(VA)☆100;筹转30: VB-VC;//FZ穿越筹码IF((WINNER(C)-WINNER(O))☆100/(V☆100/CAPITAL)〉0,(WINNER(C)-WINNER(O))☆100/(V☆100/CAPITAL),0)☆100,,CO LORCYAN; IF((WINNER(C)-WINNER(O))☆100/(V☆100/CAPITAL)〈0,(WINNER(C)-WINNER(O))☆100☆V☆100/CAPITAL,0)☆100,,COLOR5050FF;穿越筹码: (WINNER(C)-WINNER(O))☆100,POINTDOT;{个股活筹}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);{筹码K线}STICKLINE(close〉=open ,open ,close,8 ,0 ), colormagenta; STICKLINE(close〉=open,close,HIGH,0.5 ,0 ), colormagenta; STICKLINE(close〉=open ,open,low,0.5 ,0 ), colormagenta; STICKLINE(open〉=close,close,open,8,0 ),COLORCYAN;STICKLINE(open〉=close,close,LOW ,0.5 ,0 ),COLORCYAN;STICKLINE(open〉=close ,open,HIGH,0.5 ,0),COLORCYAN;成本集中度:(COST(95)-COST(5))/(COST(95)+COST(5))☆100,LINETHICK0;生命: MA(C,15),coloryellow;顶: 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),coloryellow;V6:=100☆WINNER(C☆0.95);STICKLINE(V6〉50 AND COST(85)〈C,C,O,8,1),colorred;STICKLINE(V6〉50 AND COST(85)〈C,C,O,2.5,0),colorred;{筹码量级}w:sma(winner(c),3,1)☆100linethick1,Co lorFF8080;sma(winner(c),10,1)☆100,Colorgreen;PARTLINE(1,100),ColorFF8080,SHIFT6;PARTLINE(1,1),ColorFF8080,SHIFT6;PARTLINE(1,50),ColorFF8080,SHIFT6;w1:if(w〉=10,w,0)linethick0,ColorFFFFFF;w2:if(w〉=1 and w〈10,w☆10,0)linethick0,Color00FFFF;w3:if(w〉=0.1 and w〈1,w☆100,0)linethick0,ColorFFFF00;w4:if(w〉=0.01 and w〈0.1,w☆1000,0)linethick0,ColorFF80FF;w5:if(w〉=0.001 and w〈0.01,w☆10000,0)linethick0,colorblue;w6:if(w〉=0.0001 and w〈0.001,w☆100000,0)linethick0,Color00FF00;w7:if(w〉=0.00001 and w〈0.0001,w☆1000000,0)linethick0,ColorFF00FF; STICKLINE(w1,0,w1,0.1,1),ColorFFFFFF;STICKLINE(w2,0,w2,3,1),Color00FFFF; STICKLINE(w3,0,w3,3,1),ColorFFFF00;STICKLINE(w4,0,w4,6,1),ColorFF80FF; STICKLINE(w5,0,w5,6,1),colorblue;STICKLINE(w6,0,w6,6,1),Color00FF00; STICKLINE(w7,0,w7,6,1),ColorFF00FF;STICKLINE(w☆100=0,0,36,8,1),Colorred; PARTLINE(w1,w1),ColorFFFFFF;DRAWTEXT(barslast(w1=0)=1,0,1),ColorFFFFFF;DRAWTEXT(barslast(w2=0)=1,0,2),Color00FFFF;DRAWTEXT(barslast(w3=0)=1,0,3),ColorFFFF00;DRAWTEXT(barslast(w4=0)=1,0,4),ColorFF80FF;DRAWTEXT(barslast(w5=0)=1,0,5),colorblue;DRAWTEXT(barslast(w6=0)=1,0,6),Color00FF00;DRAWTEXT(barslast(w7=0)=1,0,7),ColorFF00FF;DRAWTEXT(barslast(w☆100=0)=1,0,8),Colorred;{筹码运动}VAR1:=EMA((WINNER(C☆1.1)-WINNER(C☆0.9))☆80,1);主筹:EMA(WINNER(C)☆70,1),COLORRED,LINETHICK1;主筹月均:EMA(主筹,21),COLORWHITE;主筹长期成本:EMA(EMA(主筹,5),89),color009500;筹差值:VAR1-主筹,COLORYELLOW;VAR2:=IF(C〉=O,H,0);VAR3:=IF(C〈=O,REF(H,1),VAR2);VAR4:=IF(C〉=O,V,0);VAR5:=IF(C〈=O,REF(V,1),VAR4);VAR6:=COUNT(VAR3〉REF(VAR3,1) AND VAR5〈REF(VAR5,1),3)〉=2 AND C〉O; 量价背离:VAR6☆30,STICK,COLORGRAY,LINETHICK2;{筹码最高值线}{黄色为最高值我认为 N=13 或者N=75 比较好蓝色为布林线看看把最高值改为最低值,将是很好的抄底指标}input:N(13,13,13);Var1m:=AMOUNT/(100☆v);日趋势:=MA(Var1m,5);最高值日日:HHV(日趋势,N),COLORYELLOW,linethick2;黄日趋势:MA(Var1m,9),COLORYELLOW;a:=AMOUNT/(100☆v);a1:=ma(a,3);a21:=ma(a,6);a31:=ma(a,12);a41:=ma(a,24);BBI:=(a1+a21+a31+a41)/4;a11:=ema(a,3);上轨:BBI+3☆STD(BBI,18),COLORBLUE,linethick2;下轨:BBI-3☆STD(BBI,18),COLORBLUE,linethick2;趋势:MA(Var1m,135);{筹码密集}Var1:=COST(89)-COST(11);Var2:=COST(99.9)-COST(0.1);单峰:(1-Var1/Var2)☆100;低密:=(COST(90)-COST(60))/Var2☆100;高密: (COST(40)-COST(1))/Var2☆100;赢利: SMA(WINNER(AMOUNT/VOL/99)☆100,2,1),COLOR00FF00;DRAWICON(cross(赢利,单峰),单峰,8);DRAWICON(cross(赢利,高密),高密,8);DRAWTEXT(cross(赢利,单峰),单峰☆0.9,突破),colorblue;{筹码参考}FILLRGN(c〉1, 100,0),color999999;KDCM:=100☆(1-WINNER(C));空头筹码:FILLRGN(c〉1,KDCM,0),colorCCFF66;DDCM:=100☆WINNER(C);多头筹码:FILLRGN(c〉1,DDCM,0),colorCCCCFF;获利平均值:EMA(100☆WINNER(C),20),coloryellow,linethick2;获利99 := ma(COST(99 ),5);获利80:=ma(cost(80),5);均线5日:= ma(c,5);获利20:=ma(cost(20),5);获利1 :=ma(cost(1),5);a1:=(获利99-获利80)/获利80☆100;a2:=(获利80-获利20)/获利20☆100;aa3:=(获利20-获利1)/获利1☆100;a4:=IF(a2〈10 ,100 ,0 );a5:=IF(a2〈15 ,50 ,0 );a6:=IF(a2〈20 ,25 ,0 );密集度:a2,colorFF0000,linethick2;高密集:a4,color0000FF,linethick2;中密集:a5,colorFF00FF,linethick2;低密集:a6,color00FF00,linethick2;{活筹指数}{活筹即增量资金,活筹在熊市中,是把握大盘波段的利器。
筹码指标公式(修改)(精品)
筹码指标公式(修改)(精品)筹码指标是技术分析中的一种重要指标,用于衡量市场参与者(投资者、交易者)持有股票时的成本和收益情况,从而判断市场情绪和趋势。
筹码指标包括了净筹码、成本筹码和集中度筹码等多个指标,同时也可以通过计算加权平均价格和成本分布曲线等来体现。
1.净筹码指标:净筹码指标是指在一段时间内,大多数市场参与者的持有成本与当前价格之差的总额。
它可以通过以下公式进行计算:净筹码=成本筹码-收盘价*总成交量其中,成本筹码是在该价格段内持有股票的市场参与者持有成本的总额。
净筹码指标为正表示市场参与者整体持有该股票的平均成本较低,市场情绪较好;为负则表示整体持有成本较高,市场情绪较差。
2.成本筹码指标:成本筹码指标用于计算处于不同价格区间内的持股者的持有成本,可以通过以下公式计算:成本筹码=持有股票数量1*价格1+持有股票数量2*价格2+...+持有股票数量n*价格n其中,持有股票数量(i)表示在价格(i)处持有股票的市场参与者数量。
成本筹码指标反映了市场参与者整体的成本状况,可以用于判断市场的投资水平和资金进出情况。
3.集中度筹码指标:集中度筹码指标用于度量市场参与者对股票的关注程度和市场的热度,可以通过以下公式计算:集中度筹码=持有股票数量(i)^2*价格(i)/(持有股票数量1^2*价格1+持有股票数量2^2*价格2+...+持有股票数量n^2*价格n)其中,持有股票数量(i)表示在价格(i)处持有股票的市场参与者数量。
集中度筹码指标越高,表示市场参与者对该股票的关注度越高,市场热度越大。
4.加权平均价格:加权平均价格是通过对不同价格区间内的成交量进行加权计算而得到的股票价格,可以用于衡量市场交易的活跃程度和成交量的分布情况。
加权平均价格=(成交量1*价格1+成交量2*价格2+...+成交量n*价格n)/总成交量其中,成交量(i)表示在价格(i)处的成交量,总成交量表示一段时间内的总成交量。
筹码集中度指标的计算公式
筹码集中度指标的计算公式在股票市场中,筹码集中度指标是指用来衡量股票市场上投资者持有股票的集中度的指标。
它可以帮助投资者了解市场上的投资者持有股票的分布情况,从而更好地指导投资决策。
下面将介绍筹码集中度指标的计算公式及其应用。
筹码集中度指标的计算公式如下:筹码集中度指标 = Σ(每个投资者持有股票数量×股价)/ Σ(所有投资者持有股票数量×股价)。
其中,Σ代表求和,每个投资者持有股票数量是指每个投资者持有的某只股票的数量,股价是指该股票的价格。
通过这个公式,可以计算出市场上投资者持有股票的集中度,从而了解市场上的投资者对某只股票的持有情况。
筹码集中度指标的计算公式主要是通过计算投资者持有股票的数量和股价的加权平均来得出的。
这个指标可以帮助投资者了解市场上投资者对某只股票的持有情况,从而更好地指导投资决策。
如果筹码集中度指标较高,说明市场上的投资者对某只股票的持有比例较高,这可能会导致股票价格波动较大;如果筹码集中度指标较低,说明市场上的投资者对某只股票的持有比例较低,这可能会导致股票价格波动较小。
筹码集中度指标的应用主要体现在以下几个方面:1. 指导投资决策。
通过筹码集中度指标,投资者可以了解市场上的投资者对某只股票的持有情况,从而更好地指导投资决策。
如果筹码集中度指标较高,投资者可以考虑减少对该股票的持有比例,以防止价格波动较大;如果筹码集中度指标较低,投资者可以考虑增加对该股票的持有比例,以获取更多的收益。
2. 风险控制。
筹码集中度指标可以帮助投资者了解市场上的投资者对某只股票的持有情况,从而更好地控制风险。
如果筹码集中度指标较高,投资者可以考虑减少对该股票的持有比例,以降低价格波动带来的风险;如果筹码集中度指标较低,投资者可以考虑增加对该股票的持有比例,以获取更多的收益。
3. 市场分析。
通过筹码集中度指标,投资者可以了解市场上的投资者对某只股票的持有情况,从而更好地分析市场的走势。
筹码分布及选股公式原码附图
筹码分布及选股公式原码附图公司内部编号:(GOOD-TMMT-MMUT-UUPTY-UUYY-DTTI-筹码分布及选股公式(原码、附图)获利筹码:EMA(WINNER(C)*70,5),Colorred;亏损筹码:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5),Colorf0ff00; STICKLINE(亏损筹码>0,0,亏损筹码,5,0),COLOR66FF00;STICKLINE(亏损筹码>0,0,亏损筹码*0.9,5,0),COLOR66EE00; STICKLINE(亏损筹码>0,0,亏损筹码*0.85,5,0),COLOR66DD00; STICKLINE(亏损筹码>0,0,亏损筹码*0.8,5,0),COLOR66CC00; STICKLINE(亏损筹码>0,0,亏损筹码*0.75,5,0),COLOR66BB00; STICKLINE(亏损筹码>0,0,亏损筹码*0.7,5,0),COLOR66AA00; STICKLINE(亏损筹码>0,0,亏损筹码*0.65,5,0),COLOR669900; STICKLINE(亏损筹码>0,0,亏损筹码*0.6,5,0),COLOR668800; STICKLINE(亏损筹码>0,0,亏损筹码*0.55,5,0),COLOR667700; STICKLINE(亏损筹码>0,0,亏损筹码*0.5,5,0),COLOR666600; STICKLINE(亏损筹码>0,0,亏损筹码*0.45,5,0),COLOR665500; STICKLINE(亏损筹码>0,0,亏损筹码*0.4,5,0),COLOR664400; STICKLINE(亏损筹码>0,0,亏损筹码*0.35,5,0),COLOR663300; STICKLINE(亏损筹码>0,0,亏损筹码*0.3,5,0),COLOR662200; STICKLINE(亏损筹码>0,0,亏损筹码*0.25,5,0),COLOR661100; STICKLINE(亏损筹码>0,0,亏损筹码*0.2,5,0),COLOR660000;主力控筹:If(获利筹码>亏损筹码,获利筹码*2,获利筹码),colorred; STICKLINE(主力控筹>0,0,主力控筹,5,0),COLORFFFFFF;STICKLINE(主力控筹>0,0,主力控筹*0.9,5,0),COLOREEEEEE;STICKLINE(主力控筹>0,0,主力控筹*0.85,5,0),COLORDDDDDD; STICKLINE(主力控筹>0,0,主力控筹*0.8,5,0),COLORCCCCCC; STICKLINE(主力控筹>0,0,主力控筹*0.75,5,0),COLORBBBBBB; STICKLINE(主力控筹>0,0,主力控筹*0.7,5,0),COLORAAAAAA; STICKLINE(主力控筹>0,0,主力控筹*0.65,5,0),COLOR999999; STICKLINE(主力控筹>0,0,主力控筹*0.6,5,0),COLOR888888; STICKLINE(主力控筹>0,0,主力控筹*0.55,5,0),COLOR777777; STICKLINE(主力控筹>0,0,主力控筹*0.5,5,0),COLOR666666; STICKLINE(主力控筹>0,0,主力控筹*0.45,5,0),COLOR555555; STICKLINE(主力控筹>0,0,主力控筹*0.4,5,0),COLOR444444; STICKLINE(主力控筹>0,0,主力控筹*0.35,5,0),COLOR333333; STICKLINE(主力控筹>0,0,主力控筹*0.3,5,0),COLOR222222; STICKLINE(主力控筹>0,0,主力控筹*0.25,5,0),COLOR111111; STICKLINE(主力控筹>0,0,主力控筹*0.2,5,0),COLOR000000; STICKLINE(获利筹码>0,0,获利筹码,5,0),COLORFFFFFF; STICKLINE(获利筹码>0,0,获利筹码*0.9,5,0),COLOREEEEFF; STICKLINE(获利筹码>0,0,获利筹码*0.85,5,0),COLORDDDDFF; STICKLINE(获利筹码>0,0,获利筹码*0.8,5,0),COLORCCCCFF; STICKLINE(获利筹码>0,0,获利筹码*0.75,5,0),COLORBBBBFF; STICKLINE(获利筹码>0,0,获利筹码*0.7,5,0),COLORAAAAFF; STICKLINE(获利筹码>0,0,获利筹码*0.65,5,0),COLOR9999FF; STICKLINE(获利筹码>0,0,获利筹码*0.6,5,0),COLOR8888FF;STICKLINE(获利筹码>0,0,获利筹码*0.55,5,0),COLOR7777FF;STICKLINE(获利筹码>0,0,获利筹码*0.5,5,0),COLOR6666FF;STICKLINE(获利筹码>0,0,获利筹码*0.45,5,0),COLOR5555FF;STICKLINE(获利筹码>0,0,获利筹码*0.4,5,0),COLOR4444FF;STICKLINE(获利筹码>0,0,获利筹码*0.35,5,0),COLOR3333FF;STICKLINE(获利筹码>0,0,获利筹码*0.3,5,0),COLOR2222FF;STICKLINE(获利筹码>0,0,获利筹码*0.25,5,0),COLOR1111FF;STICKLINE(获利筹码>0,0,获利筹码*0.2,5,0),COLOR0000FF;AI:=AMOUNT/VOL/100;C0:=REF(C,2)*0.865;C1:=REF(C,13)*0.772;DSY:=100*vol/CApitAl;抄底:If((C-MIN(C0,C1))/C<0.1 AND SUM(DSY,5)/5<1.8,100, 0),Color00FF00; stickline(抄底,0,30,4,0),ColorFFFFFF;动态底部:EMA(IF(L100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100); STICKLINE(((CLOSE > 0) AND day=2),20,121,40,1),colorFFFFFF;STICKLINE(((SAT 20) AND (SAT 40) AND day=2),21,(20 +SAT),35,0),color0000FF;主力筹码:EMA(WINNER(CLOSE)*70,10),colorwhite;小股民筹码:EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,10),color00ff00;stickline(主力筹码>小股民筹码, 主力筹码,小股民筹码,5,0),Color0AF5EF;stickline(主力筹码<小股民筹码, 主力筹码,小股民筹码,5,0),color00ff00;选股:获利筹码:=EMA(WINNER(C)*70,5);亏损筹码:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5);XG:CROSS(获利筹码,亏损筹码);。
筹码主图公式通达信指标公式源码
筹码主图公式TS:=130;N:=99;M:=3;MT:=3;M1:=5;M2:=7;M3:=21;M4:=12;M5:=50;DA1:=IF(TS>TOTALBARSCOUNT,TOTALBARSCOUNT,TS);DA:=IF(CURRBARSCOUNT>DA1,0,DA1);HI:=REFDATE(HHV(H,DA),DATE);LO:=REFDATE(LLV(L,DA),DATE);C1:=IF(CURRBARSCOUNT<=DA,C,DRAWNULL);GZ:=EXP(LN(HI/LO)/10);LH1:=SUM(IF(C1>=(HI/GZ),V,0),DA);LH2:=SUM(IF(C1>=(HI/POW(GZ,2)) AND C1<(HI/GZ),V,0),DA);LH3:=SUM(IF(C1>=(HI/POW(GZ,3)) AND C1<(HI/POW(GZ,2)),V,0),DA); LH4:=SUM(IF(C1>=(HI/POW(GZ,4)) AND C1<(HI/POW(GZ,3)),V,0),DA); LH5:=SUM(IF(C1>=(HI/POW(GZ,5)) AND C1<(HI/POW(GZ,4)),V,0),DA); LH6:=SUM(IF(C1>=(HI/POW(GZ,6)) AND C1<(HI/POW(GZ,5)),V,0),DA); LH7:=SUM(IF(C1>=(HI/POW(GZ,7)) AND C1<(HI/POW(GZ,6)),V,0),DA); LH8:=SUM(IF(C1>=(HI/POW(GZ,8)) AND C1<(HI/POW(GZ,7)),V,0),DA); LH9:=SUM(IF(C1>=(LO*GZ) AND C1<LO*POW(GZ,2),V,0),DA);LH10:=SUM(IF(C1>=LO AND C1<LO*GZ,V,0),DA);L1:=REFDATE(HHV(LH1,DA),DATE),LINETHICK0;L2:=REFDATE(HHV(LH2,DA),DATE),LINETHICK0;L3:=REFDATE(HHV(LH3,DA),DATE),LINETHICK0;L4:=REFDATE(HHV(LH4,DA),DATE);L5:=REFDATE(HHV(LH5,DA),DATE);L6:=REFDATE(HHV(LH6,DA),DATE);L7:=REFDATE(HHV(LH7,DA),DATE);L8:=REFDATE(HHV(LH8,DA),DATE);L9:=REFDATE(HHV(LH9,DA),DATE);L10:=REFDATE(HHV(LH10,DA),DATE);SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10);STICKLINE(CEILING(DA*L1/SS)*3>=CURRBARSCOUNT,HI*N/100,(HI/GZ),1, 1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L2/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,1)*N/10 0,HI/POW(GZ,2),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L3/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,2)*N/10 0,HI/POW(GZ,3),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L4/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,3)*N/100,HI/POW(GZ,4),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L5/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,4)*N/10 0,HI/POW(GZ,5),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L6/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,5)*N/10 0,HI/POW(GZ,6),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L7/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,6)*N/10 0,HI/POW(GZ,7),1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L8/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,2),LO*P OW(GZ,3)*N/100,1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L9/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,1),LO*P OW(GZ,2)*N/100,1,1)COLOR656566,LINETHICK1;STICKLINE(CEILING(DA*L10/SS)*3>=CURRBARSCOUNT,LO,LO*POW(GZ,1)* N/100,1,1)COLOR656566,LINETHICK1;DRAWKLINE(H,O,L,C);JJ:=(CLOSE+HIGH+LOW)/3;{BS标志}DRAWICON((ZIG(3,5)>REF(ZIG(3,5),1)) AND(REF(ZIG(3,5),1)<=REF(ZIG(3,5),2))AND (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3)),LOW*0.98,7);DRAWICON((ZIG(3,5)<REF(ZIG(3,5),1)) AND(REF(ZIG(3,5),1)>=REF(ZIG(3,5),2))AND (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3)),HIGH*1.02,8);VAR1:=ZIG(3,10)<REF(ZIG(3,10),1) ANDREF(ZIG(3,10),1)>REF(ZIG(3,10),2);VAR2:=ZIG(3,10)>REF(ZIG(3,10),1) AND REF(ZIG(3,10),1)<REF(ZIG(3,10),2); STICKLINE(VAR1,C,O,3,0),COLORYELLOW,LINETHICK2;STICKLINE(VAR1,C,O,1,0),COLORYELLOW,LINETHICK2;STICKLINE(VAR1,H,L,0,0),COLORYELLOW,LINETHICK2;STICKLINE(VAR2,C,O,3,0),COLORFF0FF0,LINETHICK2;STICKLINE(VAR2,C,O,2,0),COLORFF0FF0,LINETHICK2;STICKLINE(VAR2,H,L,1,0),COLORFF0FF0,LINETHICK2;DRAWTEXT(CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CL OSE,20)),HIGH*1.06,'-落袋为安'),COLORYELLOW;EXP7:EXPMA(CLOSE,M2),COLORWHITE,LINETHICK1;今日保护价:(REF(C,2)+REF(C,1)+O)/3 ,COLORCC3299,NODRAW;高区:IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,HHV(H, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORRED,DOTLINE;低区:IF(CURRBARSCOUNT<=60, CONST(IF(ISLASTBAR=1,LLV(L, BARSLAST(CURRBARSCOUNT=60)),1)),DRAWNULL),COLORMAGENTA,DOTLI NE;STICKLINE(CCI>=200 AND H>=高区,O,C,3,0),COLORBLUE;STICKLINE(CCI<=100 AND L<=低区,O,C,3,0),COLORYELLOW;。
筹码指标公式
筹码集中度指标公式:庄筹:=WINNER(CLOSE)*100;筹码集中度:EMA(庄筹,20),COLORRED;筹码集中警戒线:EMA(筹码集中度,5),COLORyellow;筹码集中生命线:EMA(筹码集中警戒线,5),COLORgreen, linethick1;STICKLINE(筹码集中度>筹码集中警戒线,筹码集中度,筹码集中警戒线,2,0),COLORred; STICKLINE(筹码集中度<筹码集中警戒线,筹码集中度,筹码集中警戒线,2,0),COLORgreen; STICKLINE(筹码集中警戒线>筹码集中生命线,筹码集中警戒线,筹码集中生命线,2,0),COLORff00ff;STICKLINE(筹码集中警戒线<筹码集中生命线,筹码集中警戒线,筹码集中生命线,2,0),COLORffff00;A:=CROSS(筹码集中度,筹码集中警戒线);B:=CROSS(筹码集中警戒线,筹码集中度);DRAWICON(A,筹码集中度-0.1,10);DRAWICON(B,筹码集中度+0.1,12);短线操作指标公式Var1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;Var2:=SMA(Var1,3,1);Var3:=SMA(Var2,3,1);Var4:=3*Var2-2*Var3;Var5:=LLV(LOW,5);Var6:=HHV(HIGH,5);Var7:=EMA((CLOSE-Var5)/(Var6-Var5)*100,4)*2;Var8:=EMA(0.667*REF(Var7,1)+0.333*Var7,2);Var9:=3*Var7-2*Var8;VarA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);VarB:=POW(MA(LOW,5),2)+MA(LOW,5);VarC:=POW(MA(HIGH,5),2)+MA(HIGH,5);VarD:=(VarA-LLV(VarB,64))/(HHV(VarC,64)-LLV(VarB,64))*150+65-10;VarE:=SMA(VarD,3,1)*1.5-100;VarF:=SMA(VarE,3,1);Var10:=3*VarE-2*VarF;Var11:=(HIGH+LOW+CLOSE*2)/4;Var12:=EMA(Var11,13);Var13:=STD(Var11,13);Var14:=(Var11-Var12)*100/Var13;Var15:=EMA(Var14,5);Var17:=EMA(Var15,13)+200-100;Var18:=EMA(Var17,10);Var19:=3*Var17-2*Var18;Var1A:=Var2+Var7+VarE+Var17;Var1B:=Var3+Var8+VarF+Var18;Var1C:=Var4+Var9+Var10+Var19;Var1D:=(HIGH+LOW+CLOSE)/3;Var20:=(Var1D-MA(Var1D,34))/(0.015*AVEDEV(Var1D,34));Var22:=(HIGH+LOW+CLOSE+Var1D)/4;Var23:=EMA(Var22,24);Var24:=STD(Var22,24);Var25:=(Var22-Var23)/Var24*100;Var26:=(Var1D-MA(Var1D,24))/(0.015*AVEDEV(Var1D,24));Var27:=EMA(Var25,5);Var2A:=((Var27+Var26+Var20)/3+165)/4;Var2B:=(EMA(EMA(EMA(Var2A,15),10),5)-25)*2;Var2C:=(Var1A+Var1B+Var1C*30)/32/5-15;Var2D:=EMA(Var2C,7);Var2E:=(Var2A+Var2C)/2/1.1;超短:EMA(Var2E,3),colorred ;短线:EMA(超短,5),colorwhite;主力主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),colorff0 0ff,linethick2;指数趋势:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3) ,COLORFFAA66,LINETHICK3;强弱分界: 80,coloryellow;主力筹码集中度:WINNER(C)*100 ,COLORRED,linethick2;散筹筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100 ,colorgreen,linethick2主力持仓附图VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100;VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);VAR5:=LLV(LOW,34);VAR6:=HHV(VAR4,34);VAR7:=IF(LLV(LOW,56),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;VAR9:=EMA(CLOSE,5);VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);VAR11:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*(-1);VAR12:=EMA(CLOSE,5)*(-1);STICKLINE(VAR12<REF(VAR12,1),0,VAR12*0.08,4,1),COLOR10E410;减仓:IF(VAR12<REF(VAR12,1),VAR12,0),COLOR10E410,LINETHICK1,NODRAW; STICKLINE(VAR9<REF(VAR9,1),0,VAR9*0.08,4,1),COLOR1010FF;增仓:IF(VAR9<REF(VAR9,1),VAR9*0.2,0),COLOR1010FF,LINETHICK1; STICKLINE(VAR8>REF(VAR8,1),0,VAR8,4,1),COLOR10FFFF,LINETHICK1;主力进场:IF(VAR8>REF(VAR8,1),VAR8*8,0),COLOR10FFFF,LINETHICK1,NODRAW; STICKLINE(VAR11>REF(VAR11,1),0,VAR11,4,1),COLORFFF810;洗盘:IF(VAR11>REF(VAR11,1),VAR11*8,0),COLORFFF810,LINETHICK1,NODRAW; 主力持仓:LOW,COLORFF10FF,LINETHICK1,NODRAW;增减力度:VAR10*5,COLORWHITE,LINETHICK1;XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2); STICKLINE(XL3,0,VAR8*3,4,0),COLOR006EFF;DRAWTEXT(XL3,VAR8*2,'买'),COLORMAGENTA;↑买:DRAWICON(XL3,VAR8*3.5,1),COLORRED;XL4:=CROSS(0,增减力度);DRAWTEXT(XL4,VAR8*3,'加仓'),COLORYELLOW;将五个(多空、主力、大户、中户、散户)合在一起了V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);HY1:=REF(EMA(V1,3),1);多空趋势:=(MA((CLOSE - HY1) * 10,2))*0.1;操盘4:STICKLINE(多空趋势>=0 AND 多空趋势>=REF(多空趋势,1),6,6+多空趋势,1,0),COLORYELLOW;减仓4:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,1,0),COLORYELLOW;反弹4:STICKLINE(多空趋势<0 AND 多空趋势>=REF(多空趋势,1),6,6+多空趋势,1,0),COLORGREEN;寻底4:STICKLINE(多空趋势<0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,1,0),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(多空趋势>=0,6,6.3),'多空'),COLORWHITE;换手:=V*100/CAPITAL;主力:=MA(换手,4);大户:=MA(换手,9);中户:=MA(换手,17);散户:=MA(换手,34);均量:=(主力+大户+中户+散户)/4;主力能量:(主力-均量),NODRAW;大户能量:(大户-均量),NODRAW;中户能量:(中户-均量),NODRAW;散户能量:(散户-均量),NODRAW;操盘:STICKLINE(主力能量>=0 AND 主力能量>=REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORYELLOW;减仓:STICKLINE(主力能量>=0 AND 主力能量< REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORYELLOW;反弹:STICKLINE(主力能量<0 AND 主力能量>=REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORGREEN;寻底:STICKLINE(主力能量<0 AND 主力能量< REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(主力能量>=0,4.2,4.8),'机构'),COLORWHITE;操盘1:STICKLINE(大户能量>=0 AND 大户能量>=REF(大户能量,1),3,3+大户能量,1,1),COLORYELLOW;减仓1:STICKLINE(大户能量>=0 AND 大户能量< REF(大户能量,1),3,3+大户能量,1,1),COLORYELLOW;反弹1:STICKLINE(大户能量<0 AND 大户能量>=REF(大户能量,1),3,3+大户能量,1,1),COLORGREEN;寻底1:STICKLINE(大户能量<0 AND 大户能量< REF(大户能量,1),3,3+大户能量,1,1),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(大户能量>=0,2.7,3.3),'大户'),COLORWHITE;操盘2:STICKLINE(中户能量>=0 AND 中户能量>=REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORYELLOW;减仓2:STICKLINE(中户能量>=0 AND 中户能量< REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORYELLOW;反弹2:STICKLINE(中户能量<0 AND 中户能量>=REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORGREEN;寻底2:STICKLINE(中户能量<0 AND 中户能量< REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(中户能量>=0,1.2,1.8),'中户'),COLORWHITE;操盘3:STICKLINE(散户能量>=0 AND 散户能量>=REF(散户能量,1),0,散户能量,1,1),COLORYELLOW;减仓3:STICKLINE(散户能量>=0 AND 散户能量< REF(散户能量,1),0,散户能量,1,1),COLORYELLOW;反弹3:STICKLINE(散户能量<0 AND 散户能量>=REF(散户能量,1),0,散户能量,1,1),COLORGREEN; 寻底3:STICKLINE(散户能量<0 AND 散户能量< REF(散户能量,1),0,散户能量,1,1),COLORGREEN; DRAWTEXT(ISLASTBAR=1,IF(散户能量>=0,-0.3,0.3),'散户'),COLORWHITE;大单,小单对比AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LI NETHICK0,COLORRED;卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VO L/2)),LINETHICK0,COLORCYAN;进出量:=买量+卖量,COLOR00FFFF;STICKLINE(进出量<0,0,进出量,4,0),COLORFF6600;STICKLINE(进出量<0,0,进出量,3,0),COLORFF9900;STICKLINE(进出量<0,0,进出量,1.5,0),COLORFFCC00;STICKLINE(进出量<0,0,进出量,0.5,0),COLORCYAN;STICKLINE(进出量>0,0,进出量,4,0),COLOR000099;STICKLINE(进出量>0,0,进出量,3,0),COLOR0000CC;STICKLINE(进出量>0,0,进出量,1.5,0),COLOR0000FF;STICKLINE(进出量>0,0,进出量,0.5,0),COLORCC66FF;五日内净流入:SUM(进出量,5),LINETHICK2,COLORGREEN;IF(五日内净流入>REF(五日内净流入,1),五日内净流入,DRAWNULL),COLORRED,LINETHICK2;连红天:BARSLASTCOUNT(进出量>0);五日内翻红天:COUNT(进出量>0,5),COLORYELLOW;十日内翻红天:COUNT(进出量>0,10),COLORRED;廿日内翻红天:COUNT(进出量>0,20),COLORBLUE;六十日内翻红天:COUNT(进出量>0,60),COLORMAGENTA;{hjz红金柱}短线:=(CLOSE-ma(CLOSE,13))/ma(CLOSE,13)*20,LINETHICK0,COLORYELLOW; 中线:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,colorwhite;红柱:sma(短线,3,1),LINETHICK0,Color0000FF;蓝柱:sma(中线,3,1),colorstick,ColorFFFF00;{红柱}STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,8,0),COLOR0000AA; STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,7,0),COLOR0000BB; STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,6,0),COLOR0000CC; STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,5,0),COLOR0000DD; STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,4,0),COLOR0000EE; STICKLINE(红柱<ref(红柱,1)and 红柱>0,0,红柱,3,0),COLOR0000FF; STICKLINE(红柱<ref(红柱,1)and 红柱>0,0,红柱,2,0),COLORRED; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,8,0),COLOR0000AA; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,7,0),COLOR0000BB;STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,6,0),COLOR0000CC; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,5,0),COLOR0000DD; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,4,0),COLOR0000EE; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,3,0),COLOR0000FF; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,2,0),COLORRED; STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,9,0),COLOR0000FF; STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,7,0),COLOR0033FF; STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,6,0),COLOR0055FF; STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,5,0),COLOR0077FF; STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,4,0),COLOR0099FF; STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,3,0),COLOR00BBFF; STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,2,0),COLOR00DDFF; STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,1,0),COLOR00FFFF; {蓝柱}STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,8,0),COLORFF0000; STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,7,0),COLORFF3300; STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,6,0),COLORFF5500; STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,5,0),COLORFF7700; STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,4,0),COLORFF9900; STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,3,0),COLORFFBB00; STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,2,0),COLORFFDD00; STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,1,0),COLORFFFF00; STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,8,0),COLORFF0000; STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,7,0),COLORFF3300; STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,6,0),COLORFF5500; STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,5,0),COLORFF7700; STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,4,0),COLORFF9900; STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,3,0),COLORFFBB00; STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,2,0),COLORFFDD00; STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,1,0),COLORFFFF00; STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,10,0),COLOR998800; STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,7,0),COLORBBAA90; STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,4,0),COLORDDCC99; STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,1,0),COLORFFEEBB;【通达信】超准完美买卖主图M3:=EMA(CLOSE,3);M8:EMA(CLOSE,8),COLOR008000;M13:EMA(M8,13),COLOR0000FF;M62:EMA(M8,55),COLORF0F000;VAR1:=EMA(M13,62);M81:EMA(M62,81),COLOR00FFFF;M144:EMA(VAR1,144),LINETHICK2,COLOR0000FF;M250:EMA(VAR1,250),POINTDOT,LINETHICK2,COLORF00FF0;MA250:MA(CLOSE,250);RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J<20,30,0);主力:=EMA( (CLOSE-MA(CLOSE,3))/MA(CLOSE,3),2);散户:=EMA( (CLOSE-MA(CLOSE,20))/MA(CLOSE,20),7);VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);动能趋势线:=100*EMA((CLOSE-VAR2)/(VAR3-VAR2),4);DRAWTEXT(CROSS(动能趋势线,70),HIGH*1.02,'风险'),COLORGREEN; DRAWTEXT(CROSS(动能趋势线,80),HIGH*1.02,'减仓'),COLOR00FF00; DRAWTEXT(CROSS(动能趋势线,87.5),HIGH*1.02,'出局'),COLORWHITE; DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<20,LOW,'短进'),COLORFF00FF; DRAWTEXT(CROSS(主力,散户) AND 主力<0 AND 散户<0,LOW,'见底'),COLORRED; DRAWICON(CROSS(主力,散户) AND 主力<0 AND 散户<0,LOW,1);选股公式(可以预警)RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);。
筹码平均成本选股公式(一)
筹码平均成本选股公式(一)筹码平均成本选股公式•引言•定义•公式一:筹码平均成本•公式二:筹码平均成本变化•公式三:筹码平均成本选股公式•举例说明•结论引言筹码平均成本选股公式是一种用于评估股票投资风险和收益的方法。
它通过计算投资者的平均买入价格来衡量筹码的分布情况,从而帮助投资者做出更明智的投资决策。
本文将详细介绍筹码平均成本选股公式,并通过举例说明其应用。
定义在介绍筹码平均成本选股公式之前,我们先来定义几个关键术语:- 筹码:指代股票的持仓量,即某一价格区间内的持股人数。
- 平均成本:指代投资者在某一价格区间内的买入平均价格。
公式一:筹码平均成本筹码平均成本可以通过以下公式计算:筹码平均成本= Σ(筹码数量 * 买入价格) / 总筹码数量其中,Σ表示对所有价格区间进行求和。
公式二:筹码平均成本变化筹码平均成本变化可以通过以下公式计算:筹码平均成本变化 = 当前筹码平均成本 - 上一交易日筹码平均成本公式三:筹码平均成本选股公式筹码平均成本选股公式将筹码平均成本变化与股票价格趋势进行综合评估,可以通过以下公式计算:选股得分 = 筹码平均成本变化 * 股票价格趋势其中,股票价格趋势可以根据技术指标或市场趋势等进行判断。
举例说明假设某只股票的筹码平均成本为10元,上一交易日的筹码平均成本为9元,当前股票价格为8元。
根据公式二,筹码平均成本变化为1元。
假设股票价格趋势为下跌趋势,选股得分为-1(即1 * -1)。
根据以上计算结果,可以判断该股票的筹码平均成本较高,在当前下跌趋势下,投资风险较大,可能不适合买入。
结论筹码平均成本选股公式是一种帮助投资者评估股票投资风险和收益的方法。
通过计算筹码平均成本和筹码平均成本变化,结合股票价格趋势,可以辅助投资者做出更明智的投资决策。
然而,该公式只是一种参考指标,投资者还需结合其他因素进行综合分析。
筹码公式
吸筹:STICKLINE(Var9>-120,0,Var9,6,1),colorf00ff0;
成本底.价格底.量能底.选股底 资金流量(源码)
成本底.价格底.量能底.选股底
Var2:DMA(EMA(C,5),SUM(VOL,8)/3/CAPITAL);
A7:=ABS(B6/A6);
CYA:A4/B4*50,COLOR00FF00;
CYB:EMA(A4/B4*50,34),COLORFF00FF;
CYC1:A5/B4*50,COLORRED;
IF(RPY<75 AND MYP<30 AND ASR>60 AND 穿越筹码>=24 AND (VOL/CAPITAL*100)<=3 AND C>=O,地量换手+200,0),STICK,LINETHICK3,COLORFF00FF;
算法:
今日收盘价的获利比例减去昨日收盘价的获利比例除以换手率。
用法:
较高的穿透率说明筹码锁定较好;
要和移动筹码分布配合使用;
详细用法参看大智慧教材《超级移动筹码》。
{吸筹}
Var2:=REF(LOW,1);
Var3:=SMA(ABS(LOW-Var2),3,1)/SMA(MAX(LOW-Var2,0),3,1)*100;
新庄: (30-IF(VAR2>5,IF(VAR2<100,VAR2,VAR4-10),0))*VAR1,COLORGREEN,LINETHICK6,POINTDOT ;
VARD:=散户>VAR4;
VARE:=REF(LOW,1)*0.9;
经传筹码公式
经传筹码公式主力控盘N:=35;M:=35;N1:=3;B1:=(HHV(H,N)-C)/(HHV(H,N)-LLV(LOW,N))*100-M;B2:=SMA(B1,N,1)+100;B3:=(C-LLV(L,N))/(HHV(H,N)-LLV(L,N))*100;B4:=SMA(B3,3,1);B5:=SMA(B4,3,1)+100;B6:=B5-B2;控盘程度:(IF(B6>N1,B6-N1+2,0))*2.5,COLORYELLOW;控盘度:100,COLORRED;STICKLINE(控盘程度,0,控盘程度,1.7,0),COLOR00FFFF;STICKLINE(控盘程度AND控盘程度>100,100,控盘程度,1.7,0),COLORRED;主力状态ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算}SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{//散户筹码估算}ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//散户套牢筹码比率}ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率}ZCMZL:=MA(ZLCM+SHCM,13);{//市场筹码总量}ZZNTS:=BARSLAST(ZSHTL<90ANDREF(ZSHTL,1)>90);{//走牛天数}ZSHJJ:=EMA(ZSHTL,89);{//散户警戒}ZZLJJ:=EMA(ZZLKP,89);{//主力警戒}ZJLRQD:=INTPART(ZZLKP-ZZLJJ);{//资金流入强度}SH8:=EMA(ZSHTL,8);DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0);{散户套牢筹码}STICKLINE(C>0,ZSHTL,ZZLKP,1,0),COLORFFFFFF;{散户筹码警戒}STICKLINE(ZSHJJ>REF(ZSHJJ,1),ZSHTL,ZSHJJ,2,0),COLOR00FF00;{主力控盘筹码}STICKLINE(C>0,ZZLKP,0,1,0),COLORA4A4A4;{筑顶风险区}STICKLINE(ZZLKP>75,ZZLKP,0,1,0),COLORFFFFFF;{顶部:(ZZLKP>75),COLORFFFFFF;}{主力筹码警戒}STICKLINE(ZZLJJ>REF(ZZLJJ,1),ZZLKP,ZZLJJ,2,0),COLORRED;{筑底散兵坑}STICKLINE(ZSHTL>=90,ZZLKP,0,2,0),COLOR66FFCC;{底部:(ZSHTL>=90),COLOR66FFCC;}{筹码总量上升}IF(ZCMZL,ZCMZL>REF(ZCMZL,1),0),COLOR0066FF,LINETHICK1;(2)经传筹码主力控盘指标公式扩展阅读:{//------【数值显示】}散户套牢系数:INTPART(ZSHTL),COLORCYAN,LINETHICK2;主力控盘系数:INTPART(ZZLKP),COLORYELLOW,LINETHICK2;资金流入强度:ZJLRQD,LINETHICK2,COLORRED;资金流入强度2:IF(ZJLRQD<10,ZJLRQD,0),LINETHICK2,COLORWHITE;市场筹码总量:INTPART(ZCMZL),COLORWHITE,LINETHICK0;DRAWICON(CROSS(主力控盘系数,散户套牢系数),散户套牢系数-5,11)。
筹码指标公式
筹码集中度指标公式:庄筹:=WINNER(CLOSE)*100;筹码集中度:EMA(庄筹,20),COLORRED;筹码集中警戒线:EMA(筹码集中度,5),COLORyellow;筹码集中生命线:EMA(筹码集中警戒线,5),COLORgreen, linethick1;STICKLINE(筹码集中度>筹码集中警戒线,筹码集中度,筹码集中警戒线,2,0),COLORred; STICKLINE(筹码集中度<筹码集中警戒线,筹码集中度,筹码集中警戒线,2,0),COLORgreen; STICKLINE(筹码集中警戒线>筹码集中生命线,筹码集中警戒线,筹码集中生命线,2,0),COLORff00ff;STICKLINE(筹码集中警戒线<筹码集中生命线,筹码集中警戒线,筹码集中生命线,2,0),COLORffff00;A:=CROSS(筹码集中度,筹码集中警戒线);B:=CROSS(筹码集中警戒线,筹码集中度);DRAWICON(A,筹码集中度-0.1,10);DRAWICON(B,筹码集中度+0.1,12);短线操作指标公式Var1:=(CLOSE-LLV(LOW,80))/(HHV(HIGH,80)-LLV(LOW,80))*200;Var2:=SMA(Var1,3,1);Var3:=SMA(Var2,3,1);Var4:=3*Var2-2*Var3;Var5:=LLV(LOW,5);Var6:=HHV(HIGH,5);Var7:=EMA((CLOSE-Var5)/(Var6-Var5)*100,4)*2;Var8:=EMA(0.667*REF(Var7,1)+0.333*Var7,2);Var9:=3*Var7-2*Var8;VarA:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);VarB:=POW(MA(LOW,5),2)+MA(LOW,5);VarC:=POW(MA(HIGH,5),2)+MA(HIGH,5);VarD:=(VarA-LLV(VarB,64))/(HHV(VarC,64)-LLV(VarB,64))*150+65-10;VarE:=SMA(VarD,3,1)*1.5-100;VarF:=SMA(VarE,3,1);Var10:=3*VarE-2*VarF;Var11:=(HIGH+LOW+CLOSE*2)/4;Var12:=EMA(Var11,13);Var13:=STD(Var11,13);Var14:=(Var11-Var12)*100/Var13;Var15:=EMA(Var14,5);Var17:=EMA(Var15,13)+200-100;Var18:=EMA(Var17,10);Var19:=3*Var17-2*Var18;Var1A:=Var2+Var7+VarE+Var17;Var1B:=Var3+Var8+VarF+Var18;Var1C:=Var4+Var9+Var10+Var19;Var1D:=(HIGH+LOW+CLOSE)/3;Var20:=(Var1D-MA(Var1D,34))/(0.015*AVEDEV(Var1D,34));Var22:=(HIGH+LOW+CLOSE+Var1D)/4;Var23:=EMA(Var22,24);Var24:=STD(Var22,24);Var25:=(Var22-Var23)/Var24*100;Var26:=(Var1D-MA(Var1D,24))/(0.015*AVEDEV(Var1D,24));Var27:=EMA(Var25,5);Var2A:=((Var27+Var26+Var20)/3+165)/4;Var2B:=(EMA(EMA(EMA(Var2A,15),10),5)-25)*2;Var2C:=(Var1A+Var1B+Var1C*30)/32/5-15;Var2D:=EMA(Var2C,7);Var2E:=(Var2A+Var2C)/2/1.1;超短:EMA(Var2E,3),colorred ;短线:EMA(超短,5),colorwhite;主力主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),colorff0 0ff,linethick2;指数趋势:EMA(100*(INDEXC-LLV(INDEXL,34))/(HHV(INDEXH,34)-LLV(INDEXL,34)),3) ,COLORFFAA66,LINETHICK3;强弱分界: 80,coloryellow;主力筹码集中度:WINNER(C)*100 ,COLORRED,linethick2;散筹筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100 ,colorgreen,linethick2主力持仓附图VAR2:=REF(LOW,1);VAR3:=SMA(ABS(LOW-VAR2),13,1)/SMA(MAX(LOW-VAR2,0),13,1)*100;VAR4:=EMA(IF(CLOSE*1.2,VAR3*13,VAR3/13),13);VAR5:=LLV(LOW,34);VAR6:=HHV(VAR4,34);VAR7:=IF(LLV(LOW,56),1,0);VAR8:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7;VAR9:=EMA(CLOSE,5);VAR10:=(CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*(-10);VAR11:=EMA(IF(LOW<=VAR5,(VAR4+VAR6*2)/2,0),3)/618*VAR7*(-1);VAR12:=EMA(CLOSE,5)*(-1);STICKLINE(VAR12<REF(VAR12,1),0,VAR12*0.08,4,1),COLOR10E410;减仓:IF(VAR12<REF(VAR12,1),VAR12,0),COLOR10E410,LINETHICK1,NODRAW; STICKLINE(VAR9<REF(VAR9,1),0,VAR9*0.08,4,1),COLOR1010FF;增仓:IF(VAR9<REF(VAR9,1),VAR9*0.2,0),COLOR1010FF,LINETHICK1; STICKLINE(VAR8>REF(VAR8,1),0,VAR8,4,1),COLOR10FFFF,LINETHICK1;主力进场:IF(VAR8>REF(VAR8,1),VAR8*8,0),COLOR10FFFF,LINETHICK1,NODRAW; STICKLINE(VAR11>REF(VAR11,1),0,VAR11,4,1),COLORFFF810;洗盘:IF(VAR11>REF(VAR11,1),VAR11*8,0),COLORFFF810,LINETHICK1,NODRAW; 主力持仓:LOW,COLORFF10FF,LINETHICK1,NODRAW;增减力度:VAR10*5,COLORWHITE,LINETHICK1;XL1:=MA(LOW,2)*0.96;XL2:=MA(LOW,26)*0.85;XL3:=REF(XL1,1)<XL2 AND REF(XL1,1)<XL1 AND REF(XL1,1)<REF(XL1,2); STICKLINE(XL3,0,VAR8*3,4,0),COLOR006EFF;DRAWTEXT(XL3,VAR8*2,'买'),COLORMAGENTA;↑买:DRAWICON(XL3,VAR8*3.5,1),COLORRED;XL4:=CROSS(0,增减力度);DRAWTEXT(XL4,VAR8*3,'加仓'),COLORYELLOW;将五个(多空、主力、大户、中户、散户)合在一起了V1:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);HY1:=REF(EMA(V1,3),1);多空趋势:=(MA((CLOSE - HY1) * 10,2))*0.1;操盘4:STICKLINE(多空趋势>=0 AND 多空趋势>=REF(多空趋势,1),6,6+多空趋势,1,0),COLORYELLOW;减仓4:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,1,0),COLORYELLOW;反弹4:STICKLINE(多空趋势<0 AND 多空趋势>=REF(多空趋势,1),6,6+多空趋势,1,0),COLORGREEN;寻底4:STICKLINE(多空趋势<0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,1,0),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(多空趋势>=0,6,6.3),'多空'),COLORWHITE;换手:=V*100/CAPITAL;主力:=MA(换手,4);大户:=MA(换手,9);中户:=MA(换手,17);散户:=MA(换手,34);均量:=(主力+大户+中户+散户)/4;主力能量:(主力-均量),NODRAW;大户能量:(大户-均量),NODRAW;中户能量:(中户-均量),NODRAW;散户能量:(散户-均量),NODRAW;操盘:STICKLINE(主力能量>=0 AND 主力能量>=REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORYELLOW;减仓:STICKLINE(主力能量>=0 AND 主力能量< REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORYELLOW;反弹:STICKLINE(主力能量<0 AND 主力能量>=REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORGREEN;寻底:STICKLINE(主力能量<0 AND 主力能量< REF(主力能量,1),4.5,4.5+主力能量,1,1),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(主力能量>=0,4.2,4.8),'机构'),COLORWHITE;操盘1:STICKLINE(大户能量>=0 AND 大户能量>=REF(大户能量,1),3,3+大户能量,1,1),COLORYELLOW;减仓1:STICKLINE(大户能量>=0 AND 大户能量< REF(大户能量,1),3,3+大户能量,1,1),COLORYELLOW;反弹1:STICKLINE(大户能量<0 AND 大户能量>=REF(大户能量,1),3,3+大户能量,1,1),COLORGREEN;寻底1:STICKLINE(大户能量<0 AND 大户能量< REF(大户能量,1),3,3+大户能量,1,1),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(大户能量>=0,2.7,3.3),'大户'),COLORWHITE;操盘2:STICKLINE(中户能量>=0 AND 中户能量>=REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORYELLOW;减仓2:STICKLINE(中户能量>=0 AND 中户能量< REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORYELLOW;反弹2:STICKLINE(中户能量<0 AND 中户能量>=REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORGREEN;寻底2:STICKLINE(中户能量<0 AND 中户能量< REF(中户能量,1),1.5,1.5+中户能量,1,1),COLORGREEN;DRAWTEXT(ISLASTBAR=1,IF(中户能量>=0,1.2,1.8),'中户'),COLORWHITE;操盘3:STICKLINE(散户能量>=0 AND 散户能量>=REF(散户能量,1),0,散户能量,1,1),COLORYELLOW;减仓3:STICKLINE(散户能量>=0 AND 散户能量< REF(散户能量,1),0,散户能量,1,1),COLORYELLOW;反弹3:STICKLINE(散户能量<0 AND 散户能量>=REF(散户能量,1),0,散户能量,1,1),COLORGREEN; 寻底3:STICKLINE(散户能量<0 AND 散户能量< REF(散户能量,1),0,散户能量,1,1),COLORGREEN; DRAWTEXT(ISLASTBAR=1,IF(散户能量>=0,-0.3,0.3),'散户'),COLORWHITE;大单,小单对比AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));买量:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),LI NETHICK0,COLORRED;卖量:=IF(CLOSE>OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSE<OPEN,0-AA*(HIGH-LOW),0-VO L/2)),LINETHICK0,COLORCYAN;进出量:=买量+卖量,COLOR00FFFF;STICKLINE(进出量<0,0,进出量,4,0),COLORFF6600;STICKLINE(进出量<0,0,进出量,3,0),COLORFF9900;STICKLINE(进出量<0,0,进出量,1.5,0),COLORFFCC00;STICKLINE(进出量<0,0,进出量,0.5,0),COLORCYAN;STICKLINE(进出量>0,0,进出量,4,0),COLOR000099;STICKLINE(进出量>0,0,进出量,3,0),COLOR0000CC;STICKLINE(进出量>0,0,进出量,1.5,0),COLOR0000FF;STICKLINE(进出量>0,0,进出量,0.5,0),COLORCC66FF;五日内净流入:SUM(进出量,5),LINETHICK2,COLORGREEN;IF(五日内净流入>REF(五日内净流入,1),五日内净流入,DRAWNULL),COLORRED,LINETHICK2;连红天:BARSLASTCOUNT(进出量>0);五日内翻红天:COUNT(进出量>0,5),COLORYELLOW;十日内翻红天:COUNT(进出量>0,10),COLORRED;廿日内翻红天:COUNT(进出量>0,20),COLORBLUE;六十日内翻红天:COUNT(进出量>0,60),COLORMAGENTA;{hjz红金柱}短线:=(CLOSE-ma(CLOSE,13))/ma(CLOSE,13)*20,LINETHICK0,COLORYELLOW; 中线:=(CLOSE-MA(CLOSE,4))/MA(CLOSE,4)*20,LINETHICK0,colorwhite;红柱:sma(短线,3,1),LINETHICK0,Color0000FF;蓝柱:sma(中线,3,1),colorstick,ColorFFFF00;{红柱}STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,8,0),COLOR0000AA; STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,7,0),COLOR0000BB; STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,6,0),COLOR0000CC; STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,5,0),COLOR0000DD; STICKLINE(红柱<ref(红柱,0.5)and 红柱>0,0,红柱,4,0),COLOR0000EE; STICKLINE(红柱<ref(红柱,1)and 红柱>0,0,红柱,3,0),COLOR0000FF; STICKLINE(红柱<ref(红柱,1)and 红柱>0,0,红柱,2,0),COLORRED; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,8,0),COLOR0000AA; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,7,0),COLOR0000BB;STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,6,0),COLOR0000CC; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,5,0),COLOR0000DD; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,4,0),COLOR0000EE; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,3,0),COLOR0000FF; STICKLINE(红柱>ref(红柱,1)and 红柱>0,0,红柱,2,0),COLORRED; STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,9,0),COLOR0000FF; STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,7,0),COLOR0033FF; STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,6,0),COLOR0055FF; STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,5,0),COLOR0077FF; STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,4,0),COLOR0099FF; STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,3,0),COLOR00BBFF; STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,2,0),COLOR00DDFF; STICKLINE(蓝柱<ref(蓝柱,1) and 蓝柱>0,0,蓝柱,1,0),COLOR00FFFF; {蓝柱}STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,8,0),COLORFF0000; STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,7,0),COLORFF3300; STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,6,0),COLORFF5500; STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,5,0),COLORFF7700; STICKLINE(红柱>ref(红柱,0)and 红柱<0,0,红柱,4,0),COLORFF9900; STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,3,0),COLORFFBB00; STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,2,0),COLORFFDD00; STICKLINE(红柱>ref(红柱,1)and 红柱<0,0,红柱,1,0),COLORFFFF00; STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,8,0),COLORFF0000; STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,7,0),COLORFF3300; STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,6,0),COLORFF5500; STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,5,0),COLORFF7700; STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,4,0),COLORFF9900; STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,3,0),COLORFFBB00; STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,2,0),COLORFFDD00; STICKLINE(红柱<ref(红柱,1)and 红柱<0,0,红柱,1,0),COLORFFFF00; STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,10,0),COLOR998800; STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,7,0),COLORBBAA90; STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,4,0),COLORDDCC99; STICKLINE(蓝柱>ref(蓝柱,1)and 蓝柱<0,0,蓝柱,1,0),COLORFFEEBB;【通达信】超准完美买卖主图M3:=EMA(CLOSE,3);M8:EMA(CLOSE,8),COLOR008000;M13:EMA(M8,13),COLOR0000FF;M62:EMA(M8,55),COLORF0F000;VAR1:=EMA(M13,62);M81:EMA(M62,81),COLOR00FFFF;M144:EMA(VAR1,144),LINETHICK2,COLOR0000FF;M250:EMA(VAR1,250),POINTDOT,LINETHICK2,COLORF00FF0;MA250:MA(CLOSE,250);RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;X:=LLV(J,2)=LLV(J,8);Y:=IF(CROSS(J,REF(J+0.01,1)) AND X AND J<20,30,0);主力:=EMA( (CLOSE-MA(CLOSE,3))/MA(CLOSE,3),2);散户:=EMA( (CLOSE-MA(CLOSE,20))/MA(CLOSE,20),7);VAR2:=LLV(LOW,10);VAR3:=HHV(HIGH,25);动能趋势线:=100*EMA((CLOSE-VAR2)/(VAR3-VAR2),4);DRAWTEXT(CROSS(动能趋势线,70),HIGH*1.02,'风险'),COLORGREEN;DRAWTEXT(CROSS(动能趋势线,80),HIGH*1.02,'减仓'),COLOR00FF00;DRAWTEXT(CROSS(动能趋势线,87.5),HIGH*1.02,'出局'),COLORWHITE;DRAWTEXT(CROSS(J,REF(J+0.01,1)) AND X AND J<20,LOW,'短进'),COLORFF00FF; DRAWTEXT(CROSS(主力,散户) AND 主力<0 AND 散户<0,LOW,'见底'),COLORRED;DRAWICON(CROSS(主力,散户) AND 主力<0 AND 散户<0,LOW,1);选股公式(可以预警)RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;K:=SMA(RSV,3,1);。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
筹码类公式1.【地量换手】穿越筹码:ABS(WINNER(CLOSE)-WINNER(OPEN))*100,STICK,C OLORDDDDFF;换手比率:VOL/CAPITAL*100,STICK,COLORFF0099;地量换手:1/换手比率*100,STICK,COLORRED,LINETHICK3;A1:=LLV(HIGH,240);MYP:=100*(CLOSE-A1)/A1;A2:=REF(HHV(CLOSE,240),1);B2:=REF(LLV(CLOSE,240),1);RPY:=100*(CLOSE -B2)/(A2-B2);A3:=1.1*CLOSE;B3:=0.9*CLOSE;ASR:=100*(WINNER(A3)-WINNER(B3));A4:=WINNER(CLOSE);A5:=DMA(A4,VOL/CAPITAL);B4:=DMA(VOL,VOL/CAPITAL)/CAPITAL;A6:=100*VOL/CAPITAL;B6:=100*(WINNER(CLOSE)-REF(WINNER(CLOSE),1)); A7:=ABS(B6/A6);CYA:A4/B4*50,COLOR00FF00;CYB:EMA(A4/B4*50,34),COLORFF00FF;CYC1:A5/B4*50,COLORRED;IF(RPY<75 AND MYP<30 AND ASR>60 AND 穿越筹码>=24 AND (VOL/CAPITAL*100)<=3 ANDC>=O,地量换手+200,0),STICK,LINETHICK3,COLORFF00FF;IF(A7>30 AND (VOL/CAPITAL*100)<=3,地量换手,0),STICK,LINETHICK2,COLORWHITE;筹码穿透率:=B6/A6;IF(筹码穿透率>10 AND CLOSE/REF(CLOSE,1)>=1.05 AND 换手比率<=3,地量换手+200,0),STICK,LINETHICK3,COLORBLUE;IF(RPY<75 AND MYP<30 AND ASR>60 AND 穿越筹码>=24 AND (VOL/CAPITAL*100)<=3 AND C<O,地量换手,0),STICK,LINETHICK6,COLORFFFF33;CYD:WINNER(CLOSE)/(VOL/CAPITAL),COLORYELLOW, STICK,LINETHICK4;2.【筹码密集】V AR1:=MA(CLOSE,30); V AR2:=V AR1+2*STD(CLOSE,30);V AR3:=(V AR2-VAR1)/V AR1*100;V AR4:=COST(15)+(COST(85)-COST(15))/2;V AR5:=COST(5)+(COST(95)-COST(5))/2;V AR6:=V AR4+V AR4*N1/100;V AR7:=V AR4-V AR4*N1/100;V AR8:=V AR5+V AR5*N2/100;V AR9:=V AR5-V AR5*N2/100;V ARA:=COST(15)>=V AR7 AND COST(85)<=VAR6; 筹码密集: IF(DATE<1330501,COST(5)>=V AR9 AND COST(95)<=VAR8,0), COLORSTICK,COLORRED;高度密集: IF(DATE<1330501,0.999*筹码密集ANDV ARA AND V AR3<=10,0),CIRCLEDOT,COLORYELLOW;{n1(2,120,6),n2(2,120,13)}3.【筹码分布】获利99 :=MA(COST(99 ),5);获利80:=MA(COST(80),5);均线5日:= MA(C,5);获利20:=MA(COST(20),5);获利1 :=MA(COST(1),5);A1:=(获利99-获利80)/获利80*100;A2:=(获利80-获利20)/获利20*100;AA3:=(获利20-获利1)/获利1*100;A4:=IF(A2<10 ,100 ,0 );高密集:A4, COLORSTICK; {VOLSTICK;}A5:=IF(A2<15 ,50 ,0 );中密集:A5, COLORSTICK;A6:=IF(A2<20 ,25 ,0 );低密集:A6, COLORSTICK;密集度:A2;4.可以看见主力与散户筹码的拥有量的公式V AR1:=1;V AR2:=1/WINNER(CLOSE);V AR3:=MA(CLOSE,13);V AR4:=100-ABS((CLOSE-VAR3)/V AR3*100);V AR5:=LLV(LOW,75);V AR6:=HHV(HIGH,75);V AR7:=(V AR6-VAR5)/100;V AR8:=SMA((CLOSE-VAR5)/V AR7,20,1);V AR9:=SMA((OPEN-VAR5)/V AR7,20,1);V ARA:=3*V AR8-2*SMA(V AR8,15,1);V ARB:=3*V AR9-2*SMA(V AR9,15,1);V ARC:=30-V ARB;主力: (100-V ARA)*V AR1,COLOR0099FF;散户:MA(WINNER(CLOSE*0.95)*100,3)*V AR1,COLORYELLOW ;新庄:(30-IF(VAR2>5,IF(V AR2<100,V AR2,V AR4-10),0))*V AR1,COLORGREEN,LINETHICK6,POINTDOT ;V ARD:=散户>V AR4;V ARE:=REF(LOW,1)*0.9;V ARF:=LOW*0.9;V AR10:=(V ARF*VOL+V ARE*(CAPITAL-VOL))/CAPITAL; V AR11:=EMA(V AR10,30);V AR12:=CLOSE-REF(CLOSE,1);V AR13:=MAX(VAR12,0);V AR14:=ABS(V AR12);V AR15:=SMA(VAR13,7,1)/SMA(V AR14,7,1)*100;V AR16:=SMA(VAR13,13,1)/SMA(V AR14,13,1)*100;V AR17:=BARSCOUNT(CLOSE);V AR18:=SMA(MAX(V AR12,0),6,1)/SMA(ABS(V AR12),6,1)* 100;V AR19:=(-200)*(HHV(HIGH,60)-CLOSE)/(HHV(HIGH,60)-L LV(LOW,60))+100;V AR1A:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LO W,15))*100;V AR1B:=SMA((SMA(VAR1A,4,1)-50)*2,3,1);V AR1C:=(INDEXC-LLV(INDEXL,14))/(HHV(INDEXH,14)-L LV(INDEXL,14))*100;V AR1D:=SMA(V AR1C,4,1);V AR1E:=SMA(V AR1D,3,1);V AR1F:=(HHV(HIGH,30)-CLOSE)/CLOSE*100;V AR20:=V AR18<=25 AND V AR19<-95 ANDV AR1F>20 AND V AR1B<-30 AND V AR1E<30 AND V AR11-CLOSE>=-0.25 AND V AR15<22 ANDV AR16<28 AND V AR17>50;STICKLINE(VARD,V AR4,散户,5,0),COLORWHITE; {STICKLINE(1,新庄,100,1,0),COLORGREEN;} STICKLINE(VAR20,0,80,5,0),COLORRED,LINETHICK3 ; 100,COLORGREEN ,LINETHICK2 ;0,COLORYELLOW ,LINETHICK2 ;中线: 15,COLORBLUE ,LINETHICK2 ;量能看盘量能:VOL,VOLSTICK;量能1:(((SMA(MAX((CLOSE - EMA(REF(((LOW + HIGH) / 2),2),1)),0),13,1) / SMA(ABS((CLOSE - EMA(REF(((LOW + HIGH) / 2),2),1))),13,1)) * EMA(VOL,13)) * 3),LINETHICK2; 量能2:(((SMA(MAX((CLOSE -SMA(REF(CLOSE,2),2,1)),0),34,1) / SMA(ABS((CLOSE - SMA(REF(CLOSE,2),2,1))),34,1)) * SMA(VOL,13,1)) *2.8),LINETHICK2;量能3:(((SMA(MAX((CLOSE -SMA(REF(CLOSE,2),2,1)),0),68,1) / SMA(ABS((CLOSE -SMA(REF(CLOSE,2),2,1))),68,1)) * SMA(VOL,34,1)) *2.8),LINETHICK2;量比:DYNAINFO(17),LINETHICK0,COLORFFFFFF;换手:((VOL / CAPITAL) *100),LINETHICK0,COLORFF0000;6.【量能MACD】DIFF : EMA((SMA(AMOUNT,10,1)/100000000)*CLOSE/(MA(REF( CLOSE,1),5)),12) -EMA((SMA(AMOUNT,10,1)/100000000)*CLOSE/(MA(REF( CLOSE,1),5)),26);DEA : EMA(DIFF,9);MACD :2*(DIFF-DEA), COLORSTICK;筹码(改自大智慧原公式)更直观!获利盘:winner(c);浮筹10%:(winner(c*1.1)-winner(c*0.9))/winner(hhv(h,0))*100 ,stick ,color006400,linethick2;pr:(获利盘-ref(获利盘,1))/v*capital*10 ,volstick;浮筹比例(Active Stock Rate) asr:算法:收盘价上下10%的筹码所占的比例。