获利筹码通达信指标公式源码

合集下载

筹码峰通达信指标公式源码

筹码峰通达信指标公式源码

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);};虽然是有未来函数的,但是只是获利盘之类的函数,对操作指导没有太大影响,只是给我们预测支撑压力。

通达信指标公式源码 主力筹码 副图源码

通达信指标公式源码 主力筹码 副图源码

首先申明有未来函数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;。

通达信Ⅹ-筹码天机公式源码如下

通达信Ⅹ-筹码天机公式源码如下

通达信Ⅹ-筹码天机公式源码如下通达信Ⅹ-筹码天机公式源码如下:MA3:="MASS.A";MA5:="MASS.B";量能博弈:=(VOL >= HHV(VOL,10));FV:=VOL;量能博弈平台:((REF((((HIGH + LOW) + (3 * CLOSE)) / 5),BARSLAST(量能博弈)) * MA3) / MA5),LINETHICK0,colorFFFFFF;异动雷达:=SUMBARS((REF(FV,1) - FV),0);上:=REF(HIGH,BARSLAST(量能博弈));下:=REF(LOW,BARSLAST(量能博弈));VAR1:=(INBLOCK('A股板块') OR INBLOCK('B股板块'));量能博弈平台上:REF(HIGH,BARSLAST(量能博弈)),LINETHICK0,colorFFFFFF;量能博弈平台下:REF(LOW,BARSLAST(量能博弈)),LINETHICK0,colorFFFFFF;短线超跌:=(MA(CLOSE,14) * 0.9);黄色博弈:=(量能博弈 AND (异动雷达 > 300));蓝色博弈:=(量能博弈 AND BETWEEN(异动雷达,100,300));青色博弈:=((量能博弈AND (((VOL / CAPITAL) * 100) >= 3)) AND (异动雷达 <= 100));筹码分布:=(量能博弈 AND (异动雷达 >= 100));平台上:=REF(HIGH,BARSLAST(筹码分布));平台下:=REF(LOW,BARSLAST(筹码分布));平台:=REF((((HIGH + LOW) + (3 * CLOSE)) / 5),BARSLAST(筹码分布));A1:=REF((HIGH - ((HIGH - LOW) * 0.1)),BARSLAST(筹码分布));A2:=REF((HIGH - ((HIGH - LOW) * 0.2)),BARSLAST(筹码分布));A3:=REF((HIGH - ((HIGH - LOW) * 0.3)),BARSLAST(筹码分布));A4:=REF((HIGH - ((HIGH - LOW) * 0.4)),BARSLAST(筹码分布));A5:=REF((HIGH - ((HIGH - LOW) * 0.5)),BARSLAST(筹码分布));A6:=REF((HIGH - ((HIGH - LOW) * 0.6)),BARSLAST(筹码分布));A7:=REF((HIGH - ((HIGH - LOW) * 0.7)),BARSLAST(筹码分布));A8:=REF((HIGH - ((HIGH - LOW) * 0.8)),BARSLAST(筹码分布));A9:=REF((HIGH - ((HIGH - LOW) * 0.9)),BARSLAST(筹码分布));DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),平台上,'﹌﹌﹌'),ALIGN2,colorFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A1,'﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A2,'﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A3,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A4,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A5,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A6,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A7,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A8,'﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A9,'﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),平台下,'﹌﹌﹌'),ALIGN2,colorFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),平台上,'﹌﹌﹌'),ALIGN1,colorFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A1,'﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A2,'﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A3,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A4,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A5,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A6,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A7,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A8,'﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),A9,'﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),平台下,'﹌﹌﹌'),ALIGN1,colorFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),平台,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND (MA3 = MA5)),平台,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFF;上市首日:=IF((VAR1 = 1),(BARSCOUNT(CLOSE) = 1),0);消失条件:=(COUNT(筹码分布,BARSCOUNT(CLOSE)) = 0);平台上0:=REF(HIGH,BARSLAST(上市首日));平台下0:=REF(LOW,BARSLAST(上市首日));平台0:=REF((((HIGH + LOW) + (3 * CLOSE)) / 5),BARSLAST(上市首日));A10:=REF((HIGH - ((HIGH - LOW) * 0.1)),BARSLAST(上市首日));A20:=REF((HIGH - ((HIGH - LOW) * 0.2)),BARSLAST(上市首日));A30:=REF((HIGH - ((HIGH - LOW) * 0.3)),BARSLAST(上市首日));A40:=REF((HIGH - ((HIGH - LOW) * 0.4)),BARSLAST(上市首日));A50:=REF((HIGH - ((HIGH - LOW) * 0.5)),BARSLAST(上市首日));A60:=REF((HIGH - ((HIGH - LOW) * 0.6)),BARSLAST(上市首日));A70:=REF((HIGH - ((HIGH - LOW) * 0.7)),BARSLAST(上市首日));A80:=REF((HIGH - ((HIGH - LOW) * 0.8)),BARSLAST(上市首日));A90:=REF((HIGH - ((HIGH - LOW) * 0.9)),BARSLAST(上市首日));DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),平台上0,'﹌﹌﹌'),ALIGN2,colorFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A10,'﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A20,'﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A30,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A40,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A50,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A60,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A70,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A80,'﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A90,'﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),平台下0,'﹌﹌﹌'),ALIGN2,colorFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),平台上0,'﹌﹌﹌'),ALIGN1,colorFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A10,'﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A20,'﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A30,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A40,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A50,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A60,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A70,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A80,'﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),A90,'﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFFFF00;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),平台下0,'﹌﹌﹌'),ALIGN1,colorFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),平台0,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFF;DRAWTEXT(((SYSPARAM(1) = BARPOS) AND 消失条件),平台0,'﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFF;台上:=REF(HIGH,BARSLAST(青色博弈));台下:=REF(LOW,BARSLAST(青色博弈));台:=REF((((HIGH + LOW) + (3 * CLOSE)) / 5),BARSLAST(青色博弈));A11:=REF((HIGH - ((HIGH - LOW) * 0.1)),BARSLAST(青色博弈));A21:=REF((HIGH - ((HIGH - LOW) * 0.2)),BARSLAST(青色博弈));A31:=REF((HIGH - ((HIGH - LOW) * 0.3)),BARSLAST(青色博弈));A41:=REF((HIGH - ((HIGH - LOW) * 0.4)),BARSLAST(青色博弈));A51:=REF((HIGH - ((HIGH - LOW) * 0.5)),BARSLAST(青色博弈));A61:=REF((HIGH - ((HIGH - LOW) * 0.6)),BARSLAST(青色博弈));A71:=REF((HIGH - ((HIGH - LOW) * 0.7)),BARSLAST(青色博弈));A81:=REF((HIGH - ((HIGH - LOW) * 0.8)),BARSLAST(青色博弈));A91:=REF((HIGH - ((HIGH - LOW) * 0.9)),BARSLAST(青色博弈));清晰转换A:=(COUNT(CROSS(台,平台),BARSLAST(青色博弈)) = 0);清晰转换B:=(COUNT(CROSS(平台,台),BARSLAST(青色博弈)) = 0);DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),台上,'﹌﹌﹌'),ALIGN2,colorFF;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A11,'﹋'),ALIGN2,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A21,'﹋﹋﹋'),ALIGN2,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A31,'﹋﹋﹋﹋﹋﹋'),ALIGN2,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A41,'﹋﹋﹋﹋﹋﹋﹋﹋﹋'),ALIGN2,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A51,'﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋'),ALIGN2,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A61,'﹋﹋﹋﹋﹋﹋﹋﹋﹋'),ALIGN2,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A71,'﹋﹋﹋﹋﹋﹋'),ALIGN2,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A81,'﹋﹋﹋'),ALIGN2,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A91,'﹋'),ALIGN2,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),台下,'﹌﹌﹌'),ALIGN2,colorFF;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),台上,'﹌﹌﹌'),ALIGN1,colorFF;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A11,'﹋'),ALIGN1,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A21,'﹋﹋﹋'),ALIGN1,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A31,'﹋﹋﹋﹋﹋﹋'),ALIGN1,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A41,'﹋﹋﹋﹋﹋﹋﹋﹋﹋'),ALIGN1,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A51,'﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋﹋'),ALIGN1,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A61,'﹋﹋﹋﹋﹋﹋﹋﹋﹋'),ALIGN1,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A71,'﹋﹋﹋﹋﹋﹋'),ALIGN1,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A81,'﹋﹋﹋'),ALIGN1,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),A91,'﹋'),ALIGN1,colorFF00;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),台下,'﹌﹌﹌'),ALIGN1,colorFF;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),台,'﹌﹌﹌﹌﹌﹌'),ALIGN2,colorFF;DRAWTEXT(((((SYSPARAM(1) = BARPOS) AND 清晰转换A) AND 清晰转换B) AND (MA3 = MA5)),台,'﹌﹌﹌﹌﹌﹌'),ALIGN1,colorFF;现象:=((("CMFB.X1" OR "CMFB.X2") OR "CMFB.X3") OR "CMFB.X4");DRAWICON(((现象 AND BETWEEN(CLOSE,平台下,平台)) AND (MA3 = MA5)),LOW,1);EXPLAIN((现象AND BETWEEN(CLOSE,平台下,平台)),'主仓成本下限\n'),colorFFFF;DRAWICON(((现象 AND BETWEEN(CLOSE,平台上,平台)) AND (MA3 = MA5)),LOW,1);EXPLAIN((现象AND BETWEEN(CLOSE,平台上,平台)),'主仓成本均价\n'),colorFFFF;DRAWICON(((现象AND BETWEEN(CLOSE,平台上,(平台上* 1.03))) AND (MA3 = MA5)),LOW,1);EXPLAIN((现象AND BETWEEN(CLOSE,平台上,(平台上* 1.03))),'主仓成本上限\n'),colorFFFF;DRAWICON((((现象AND (CLOSE > 平台上)) AND BETWEEN(LOW,平台,(平台上 * 1.03))) AND (MA3 = MA5)),LOW,1);EXPLAIN(((现象 AND (CLOSE > 平台上)) AND BETWEEN(LOW,平台上,(平台上 * 1.03))),'主仓成本上限\n'),colorFFFF;本站所有指标公式源码均未测试,如果该公式不可用请点击报错告诉我们,感谢您的支持! 选股公式网打造最全的股票公式网站。

通达信指标公式源码 筹码多空线

通达信指标公式源码 筹码多空线
多空6日:MEMA(多空,6),COLORYELLOW,LINETHICK1;
{换手率}
换手: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;

通达信指标公式源码 通达信筹码一线主图 筹码幅图 无未来 源码

通达信指标公式源码 通达信筹码一线主图 筹码幅图 无未来 源码

DRAWKLINE(H,O,L,C); 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;STICKLINE(ISLASTBAR,HB ,HB ,A1*15 ,0 ),COLORRED;STICKLINE(ISLASTBAR,B31 ,B31 ,A1*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B32 ,B32 ,A2*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B33 ,B33 ,A3*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B34 ,B34 ,A4*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B35 ,B35 ,A5*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B36 ,B36 ,A6*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B37 ,B37 ,A7*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B38 ,B38 ,A8*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B39 ,B39 ,A9*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B310 ,B310 ,A10*15 ,0 ),COLOR666600; STICKLINE(ISLASTBAR,B311 ,B311 ,A11*15 ,0 ),COLOR666600; STICKLINE(ISLASTBAR,B312 ,B312 ,A12*15 ,0 ),COLOR666600; STICKLINE(ISLASTBAR,B313 ,B313 ,A13*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B314 ,B314 ,A14*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B315 ,B315 ,A15*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B316 ,B316 ,A16*15 ,0 ),COLORRED;STICKLINE(ISLASTBAR,B317 ,B317 ,A17*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B318 ,B318 ,A18*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B319 ,B319 ,A19*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B320 ,B320 ,A20*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B321 ,B321 ,A21*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B322 ,B322 ,A22*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B323 ,B323 ,A23*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B324 ,B324 ,A24*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B325 ,B325 ,A25*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B326 ,B326 ,A26*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B327 ,B327 ,A27*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B328 ,B328 ,A28*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B329 ,B329 ,A29*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B330 ,B330 ,A30*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B331 ,B331 ,A31*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B332 ,B332 ,A32*15 ,0 ),COLORRED;STICKLINE(ISLASTBAR,B333 ,B333 ,A33*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B334 ,B334 ,A34*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B335 ,B335 ,A35*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B336 ,B336 ,A36*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B337 ,B337 ,A37*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B338 ,B338 ,A38*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B339 ,B339 ,A39*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B340 ,B340 ,A40*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B341 ,B341 ,A41*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B342 ,B342 ,A42*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B343 ,B343 ,A43*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B344 ,B344 ,A44*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B345 ,B345 ,A45*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B346 ,B346 ,A46*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B347 ,B347 ,A47*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,B348 ,B348 ,A48*15 ,0 ),COLOR666600;STICKLINE(ISLASTBAR,LB ,LB ,A50*15 ,0 ),COLORRED;当前获利筹码:=IF(WINNER(CLOSE),WINNER(CLOSE)*100,0);ZX2:=MIN(A1,MIN(A2,MIN(A3,MIN(A4,MIN(A5,MIN(A6,MIN(A7,MIN(A8,MIN(A9,MIN(A 10,MIN(A11,MIN(A12,MIN(A13,MIN(A14,MIN(A15,MIN(A16,MIN(A17,MIN(A18,MIN(A1 9,MIN(A20,MIN(A21,MIN(A22,MIN(A23,MIN(A24,MIN(A25,MIN(A26,MIN(A27,MIN(A28, MIN(A29,MIN(A30,MIN(A31,MIN(A32,MIN(A33,MIN(A34,MIN(A35,MIN(A36,MIN(A37,M IN(A38,MIN(A39,MIN(A40,MIN(A41,MIN(A42,MIN(A43,MIN(A44,MIN(A45,MIN(A46,MI N(A47,MIN(A48,MIN(A49,A50)))))))))))))))))))))))))))))))))))))))))))))))));筹码最低处:COST(ZX2),COLORMAGENTA;DRAWTEXT(ISLASTBAR,筹码最低处,'筹码最低价'),COLORMAGENTA;ZX1:=MAX(A1*15,MAX(A2*15,MAX(A3*15,MAX(A4*15,MAX(A5*15,MAX(A6*15,MAX(A 7*15,MAX(A8*15,MAX(A9*15,MAX(A10*15,MAX(A11*15,MAX(A12*15,MAX(A13*15,M AX(A14*15,MAX(A15*15,MAX(A16*15,MAX(A17*15,MAX(A18*15,MAX(A19*15,MAX(A 20*15,MAX(A21*15,MAX(A22*15,MAX(A23*15,MAX(A24*15,MAX(A25*15,MAX(A26*15 ,MAX(A27*15,MAX(A28*15,MAX(A29*15,MAX(A30*15,MAX(A31*15,MAX(A32*15,MAX (A33*15,MAX(A34*15,MAX(A35*15,MAX(A36*15,MAX(A37*15,MAX(A38*15,MAX(A39* 15,MAX(A40*15,MAX(A41*15,MAX(A42*15,MAX(A43*15,MAX(A44*15,MAX(A45*15,M AX(A46*15,MAX(A47*15,MAX(A48*15,MAX(A49*15,A50*15)))))))))))))))))))))))))))))))))))) )))))))))))));筹码最集中处:COST(ZX1/15),COLORRED,LINETHICK2;入1:IF(筹码最集中处>REF(筹码最集中处,1),筹码最集中处,DRAWNULL),COLORRED,LINETHICK2;出1:IF(筹码最集中处<REF(筹码最集中处,1),筹码最集中处,DRAWNULL),COLORGREEN,LINETHICK2;DRAWTEXT(ISLASTBAR,筹码最集中处,'筹码集中价'),COLORWHITE;STICKLINE(筹码最集中处>LOW AND 筹码最集中处<HIGH,筹码最集中处,MIN(MIN(OPEN,CLOSE),筹码最集中处),2,0),COLORMAGENTA;STICKLINE(筹码最集中处>MIN(C,O) AND 筹码最集中处<MAX(C,O),筹码最集中处,MIN(OPEN,CLOSE),2,0),COLORMAGENTA;STICKLINE(筹码最集中处>HIGH,OPEN,CLOSE,2,0),COLORMAGENTA;STICKLINE(筹码最集中处>HIGH,HIGH,LOW,0,0),COLORMAGENTA;STICKLINE(筹码最集中处>LOW AND 筹码最集中处<HIGH,筹码最集中处,MIN(MIN(OPEN,CLOSE),筹码最集中处),1.5,0),COLORGREEN;STICKLINE(筹码最集中处>MIN(C,O) AND 筹码最集中处<MAX(C,O),筹码最集中处,MIN(OPEN,CLOSE),2,0),COLORGREEN;STICKLINE(筹码最集中处>HIGH,OPEN,CLOSE,2,0),COLORGREEN;STICKLINE(筹码最集中处>HIGH,HIGH,LOW,0,0),COLORGREEN;筹码幅图公式穿越筹码:ABS(WINNER(CLOSE)-WINNER(OPEN))*100,STICK,COLORDDDDFF;换手率::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;CYC::A5/B4*50,COLORFFFF99;CYD:WINNER(CLOSE)/(VOL/CAPITAL),COLORYELLOW,STICK,LINETHICK4; STICKLINE(A7>30 AND (VOL/CAPITAL*100)<=3,地量换手,0,3,0),COLORWHITE; STICKLINE(RPY<75 AND MYP<30 AND ASR>60 AND 穿越筹码>=24 AND (VOL/CAPITAL*100)<=3 AND C>=O,地量换手,0,10,0),COLORFF00FF; STICKLINE(RPY<75 AND MYP<30 AND ASR>60 AND 穿越筹码>=24 AND (VOL/CAPITAL*100)<=3 AND C< O,地量换手,0,10,0),COLORFFFF33;筹码穿透率:=B6/A6;STICKLINE(筹码穿透率>10 AND CLOSE/REF(CLOSE,1)>=1.05 AND换手率:<=3,地量换手,0,10,0),COLORBLUE;。

筹码主图公式通达信指标公式源码

筹码主图公式通达信指标公式源码

筹码主图公式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;。

通达信筹码分布主图源码指标公式

通达信筹码分布主图源码指标公式

通达信筹码分布主图源码指标公式股票公式不明白请查阅:股票公式文件使用以及说明!{宝塔线}VAR1:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);VAR2:=REF(VAR1,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR3:=REF(VAR2,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR4:=REF(VAR3,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR5:=REF(VAR4,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR6:=REF(VAR5,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR7:=REF(VAR6,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR8:=REF(VAR7,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR9:=REF(VAR8,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARA:=REF(VAR9,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VARB:=REF(VARA,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VARC:=REF(VARB,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),8,0),COLOR0000AA;{红1}STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),6,0),COLOR0000CC;{红1}STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),4,0),COLOR0000DD;{红1}STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),2,0),COLOR0000FF;{红1}STICKLINE(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,CLOSE,REF(CLOSE,1),0,0),COLORYELLOW;{红1}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) ANDCLOSE>=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);STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),8,0),COLOR998855;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),6,0),COLORBBAA77;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),4,0),COLORDDCC99;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,CLOSE,REF(CLOSE,1),2,0),COLORFFEEBB;STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 ORVAR18,CLOSE,REF(CLOSE,1),0,0),COLORCYAN;VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 ORVAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1) AND VAR1;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),8,0),COLOR00 FFFF;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),6,0),COLOR00 C8FF;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),4,0),COLOR10 ECFF;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR10 FFFF;STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),0,0),COLOR10 F0FF;VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 ORVAR8 OR VAR9 OR VARA OR VARB OR VARC,1) AND VARD;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),8,0),COLOR00 D900;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),6,0),COLOR93 FFD1;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),4,0),COLOR93 FF22;STICKLINE(VAR1A,REF(CLOSE,1),REF(CLOSE,2),2,0),COLOR24 FF22;{● 筹码分布主图指标底线:COST(30),COLOR00FF00, LINETHICK2;拉升线:COST(70),COLORFF00FF,LINETHICK2;逃顶线:=COST(90);风险线:=HHV(COST(90),20);VV:=HHV(COST(90),10);XX:=LLV(COST(70),20);市场重心:(HHV(H,0)+LLV(L,0))/2,COLORYELLOW,LINETHICK2; 套牢筹码:STICKLINE(逃顶线<VV,逃顶线,VV,8,0),COLORFFFF00;。

获利筹码通达信指标公式源码

获利筹码通达信指标公式源码
浮动: 100-(获利+套牢)NODRAW;
TJ:=LLV(A02,5)=A02 AND REF(EVERY(A02>150,8),1) AND DOWNNDAY(A02,4);
A:=REF(A02,1)-A02;
昨T:M(TJ1,3);
和T3:=SUM(A02,30)/10;
TJA:=TJ AND 昨T>65 AND 套差T1>80 AND 和T3>470;
TJB:=获利>套牢*3 AND A02>110;
STICKLINE(TJB AND TJA,100,A02,2,0)COLORLIMAGENTA;
DRAWICON(CROSS(0,A06),100,1);
获利筹码通达信指标公式源码 m:=250;n:=30; a01:=(c+o+l+h)/4; a02:=winner(a01)*312; a03:=winner(a01)*261; a04:=a03; a08:=a02-a03; a06:( 100.000 - a02),nodraw; stickline( 1.000,0,a04,2,0),colorred; stickline( 1.000, 100.000,a02,2,0),colorgreen; stickline( 1.000,a04,(100-a06),2,0),coloryellow; a0a:=(((((hhv(a04, 15.000) - a03) / a03) * 100.000) > n) and (hhv(a04, 15.000) > 50.000)); stickline(a0a,(0 - 2.000), 2.000, 4,0),coloryellow; stickline(not(a0a),(0 - 2.000), 2.000, 4,0),colormagenta; 获利:(100-ma(a03,250))nodraw; 套牢: 100.000 - ma(a02,250)nodraw; 浮动: 100-(获利+套牢)nodraw; tj:=llv(a02,5)=a02 and ref(every(a02>150,8),1) and downnday(a02,4); a:=ref(a02,1)-a02; 昨t:=sum(a,3); tj1:=a02-a03; 套差t1:=sum(tj1,3); 和t3:=sum(a02,30)/10; tja:=tj and昨t>65 and套差t1>80 and和t3>470; tjb:=获利>套牢*3 and a02>110; stickline(tjb and tja,100,a02,2,0)colorlimagenta; drawicon(cross(0,a06),100,1); 下载文档原格式( word原格式 ,共1页)

通达信指标公式源码实用的筹码集中度指标选股公式

通达信指标公式源码实用的筹码集中度指标选股公式

实用的筹码集中度指标+选股公式筹码分布及选股公式(原码、附图)源码如下:获利筹码: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(获利筹码,亏损筹码);。

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