【股票指标公式下载】-【通达信】穿越筹码(获利出货码、套牢割肉码)
【指标公式源码下载】通达信筹码移动指标公式【经典筹码、不看后悔】
通达信筹码移动指标公式【经典筹码、不看后悔】HB:=COST(99.9);LB:=COST(0.1);B3:=(HB-LB)/50;B31:=HB-B3;B32:=HB-2*B3;B33:=HB-3*B3;B34:=HB-4*B3;B35:=HB-5*B3;B36:=HB-6*B3;B37:=HB-7*B3;B38:=HB-8*B3;B39:=HB-9*B3;B310:=HB-10*B3;B311:=HB-11*B3;B312:=HB-12*B3;B313:=HB-13*B3;B314:=HB-14*B3;B315:=HB-15*B3;B316:=HB-16*B3;B317:=HB-17*B3;B318:=HB-18*B3;B319:=HB-19*B3;B320:=HB-20*B3;B321:=HB-21*B3;B322:=HB-22*B3;B323:=HB-23*B3;B324:=HB-24*B3;B325:=HB-25*B3;B326:=HB-26*B3;B327:=HB-27*B3;B328:=HB-28*B3;B329:=HB-29*B3;B330:=HB-30*B3;B331:=HB-31*B3;B332:=HB-32*B3;B333:=HB-33*B3;B334:=HB-34*B3;B335:=HB-35*B3;B336:=HB-36*B3;B337:=HB-37*B3;B338:=HB-38*B3;B339:=HB-39*B3;B340:=HB-40*B3;B341:=HB-41*B3;B342:=HB-42*B3;B343:=HB-43*B3;B344:=HB-44*B3;B345:=HB-45*B3;B346:=HB-46*B3;B347:=HB-47*B3;B348:=HB-48*B3;B349:=HB-49*B3;A1:=WINNER(HB)*100-WINNER(B31)*100;A2:=WINNER(B31)*100-WINNER(B32)*100;A3:=WINNER(B32)*100-WINNER(B33)*100;A4:=WINNER(B33)*100-WINNER(B34)*100;A5:=WINNER(B34)*100-WINNER(B35)*100;A6:=WINNER(B35)*100-WINNER(B36)*100;A7:=WINNER(B36)*100-WINNER(B37)*100;A8:=WINNER(B37)*100-WINNER(B38)*100;A9:=WINNER(B38)*100-WINNER(B39)*100;A10:=WINNER(B39)*100-WINNER(B310)*100; A11:=WINNER(B310)*100-WINNER(B311)*100; A12:=WINNER(B311)*100-WINNER(B312)*100; A13:=WINNER(B312)*100-WINNER(B313)*100; A14:=WINNER(B313)*100-WINNER(B314)*100; A15:=WINNER(B314)*100-WINNER(B315)*100; A16:=WINNER(B315)*100-WINNER(B316)*100; A17:=WINNER(B316)*100-WINNER(B317)*100; A18:=WINNER(B317)*100-WINNER(B318)*100; A19:=WINNER(B318)*100-WINNER(B319)*100; A20:=WINNER(B319)*100-WINNER(B320)*100; A21:=WINNER(B320)*100-WINNER(B321)*100; A22:=WINNER(B321)*100-WINNER(B322)*100;A23:=WINNER(B322)*100-WINNER(B323)*100;A24:=WINNER(B323)*100-WINNER(B324)*100;A25:=WINNER(B324)*100-WINNER(B325)*100;A26:=WINNER(B325)*100-WINNER(B326)*100;A27:=WINNER(B326)*100-WINNER(B327)*100;A28:=WINNER(B327)*100-WINNER(B328)*100;A29:=WINNER(B328)*100-WINNER(B329)*100;A30:=WINNER(B329)*100-WINNER(B330)*100;A31:=WINNER(B330)*100-WINNER(B331)*100;A32:=WINNER(B331)*100-WINNER(B332)*100;A33:=WINNER(B332)*100-WINNER(B333)*100;A34:=WINNER(B333)*100-WINNER(B334)*100;A35:=WINNER(B334)*100-WINNER(B335)*100;A36:=WINNER(B335)*100-WINNER(B336)*100;A37:=WINNER(B336)*100-WINNER(B337)*100;A38:=WINNER(B337)*100-WINNER(B338)*100;A39:=WINNER(B338)*100-WINNER(B339)*100;A40:=WINNER(B339)*100-WINNER(B340)*100;A41:=WINNER(B340)*100-WINNER(B341)*100;A42:=WINNER(B341)*100-WINNER(B342)*100;A43:=WINNER(B342)*100-WINNER(B343)*100;A44:=WINNER(B343)*100-WINNER(B344)*100;A45:=WINNER(B344)*100-WINNER(B345)*100;A46:=WINNER(B345)*100-WINNER(B346)*100;A47:=WINNER(B346)*100-WINNER(B347)*100;A48:=WINNER(B347)*100-WINNER(B348)*100;A49:=WINNER(B348)*100-WINNER(B349)*100;A50:=WINNER(B349)*100-WINNER(LB)*100;MAX1:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(A1,A2),A3),A4),A5),A6),A7),A 8),A9),A10);MAX2:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(A11,A12),A13),A14),A15),A16 ),A17),A18),A19),A20);MAX3:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(A21,A22),A23),A24),A25),A26 ),A27),A28),A29),A30);MAX4:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(A31,A32),A33),A34),A35),A36 ),A37),A38),A39),A40);MAX5:=MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(MAX(A41,A42),A43),A44),A45),A46 ),A47),A48),A49),A50);MAX6:=MAX(MAX(MAX(MAX(MAX1,MAX2),MAX3),MAX4),MAX5);筹码线:IF(MAX6=A1,HB,IF(MAX6=A2,B31,IF(MAX6=A3,B32,IF(MAX6=A4,B33,IF(MAX6=A5, B34,IF(MAX6=A6,B35,IF(MAX6=A7,B36,IF(MAX6=A8,B37,IF(MAX6=A9,B38,IF(MAX6= A10,B39,IF(MAX6=A11,B310,IF(MAX6=A12,B311,IF(MAX6=A13,B312,IF(MAX6=A14,B313,IF(MA X6=A15,B314,IF(MAX6=A16,B315,IF(MAX6=A17,B316,IF(MAX6=A18,B317,IF(MAX6=A 19,B318,IF(MAX6=A20,B319,IF(MAX6=A21,B320,IF(MAX6=A22,B321,IF(MAX6=A23,B322,IF(MAX6=A24,B323,IF(MA X6=A25,B324,IF(MAX6=A26,B325,IF(MAX6=A27,B326,IF(MAX6=A28,B327,IF(MAX6=A 29,B328,IF(MAX6=A30,B329,IF(MAX6=A31,B330,IF(MAX6=A32,B331,IF(MAX6=A33,B332,IF(MAX6=A34,B333,IF(MA X6=A35,B334,IF(MAX6=A36,B335,IF(MAX6=A37,B336,IF(MAX6=A38,B337,IF(MAX6=A 39,B338,IF(MAX6=A40,B339,IF(MAX6=A41,B340,IF(MAX6=A42,B341,IF(MAX6=A43,B342,IF(MAX6=A44,B343,IF(MA X6=A45,B344,IF(MAX6=A46,B345,IF(MAX6=A47,B346,IF(MAX6=A48,B347,IF(MAX6=A 49,B348,IF(MAX6=A50,B349,LB)))))))))))))))))))))))))))))))))))))))))))))))))),LINETHICK2,COL ORFF00FF;STICKLINE(CROSS(C,筹码线),C,O,1,0),COLOR00FFFF;。
通达信指标公式源码 筹码趋势 副图源码
庄筹:=WINNER(CLOSE)*100,COLORRED, LINETHICK2;
筹码集中度:EMA(庄筹,20),COLORRED, LINETHICK1;
筹码集中警戒线:EMA(筹码集中度,5),COLORYELLOW, LINETHICK1;
筹码集中生命线:EMA(筹码集中警戒线,5),COLORBLUE, 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);。
【股票指标公式下载】-【通达信】主力筹码(活筹、死筹、主力筹码、获利)
获利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,COLOR0099Fห้องสมุดไป่ตู้;
通达信主力筹码活筹死筹主力筹码获利指标公式效果图文档来源
【通达信】主力筹码(活筹、死筹、主力筹码、获利)-指标公式源码
活筹: 100*WINNER(REF(CLOSE,1)*1.1)-100*WINNER(REF(CLOSE,1)*0.9);
死筹: 100*WINNER(CLOSE);
主力筹码: 100*WINNER(CLOSE*0.9);
QW:LOW<COST(4) AND CLOSE>COST(4),COLOR888888;
STICKLINE(获利3>85,0,获利3,8,0),COLORYELLOW;
STICKLINE(主力筹码>30,0,主力筹码,8,1),COLORFF00FF;
STICKLINE(获利20>20,0,获利20,8,1),COLOR00FF00;
STICKLINE(获利30>20,0,获利30,8,0),COLORRED;
【通达信】主力筹码(活筹、死筹、主力筹码、获利)-指标公式效果图
下载次数: 0
2010-12-11 11:43
下载(65.59 KB)
2010-12-11 11:41
(文档来源:若水财经社区)
庄散筹码通达信指标公式源码
庄筹线:EMA(WINNER(C)*81,5), COLORRED ,LINETHICK2;散筹线:EMA((WINNER(C*1.1)-WINNER(C*0.91))*72,3), COLORGREEN ,LINETHICK2; KS13:=(C-SMA(C,13,1))/SMA(C,13,1)*(-100);AAA:=REF(KS13,1)>13 AND REF(KS13,1)/KS13>1.23 AND C/REF(C,1)>1.03;绝对金底:IF(AAA AND REF(C,1)<COST(1),30,0),COLORWHITE ,LINETHICK2; STICKLINE(庄筹线>散筹线,庄筹线-1,散筹线+1,1,0), COLOR00FFFF;海底捞活鱼:=CROSS(5,庄筹线) AND 散筹线< 20;AA1:=REF(庄筹线,30)> 40 OR REF(庄筹线,20)> 40;BB1:=CROSS(28,庄筹线) AND 散筹线> 40 AND AA1=1;CC:=REF(散筹线,1)> 散筹线AND REF(庄筹线,1)< 庄筹线AND 庄筹线> 30 AND 散筹线> 30 AND REF(庄筹线,1)-REF(庄筹线,2)> 3.535;DD:=COUNT(REF(散筹线,1)> REF(庄筹线,1),5);鸡雀升天:=CROSS(庄筹线,散筹线) AND CC=1 AND DD>=5;60;30;50;主筹估算:=EMA(WINNER(C)*70,3)*C;散筹估算:=EMA((WINNER(C*1.1)-WINNER(C*0.9))*72,3)*C;筹码锁定:=(散筹估算-主筹估算);XG:(CROSS(0,筹码锁定))*60;筹码锁定A:=(散筹线-庄筹线);XGA:(CROSS(0,筹码锁定A))*60;。
通达信指标公式源码 主力散户筹码集中度 副图源码
主力持仓:EMA(100*(CLOSE-LLV(LOW,34))/(HHV(HIGH,34)-LLV(LOW,34)),3),COLORMAGENTA,LI NETHICK2;主力筹码集中度:WINNER(C)*100 ,COLORRED,LINETHICK2;散筹筹码集中度:(WINNER(C*1.1)-WINNER(C*0.9))*100 ,COLORGREEN,LINETHICK2;强弱分界: 80,COLORYELLOW;趋势线: 3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2*SMA(SMA((CLO SE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1);XIAO1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);XIAO2:=SMA(ABS(LOW-XIAO1),13,1)/SMA(MAX(LOW-XIAO1,0),10,1);XIAO3:=EMA(XIAO2,10);XIAO4:=LLV(LOW,33);XIAO5:=EMA(IF(LOW<=XIAO4,XIAO3,0),3);STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,3,0 ),COLOR000055;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,2.6,0 ),COLOR000077;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,2.1,0 ),COLOR000099;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,1.5,0 ),COLOR0000BB;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,0.9,0 ),COLOR0000DD;STICKLINE(XIAO5>REF(XIAO5,1),0,XIAO5,0.3,0 ),COLOR0000FF;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,3,0),COLOR005500;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,2.6,0),COLOR007700;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,2.1,0),COLOR009900;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,1.5,0),COLOR00BB00;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,0.9,0),COLOR00DD00;STICKLINE(XIAO5<REF(XIAO5,1),0,XIAO5,0.3,0),COLOR00FF00;私募进场:IF(XIAO5>REF(XIAO5,1),XIAO5,0),COLORRED,NODRAW;私募洗盘:IF(XIAO5<REF(XIAO5,1),XIAO5,0),COLORGREEN,NODRAW;B1:=(HHV(H,9)-C)/(HHV(H,9)-LLV(LOW,9))*100- 70;B2:=SMA(B1,9,1)+100;B3:=(C-LLV(L,9))/(HHV(H,9)- LLV(L,9))*100;B4:=SMA(B3,3,1);B5:=SMA(B4,3,1)+100;B6:=B5-B2;观望期:=IF(B6>60,B6-60,0);T1:=STICKLINE(REF(观望期,1)<观望期,观望期,REF(观望期,1),9,0),COLORYELLOW; T2:=STICKLINE(REF(观望期,1)>观望期,观望期,REF(观望期,1),9,0),COLORCYAN;TAI1:=MA(C,1)/MA(REF(C,13),8)*100;TAI2:=MA(FORCAST(TAI1,21),3);TAI3:=REF(TAI1,1);TAI4:=REF(TAI1,2);邰1:=LLV(LOW,8);邰2:=HHV(HIGH,13);股市黑客:= EMA((CLOSE-邰1)/(邰2-邰1)*100,5),COLORRED;升跌临界:= EMA(0.667*REF(股市黑客,1)+0.333*股市黑客,2),COLORGREEN;VAR1:=(CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));VARD:=(CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2));VARE:=(REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VARF:=(REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR10:=(REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR11:=(REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR12:=(REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR13:=(REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR14:=(REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR15:=(REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR16:=(REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR17:=(REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2)); VAR18:=(REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)); VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;DIFF:=EMA(DCLOSE,12)-EMA(DCLOSE,26);DEA:=EMA(DIFF,9),COLORFFFF00;MACD:=(DIFF-DEA)*2;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));底背离:=REF(CLOSE,A1+1)>CLOSE AND DIFF> REF(DIFF,A1+1) AND CROSS(DIFF,DEA); 顶背离:=REF(CLOSE,A2+1)< CLOSE AND REF(DIFF,A2+1)>DIFF AND CROSS(DEA,DIFF);①:IF(REF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5)) /MA(C,5)>0.04 AND观望期=0 AND C> REF(C,1),1),44,0),LINETHICK3,COLORCYAN;②:IF(REF("KDJ.J",1)<0 AND "KDJ.J">0 AND TAI1>=TAI2 ANDTAI3> TAI4,34,0),LINETHICK3,COLOR0000FF;③:IF(REF(股市黑客,1)<=13&&CROSS(股市黑客,升跌临界)&&REF(MA(C,55),1)>REF (MA(C,55),2)&& (VAR19 OR REF(VAR19,1)),23,0),COLORBLUE;④:IF(底背离,57,0),LINETHICK3,COLORBROWN;DRAWTEXT(底背离,54,'←MACD 底背离'),COLORWHITE;DRAWICON(REF(股市黑客,1)<=13&&CROSS(股市黑客,升跌临界)&&REF(MA(C,55),1)>REF(MA(C,55),2)&&(VAR19 OR REF(VAR19,1)),25,23);DRAWICON(REF((MA(C,5)-C)/C>0.04 AND (MA(C,10)-MA(C,5)) /MA(C,5)>0.04AND 观望期=0 AND C>REF(C,1),1),46,23);DRAWICON(REF("KDJ.J",1)<0 AND "KDJ.J">0 AND TAI1>=TAI2 ANDTAI3>TAI4,36,23),COLORYELLOW;。
通达信指标公式源码 筹码多空线
{换手率}
换手:100*VOL/(FINANCE(7)/100),NODRAW;
换手5日:MA(换手,5),NODRAW;
换手10日:MA(换手,10),NODRAW;
换手20日:MA(换手,20),NODRAW;
STICKLINE(浮筹比例<10,10,浮筹比例,6,0),COLORRED;
{筹码多空线}
开盘:=WINNER(O)*100,NODRAW;
收盘:=WINNER(C)*100,NODRAW;
最高:=WINNER(H)*100,NODRAW;
最低:=WINNER(L)*100,NODRAW;
DRAWKLINE(最高,开盘,最低,收盘);{画筹码K线}
获利比例%:收盘,NODRAW;
MID:=(3*收盘+最低+开盘+最高)/6;
多空:(20*MID+19*REF(MID,1)+18*REF(MID,2)+17*REF(MID,3)+
16*REF(MID,4)+15*REF(MID,5)+14*REF(MID,6)+
13*REF(MID,7)+12*REF(MID,8)+11*REF(MID,9)+
10*REF(MID,10)+9*REF(MID,11)+8*REF(MID,12)+
7*REF(MID,13)+6*REF(MID,14)+5*REF(MID,15)+
4*REF(MID,16)+3*REFF(MID,20))/210,LINETHICK1,COLORWHITE;
通达信庄家一线天筹码指标公式
STICKLINE(一线天筹码<通达信筹码 AND 通达信筹码<60,通达信筹码,55,1,0),COLORGREEN;
STICKLINE(一线天筹码>通达信筹码,通达信ห้องสมุดไป่ตู้码,50,1,0),COLORRED;
STICKLINE(一线天筹码<通达信筹码,一线天筹码,0,0,0),COLORYELLOW;
wwe2:=CROSS(28,一线天筹码) AND 通达信筹码>40 AND wwe3=1 {AND LLV(L ,60 )>LLV(L ,250 )};
wwe1:IF(wwe2 ,30 ,60 ) COLORCYAN;
DRAWTEXT(FILTER(wwe2,4) ,66 ,'wwe1' ) COLORCYAN;
通达信一线天:=FILTER( (CROSS(5,一线天筹码) AND 通达信筹码<20 )*60,10 );
筹码指标公式:通达信一线天,COLORYELLOW;
DRAWTEXT(通达信一线天 ,11 ,'筹码指标公式' ) ,COLORYELLOW;
wwe3:= REF(一线天筹码,30)>40 OR REF(一线天筹码,20)>40;
请注意甄别内容中的联系方式诱导购买等信息谨防诈骗
通达信庄家一线天筹码指标公式
通达信庄家一线天筹码指标公式
来源:
一线天筹码:EMA(WINNER(C)*70,5) COLORMAGENTA LINETHICK2;
通达信筹码:EMA((WINNER(C*1.1)-WINNER(C*0.9))*80,5) COLORGREEN LINETHICK2;
筹码分布主图通达信指标公式源码
XA_1:=400;XA_2:=90;XA_3:=79;XA_4:=IF(XA_2>10,10,XA_3);XA_5:=CURRBARSCOUNT;XA_6:=REF(HIGH,XA_2)=HHV(HIGH,2*XA_2+1);XA_7:=BACKSET(XA_6,XA_2+1);XA_8:=FILTER(XA_7,XA_2) AND HIGH=HHV(HIGH,XA_2+1); XA_9:=BARSLAST(XA_8);XA_10:=IF(XA_8,XA_5,0);XA_11:=IF(XA_9,REF(HIGH,XA_9),HIGH);XA_12:=IF(XA_9,REF(XA_10,XA_9),XA_10);XA_13:=REF(XA_11,XA_9+1);XA_14:=CONST(XA_12);XA_15:=REF(XA_12,XA_9+1);XA_16:=CONST(XA_15);XA_17:=REF(LOW,XA_2)=LLV(LOW,2*XA_2+1);XA_18:=BACKSET(XA_17,XA_2+1);XA_19:=FILTER(XA_18,XA_2) AND LOW=LLV(LOW,XA_2+1); XA_20:=BARSLAST(XA_19);XA_21:=IF(XA_19,XA_5,0);XA_22:=IF(XA_20,REF(XA_21,XA_20),XA_21);XA_23:=CONST(XA_22);STICKLINE(OPEN>CLOSE,CLOSE,OPEN,3,1),COLOR00CC00; XA_24:=BARSLAST(LOW=LLV(LOW,180));XA_25:=REF(LOW,XA_24);XA_26:=BARSLAST(HIGH=HHV(HIGH,XA_24));XA_27:=REF(HIGH,XA_26);XA_28:=BARSLAST(LOW=LLV(LOW,XA_26));XA_29:=REF(LOW,XA_28);XA_30:=INTPART((XA_26+1)/2);XA_31:=REFDATE(XA_27,DATE);XA_32:=REFDATE(CLOSE,DATE);XA_33:=REFDATE(XA_29,DATE);C线:DRAWLINE(CURRBARSCOUNT=CONST(XA_26+1),XA_33,CURRBARSCOUNT=CONST( XA_30),XA_32,0),COLORBLACK;D线:DRAWLINE(CURRBARSCOUNT=CONST(XA_30),XA_32,CURRBARSCOUNT=CONST(1), XA_33,0),COLORBLACK;FFG1:DRAWBAND(C线,RGB(255,0,0),XA_33,RGB(255,0,0));FFG2:DRAWBAND(D线,RGB(50,205,50),XA_33,RGB(50,205,50));DRAWKLINE(HIGH,OPEN,LOW,CLOSE);STICKLINE(OPEN>CLOSE,CLOSE,OPEN,3,1),COLOR00CC00;XA_34:=CONST(XA_28+XA_28);XA_35:=CONST(CLOSE+0.01);XA_36:=REFDATE(XA_35,DATE);XA_37:=REF(XA_22,XA_20+1);XA_38:=CONST(XA_37);XA_39:=REF(HIGH,XA_4)=HHV(HIGH,2*XA_4+1);XA_40:=CONST((XA_31+XA_33)/2);XA_41:=CONST((XA_31+XA_40)/2);XA_42:=CONST((XA_40+XA_33)/2);NOTEXTC区界线:IF(CURRBARSCOUNT<=CONST(3),CONST(IF(1,XA_41,XA_41)),DRAWNULL),COLORCY AN;NOTEXTB区界线:IF(CURRBARSCOUNT<=CONST(3),CONST(IF(1,XA_40,XA_40)),DRAWNULL),COLORCY AN;NOTEXTA区界线:IF(CURRBARSCOUNT<=CONST(3),CONST(IF(1,XA_42,XA_42)),DRAWNULL),COLORCY AN;XA_43:=IF(CURRBARSCOUNT<=CONST(XA_26+1),CONST(IF(1,XA_35+XA_35*0.2,XA_3 5+XA_35*0.2)),DRAWNULL);XA_44:=IF(CURRBARSCOUNT<=CONST(XA_26+1),CONST(IF(1,XA_35+XA_35*0.1,XA_3 5+XA_35*0.1)),DRAWNULL);XA_45:=IF(CURRBARSCOUNT<=CONST(XA_26+1),CONST(IF(1,XA_35,XA_35)),DRAWN ULL);NOTEXT高:IF(CURRBARSCOUNT<=CONST(XA_26+1),CONST(IF(1,XA_31,XA_31)),DRAWNULL),C OLORMAGENTA;NOTEXT低:IF(CURRBARSCOUNT<=CONST(XA_26+1),CONST(IF(1,XA_29,XA_29)),DRAWNULL),C OLORGREEN;新势力A:IF(CURRBARSCOUNT<=CONST(XA_28+1),MA(CLOSE,XA_28),DRAWNULL),COLORRED; 新势力V:IF(CURRBARSCOUNT<=CONST(XA_28+1),IF(新势力A<REF(新势力A,1),新势力A,DRAWNULL),DRAWNULL),COLORGREEN;XA_46:=BACKSET(XA_39,XA_4+1);XA_47:=FILTER(XA_46,XA_4) AND HIGH=HHV(HIGH,XA_4+1);XA_48:=BARSLAST(XA_47);XA_49:=IF(XA_47,XA_5,0);XA_50:=IF(XA_48,REF(HIGH,XA_48),HIGH);XA_51:=IF(XA_48,REF(XA_49,XA_48),XA_49);XA_52:=REF(XA_50,XA_48+1);XA_53:=CONST(XA_51);XA_54:=REF(XA_51,XA_48+1);XA_55:=CONST(XA_54);XA_56:=REF(LOW,XA_4)=LLV(LOW,2*XA_4+1);XA_57:=BACKSET(XA_56,XA_4+1);XA_58:=FILTER(XA_57,XA_4) AND LOW=LLV(LOW,XA_4+1);XA_59:=BARSLAST(XA_58);XA_60:=CONST(XA_41);XA_61:=CONST(XA_40);XA_62:=CONST(XA_42);XA_63:=IF(CLOSE>=XA_60,AMOUNT,DRAWNULL);XA_64:=IF(CLOSE>=XA_60,VOL,DRAWNULL);XA_65:=0.01*SUM(XA_63,XA_26)/SUM(XA_64,XA_26);XA_66:=REFDATE(XA_65,DATE);NOTEXTD区成本:IF(CURRBARSCOUNT<=CONST(13),CONST(IF(1,XA_65,XA_65)),DRAWNULL),DOTLIN E,COLORLIGRAY;XA_67:=IF(CLOSE<=XA_60 AND CLOSE>=XA_61,AMOUNT,DRAWNULL);XA_68:=IF(CLOSE<=XA_60 AND CLOSE>=XA_61,VOL,DRAWNULL);XA_69:=0.01*SUM(XA_67,XA_26)/SUM(XA_68,XA_26);XA_70:=REFDATE(XA_69,DATE);NOTEXTC区成本:IF(CURRBARSCOUNT<=CONST(13),CONST(IF(1,XA_69,XA_69)),DRAWNULL),DOTLIN E,COLORLIGRAY;XA_71:=IF(CLOSE<=XA_61 AND CLOSE>=XA_62,AMOUNT,DRAWNULL);XA_72:=IF(CLOSE<=XA_61 AND CLOSE>=XA_62,VOL,DRAWNULL);XA_73:=0.01*SUM(XA_71,XA_26)/SUM(XA_72,XA_26);XA_74:=REFDATE(XA_73,DATE);NOTEXTB区成本:IF(CURRBARSCOUNT<=CONST(13),CONST(IF(1,XA_73,XA_73)),DRAWNULL),DOTLIN E,COLORLIGRAY;XA_75:=IF(CLOSE<=XA_62,AMOUNT,DRAWNULL);XA_76:=IF(CLOSE<=XA_62,VOL,DRAWNULL);XA_77:=0.01*SUM(XA_75,XA_26)/SUM(XA_76,XA_26);XA_78:=REFDATE(XA_77,DATE);NOTEXTA区成本:IF(CURRBARSCOUNT<=CONST(13),CONST(IF(1,XA_77,XA_77)),DRAWNULL),DOTLIN E,COLORLIGRAY;XA_79:=IF(CLOSE>=XA_36,AMOUNT,DRAWNULL);XA_80:=IF(CLOSE>=XA_36,VOL,DRAWNULL);XA_81:=0.01*SUM(XA_79,XA_26)/SUM(XA_80,XA_26);XA_82:=REFDATE(XA_81,DATE);XA_83:=IF(XA_58,XA_5,0);XA_84:=IF(XA_59,REF(XA_83,XA_59),XA_83);XA_85:=CONST(XA_84);XA_86:=REF(XA_84,XA_59+1);XA_87:=CONST(XA_86);XA_88:=REF(HIGH,XA_3)=HHV(HIGH,2*XA_3+1);XA_89:=BACKSET(XA_88,XA_3+1);XA_90:=FILTER(XA_89,XA_3) AND HIGH=HHV(HIGH,XA_3+1);XA_91:=BARSLAST(XA_90);NOTEXT上区成本:IF(CURRBARSCOUNT<=CONST(XA_26+1),CONST(IF(1,XA_81,XA_81)),DRAWNULL),D OTLINE,COLORRED;XA_92:=IF(CLOSE<=XA_36,AMOUNT,DRAWNULL);XA_93:=IF(CLOSE<=XA_36,VOL,DRAWNULL);XA_94:=0.01*SUM(XA_92,XA_26)/SUM(XA_93,XA_26);XA_95:=REFDATE(XA_94,DATE);NOTEXT下区成本:IF(CURRBARSCOUNT<=CONST(XA_26+1),CONST(IF(1,XA_94,XA_94)),DRAWNULL),D OTLINE,COLORYELLOW;XA_96:=100*VOL/(FINANCE(7)/100);XA_97:=IF(CLOSE>=XA_60,XA_96,DRAWNULL);XA_98:=CONST(INTPART(SUM(XA_97,XA_26)));VB143:DRAWTEXT(CURRBARSCOUNT=CONST(13),XA_66,1),COLORLIGRAY;VB144:DRAWNUMBER(CURRBARSCOUNT=CONST(6),XA_66*1.007,XA_98),COLORYELLO W;XA_99:=IF(CLOSE<=XA_60 AND CLOSE>=XA_61,XA_96,DRAWNULL);XA_100:=CONST(INTPART(SUM(XA_99,XA_26)));VB148:DRAWTEXT(CURRBARSCOUNT=CONST(13),XA_70,2),COLORRED;VB149:DRAWNUMBER(CURRBARSCOUNT=CONST(6),XA_70*1.007,XA_100),COLORYELL OW;XA_101:=IF(CLOSE<=XA_61 AND CLOSE>=XA_62,XA_96,DRAWNULL);XA_102:=CONST(INTPART(SUM(XA_101,XA_26)));VB153:DRAWTEXT(CURRBARSCOUNT=CONST(13),XA_74,3),COLORMAGENTA;XA_103:=IF(XA_90,XA_5,0);XA_104:=IF(XA_91,REF(HIGH,XA_91),HIGH);XA_105:=IF(XA_91,REF(XA_103,XA_91),XA_103);XA_106:=REF(XA_104,XA_91+1);XA_107:=CONST(XA_105);XA_108:=REF(XA_105,XA_91+1);XA_109:=CONST(XA_108);XA_110:=REF(XA_106,XA_91+1);VB154:DRAWNUMBER(CURRBARSCOUNT=CONST(6),XA_74*1.007,XA_102),COLORYELL OW;XA_111:=IF(CLOSE<=XA_62,XA_96,DRAWNULL);XA_112:=CONST(INTPART(SUM(XA_111,XA_26)));VB158:DRAWTEXT(CURRBARSCOUNT=CONST(13),XA_78,4),COLORCYAN;VB159:DRAWNUMBER(CURRBARSCOUNT=CONST(6),XA_78*1.007,XA_112),COLORYELL OW;XA_113:=IF(CLOSE>=XA_36,XA_96,DRAWNULL);XA_114:=CONST(INTPART(SUM(XA_113,XA_26)));VB163:DRAWTEXT(CURRBARSCOUNT=CONST(XA_26),XA_82,5),COLORYELLOW;VB164:DRAWNUMBER(CURRBARSCOUNT=CONST(XA_26-7),XA_82*1.007,XA_114),COLO RYELLOW;XA_115:=IF(CLOSE<=XA_36,XA_96,DRAWNULL);XA_116:=CONST(INTPART(SUM(XA_115,XA_26)));VB168:DRAWTEXT(CURRBARSCOUNT=CONST(XA_26),XA_95,6),COLORYELLOW;VB169:DRAWNUMBER(CURRBARSCOUNT=CONST(XA_26-7),XA_95*1.007,XA_116),COLO RYELLOW;XA_117:=REF(LOW,XA_3)=LLV(LOW,2*XA_3+1);XA_118:=BACKSET(XA_117,XA_3+1);XA_119:=FILTER(XA_118,XA_3) AND LOW=LLV(LOW,XA_3+1);XA_120:=BARSLAST(XA_58);XA_121:=IF(XA_119,XA_5,0);XA_122:=IF(XA_120,REF(XA_121,XA_120),XA_83);XA_123:=CONST(XA_122);XA_124:=REF(XA_122,XA_120+1);XA_125:=CONST(XA_124);。
[通达信] 珍藏多年可吃庄肉的筹码穿透率指标---监控主力控盘力度【源码贴图说明】
[通达信] 珍藏多年可吃庄肉的筹码穿透率指标---监控主力控盘力度【源码,贴图,说明】[通达信] 珍藏多年/可吃庄肉的筹码穿透率指标---监控主力控盘力度【源码,贴图,说明】终极筹码穿透.tni (5.48 KB) 无未来/筹码穿透率,字面理解已很充分,就是股价上升时穿透筹码区的能力。
众所周知,庄家吸筹充分时通常形成一个密集峰,在右窗口的筹码分布显示就是长长的一个山峰。
庄家要启动,必然要上穿这一密集区,而上穿这一密集区所用的成交量越少越证明庄家实力强,筹码穿透率就是根据成交量和当时价区的密集度而设计的。
这个原理,相当于一颗子弹,穿透的钢板越厚,能量越大. 筹码穿透率就是用每天解套的筹码数量除以当日的换手率,也就是单位换手率下股价穿越了多少筹码,市场含义就是当日股价穿越筹码分布空间的能力。
如果换手率越低,其数值就越大,筹码的通透性就很好,很容易穿上去;如果这个值越低,说明这个筹码的通透性就越弱,必须用很大的换手率才能穿越筹码密集区,说明这个时候的抛压是很大的。
当股价处于相对高位时,如果筹码穿透率的数值小于0,但绝对值却较大,说明在相对高位,换手率不够,高位接盘的承接力不足,此时解套筹码的减少也表明市场有向下寻求支撑的压力。
而反过来,我们也可用向上的筹码穿透率,即取值大于0来描述寻找解套无抛压的强势股票,可用于监控主力控盘度较高的股票。
浮筹一般指稳定性差,就是以短线投机心态买入的那部分股票,这部分筹码随时有兑现的需求。
所谓的主力被动大量收集筹码指主力本身筹码比较多,而这时因为别的原因,市场上对该股的抛售数量比较多,主力不想扩大自己的损失,只能接过这部分抛售的筹码,从本意上来说,他不是心甘情愿地接的,只是不愿意让自己损失扩大而采取的一种保护性措施。
底部浮筹比例极小抄底抢反弹,当浮筹比例很小,小到百分之几,甚至零点几的时候,怎么看呢?浮筹比例是当前股价上下10%的空间的筹码数量/以0日内最高价的最高值计算的获利盘比例*100,计算公式是(asr:(winner(c*1.1)-winner(c*0.9))/winner(hhv(h,0))*100; 也就是说(以收盘价*1.1计算的获利盘比例-以收盘价*0.9计算的获利盘比)/以0日内最高价的最高值计算的获利盘比例*100)。
筹码指标通达信指标公式源码
关于筹码的用法,下面谈一点粗浅的认识。
1,上下筹码二线靠近说明筹码集中,筹码集中只能说明出现拐点,这时一要看位置,二要看短期均线。
2,下方筹码线的变化反映底部筹码的状况,如果股价上涨,下方筹码线不动或慢慢上移,说明底部筹码稳定,如果下方筹码线出现加速上行说明底部筹码出现松动。
3,筹码线只能用作观察筹码变化状态,在使用时一定要结合短期均线和能量指标。
这是最新研究编写的筹码分布源码,在此奉献给大家共享。
CB1:=COST(100-10/3);CB2:=COST(100-14/3);CB3:=COST(100-18/3);CB4:=COST(100-22/3);CB5:=COST(100-26/3);CB6:=COST(100-30/3);CB7:=COST(100-34/3);CB8:=COST(100-38/3);CB9:=COST(100-42/3);SCBD:=MAX(CB1,MAX(CB2,MAX(CB3,MAX(CB4,MAX(CB5,MAX(CB6,MAX(CB7,MAX(CB8,C B9))))))));SCBX:=MIN(CB1,MIN(CB2,MIN(CB3,MIN(CB4,MIN(CB5,MIN(CB6,MIN(CB7,MIN(CB8,CB9) )))))));SCBJ:=(CB1+CB2+CB3+CB4+CB5+CB6+CB7+CB8+CB9)/9;SCB:(((CB1+CB2+CB3)/3+2*(CB1+CB2+CB3+CB4+CB5+CB6)/6)/3+3*SCBJ)/4;CB11:=COST(100-(100-10/3));CB12:=COST(100-(100-14/3));CB13:=COST(100-(100-18/3));CB14:=COST(100-(100-22/3));CB15:=COST(100-(100-26/3));CB16:=COST(100-(100-30/3));CB17:=COST(100-(100-34/3));CB18:=COST(100-(100-38/3));CB19:=COST(100-(100-42/3));XCBD:=MAX(CB11,MAX(CB12,MAX(CB13,MAX(CB14,MAX(CB15,MAX(CB16,MAX(CB17,MA X(CB18,CB19))))))));XCBX:=MIN(CB11,MIN(CB12,MIN(CB13,MIN(CB14,MIN(CB15,MIN(CB16,MIN(CB17,MIN( CB18,CB19))))))));XCBJ:=(CB11+CB12+CB13+CB14+CB15+CB16+CB17+CB18+CB19)/9;XCB:(((CB11+CB12+CB13)/3+2*(CB11+CB12+CB13+CB14+CB15+CB16)/6)/3+3*XCBJ) /4;。
通达信指标公式源码 主力筹码 副图源码
首先申明有未来函数WINNER,担心的慎用。
主力筹码:=IF(C<0,0,EMA(WINNER(CLOSE)*70,3));散户筹码:=IF(C<0,0,EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3));散户持仓:IF(C<0,0,散户筹码/(主力筹码+散户筹码)*100),COLORGREEN,NODRAW;主力持仓:IF(C<0,0,主力筹码/(主力筹码+散户筹码)*100),COLORRED,NODRAW;散户资金:=IF(C<0,0,EMA(散户持仓,89));主力资金:=IF(C<0,0,EMA(主力持仓,89));资金流入强度:IF(C<0,0,INTPART(主力持仓-主力资金)),NODRAW,COLOR0000FF;SH8:=IF(C<0,0,EMA(散户持仓,8));STICKLINE(CLOSE>0,散户持仓,主力持仓,1,0),COLORGRAY;STICKLINE(散户资金>REF(散户资金,1),散户持仓,散户资金,1,0),COLORWHITE; STICKLINE(CLOSE>0,主力持仓,0,1,0),COLORBROWN;STICKLINE(主力持仓>75,主力持仓,0,1,0),COLORRED;STICKLINE(主力资金>REF(主力资金,1),主力持仓,主力资金,1,0),COLORLIMAGENTA;STICKLINE(散户持仓>=90,主力持仓,0,1,0),COLORGREEN; STICKLINE(REF(散户持仓,1)>90 AND 散户持仓<90,0,散户持仓,1,0),COLORYELLOW;主力介入:REF(散户持仓,1)>90 AND 散户持仓<90,NODRAW;筹码总量:IF(C<0,0,MA(主力筹码+散户筹码,13)),NODRAW;筹码绿:IF(CLOSE>0,筹码总量,DRAWNULL),COLORGREEN,LINETHICK2; 筹码红:IF(筹码总量>REF(筹码总量,1),筹码总量,DRAWNULL),COLORRED,LINETHICK2;资金流入:IF(主力资金>REF(主力资金,1),主力持仓,DRAWNULL),COLORMAGENTA,NODRAW;DRAWTEXT(筹码总量>REF(筹码总量,1) AND SH8<REF(SH8,1) AND ISLASTBAR,筹码总量,'←增量资金');选股:COUNT(主力介入=1,3) AND 筹码红AND 资金流入,NODRAW,COLORYELLOW;。
通达信指标公式源码实用的筹码集中度指标选股公式
实用的筹码集中度指标+选股公式筹码分布及选股公式(原码、附图)源码如下:获利筹码: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(L<=LLV(l,30),SMA(ABS(L-REF(L,1)),30,1)/SMA(MAX(L-REF(l,1),0),30,1),0),3)*10,STICK,COL ORYELLOW,LINETHICK2;SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV (AMOUNT,20)/HHV(C,20))*100);STICKLINE(((CLOSE > 0) AND day=2),20,121,40,1),colorFFFFFF;STICKLINE(((SAT <= 5) AND day=2),21,(20 + SAT),35,0),colorFFFFFF;STICKLINE((((SAT > 5) AND (SAT <= 20)) AND day=2),21,(20 + SAT),35,0),colorCCFF88; STICKLINE((((SAT > 20) AND (SAT <= 40)) AND day=2),21,(20 +SAT),35,0),colorFF00FF;STICKLINE(((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(获利筹码,亏损筹码);。
通达信筹码动态指标公式
通达信筹码动态指标公式HH:=IF(C<REF(C,1) AND H<REF(L,1),REF(L,1),H);LL:=IF(C>REF(C,1) AND L>REF(H,1),REF(H,1),L);穿越筹码:=(WINNER(HH)-WINNER(LL))*100,COLORBLUE;STICKLINE(1,穿越筹码/2,穿越筹码/2,2.5,0),COLORBLUE;STICKLINE(1,穿越筹码/2,穿越筹码/2,3.2,0),COLOR990000;STICKLINE(1,穿越筹码/2,-穿越筹码/2,2.5,0),COLORCC0000;STICKLINE(1,穿越筹码/2,-穿越筹码/2,1.9,0),COLORFF4400;STICKLINE(1,穿越筹码/2,-穿越筹码/2,1.4,0),COLORFF8800;STICKLINE(1,穿越筹码/2,-穿越筹码/2,0.4,0),COLORFFCC00;获利出货码:(PWINNER(1,LL)-WINNER(LL))*100,POINTDOT,COLOR000099;套牢割肉码:(WINNER(HH)-PWINNER(1,HH))*100,POINTDOT,COLORGREEN;STICKLINE(获利出货码>0,0,获利出货码,2.5,0),COLORRED;STICKLINE(获利出货码>0,0,获利出货码,2.8,0)COLOR000066;STICKLINE(获利出货码>0,0,获利出货码,2.3,0)COLOR000077;STICKLINE(获利出货码>0,0,获利出货码,1.7,0)COLOR000099;STICKLINE(获利出货码>0,0,获利出货码,1.2,0)COLOR0000CC;STICKLINE(获利出货码>0,0,获利出货码,0.1,0)COLORCC66FF;STICKLINE(套牢割肉码>0,0,-套牢割肉码,2.5,0),COLORGREEN;STICKLINE(套牢割肉码>0,0,-套牢割肉码,3.2,0),COLOR007700;STICKLINE(套牢割肉码>0,0,-套牢割肉码,2.8,0),COLOR009900;STICKLINE(套牢割肉码>0,0,-套牢割肉码,2.1,0),COLOR00BB00;STICKLINE(套牢割肉码>0,0,-套牢割肉码,1.6,0),COLOR00DD00;STICKLINE(套牢割肉码>0,0,-套牢割肉码,0.4,0),COLOR00FF00;A:=90+(100-90)/2;B:=(100-90)/2;CC:=COST(A);DD:=COST(B);CMJZD:=(CC-DD)/(CC+DD)*100/2;筹码集中度:MA(CMJZD,3),COLORGRAY;筹码集中度升:IF(筹码集中度>=REF(筹码集中度,3),筹码集中度,DRAWNULL),COLORRED,LINETHICK2;筹码集中度降:IF(筹码集中度<REF(筹码集中度,3),筹码集中度,DRAWNULL),COLORFAABEC,LINETHICK2;比例变化:(筹码集中度-REF(筹码集中度,1))/REF(筹码集中度,1)*100,COLORYELLOW,LINETHICK2;拉高加仓:IF(筹码集中度>REF(筹码集中度,3) AND MA(C,20)>REF(MA(C,20),3),1,0),COLOR0095FF;拉高加仓1:STICKLINE(拉高加仓>0,0,筹码集中度*0.33,2.7,0),COLOR0095FF;STICKLINE(拉高加仓>0,0,筹码集中度*0.33,2.1,0),COLOR0064FF;STICKLINE(拉高加仓>0,0,筹码集中度*0.33,1.5,0),COLOR0093FF;STICKLINE(拉高加仓>0,0,筹码集中度*0.33,0.9,0),COLOR00C2FF;STICKLINE(拉高加仓>0,0,筹码集中度*0.33,0.3,0),COLOR00FFFF;下跌加仓:IF(筹码集中度>REF(筹码集中度,3) AND MA(C,20)<REF(MA(C,20),3),1,0),COLORFF0066;下跌加仓1:STICKLINE(下跌加仓>0,0,筹码集中度*0.33,2.7,0),COLORFF0033;STICKLINE(下跌加仓>0,0,筹码集中度*0.33,2.7,0),COLORFF0066;STICKLINE(下跌加仓>0,0,筹码集中度*0.33,1.5,0),COLORFF0099;STICKLINE(下跌加仓>0,0,筹码集中度*0.33,0.9,0),COLORFF00CC;STICKLINE(下跌加仓>0,0,筹码集中度*0.33,0.3,0),COLORFF00FF;底:0;线1:10,COLORLIBLUE,POINTDOT;线2:20,COLORFF00FF,POINTDOT;VAR02:=LLV(LOW,10);VAR03:=HHV(HIGH,25);支撑线:EMA((CLOSE-VAR02)/(VAR03-VAR02)*4,4),COLORBLUE;VAR01:=支撑线>REF(支撑线,1)AND 支撑线<1.5;MA3:=MA(C,3);VAR04:=HIGH>MA3*1.1;买进:FILTER(CROSS(C,MA3)AND VAR01,5),STICK,LINETHICK3,COLOR0099FF;DRAWICON(FILTER(CROSS(C,MA3)AND VAR01,5),10,35);卖出:FILTER(VAR04 AND 支撑线>3,10),STICK,LINETHICK3,COLORFFAA66;DRAWICON(FILTER(VAR04 AND 支撑线>3,10),1.5,36);VARF:=TROUGHBARS(3,15,1)<4;DRAWTEXT(FILTER(VARF=1,3),5,'庄影'),COLORYELLOW;。
筹码峰通达信指标公式源码
HB:=COST(99.3);LB:=COST(0.2);B3:=(HB-LB)/50;B31:=HB-B3;B32:=HB-2*B3;B33:=HB-3*B3;B34:=HB-4*B3;B35:=HB-5*B3;B36:=HB-6* B3;B37:=HB-7*B3;B38:=HB-8*B3;B39:=HB-9*B3;B310:=HB-10*B3;B311:=HB-11*B3;B312:=HB-12*B3;B313:=HB-13*B3;B314:=HB-14*B 3;B315:=HB-15*B3;B316:=HB-16*B3;B317:=HB-17*B3;B318:=HB-18*B3;B319:=HB-19 *B3;B320:=HB-20*B3;B321:=HB-21*B3;B322:=HB-22*B3;B323:=HB-23*B3;B324:=HB-24*B 3;B325:=HB-25*B3;B326:=HB-26*B3;B327:=HB-27*B3;B328:=HB-28*B3;B329:=HB-29 *B3;B330:=HB-30*B3;B331:=HB-31*B3;B332:=HB-32*B3;B333:=HB-33*B3;B334:=HB-34*B 3;B335:=HB-35*B3;B336:=HB-36*B3;B337:=HB-37*B3;B338:=HB-38*B3;B339:=HB-39 *B3;B340:=HB-40*B3;B341:=HB-41*B3;B342:=HB-42*B3;B343:=HB-43*B3;B344:=HB-44*B 3;B345:=HB-45*B3;B346:=HB-46*B3;B347:=HB-47*B3;B348:=HB-48*B3;B349:=HB-49 *B3;A1:=WINNER(HB)*100-WINNER(B31)*100;A2:=WINNER(B31)*100-WINNER(B32)*100; A3:=WINNER(B32)*100-WINNER(B33)*100;A4:=WINNER(B33)*100-WINNER(B34)*100; A5:=WINNER(B34)*100-WINNER(B35)*100;A6:=WINNER(B35)*100-WINNER(B36)*100 ;A7:=WINNER(B36)*100-WINNER(B37)*100;A8:=WINNER(B37)*100-WINNER(B38)*10 0;A9:=WINNER(B38)*100-WINNER(B39)*100;A10:=WINNER(B39)*100-WINNER(B310)*1 00;A11:=WINNER(B310)*100-WINNER(B311)*100;A12:=WINNER(B311)*100-WINNER( B312)*100;A13:=WINNER(B312)*100-WINNER(B313)*100;A14:=WINNER(B313)*100-WINNER(B31 4)*100;A15:=WINNER(B314)*100-WINNER(B315)*100;A16:=WINNER(B315)*100-WINNER(B316)*100;A17:=WINNER(B316)*100-WINNER(B317)*100;A18:=WINNER(B317)*100-WINNER(B31 8)*100;A19:=WINNER(B318)*100-WINNER(B319)*100;A20:=WINNER(B319)*100-WIN NER(B320)*100;A21:=WINNER(B320)*100-WINNER(B321)*100;A22:=WINNER(B321)*100-WINNER(B32 2)*100;A23:=WINNER(B322)*100-WINNER(B323)*100;A24:=WINNER(B323)*100-WIN NER(B324)*100;A25:=WINNER(B324)*100-WINNER(B325)*100;A26:=WINNER(B325)*100-WINNER(B32 6)*100;A27:=WINNER(B326)*100-WINNER(B327)*100;A28:=WINNER(B327)*100-WIN NER(B328)*100;A29:=WINNER(B328)*100-WINNER(B329)*100;A30:=WINNER(B329)*100-WINNER(B33 0)*100;A31:=WINNER(B330)*100-WINNER(B331)*100;A32:=WINNER(B331)*100-WIN NER(B332)*100;A33:=WINNER(B332)*100-WINNER(B333)*100;A34:=WINNER(B333)*100-WINNER(B33 4)*100;A35:=WINNER(B334)*100-WINNER(B335)*100;A36:=WINNER(B335)*100-WIN NER(B336)*100;A37:=WINNER(B336)*100-WINNER(B337)*100;A38:=WINNER(B337)*100-WINNER(B33 8)*100;A39:=WINNER(B338)*100-WINNER(B339)*100;A40:=WINNER(B339)*100-WIN NER(B340)*100;A41:=WINNER(B340)*100-WINNER(B341)*100;A42:=WINNER(B341)*100-WINNER(B34 2)*100;A43:=WINNER(B342)*100-WINNER(B343)*100;A44:=WINNER(B343)*100-WIN NER(B344)*100;A45:=WINNER(B344)*100-WINNER(B345)*100;A46:=WINNER(B345)*100-WINNER(B34 6)*100;A47:=WINNER(B346)*100-WINNER(B347)*100;A48:=WINNER(B347)*100-WIN NER(B348)*100;A49:=WINNER(B348)*100-WINNER(B349)*100;A50:=WINNER(B349)*100-WINNER(LB) *100;MX0:=MAX(A1, MAX(A2, MAX(A3, MAX(A4, MAX(A5, MAX(A6, MAX(A7, MAX(A8,MAX(A9,A10)))))))));MX1:=MAX(A11, MAX(A12, MAX(A13, MAX(A14, MAX(A15, MAX(A16, MAX(A17, MAX(A18, MAX(A19,A20)))))))));MX2:=MAX(A21, MAX(A22, MAX(A23, MAX(A24, MAX(A25, MAX(A26, MAX(A27, MAX(A28, MAX(A29,A30)))))))));MX3:=MAX(A31, MAX(A32, MAX(A33, MAX(A34, MAX(A35, MAX(A36, MAX(A37, MAX(A38, MAX(A39,A40)))))))));MX4:=MAX(A41, MAX(A42, MAX(A43, MAX(A44, MAX(A45, MAX(A46, MAX(A47, MAX(A48, MAX(A49,A50)))))))));最大值:=MAX(MX0, MAX(MX1, MAX(MX2, MAX(MX3,MX4))));峰值过滤:=IF(最大值<8,40,IF(最大值<14,25,15));线宽调整:=IF(C<1.5,0.003,IF(C<3,0.01,IF(C<10,0.02,IF(C<16,0.03,IF(C<30,0.05,0.06)))))*(5/ 10);线条长度:=3;STICKLINE(ISLASTBAR AND A1 >最大值/线条长度AND A1 =MAX(MX0,MX1),HB ,HB+线宽调整,A1*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A1 >最大值/线条长度AND A1 =MAX(MX0,MX1),B31 ,B31+线宽调整,A1*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A2 >最大值/线条长度AND A2 =MAX(MX0,MX1),B32 ,B32+线宽调整,A2*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A3 >最大值/线条长度AND A3 =MAX(MX0,MX1),B33 ,B33+线宽调整,A3*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A4 >最大值/线条长度AND A4 =MAX(MX0,MX1),B34 ,B34+线宽调整,A4*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A5 >最大值/线条长度AND A5 =MAX(MX0,MX1),B35 ,B35+线宽调整,A5*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A6 >最大值/线条长度AND A6 =MAX(MX0,MX1),B36 ,B36+线宽调整,A6*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A7 >最大值/线条长度AND A7 =MAX(MX0,MX1),B37 ,B37+线宽调整,A7*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A8 >最大值/线条长度AND A8 =MAX(MX0,MX1),B38 ,B38+线宽调整,A8*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A9 >最大值/线条长度AND A9 =MAX(MX0,MX1),B39 ,B39+线宽调整,A9*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A10 >最大值/线条长度AND A10=MAX(MX0,MX1),B310 ,B310+线宽调整,A10*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A11 >最大值/线条长度AND A11=MAX(MX0,MX1),B311 ,B311+线宽调整,A11*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A12 >最大值/线条长度AND A12=MAX(MX0,MX1),B312 ,B312+线宽调整,A12*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A13 >最大值/线条长度AND A13=MAX(MX0,MX1),B313 ,B313+线宽调整,A13*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A14 >最大值/线条长度AND A14=MAX(MX0,MX1),B314 ,B314+线宽调整,A14*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A15 >最大值/线条长度AND A15=MAX(MX0,MX1),B315 ,B315+线宽调整,A15*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A16 >最大值/线条长度AND A16=MAX(MX0,MX1),B316 ,B316+线宽调整,A16*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A17 >最大值/线条长度AND A17=MAX(MX0,MX1),B317 ,B317+线宽调整,A17*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A18 >最大值/线条长度AND A18=MAX(MX0,MX1),B318 ,B318+线宽调整,A18*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A19 >最大值/线条长度AND A19=MAX(MX0,MX1),B319 ,B319+线宽调整,A19*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A20 >最大值/线条长度AND A20=MAX(MX0,MX1),B320 ,B320+线宽调整,A20*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A21 >最大值/线条长度AND A21 =MX2,B321 ,B321+线宽调整,A21*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A22 >最大值/线条长度AND A22 =MX2,B322 ,B322+线宽调整,A22*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A23 >最大值/线条长度AND A23 =MX2,B323 ,B323+线宽调整,A23*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A24 >最大值/线条长度AND A24 =MX2,B324 ,B324+线宽调整,A24*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A25 >最大值/线条长度AND A25 =MX2,B325 ,B325+线宽调整,A25*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A26 >最大值/线条长度AND A26 =MX2,B326 ,B326+线宽调整,A26*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A27 >最大值/线条长度AND A27 =MX2,B327 ,B327+线宽调整,A27*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A28 >最大值/线条长度AND A28 =MX2,B328 ,B328+线宽调整,A28*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A29 >最大值/线条长度AND A29 =MX2,B329 ,B329+线宽调整,A29*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A30 >最大值/线条长度AND A30 =MX2,B330 ,B330+线宽调整,A30*峰值过滤,0 ),COLORYELLOW;STICKLINE(ISLASTBAR AND A31 >最大值/线条长度AND A31=MAX(MX3,MX4),B331 ,B331+线宽调整,A31*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A32 >最大值/线条长度AND A32=MAX(MX3,MX4),B332 ,B332+线宽调整,A32*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A33 >最大值/线条长度AND A33=MAX(MX3,MX4),B333 ,B333+线宽调整,A33*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A34 >最大值/线条长度AND A34=MAX(MX3,MX4),B334 ,B334+线宽调整,A34*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A35 >最大值/线条长度AND A35=MAX(MX3,MX4),B335 ,B335+线宽调整,A35*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A36 >最大值/线条长度AND A36=MAX(MX3,MX4),B336 ,B336+线宽调整,A36*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A37 >最大值/线条长度AND A37=MAX(MX3,MX4),B337 ,B337+线宽调整,A37*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A38 >最大值/线条长度AND A38=MAX(MX3,MX4),B338 ,B338+线宽调整,A38*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A39 >最大值/线条长度AND A39=MAX(MX3,MX4),B339 ,B339+线宽调整,A39*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A40 >最大值/线条长度AND A40=MAX(MX3,MX4),B340 ,B340+线宽调整,A40*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A41 >最大值/线条长度AND A41=MAX(MX3,MX4),B341 ,B341+线宽调整,A41*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A42 >最大值/线条长度AND A42=MAX(MX3,MX4),B342 ,B342+线宽调整,A42*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A43 >最大值/线条长度AND A43=MAX(MX3,MX4),B343 ,B343+线宽调整,A43*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A44 >最大值/线条长度AND A44=MAX(MX3,MX4),B344 ,B344+线宽调整,A44*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A45 >最大值/线条长度AND A45=MAX(MX3,MX4),B345 ,B345+线宽调整,A45*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A46 >最大值/线条长度AND A46=MAX(MX3,MX4),B346 ,B346+线宽调整,A46*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A47 >最大值/线条长度AND A47=MAX(MX3,MX4),B347 ,B347+线宽调整,A47*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A48 >最大值/线条长度AND A48=MAX(MX3,MX4),B348 ,B348+线宽调整,A48*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A49 >最大值/线条长度AND A49=MAX(MX3,MX4),B349 ,B349+线宽调整,A49*峰值过滤,0 ),COLORYELLOW; STICKLINE(ISLASTBAR AND A50 >最大值/线条长度AND A50 =MAX(MX3,MX4),LB ,LB+线宽调整,A50*峰值过滤,0 ),COLORYELLOW;{DRAWKLINE(HIGH,OPEN,LOW,CLOSE);};虽然是有未来函数的,但是只是获利盘之类的函数,对操作指导没有太大影响,只是给我们预测支撑压力。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
【通达信】穿越筹码(获利出货码、套牢割肉码)-指标公式源码
{ P:1,100,90。
}
HH:=IF(C<REF(C,1) AND H<REF(L,1),REF(L,1),H);
LL:=IF(C>REF(C,1) AND L>REF(H,1),REF(H,1),L);
穿越筹码:=(WINNER(HH)-WINNER(LL))*100,COLORBLUE;
STICKLINE(1,穿越筹码/2,穿越筹码/2,2.5,0),COLORBLUE;
STICKLINE(1,穿越筹码/2,穿越筹码/2,3.2,0),COLOR990000;
STICKLINE(1,穿越筹码/2,-穿越筹码/2,2.5,0),COLORCC0000;
STICKLINE(1,穿越筹码/2,-穿越筹码/2,1.9,0),COLORFF4400;
STICKLINE(1,穿越筹码/2,-穿越筹码/2,1.4,0),COLORFF8800;
STICKLINE(1,穿越筹码/2,-穿越筹码/2,0.4,0),COLORFFCC00;
获利出货码:(PWINNER(1,LL)-WINNER(LL))*100,POINTDOT,COLORRED; STICKLINE(获利出货码>0,0,获利出货码,2.5,0),COLORRED;
STICKLINE(获利出货码>0,0,获利出货码,2.8,0)COLOR000066;
STICKLINE(获利出货码>0,0,获利出货码,2.3,0)COLOR000077;
STICKLINE(获利出货码>0,0,获利出货码,1.7,0)COLOR000099;
STICKLINE(获利出货码>0,0,获利出货码,1.2,0)COLOR0000CC;
STICKLINE(获利出货码>0,0,获利出货码,0.1,0)COLORCC66FF;
套牢割肉码:(WINNER(HH)-PWINNER(1,HH))*100,POINTDOT,COLORGREEN; STICKLINE(套牢割肉码>0,0,-套牢割肉码,2.5,0),COLORGREEN;
STICKLINE(套牢割肉码>0,0,-套牢割肉码,3.2,0),COLOR007700; STICKLINE(套牢割肉码>0,0,-套牢割肉码,2.8,0),COLOR009900; STICKLINE(套牢割肉码>0,0,-套牢割肉码,2.1,0),COLOR00BB00; STICKLINE(套牢割肉码>0,0,-套牢割肉码,1.6,0),COLOR00DD00; STICKLINE(套牢割肉码>0,0,-套牢割肉码,0.4,0),COLOR00FF00;
A:=P+(100-P)/2;
B:=(100-P)/2;
CC:=COST(A);
DD:=COST(B);
CMJZD:=(CC-DD)/(CC+DD)*100/2;
筹码集中度:MA(CMJZD,3),COLORRED;
筹码集中升:IF(筹码集中度>=REF(筹码集中度,3),筹码集中
度,DRAWNULL),COLOR000099,LINETHICK2;
筹码集中降:IF(筹码集中度<REF(筹码集中度,3),筹码集中
度,DRAWNULL),COLOR009900,LINETHICK2;
比例变化:(筹码集中度-REF(筹码集中度,1))/REF(筹码集中
度,1)*100,COLORWHITE,LINETHICK2;
拉高加仓:IF(筹码集中度>REF(筹码集中度,3) AND
MA(C,20)>REF(MA(C,20),3),1,0),COLOR0093FF;
拉高加仓1:STICKLINE(拉高加仓>0,0,筹码集中度*0.33,2.7,0),COLOR0035FF; STICKLINE(拉高加仓>0,0,筹码集中度*0.33,2.1,0),COLOR0064FF; STICKLINE(拉高加仓>0,0,筹码集中度*0.33,1.5,0),COLOR0093FF; STICKLINE(拉高加仓>0,0,筹码集中度*0.33,0.9,0),COLOR00C2FF; STICKLINE(拉高加仓>0,0,筹码集中度*0.33,0.3,0),COLOR00FFFF;
下跌加仓:IF(筹码集中度>REF(筹码集中度,3) AND
MA(C,20)<REF(MA(C,20),3),1,0),COLORFF0066;
下跌加仓1:STICKLINE(下跌加仓>0,0,筹码集中度*0.33,2.7,0),COLORFF0033; STICKLINE(下跌加仓>0,0,筹码集中度*0.33,2.7,0),COLORFF0066; STICKLINE(下跌加仓>0,0,筹码集中度*0.33,1.5,0),COLORFF0099; STICKLINE(下跌加仓>0,0,筹码集中度*0.33,0.9,0),COLORFF00CC; STICKLINE(下跌加仓>0,0,筹码集中度*0.33,0.3,0),COLORFF00FF;
底:0;
线1:10,COLORWHITE,POINTDOT;
线2:20,COLORFF00FF,POINTDOT;
【通达信】穿越筹码(获利出货码、套牢割肉码)-指标公式效果图
(文档来源:若水财经社区)。