【股票指标公式下载】-【通达信】量能分析(量能博弈筹码分布资.

合集下载

【指标公式源码下载】通达信筹码移动指标公式【经典筹码、不看后悔】

【指标公式源码下载】通达信筹码移动指标公式【经典筹码、不看后悔】

通达信筹码移动指标公式【经典筹码、不看后悔】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;。

【股票指标公式下载】-【通达信】量能趋势分析(量能饱和度、老鼠仓、黑马线、趋势线)

【股票指标公式下载】-【通达信】量能趋势分析(量能饱和度、老鼠仓、黑马线、趋势线)

【通达信】量能趋势分析(量能饱和度、老鼠仓、黑马线、趋势线)-指标公式源码量能饱和度:IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(H HV(AMOUNT,20)/HHV(C,20))*100),NODRAW;AA10:MA(CLOSE,8),COLOR0000FF;AA12:MA(CLOSE,12),COLOR0000FF;BB10:=((ATAN((AA10 - REF(AA10,1))) * 3.1416) * 10);BB12:=((ATAN((AA12 - REF(AA12,1))) * 3.1416) * 10);MA13:=MA(CLOSE,13);DRAWBAND(AA10,RGB(150,50,50),AA12,RGB(0,100,50));X1:=(C+L+H)/3;BB13:=ATAN(EMA(X1,13)-REF(EMA(X1,13),1))*3.1416*10;EMA8:=EMA(C,8);DRAWTEXT(FILTER(BB13>1 AND EMA(X1,13)>REF(EMA(X1,8),1),10),EMA8,'∠45上升'),COLORWHITE;压力:MA(REF(HHV(C,30),1),2),COLOR9DFFFF;支撑:MA(REF(LLV(C,30),1),2),COLORABFF46;AA1:=AMOUNT/V;BB1:=L<AA1*0.9;CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,(LOW* 0.99),'老鼠仓'),COLOR4080FF;A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV( L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);黑马线:=EMA(A51,5);A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;趋势线:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));DRAWTEXT(CROSS(趋势线,0)AND 黑马线<40,(HIGH* 0.97),'▲大黑马'),COLORYELLOW;LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背离'),COLORA6E500; DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLOR1880FF;VAR2:=LLV(LOW,27);VAR3:=HHV(HIGH,34);VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*25;注意买:=IF((VAR4<10),80,100);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;超跌:=IF(J<0,10,0);BDDD:=LLV(J,2)=LLV(J,8);买入:=IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20,30,0); DRAWTEXT(买入 AND 注意买=100 AND 超跌=0,LOW,'短线'),COLOR8000FF; MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) ANDCROSS(DX,MA(DX,2)),1,0);DRAWTEXT(FILTER(买=1,5),LOW-0.03,'拉升'),COLORFFDE00;STICKLINE(CLOSE>OPEN,OPEN,LOW,0,0 ),COLOR0000FF;STICKLINE(CLOSE>OPEN,CLOSE,HIGH,0,0 ),COLOR0000FF;STICKLINE(OPEN>=CLOSE,CLOSE,LOW,0,0 ),COLOR00FF00;STICKLINE(OPEN>=CLOSE,OPEN,HIGH,0,0 ),COLOR00FF00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,3,0 ),COLORFF8800;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,2,0 ),COLORFFAA00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,1,0 ),COLORFFCC00;STICKLINE(OPEN>=CLOSE ,CLOSE ,OPEN,0,0 ),COLORFFEE00;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,3,0) ,COLOR000066;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,2,0) ,COLOR000088;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,1,0) ,COLOR0000AA;STICKLINE(CLOSE>OPEN,CLOSE,OPEN,0,0) ,COLOR0000CC;VAR9Q:=C=HHV(C,4) AND (REF(C,1)>=REF(C,2) OR REF(C,1)>=REF(C,3)) OR REF(C,1)=HHV(C,4) AND CLOSE>=REF(C,2) OR REF(C,2)=HHV(C,4) ANDREF(C,3)=LLV(C,4) AND C>=REF(C,1) OR REF(C,3)=HHV(C,4) AND C>=REF(C,1) AND C>=REF(C,2);STICKLINE(VAR9Q,C,(O+C)/2,3,0),COLOR000066;STICKLINE(VAR9Q,C,(O+C)/2,2,0),COLOR000088;STICKLINE(VAR9Q,C,(O+C)/2,1,0),COLOR0000AA;STICKLINE(VAR9Q,C,(O+C)/2,0,0),COLOR0000CC;VARAQ:=C=HHV(C,4) AND REF(C,1)=LLV(C,4);STICKLINE(VARAQ,C,(O+C)/2,3,0),COLORFF22FF;STICKLINE(VARAQ,C,(O+C)/2,2,0),COLORFF44FF;STICKLINE(VARAQ,C,(O+C)/2,1,0),COLORFF66FF;STICKLINE(VARAQ,C,(O+C)/2,0,0),COLORFF88FF;VARBQ:=C=LLV(C,4) AND (REF(C,1)<REF(C,2) OR REF(C,1)<REF(C,3)) OR REF(C,1)=LLV(C,4) AND C<REF(C,2) OR REF(C,2)=LLV(C,4) AND(REF(C,1)>HHV(C,4) OR REF(C,1)<HHV(C,4)) AND C<REF(C,1) ORREF(C,3)=LLV(C,4) AND C<REF(C,1) AND C<REF(C,2);STICKLINE(VARBQ,C,(O+C)/2,3,0),COLOR444444;STICKLINE(VARBQ,C,(O+C)/2,2,0),COLOR666666;STICKLINE(VARBQ,C,(O+C)/2,1,0),COLOR888888;STICKLINE(VARBQ,C,(O+C)/2,0,0),COLORAAAAAA;VARCQ:=REF(C,1)=LLV(C,4) AND C>=REF(C,2) OR REF(C,2)=LLV(C,4) AND REF(C,1)<=REF(C,3) AND REF(C,2)<REF(C,4) AND C>=REF(C,1); STICKLINE(VARCQ,O,(O+C)/2,3,0),COLOR004400;STICKLINE(VARCQ,O,(O+C)/2,2,0),COLOR006600;STICKLINE(VARCQ,O,(O+C)/2,1,0),COLOR008800;STICKLINE(VARCQ,O,(O+C)/2,0,0),COLOR00AA00;VARDQ:=REF(C,1)=HHV(C,4) AND C<REF(C,2) OR (REF(C,2)=HHV(C,4) AND REF(C,1)>REF(C,3) OR REF(C,3)=HHV(C,4) AND REF(C,1)>REF(C,2)) AND REF(C,2)>=REF(C,4) AND C<REF(C,1);STICKLINE(VARDQ,O,(O+C)/2,3,0),COLORFF2200;STICKLINE(VARDQ,O,(O+C)/2,2,0),COLORFF4400;STICKLINE(VARDQ,O,(O+C)/2,1,0),COLORFF6600;STICKLINE(VARDQ,O,(O+C)/2,0,0),COLORFF8800;【通达信】量能趋势分析(量能饱和度、老鼠仓、黑马线、趋势线)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】量能平台(清仓、出货、高抛)

【股票指标公式下载】-【通达信】量能平台(清仓、出货、高抛)

【股票指标公式下载】-【通达信】量能平台(清仓、出货、高抛)【通达信】量能平台(清仓、出货、高抛)-指标公式源码MA5:MA(CLOSE,5);MA10:MA(CLOSE,10);MA20:=MA(CLOSE,20);MA30:MA(CLOSE,30);MA60:MA(CLOSE,60),COLORRED,LINETHICK2;MA144:MA(CLOSE,144),COLOR9F5F9F,LINETHICK2;ZRR:=(YEAR-1992)*365+INTPART((YEAR-1989)/4)+IF(MONTH<=2,DAY+(MONTH-1) *31,DAY+ INTPART(13*(MONTH+1)/5)-7+(MONTH-1)*28+IF(INTPART(YEAR/4)=YEAR/4,1,0) ),NODRAW;T:=BARSLAST(ZRR-REF(ZRR,1)>WEEKDAY-REF(WEEKDAY,1))+1,NODRAW;T1:=REF(T,T)+T,NODRAW;T2:=REF(T,T1)+T1,NODRAW;T3:=REF(T,T2)+T2,NODRAW;T4:=REF(T,T3)+T3,NODRAW;T5:=REF(T,T4)+T4,NODRAW;T6:=REF(T,T5)+T5,NODRAW;T7:=REF(T,T6)+T6,NODRAW;T8:=REF(T,T7)+T7,NODRAW;周5:(REF(CLOSE,T)+REF(CLOSE,T1)+REF(CLOSE,T2)+REF(CLOSE ,T3)+CLOSE)/5,CO LORE6E8FA,LINETHICK2;周10:=(REF(CLOSE,T)+REF(CLOSE,T1)+REF(CLOSE,T2)+REF(CL OSE,T3)+REF(CLOSE ,T4)+REF(CLOSE,T5)+REF(CLOSE,T6)+REF(CLOSE,T7)+REF(CLOSE, T8)+CLOSE)/10,COLORBLUE,LINETHICK2;日跌: L*0.99,NODRAW,COLORFF00FF;周跌: L*0.94,NODRAW,COLORFF00FF;清仓:=1.66*MA(FORCAST(CLOSE,2),40);出货:=1.36*MA(FORCAST(CLOSE,2),40);高抛:=1.16*MA(FORCAST(CLOSE,2),40);低吸:=0.82*MA(FORCAST(CLOSE,2),40);满仓:=0.72*MA(FORCAST(CLOSE,2),40);强通1:=清仓>REF(清仓,1);强通2:=出货>REF(出货,1);强通3:=高抛>REF(高抛,1);强通4:=低吸>REF(低吸,1);强通5:=满仓>REF(满仓,1);上升通道:=强通1 AND 强通2 AND 强通3 AND 强通4 AND 强通5,; 五强:=MA5>REF(MA5,1);十强:=MA10>REF(MA10,1);二十强:=MA20>REF(MA20,1);三十强:=MA30>REF(MA30,1);六十强:=MA60>REF(MA60,1);小均强:=五强 AND 十强;均强:=十强 AND 二十强 AND 三十强;大均强:=十强 AND 二十强 AND 三十强 AND 六十强;JJD:=(H+L+C)/3;强势线1:=HHV(MA((((LOW + HIGH) + CLOSE) / 3),8),60);强势线2:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.18),8),20);强势线3:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.258),8),10);强势线4:=HHV(MA((((LOW + HIGH) + CLOSE) / 3.08),80),13);开始走强1:=强势线1>REF(强势线1,1);开始走强2:=强势线2>REF(强势线2,1);开始走强3:=强势线3>REF(强势线3,1);开始走强4:=强势线4>REF(强势线3,1);双强1:=开始走强1 AND 开始走强2;双强2:=开始走强2 AND 开始走强3;双强3:=开始走强2 AND 开始走强3;双强4:=开始走强3 AND 开始走强4;三强:=开始走强1 AND 开始走强2 AND 开始走强3;四强:=开始走强1 AND 开始走强2 AND 开始走强3 AND 开始走强4; 强势为王:=双强1 OR 双强2 OR 双强3 OR 双强4 OR 三强OR 四强; VV:=(C+L+H)/3;DSA:=SMA(XMA(VV,15),2,1);顶部1:=DSA*1.0888;顶部2:=DSA*1.158;顶部3:=DSA*1.218;底部1:=DSA*0.9518;底部2:=DSA*0.888;底部3:=DSA*0.8;五日走强:=MA5>REF(MA5,1);十日走强:=MA10>REF(MA10,1);二十日走强:=MA20>REF(MA20,1);六十日走强:=MA60>REF(MA60,1);低位主升:=五日走强 AND 十日走强 AND 六十日走强;主升浪:=五日走强 AND 十日走强 AND 二十日走强;大主升浪:=十日走强 AND 二十日走强 AND 六十日走强;大主升浪2:=五日走强 AND 十日走强 AND 二十日走强 AND 六十日走强;总主升:=主升浪 AND 大主升浪 AND 大主升浪2;总主升浪:=低位主升 OR 主升浪 OR 大主升浪 OR 大主升浪2 OR 总主升,;强势主升低买:=L<底部1 AND 总主升浪AND 强势为王AND C<dsa;< bdsfid="139" p=""></dsa;<>猎股小王:=L<底部1 AND C<="">{DRAWICON(猎股小王>0,L*0.97,1);DRAWTEXT(猎股小王>0,L*0.97, '猎'),COLORYELLOW;}猎股大王出击:=强势主升低买AND 猎股小王AND H<dsa;< bdsfid="145" p=""></dsa;<>A:=MA(C,30);A1:=A*1.1;A4:=A*0.9;A2:=A1-(A1-A4)*0.191;持仓:=IF(HIGH*1.01>A2 OR REF(HIGH,1)>REF(A2,1),A1,A4);生命线:=IF(HIGH*1.01>A2 OR REF(HIGH,1)>REF(A2,1),A2,A4);主升持仓:=持仓>生命线,;主升1:=持仓>REF(持仓,1),;主升2:=生命线>REF(生命线,1),;主升:=主升1 AND 主升2,;主升猎股王:=(猎股大王出击 AND 主升持仓 AND 主升) OR (猎股小王 AND 主升持仓 AND 主升);绝对的主升:=(主升猎股王 AND 小均强) OR (猎股小王 AND 小均强); {DRAWICON(绝对的主升>0,L*0.97,1);}Y1:=LLV(L,17);Y2:=SMA(ABS(L-REF(L,1)),17,1);Y3:=SMA(MAX(L-REF(L,1),0),17,2);Q:=-(EMA(IF(L<=Y1,Y2/Y3,-3),1));VAR2:=EXPMA(EXPMA(EXPMA((2*CLOSE+HIGH+LOW)/4,4), 4),4);天:=( MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,2));地:=( MA((VAR2-REF(VAR2,1))/REF(VAR2,1)*100,1));高兴:=STICKLINE(地>天 AND 地<0 AND("KDJ.J"(9,3,3)>REF("KDJ.J"(9,3,3),1) AND"KDJ.D"(9,3,3)<20 AND "KDJ.J"(9,3,3)<20) AND V=LLV(V,10) ANDIF(CROSS(Q,0),1,0),10,0,1,0)=1,COLORRED;{DRAWICON(高兴,L*0.915,1);DRAWTEXT(高兴,L*0.915, '兴'),COLORYELLOW;}HIGHN:=10;LOWN:=10;HIGHDISPLAY:=0;LOWDISPLAY:=0;Z GDISPLAY:=0;MADISPLA Y:=0;AA:=REF(H,HIGHN)=HHV(H,2*HIGHN+1);QY:=BACKSET(AA,HIGHN+1);CC:=FILTER(QY,HIGHN) AND H=HHV(H,HIGHN+1);DRAWICON(CC,H*1.02,2);DDD:=BARSLAST(CC);GDTS:=IF(CC,CURRBARSCOUNT,0);DINGBU:=IF(DDD,REF(H,DDD),H);{顶部}DINGBUTS:=IF(DDD,REF(GDTS,DDD),GDTS);DINGBU1:=REF(DINGBU,DDD+1);GDCS1:=CONST(DINGBUTS);DINGBUTS1:=REF(DINGBUTS,DDD+1);GDCS2:=CONST(DINGBUTS1);DINGBU2:=REF(DINGBU1,DDD+1);MM:=IF(CURRBARSCOUNT>GDCS2,0,1);高压:=DRAWLINE(CURRBARSCOUNT=GDCS2,H,CURRBARSCOUNT =GDCS1,H,1) COLORFF00FF,LINETHICK1;DRAWLINE(CURRBARSCOUNT=GDCS2,H,ISLASTBAR,REF(H, GDCS2-1),1),COLOR0055F F,POINTDOT;DRAWLINE(CURRBARSCOUNT=GDCS1,H,ISLASTBAR,REF(H, GDCS1-1),1),COLORYELLO W,POINTDOT;AA1:=REF(L,LOWN)=LLV(L,2*LOWN+1);QY1:=BACKSET(AA1,LOWN+1);CC1:=FILTER(QY1,LOWN) AND L=LLV(L,LOWN+1);DRAWICON(CC1,L*0.98,1);DD1:=BARSLAST(CC1);DDTS:=IF(CC1,CURRBARSCOUNT,0);YDB:=IF(DD1,REF(L,DD1),L);DDTS1:=IF(DD1,REF(DDTS,DD1),DDTS);DDCS1:=CONST(DDTS1);ZDB:=REF(YDB,DD1+1);DDTS2:=REF(DDTS1,DD1+1);DDCS2:=CONST(DDTS2);低支:=DRAWLINE(CURRBARSCOUNT=DDCS2,L,CURRBARSCOUNT =DDCS1,L,1) COLORFF00FF,LINETHICK1;ZGSTAR:=(高压+低支)/2;ZGEND:=CONST((高压+低支)/2);STARDAY:=IF(DDCS2<gdcs2,ddcs2,gdcs2);< bdsfid="204" p=""></gdcs2,ddcs2,gdcs2);<>中轨:=DRAWLINE(CURRBARSCOUNT=STARDAY,ZGSTAR,ISLAS TBAR,ZGEND,1),COLORFF0 0FF,LINETHICK1;DRAWLINE(CURRBARSCOUNT=DDCS1,L,ISLASTBAR,REF(L,D DCS1-1),1),COLORMAGEN TA,POINTDOT,;DRAWLINE(CURRBARSCOUNT=DDCS2,L,ISLASTBAR,REF(L,D DCS2-1),1),COLORCYAN, POINTDOT;CBFB:=COSTEX(C,REF(C,1));JL:=IF(C>CBFB,V,0);CL:=IF(C<cbfb,v,0);< bdsfid="212" p=""></cbfb,v,0);<>JLH:=SUM(JL,4);CLH:=SUM(CL,4);LHB:=CLH/JLH;TJ1:=IF(HHV(LHB,5)>4 AND CROSS(2,LHB) AND C>=O,1,0);{DRAWICON(TJ1,L*0.93,1);DRAWTEXT(TJ1,L*0.93, '钱'),COLORYELLOW;}N:=5;VAR1:=4*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-3*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3.2,1) ,COLORYELLOW,LINETHICK0;V3:=(CLOSE-LLV(LOW,8))/(HHV(HIGH,8)-LLV(LOW,8))*100;操盘线:=SMA(V3,2,1);V5:=SMA(操盘线,2,1);赢尽天下抄底:=IF(操盘线>REF(操盘线,1) AND REF(操盘线,1)<ref(操盘线,2) and="" 操盘线<23="" ,25,0)="" cross(var1,8);<="" p="" bdsfid="226">。

通达信五合一量能分析指标公式

通达信五合一量能分析指标公式

通达信五合一量能分析指标公式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),COLORRED;减仓4:STICKLINE(多空趋势>=0 AND 多空趋势< REF(多空趋势,1),6,6+多空趋势,1,0), COLORRED;反弹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),'多空'),COLORBLUE;换手:=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), COLORRED;减仓:STICKLINE(主力能量>=0 AND 主力能量< REF(主力能量,1),4.5,4.5+主力能量,1,1), COLORRED;反弹: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),COLORRED;减仓1:STICKLINE(大户能量>=0 AND 大户能量< REF(大户能量,1),3,3+大户能量,1,1), COLORRED;反弹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), COLORRED;减仓2:STICKLINE(中户能量>=0 AND 中户能量< REF(中户能量,1),1.5,1.5+中户能量,1,1), COLORRED;反弹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),COLORRED;减仓3:STICKLINE(散户能量>=0 AND 散户能量< REF(散户能量,1),0,散户能量,1,1), COLORRED;反弹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;。

【股票指标公式下载】-【通达信】趋势动能(资金动能、动能分界、预警、飘买)

【股票指标公式下载】-【通达信】趋势动能(资金动能、动能分界、预警、飘买)

【通达信】趋势动能(资金动能、动能分界、预警、飘买)-指标公式源码WY1001:=(2*CLOSE+HIGH+LOW)/4;WY1002:=EMA(WY1001,4);WY1003:=EMA(WY1002,4);WY1004:=EMA(WY1003,4);资金动能:(WY1004-REF(WY1004,1))/REF(WY1004,1)*100,COLORMAGENTA,LINETHICK2; STICKLINE(资金动能>=0,资金动能,0,3,0),COLOR102088;STICKLINE(资金动能<0,资金动能,0,3,0),COLOR003300;PJGJ:=AMOUNT/VOL/100; SSRYDJX:=MA(PJGJ,13);SSRCJL:=EMA(VOL,13); SSRCJE:=EMA(AMOUNT,13);SSRCBJX:=SSRCJE/SSRCJL/100;CYS13:=(CLOSE-SSRCBJX)/SSRCBJX*100;XYSHSL:=EMA(VOL/CAPITAL*100,13);动能分界:0,COLORLIBLUE,LINETHICK2;STICKLINE(资金动能>=0,资金动能,0,1.5,0),COLOR0000AA;STICKLINE(资金动能<0,资金动能,0,1.5,0),COLORGREEN;STICKLINE(XYSHSL>6.1 AND CYS13>5 ,2 ,0 ,2 ,0 ),COLORGREEN; STICKLINE(资金动能<-0.7,资金动能,0,1.0,0),COLORGREEN;STICKLINE(XYSHSL>2.1 AND CYS13>5 ,1 ,0 ,2 ,0 ),COLOR00AA00; STICKLINE(XYSHSL>1.8 AND CYS13>5 ,0.5 ,0 ,2 ,0 ),COLOR1020BB;XYS1:=MA(资金动能,2); 五日动能:MA(资金动能,5),COLORBROWN,LINETHICK2;买:CROSS(资金动能,五日动能),LINETHICK;预警:=资金动能<-0.30 AND 买;DRAWTEXT(预警,资金动能*1.06,'飘买'),LINETHICK5,COLORYELLOW;【通达信】趋势动能(资金动能、动能分界、预警、飘买)-指标公式效果图(文档来源:若水财经社区)。

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

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

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);。

量能趋势通达信指标公式源码

量能趋势通达信指标公式源码

RV:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;RG:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;J0:=(HIGH+LOW)/2;QJ:=EMA(J0,3);J1:=IF(CLOSE>QJ,VOL,0);J2:=IF(CLOSE<QJ,VOL,0);量能:IF(CAPITAL<1,MA(VOL,74),MA(SUM(J1-J2,22),3)),COLOR00DDDD,NODRAW; 趋势:IF(CAPITAL<1,EMA(量能,360),EMA(量能,21)),COLOR008800,NODRAW; VAR3:=(量能-趋势);VAR44:=SMA(RV,3,1);VAR55:=SMA(VAR44,3,1);STICKLINE(VAR3>0,20,10,5,1),COLOR0000FF;STICKLINE(VAR3<0,100,90,10,1),COLOR00FF00;DRAWICON(CROSS(VAR44,VAR55) AND VAR55<30,2,1);DRAWICON(CROSS(VAR55,VAR44) AND VAR55>30,97,2);DRAWBAND(VAR55,RGB(0,22,224),VAR44,RGB(255,50,50));遵:IF(VAR55>=VAR44,VAR55,DRAWNULL),COLORRED;守:IF(VAR44>=VAR55,VAR44,DRAWNULL),COLORFF9900;纪:IF(VAR55>=VAR44,VAR44,DRAWNULL),COLOR00FFFF;律:IF(VAR44>=VAR55,VAR55,DRAWNULL),COLOR00FF00;KK:=EMA(SMA(RG,3,1),2),LINETHICK0;DD:=SMA(KK,3,1),LINETHICK0;DRAWBAND(KK,RGB(155,50,50),DD,RGB(0,100,50));持:IF(KK>=DD,KK,DRAWNULL),COLORRED;观:IF(DD>=KK,DD,DRAWNULL),COLORFF9900;股:IF(KK>=DD,DD,DRAWNULL),COLOR00FFFF;望:IF(DD>=KK,KK,DRAWNULL),COLOR00FF00;DRAWICON(CROSS(KK,DD),KK,23);DRAWTEXT(CROSS(VAR44,VAR55) AND CROSS(KK,DD),10,'共振'),COLOR00FFFF;共振点:=(CROSS(VAR44,VAR55) AND CROSS(KK,DD));STICKLINE(共振点>0,0,30,2,0),COLOR008888;STICKLINE(共振点>0,0,30,1.5,0),COLOR00AAAA;STICKLINE(共振点>0,0,30,0.8,0),COLOR00DDDD;STICKLINE(共振点>0,0,30,0.3,0),COLOR00FFFF;VAR1:=1;VAR2:=((((2*CLOSE)+HIGH)+LOW) / 4);低金叉进:20,COLORFF00FF,LINETHICK2;高死叉出:90,COLORBLUE,LINETHICK2;VAR4:=LLV(LOW,5);VAR5:=HHV(HIGH,4);C1:=(EMA((((VAR2-VAR4)/(VAR5-VAR4))*100),4)*VAR1),COLORFF00FF,LINETHICK2; C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR1),COLORFFFFFF,LINETHICK2; 条件:=CROSS(C1,C2) AND C1<40;条件0:=CROSS(C2,C1) AND C1>90;TJ1:=CROSS(C1,C2);TJ2:=CROSS(C2,C1);TJ3:=CROSS(C1,C2) AND REF(C1,1)<20;TJ4:=CROSS(C2,C1) AND REF(C1,1)>80;DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)>LOW OR TJ2))OR (REF(条件,2) AND (REF(LOW,2)>LLV(LOW,3) OR TJ2))OR (REF(条件,3) AND (REF(LOW,3)>LLV(LOW,4) OR TJ2)),4),70,'止'),COLORRED; {DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)>LOW OR TJ2))OR (REF(条件,2) AND (REF(LOW,2)>LLV(LOW,3) OR TJ2))OR (REF(条件,3) AND (REF(LOW,3)>LLV(LOW,4) OR TJ2)),4),60,'跌'),COLORRED;} DRAWTEXT(FILTER((REF(条件,1) AND (REF(LOW,1)>LOW OR TJ2)) OR(REF(条件,2) AND (REF(LOW,2)>LLV(LOW,3) OR TJ2))OR (REF(条件,3) AND (REF(LOW,3)>LLV(LOW,4) OR TJ2)),4),65,'买'),COLORRED; DRAWTEXT(条件,20,'买'),COLORRED;STICKLINE(条件,0,20,2,0),COLORRED;DRAWTEXT(条件0,85,'卖'),COLORBLUE;DRAWTEXT(CROSS(C1,75),70,'险区'),COLORGREEN;DRAWTEXT(TJ3,65,'安'),COLORRED;DRAWTEXT(TJ3,60,'买'),COLORRED;DRAWTEXT(TJ4,85,'逃顶'),COLORBLUE;STICKLINE(TJ4,100,80,2,0),COLORGREEN;VAR200:=(CLOSE-LLV(LOW,20))/(HHV(HIGH,20)-LLV(LOW,20))*100; VAR300:=SMA(SMA(VAR200,3,1),3,1)/28.57;VAR400:=EMA(VAR300,5);操盘:=3*VAR300-2*VAR400;A1:=CROSS(操盘,VAR300) AND VAR300<2.1 AND C>O; STICKLINE(A1,20,0,4,0),COLOR770077;STICKLINE(A1,20,0,3,0),COLOR990099;STICKLINE(A1,20,0,2,0),COLORBB00BB;STICKLINE(A1,20,0,1,0),COLORDD00DD;STICKLINE(A1,20,0,0.3,0),COLORFF00FF;DRAWTEXT(A1,30,'财'),COLORFF00FF;★遵守纪律★:100,COLORRED,NODRAW;★交易之魂★:100,COLORRED,NODRAW;。

【股票指标公式下载】-【通达信】量能分析(量能博弈、筹码分布、资金分布、高抛线)

【股票指标公式下载】-【通达信】量能分析(量能博弈、筹码分布、资金分布、高抛线)

【通达信】量能分析(量能博弈、筹码分布、资金分布、高抛线)-指标公式源码量能博弈:=C>REF(C,1) ANDCROSS(VOL,MAX(MA(VOL,5),MAX(MA(VOL,10),MA(VOL,20))));正向博弈平台:REF((HIGH+LOW+3*CLOSE)/5,BARSLAST(量能博弈)+1),NODRAW; 量能博弈平台上:=REF(HIGH,BARSLAST(量能博弈)+1);量能博弈平台下:=REF(LOW,BARSLAST(量能博弈)+1);博弈:=C<REF(C,1) ANDCROSS(VOL,MAX(MA(VOL,5),MAX(MA(VOL,10),MA(VOL,20))));博弈平台A:=REF((HIGH+LOW+3*CLOSE)/5,BARSLAST(博弈)-1);博弈平台B:=REF((HIGH+LOW+3*CLOSE)/5,BARSLAST(博弈));反向博弈平台:MIN(博弈平台A,博弈平台B),NODRAW;博弈平台上A:=REF(HIGH,BARSLAST(博弈)-1);博弈平台上B:=REF(HIGH,BARSLAST(博弈));博弈平台上:=MIN(博弈平台上A,博弈平台上B);博弈平台下A:=REF(LOW,BARSLAST(博弈)-1);博弈平台下B:=REF(LOW,BARSLAST(博弈));博弈平台下:=MIN(博弈平台下A,博弈平台下B);{----------------------------------------------------------}筹码分布:=V=HHV(V,100);异动博弈平台:REF((H+L+3*C)/5,BARSLAST(筹码分布)),NODRAW;异动成本上限:=REF(H,BARSLAST(筹码分布));异动成本下限:=REF(L,BARSLAST(筹码分布));资金分布:=AMOUNT=HHV(AMOUNT,100) AND NOT(筹码分布);资金博弈平台:REF((H+L+3*C)/5,BARSLAST(资金分布)),NODRAW;台上:=REF(H,BARSLAST(资金分布));台下:=REF(L,BARSLAST(资金分布));VAR1:=(C+H+O+L)/4;卖出:=XMA(VAR1,20)*(1+80/1000);买入:=XMA(VAR1,32)*(1-100/1000);{买:CROSS(买入,LOW),NODRAW;卖:CROSS(HIGH,卖出),NODRAW;}{----------------------------------------------------------}DRAWBAND(量能博弈平台上,RGB(248,242,242),量能博弈平台下,RGB(248,242,242));DRAWBAND(博弈平台上,RGB(70,177,63), 博弈平台下,RGB(70,177,63)); DRAWBAND(异动成本上限,RGB(250,249,8),异动成本下限,RGB(250,249,8)); DRAWBAND(台上,RGB(114,2,4),台下,RGB(114,2,4));{=================================================}STICKLINE(C>=O,C,O,3,0),COLOR0000AA;STICKLINE(C>=O,C,O,2.5,0),COLOR0000BB ;STICKLINE(C>=O,C,O,1.5,0),COLOR0000CC ;STICKLINE(C>=O,C,O,1,0),COLOR0000EE;STICKLINE(C>=O,H,L,0,0),COLOR0000FF;STICKLINE(C<=O,C,O,3,0),COLOR7B7B00;STICKLINE(C<=O,C,O,2.5,0),COLOR909000;STICKLINE(C<=O,C,O,1.5,0),COLORA8A800;STICKLINE(C<=O,C,O,1,0),COLORCECE00;STICKLINE(C<=O,H,L,0,0),COLORFFFF00;高抛线:卖出,COLORGREEN,LINETHICK2;低吸线:买入,COLORMAGENTA,LINETHICK2;风险:100*(L-买入)/买入,NODRAW;幅度:100*(卖出-买入)/买入,NODRAW;MA1:=MA(VAR1,3);STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),3,0),COLOR007B00;STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),2,0),COLOR009000;STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖出,MAX(OPEN,CLOSE)),1,0),COLOR00A800;STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),3,0),COLOR007B00;STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),2,0),COLOR090000;STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖出,MAX(OPEN,CLOSE),1,0),COLOR00A800;STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN; STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLOR007B00;STICKLINE(卖出<LOW,OPEN,CLOSE,2,0),COLOR009000;STICKLINE(卖出<LOW,OPEN,CLOSE,1,0),COLOR00A800;STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买入),1.5,0),COLORCC66FF;STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买入,MIN(OPEN,CLOSE),1.5,0),COLORCC66FF;STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),COLORMAGENTA; STICKLINE(买入>HIGH,OPEN,CLOSE,1.5,0),COLORMAGENTA;STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;DRAWICON(CROSS(买入,LOW),LOW*0.95,11);DRAWICON(CROSS(HIGH,卖出),HIGH*1.02,12);【通达信】量能分析(量能博弈、筹码分布、资金分布、高抛线)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】黄金量(顶、底、成交量、换手)

【股票指标公式下载】-【通达信】黄金量(顶、底、成交量、换手)

【通达信】黄金量(顶、底、成交量、换手)-指标公式源码VOLUME:VOL,VOLSTICK;顶:=HHV(V,90);底:=LLV(V,90);地:=底+(顶-底)*0.06;下:=底+(顶-底)*0.28;中:=底+(顶-底)*0.50;上:=底+(顶-底)*0.75;【金】:REFDATE(地,DATE),COLOR00FFFF;【银】:REFDATE(下,DATE),COLORFFFFFF;【铜】:REFDATE(中,DATE),COLORLIRED;【铁】:REFDATE(上,DATE),COLORRED;【顶】:REFDATE(HHV(V,90),DATE),COLORCYAN;MA1:=MA(VOL,5),COLORYELLOW;MA2:=MA(VOL,10),COLORWHITE;MA3:=MA(VOL,20),COLORWHITE;MA4:=MA(VOL,40),COLORMAGENTA;换手:=V*100/CAPITAL;{---------------------------------------------------}新股成交量:IF(BARSCOUNT(CLOSE)<40,VOL,DRAWNULL),VOLSTICK;AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));成交量(手):VOL,COLORWHITE,LINETHICK0;调整周期:IF(MA1<MA4,BARSLAST(CROSS(MA4,MA1))+1,BARSLAST(CROSS(MA4,MA1))-BAR SLAST(CROSS(MA1,MA4))),NODRAW;调整总换手:IF(MA1<MA4,SUM(换手,BARSLAST(CROSS(MA4,MA1))+1),SUM(换手,BARSLAST(CROSS(MA4,MA1))+1)-SUM(换手,BARSLAST(CROSS(MA1,MA4))+1)),NODRAW;调整均换手:调整总换手/调整周期,NODRAW;虚拟成交量:IF(CURRBARSCOUNT=1 ANDPERIOD=5,VOL*240/FROMOPEN,DRAWNULL),NODRAW;放量上涨:C/REF(C,1)>=1.01 AND V/REF(V,1)>=1.5 AND V>MA(V,5) ANDREF(V,1)/REF(MA(V,5),1)<=1.8,NODRAW;{-------------------------------------------------------------} STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚拟成交量,0,4,-1),COLOR00C0C0; 主动买盘:=IF(C>OPEN,AA*(HIGH-LOW),IF(C<OPEN,AA*((HIGH-OPEN)+(C-LOW)),VOL/2) );主动卖盘:=IF(C>OPEN,0-AA*((HIGH-C)+(OPEN-LOW)),IF(C<OPEN,0-AA*(HIGH-LOW),0-VOL/2));STICKLINE(主动买盘>主动卖盘 AND MA1>=MA4,VOL,0,3,0),COLOR0000AA; STICKLINE(主动买盘>主动卖盘 AND MA1>=MA4,主动买盘,0,2.5,0),COLOR0000BB ;STICKLINE(主动买盘>主动卖盘 AND MA1>=MA4,主动买盘,0,1.5,0),COLOR0000CC ;STICKLINE(主动买盘>主动卖盘 AND MA1>=MA4,主动买盘,0,1,0),COLOR0000EE; STICKLINE(主动卖盘<主动买盘 AND MA1>=MA4,主动买盘,主动买盘+ABS(主动卖盘),3,0),COLOR7B7B00;STICKLINE(主动卖盘<主动买盘 AND MA1>=MA4,主动买盘,主动买盘+ABS(主动卖盘),2.5,0),COLOR909000;STICKLINE(主动卖盘<主动买盘 AND MA1>=MA4,主动买盘,主动买盘+ABS(主动卖盘),1.5,0),COLORA8A800;STICKLINE(主动卖盘<主动买盘 AND MA1>=MA4,主动买盘,主动买盘+ABS(主动卖盘),1,0),COLORCECE00;STICKLINE(主动买盘>主动卖盘 AND MA1<MA4,0,主动买盘,3,0),COLORRED; STICKLINE(主动买盘>主动卖盘 AND MA1<MA4,0,主动买盘,2.5,0),COLOR0066FF;STICKLINE(主动买盘>主动卖盘 AND MA1<MA4,0,主动买盘,1.5,0),COLOR0099FF;STICKLINE(主动买盘>主动卖盘 AND MA1<MA4,0,主动买盘,1,0),COLORYELLOW; STICKLINE(主动卖盘<主动买盘 AND MA1<MA4,主动买盘,主动买盘+ABS(主动卖盘),3,0),COLOR007B00;STICKLINE(主动卖盘<主动买盘 AND MA1<MA4,主动买盘,主动买盘+ABS(主动卖盘),2.5,0),COLOR009000;STICKLINE(主动卖盘<主动买盘 AND MA1<MA4,主动买盘,主动买盘+ABS(主动卖盘),1.5,0),COLOR00A800;STICKLINE(主动卖盘<主动买盘 AND MA1<MA4,主动买盘,主动买盘+ABS(主动卖盘),1,0),COLOR00FF00;DRAWICON(放量上涨,0,23);【通达信】黄金量(顶、底、成交量、换手)-指标公式效果图(文档来源:若水财经社区)。

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

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

筹码分布主图通达信指标公式源码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(新势⼒AXA_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),DOTLINE,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);。

【指标公式源码下载】通达信筹码天机主图指标公式【量能博弈、筹码分布、清晰转换】

【指标公式源码下载】通达信筹码天机主图指标公式【量能博弈、筹码分布、清晰转换】

通达信筹码天机主图指标公式【量能博弈、筹码分布、清晰转换】CURR:=CURRBARSCOUNT;量能博弈:=V>=HHV(V,10);量能博弈平台:REF((H+L+3*C)/5,BARSLAST(量能博弈)),LINETHICK1;异动雷达:=SUMBARS(REF(V,1)-V,0);上:=REF(H,BARSLAST(量能博弈));下:=REF(L,BARSLAST(量能博弈));量能博弈平台上:REF(H,BARSLAST(量能博弈)),LINETHICK1;量能博弈平台下:REF(L,BARSLAST(量能博弈)),LINETHICK1;黄色博弈:=量能博弈AND 异动雷达>300;蓝色博弈:=量能博弈AND BETWEEN(异动雷达,100,300);青色博弈:=量能博弈AND V/CAPITAL*100>=3 AND 异动雷达<=100;筹码分布:=量能博弈AND 异动雷达>=100;平台上:=REF(H,BARSLAST(筹码分布));平台下:=REF(L,BARSLAST(筹码分布));平台:=REF((H+L+3*C)/5,BARSLAST(筹码分布));A1:=REF(H-(H-L)*0.1,BARSLAST(筹码分布));A2:=REF(H-(H-L)*0.2,BARSLAST(筹码分布));A3:=REF(H-(H-L)*0.3,BARSLAST(筹码分布));A4:=REF(H-(H-L)*0.4,BARSLAST(筹码分布));A5:=REF(H-(H-L)*0.5,BARSLAST(筹码分布));A6:=REF(H-(H-L)*0.6,BARSLAST(筹码分布));A7:=REF(H-(H-L)*0.7,BARSLAST(筹码分布));A8:=REF(H-(H-L)*0.8,BARSLAST(筹码分布));A9:=REF(H-(H-L)*0.9,BARSLAST(筹码分布));CB1:= BARSCOUNT(C);DRAWTEXT(CURR=CB1,平台上,'㎏㎏㎏') ,COLORRED;DRAWTEXT(CURR=CB1,平台下,'㎏㎏㎏') ,COLORRED;DRAWTEXT(CURR=CB1,平台上,'㎏㎏㎏') ,COLORRED;DRAWTEXT(CURR=CB1,A1,'㎏㎏㎏㎏㎏㎏') ,COLORRED;DRAWTEXT(CURR=CB1,平台下,'㎏㎏㎏') ,COLORRED;DRAWTEXT(CURR=CB1,平台,'㎏㎏㎏㎏㎏㎏㎏㎏㎏㎏㎏㎏') ,COLORRED; DRAWTEXT(CURR=CB1,平台,'㎏㎏㎏㎏㎏㎏㎏㎏㎏㎏㎏㎏') ,COLORRED;上市首日:=IF(1=1,CB1=1,0);消失条件:=COUNT(筹码分布,CB1)=0;平台上0:=REF(H,BARSLAST(上市首日));平台下0:=REF(L,BARSLAST(上市首日));平台0:=REF((H+L+3*C)/5,BARSLAST(上市首日));A10:=REF(H-(H-L)*0.1,BARSLAST(上市首日));A20:=REF(H-(H-L)*0.2,BARSLAST(上市首日));A30:=REF(H-(H-L)*0.3,BARSLAST(上市首日));A40:=REF(H-(H-L)*0.4,BARSLAST(上市首日));A50:=REF(H-(H-L)*0.5,BARSLAST(上市首日));A60:=REF(H-(H-L)*0.6,BARSLAST(上市首日));A70:=REF(H-(H-L)*0.7,BARSLAST(上市首日));A80:=REF(H-(H-L)*0.8,BARSLAST(上市首日));A90:=REF(H-(H-L)*0.9,BARSLAST(上市首日));CB2:= CB1 AND 消失条件;DRAWTEXT(CURR=CB2,平台上0,'㎏㎏㎏') ,COLORFFFFFF;DRAWTEXT(CURR=CB2,平台下0,'㎏㎏㎏') ,COLORFFFFFF;DRAWTEXT(CURR=CB2,平台上0,'㎏㎏㎏') ,COLORFFFFFF;DRAWTEXT(CURR=CB2,平台下0,'㎏㎏㎏') ,COLORFFFFFF;DRAWTEXT(CURR=CB2,平台0,'㎏㎏㎏㎏㎏㎏㎏㎏㎏㎏㎏㎏') ,COLORFFFFFF; DRAWTEXT(CURR=CB2,平台0,'㎏㎏㎏㎏㎏㎏㎏㎏㎏㎏㎏㎏') ,COLORFFFFFF; 台上:=REF(H,BARSLAST(青色博弈));台下:=REF(L,BARSLAST(青色博弈));台:=REF((H+L+3*C)/5,BARSLAST(青色博弈));A11:=REF(H-(H-L)*0.1,BARSLAST(青色博弈));A21:=REF(H-(H-L)*0.2,BARSLAST(青色博弈));A31:=REF(H-(H-L)*0.3,BARSLAST(青色博弈));A41:=REF(H-(H-L)*0.4,BARSLAST(青色博弈));A51:=REF(H-(H-L)*0.5,BARSLAST(青色博弈));A61:=REF(H-(H-L)*0.6,BARSLAST(青色博弈));A71:=REF(H-(H-L)*0.7,BARSLAST(青色博弈));A81:=REF(H-(H-L)*0.8,BARSLAST(青色博弈));A91:=REF(H-(H-L)*0.9,BARSLAST(青色博弈));清晰转换A:=COUNT(CROSS(台,平台),BARSLAST(青色博弈))=0;清晰转换B:=COUNT(CROSS(平台,台),BARSLAST(青色博弈))=0;CB3:= CB1 AND 清晰转换A AND 清晰转换B;DRAWTEXT(CURR=CB3,台上,'㎏㎏㎏') ,COLORYELLOW;DRAWTEXT(CURR=CB3,台下,'㎏㎏㎏') ,COLORYELLOW;DRAWTEXT(CURR=CB3,台上,'㎏㎏㎏') ,COLORYELLOW;DRAWTEXT(CURR=CB3,台下,'㎏㎏㎏') ,COLORYELLOW;DRAWTEXT(CURR=CB3,台,'㎏㎏㎏㎏㎏㎏') ,COLORYELLOW;DRAWTEXT(CURR=CB3,台,'㎏㎏㎏㎏㎏㎏') ,COLORYELLOW;。

大盘研判通达信指标公式源码

大盘研判通达信指标公式源码

大盘研判通达信指标公式源码一、量能指标1.成交量指标(VOL)通达信指标公式源码:VOL:(AMA(CLOSE-CLOSE/REF(CLOSE,1),N)*STD(CLOSE,N)^MA(CLOSE,N)*100\100);注解:该指标用于衡量市场的成交量情况。

公式中的AMA为自适应移动平均指标,REF为引用函数,CLOSE为收盘价,STD为标准差函数,MA为移动平均函数。

2.积分成交量(VOS)通达信指标公式源码:VOS:N==1?(VOL-((^fqj-1+^(fqj-2))^2*(CLOSE-^qsj)/(^hsj-^l1j)^2))*(MAX(CLOSE,LLV(CLOSE,N))-MIN(CLOSE,HHV(CLOSE,N))/(HHV(CLOSE,N)-LLV(CLOSE,N)):\;(VOL-((PRE^fqj-1+PRE^fqj-2)^2*(CLOSE-MA(CLOSE,5))/(HV(N)-LV(N))^2))*(MAX(CLOSE,LLV(CLOSE,5))-MIN(CLOSE,HHV(CLOSE,5)))/(HHV(CLOSE,5)-LLV(CLOSE,5));注解:该指标用于计算成交量与价格的积分情况。

公式中的^fqj、^qsj、^hsj、^l1j分别为前1、2、3、4个交易日的开盘价,最低价,最高价,昨收价,LLV为最低价最低值函数,HHV为最高价最高值函数,PRE为前一个交易日的引用函数,MA为移动平均函数,MAX和MIN为取最大值和最小值函数,HV为最高值函数,LV为最低值函数。

3.游资成本指标通达信指标公式源码:COST:(DMA((CLOSE-CLOSE/REF(CLOSE,1))/HIGH*100,N1)-DMA((REF(CLOSE,1)-REF(CLOSE,2))/REF(CLOSE,1)/HIGH*100,N2))/STD(CLOSE,N)*100;二、趋势指标1.动态趋势指标(DYJ)通达信指标公式源码:DYJ:SMA(MA(CLOSE,41),3);注解:该指标用于计算动态趋势线。

通达信指标公式——至今为止最全的

通达信指标公式——至今为止最全的

通达信指标公式——至今为止最全的通达信指标公式——至今为止最全的{优秀买卖主}{无未来函数,可放心使用}多头线:EMA(C,3),COLORYELLOW;空头线:EMA(C,5),COLOR00FF00;均衡线:EMA(空头线,5),COLORWHITE,;IF(多头线&gt;=REF(多头线,1) AND 多头线&gt;=空头线,多头线,DRAWNULL),COLORRED,LINETHICK3;V AR1:=IF(CLOSE/REF(CLOSE,1)&gt;1.050 ANDHIGH/CLOSE&lt;1.010 ANDIF(CLOSE&gt;REF(CLOSE,1),88,0)&gt;0, 91, 0); STICKLINE(VAR1&gt;90,L,L*0.92,0.1,0),COLORFF00FF; DRAWTEXT(V AR1&gt;90,LOW*0.92,'买'),COLORFF00FF; V AR2:=REF(EMA(DMA((((HIGH + LOW) + (CLOSE * 2)) / 4.09),0.9),3),1);DRAWTEXT(CROSS(CLOSE,V AR2),LOW,'S'),COLORYELL OW;STICKLINE(CROSS(V AR2,CLOSE),H*1.05,H,0.1,0),COLOR WHITE;DRAWTEXT(CROSS(V AR2,CLOSE),HIGH*1.05,'卖'),COLORWHITE;V AR3:=REF(CLOSE,1);V AR4:=SMA(MAX(CLOSE-V AR3,0),6,1)/SMA(ABS(CLOSE-V AR3),6,1)*100;DRAWTEXT(CROSS(84,V AR4),H*1.03,'逃顶'),COLORYELLOW ;V AR5:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);V AR6:=SMA(ABS(LOW-VAR5),13,1)/SMA(MAX(LOW-VAR 5,0),10,1);V AR7:=EMA(V AR6,10);V AR8:=LLV(LOW,33);V AR9:=EMA(IF(LOW&lt;=V AR8,V AR7,0),5);主力进场:=FILTER(V AR9&gt;REF(V AR9,1),5); DRAWTEXT(FILTER(VAR9&gt;REF(V AR9,1),5),LOW*0.995 ,'☆↑'),COLOR0000FF;DRAWTEXT(FILTER(VAR9&gt;REF(V AR9,1),5),LOW*0.96,'主力进场'),COLOR0000FF;STICKLINE(FILTER(V AR9&gt;REF(V AR9,1),5),CLOSE,OPE N,1,0),COLOR0000FF;STICKLINE(FILTER(V AR9&gt;REF(V AR9,1),5),LOW,HIGH, 1,0),COLOR0000FF;DRAWTEXT(FILTER(V AR5&gt;REF(V AR5,1),5),LOW*1.08,'主力出场'),COLOR70DB93;STICKLINE(FILTER(V AR5&gt;REF(V AR5,1),5),LOW,HIGH, 1,0),COLOR70DB93;{----------------------------------------------------------}{BIAS18}N1 :=6;N2:=18;N3:=36;BIAS1 :(CLOSE-MA(CLOSE,N1))/MA(CLOSE,N1)*100; BIAS2 :(CLOSE-MA(CLOSE,N2))/MA(CLOSE,N2)*100,COL ORRED,LINETHICK2;BIAS3 :(CLOSE-MA(CLOSE,N3))/MA(CLOSE,N3)*100,COL ORBLUE;{----------------------------------------------------------}{买卖准推荐}N1:=6;N2:=18;N3:=36;BIAS6 :(CLOSE-MA(CLOSE,N1))/MA(CLOSE,N1)*600+300; BIAS18:(CLOSE-MA(CLOSE,N2))/MA(CLOSE,N2)*600+300 ,COLORMAGENTA,LINETHICK1;BIAS36 :(CLOSE-MA(CLOSE,N3))/MA(CLOSE,N3)*600+30 0,COLORBLUE;{上面增加BIAS}V AR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);V AR2:=HIGH-REF(HIGH,1);V AR3:=REF(LOW,1)-LOW;V AR4:=SUM(IF(V AR2&gt;0 ANDV AR2&gt;V AR3,V AR2,0),25);V AR5:=SUM(IF(V AR3&gt;0 ANDV AR3&gt;V AR2,V AR3,0),25);V AR6:=V AR4*100/V AR1;V AR7:=V AR5*100/V AR1;V AR8:=MA(ABS(V AR7-V AR6)/(V AR7+V AR6)*100,15);V AR9:=(V AR8+REF(V AR8,15))/2;A:=(V AR7&gt;V AR6 AND V AR7&gt;25 AND V AR6&lt;25); B:ZIG(3,50/5)*100,COLORRED;G:MA(B,2),COLORYELLOW;D:=CROSS(B,G)*1000,COLORRED;W:=CROSS(G,B)*1000,COLORBLUE;操盘:IF(B&gt;G,(B-G)*18,0),LINESTICK,COLORRED;观望:IF(B&lt;G,(G-B)*18,0),LINESTICK,COLORGREEN; E:=REF(INDEXC,1);F:=SMA(MAX(INDEXC-E,0),3,1)/SMA(ABS(INDEXC-E),3,1 );V AR10:=F AND F&lt;8;V AR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9) )*100;V AR12:=SMA(VAR11,3,1);V AR13:=SMA(VAR12,3,1);V AR14:=V AR13 AND V AR13&lt;20;MM:=A AND D AND V AR10 AND V AR14 ;DRAWTEXT(W=1000,B*1.05,'★卖' ),COLOR00FF00; DRAWTEXT(D=1000,B*1.05,'★买'),COLORRED;{-------------------------------------------------------------}{直效主图}{INPUT:N(10,1,150),CX(1,1,2);}MA06:MA(C,6),COLORMAGENTA,POINTDOT;MA18:MA(C,18),LINESTICK,COLOR880000,,LINETHICK2; IF(MA06&gt;=REF(MA06,1),MA06,DRAWNULL),COLOR00 00CC,LINETHICK2;IF(MA06&lt;REF(MA06,1) ANDCX=1,MA06,DRAWNULL),COLOR009900,LINETHICK2; IF(MA18&gt;=REF(MA18,1) ANDCX=2,MA18,DRAWNULL),COLOR0000CC,LINETHICK2; IF(MA18&lt;REF(MA18,1) ANDCX=2,MA18,DRAWNULL),COLOR009900,LINETHICK2; BZA06:=BARSLAST(C&lt;MA06);BZB06:=BARSLAST(MA06&lt;REF(MA06,1));BZA18:=BARSLAST(C&lt;MA18);BZB18:=BARSLAST(MA18&lt;REF(MA18,1));BDA06:=BARSLAST(C&gt;MA06);BDB06:=BARSLAST(MA06&gt;REF(MA06,1));BDA18:=BARSLAST(C&gt;MA18);BDB18:=BARSLAST(MA18&gt;REF(MA18,1));V06:MA(VOL,6),COLOR6666CC,NODRAW;V36:MA(VOL,36),COLORFFCC00,NODRAW;VVOL:V,COLORFF00FF,NODRAW;A1:=REF(C,N)=HHV(C,2*N+1);B1:=FILTER(A1,N);C1:=BACKSET(B1,N+1);HD:=FILTER(C1,N);A2:=REF(C,N)=LLV(C,2*N+1);B2:=FILTER(A2,N);C2:=BACKSET(B2,N+1);LD:=FILTER(C2,N);A:=REF(C,BARSLAST(HD)); B:=REF(C,BARSLAST(LD)); T1:=BARSLAST(HD)&lt;BARSLAST(LD) AND NOT(HD) ; T2:=BARSLAST(HD)&gt;BARSLAST(LD) ANDNOT(LD);IF(T1,A,DRAWNULL),COLORCC6600,LINETHIC K2;IF(T2,B,DRAWNULL),COLORDDDDDD,LINETHICK2;IF(T1,A*0.9,DRAWNULL),COLORCC6600,LINETHICK1;IF(T2,B*1.1,DRAWNULL),COLORDDDDDD,LINETHICK1; YIN1:=BDA06&gt;=2 AND BDB06=1 AND CX=1;YIN2:=BDA18&gt;=2 AND BDB18=1 AND CX=2;YIN3:=BZA06&gt;=2 AND BZB06=1 AND V06&gt;V36 AND CX=1;YIN4:=BZA06&gt;=2 AND BZB06=1 AND V06&gt;V36 AND CX=2;DRAWTEXT(YIN1 OR YIN2,H*1.05,'卖出'),COLOR00FFFF; DRAWTEXT(YIN3 OR YIN4,L*0.95,'买入'),COLOR00FF00; {-----------------------------------------------------------------}{成交天机--通达信}A股:CAPITAL/1000000,LINETHICK0,COLORWHITE;实际量:VOL,LINETHICK0;{V AR1:=DYNAINFO(17)*REF(MA(VOL,5),1);V AR2:=DYNAINFO(7)=CLOSE ANDDYNAINFO(10)=AMOUNT;预测:=IF(DYNAINFO(7)=CLOSE ANDDYNAINFO(10)=AMOUNT,V AR1,V AR2)/10000;预测量:STICKLINE(IF(DYNAINFO(7)=CLOSE AND DYNAINFO(10)=AMOUNT,V AR1,V AR2),V AR1,0,7,1),COLORGRAY;}AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主买:IF(CLOSE&gt;OPEN,AA*(HIGH-LOW),IF(CLOSE&lt;OP EN,AA*((HIGH-OPEN)+(CLOSE-LOW)),VOL/2)),POINTDO T,COLORRED;主卖:IF(CLOSE&gt;OPEN,0-AA*((HIGH-CLOSE)+(OPEN-LO W)),IF(CLOSE&lt;OPEN,0-AA*(HIGH-LOW),0-VOL/2)),LIN ETHICK0,COLORGREEN;换手率%:VOL/CAPITAL*100,POINTDOT,COLORWHITE; STICKLINE(C&gt;=REF(C,1) ,0,VOL,2.5,1),COLORRED; STICKLINE(C&lt;REF(C,1),0,VOL,2.5,1),COLORGREEN; STICKLINE(主买&gt;0,0,主买,2.5,0),COLORRED; STICKLINE(主卖&lt;0 ,0,主卖,2.5,0),COLORGREEN;资金异动:VOL/MA(VOL,55)*100,COLORYELLOW; STICKLINE(资金异动&gt;100 ,0,VOL,0.6,0),COLORYELLOW;MA5:MA(V,5),COLORWHITE;MA13:MA(V,13),COLORRED;DRAWTEXT(CROSS(MA5,MA13),(V *1.05),'★'),COLORYELLOW;MA6:MA(V,6),COLORMAGENTA,LINETHICK2;MA36:MA(V,36),COLORBLUE,LINETHICK2;{---------------------------------------------------------------------} {买卖决策}{强烈推荐,超准好指标}来势线:EMA(CLOSE,7)-EMA(CLOSE,21),COLORYELLOW;福星: EMA(来势线,7), COLORSTICK,COLORRED;V AR00:=CLOSE/REF(LLV(LOW,35),5)&lt; 1;决策: IF(V AR00,0.5,0), STICK,COLORBLUE;必买: IF(TROUGHBARS(3,15,1)=0 ANDHIGH&gt;LOW+0.01,1,-1),COLORYELLOW ,LINETHICK1 ; 必卖:IF(PEAKBARS(3,15,1)=1,1,2),COLORWHITE,LINETHICK1; 趋势线:(EMA(WINNER(CLOSE),7)-EMA(WINNER(CLOSE),35))*5, COLORRED;逃顶线:EMA(CLOSE/REF(HHV(CLOSE,7),50),1),COLOR00FF00 ,LI NETHICK1 ;{---------------------------------------------------------------------}[今日操盘必读四大热点] [天天热点周周劲暴] [聚焦国有金融企业高管限薪令]<span id="HTML_quotebody40754540" value="[B]以下是引用md20090615在2009-9-9 7:50:14的发言:[/B]通达信软件在股民当中使用率还是比较高得,从这些指标公式中就能看出,股民对通达信的操作及解读相当透彻的,这一系列指标公式也是相当的精准实用,股民在解读通达信指标公式专题时,不但能认识到自己在操作上的不足,也能很好的学习到了前辈的经验及技巧。

通达信 筹码 指标公式

通达信 筹码 指标公式

通达信筹码指标公式
通达信是一种常用的股票分析软件,其中包含了丰富的技术指标供投资者使用。

其中一个重要的指标就是筹码指标,它可以帮助投资者了解市场上的资金流动情况,进而做出更准确的交易决策。

筹码指标是通过分析成交量和价格走势来判断市场的投资热度和资金流向的指标。

它主要包括主力资金流入指标和散户资金流入指标两个方面。

主力资金流入指标用来判断大资金的进出情况。

当股票价格上涨且成交量放大时,说明大资金正在买入该股票,市场投资热度较高。

反之,当股票价格下跌且成交量放大时,说明大资金正在卖出该股票,市场投资热度较低。

通过观察主力资金的流入情况,投资者可以判断市场上的主力资金动向,从而把握市场的方向。

散户资金流入指标用来判断散户投资者的情绪和行为。

散户资金流入指标是通过计算散户成交量与散户净买入量的比值得出的。

当散户成交量增加且散户净买入量增加时,说明散户资金在市场上的活跃度较高,市场投资热度较高。

反之,当散户成交量增加且散户净买入量减少时,说明散户资金在市场上的活跃度较低,市场投资热度较低。

通过观察散户资金的流入情况,投资者可以了解散户投资者的情绪和行为,从而判断市场的短期走势。

筹码指标的计算公式较为复杂,主要包括成交量、价格和时间等因
素。

在通达信软件中,投资者可以直接调取筹码指标进行分析,无需手动计算。

筹码指标是股票分析中的重要工具,可以帮助投资者了解市场的投资热度和资金流向。

通过观察主力资金和散户资金的流入情况,投资者可以更准确地判断市场的走势,从而做出更明智的投资决策。

【股票指标公式下载】-【通达信】筹码分布控盘(高度控盘、主力控盘)

【股票指标公式下载】-【通达信】筹码分布控盘(高度控盘、主力控盘)

【通达信】筹码分布控盘(高度控盘、主力控盘)-指标公式源码HH:90;KKK:=60;DRAWTEXT(ISLASTBAR,65,' ■高度控盘'),COLORMAGENTA;DRAWTEXT(ISLASTBAR,55,' ■主力控盘'),COLOR0000FF;DRAWTEXT(ISLASTBAR,45,' ■无庄控盘'),COLORFFFFFF;DRAWTEXT(ISLASTBAR,32,' ■主力出货'),COLOR00FF00;DRAWTEXT(ISLASTBAR,20,' ■开始控盘'),COLOR00FFFF;DRAWTEXT(ISLASTBAR,8,' ■渐强走势'),COLOR4B50F8;DRAWTEXT(ISLASTBAR,-5,' ■超强走势'),COLOR4F06C8;DRAWTEXT(ISLASTBAR,-16,' ■开始变盘'),COLORFFFF00;VAR1:=EMA(EMA(CLOSE,9),9);控盘:=(VAR1-REF(VAR1,1))/REF(VAR1,1)*1000;STICKLINE(控盘<0,KKK*控盘,0,0,0),COLORWHITE;A10:=CROSS(控盘,0);无庄:=IF(控盘<0,控盘,0);开始控盘:IF(A10,50,0),LINETHICK1,COLORYELLOW;STICKLINE(控盘>REF(控盘,1) AND 控盘>0,KKK*控盘,0,0,0),COLORRED;有庄:=IF(控盘>REF(控盘,1) AND 控盘>0,控盘,0);VAR2:=100*WINNER(CLOSE*0.95);STICKLINE(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,KKK*控盘,0,1,0),COLORFF00FF;高控:=IF(VAR2>50 AND COST(85)<CLOSE AND 控盘>0,控盘,0);STICKLINE(控盘<REF(控盘,1) AND 控盘>0,KKK*控盘,0,0,0),COLOR00FF00; 出货:=IF(控盘<REF(控盘,1) AND 控盘>0,控盘,0);L1:=(EMA(CLOSE,3) - EMA(CLOSE,13));L2:=EMA(L1,9);L3:=BARSLAST(CROSS(L1,L2));L4:=REF(L3,L3+1);L5:=L2;变盘:=CROSS(L1,L2) AND L5;STICKLINE(变盘,-8,0,1,0),COLORFFFF00;DIFF:=(EMA(CLOSE,12)-EMA(CLOSE,26))*20;DEA:=EMA(DIFF,9);DIFL:=EMA(V,12)-EMA(V,26);DIF:=EMA(C,12)-EMA(C,26);BL:=DIFL>REF(DIFL,1) AND DIF<REF(DIF,1);四天:=REF(BL,3)=1 AND REF(BL,2)=1 AND REF(BL,1)=1 AND BL;三天:=REF(BL,2)=1 AND REF(BL,1)=1 AND BL;强势:=KKK*IF(DIFF>DEA,DIFF,0);STICKLINE(强势,-8,0,1,0),COLOR4F06C8;渐强:=KKK*IF(DIFF>DEA AND DIFF<0,DIFF,0);STICKLINE(渐强,-8,0,1,0),COLOR4B50F8;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);DRAWICON(FILTER(CROSS(K,D) AND D<26,6),2,1);【通达信】筹码分布控盘(高度控盘、主力控盘)-指标公式效果图(文档来源:若水财经社区)。

【股票指标公式下载】-【通达信】能量公式(成交、买盘、卖盘)

【股票指标公式下载】-【通达信】能量公式(成交、买盘、卖盘)

【通达信】能量公式(成交、买盘、卖盘)-指标公式源码{N 1.00 100.00 15.0}M1:=5;M2:=10;M3:=20;M4:=60;SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,N)/HHV(C,N))*100>100,100,(AMOUNT/C)/(H HV(AMOUNT,N)/HHV(C,N))*100);能量:=SAT,VOLSTICK;DRAWTEXT(FILTER(SAT>=100,100),VOL*1.06,'爆'),COLORRED;DRAWTEXT(SAT=100 AND ISLASTBAR,VOL*1.03,'发'),COLORYELLOW;VAR1:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN))));成交:=VOL;买盘:=IF((CLOSE > OPEN),(VAR1 * (HIGH - LOW)),IF((CLOSE < OPEN),(VAR1 * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2)));卖盘:=IF((CLOSE > OPEN),(0 - (VAR1 * ((HIGH - CLOSE) +(OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (VAR1 * (HIGH - LOW))),(0 - (VOL / 2))));买卖差:=(买盘 + 卖盘);STICKLINE((买卖差 < 0),0,买卖差,3,0),LINETHICK3,COLOR339933; STICKLINE((买卖差 < 0),0,买卖差,2,0),LINETHICK3,COLOR33AA33; STICKLINE((买卖差 < 0),0,买卖差,1,0),LINETHICK3,COLOR33DD33; STICKLINE((买卖差 < 0),0,买卖差,0.5,0),LINETHICK3,COLOR33FF33;量比1:=(VOL / MA(VOL,5));VAR10:=买盘;VAR20:=卖盘;JX1:=BARSSINCE(买盘);JY1:=IF(((121 > JX1) AND (JX1 > 0)),JX1,120);JY2:=IF(((4 > JX1) AND (JX1 > 0)),JX1,3);VAR30:=MA(VOL,JY2);动神:=买盘;鬼力:=VAR20;神比:=(动神 / VAR30);鬼比:=(鬼力 / VAR30);VAR2:=(HIGH - LOW);VAR3:=ABS((OPEN - CLOSE));VAR4:=(HIGH - IF((CLOSE > OPEN),CLOSE,OPEN));VAR5:=(IF((CLOSE > OPEN),OPEN,CLOSE) - LOW);VAR6:=((VAR3 / VAR2) * VOL);VAR7:=((VAR4 / VAR2) * VOL);VAR8:=((VAR5 / VAR2) * VOL);VAR9:=IF(((VOL / CAPITAL) > 0.001),1,EXP(ABS(LOG(((VOL / CAPITAL) * 100)))));VARA:=(((CLOSE - MA(CLOSE,5)) / MA(CLOSE,5)) * 100);VARB:=(((MA(CLOSE,5) > MA(CLOSE,10)) AND (MA(CLOSE,10) > MA(CLOSE,30))) AND (MA(CLOSE,30) > MA(CLOSE,60)));VARC:=((MA(CLOSE,5) < MA(CLOSE,10)) AND (MA(CLOSE,10) < MA(CLOSE,30))); VARD:=REF(CLOSE,1);VARE:=((SMA(MAX((CLOSE - VARD),0),6,1) / SMA(ABS((CLOSE - VARD)),6,1)) * 100);VAR40:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE > OPEN)),VAR6,动神) + 动神) / 2);VAR41:=((IF(((VAR7 > VAR6) AND (VAR7 > VAR8)),VAR7,动神) + 动神) / 2); VAR42:=((IF(((VAR8 > VAR6) AND (VAR8 > VAR7)),VAR8,动神) + 动神) / 2); VAR50:=((IF((((VAR6 >= VAR7) AND (VAR6 >= VAR8)) AND (CLOSE < OPEN)),VAR6,鬼力) + 鬼力) / 2);三日上攻:=MA((((VAR40 + VAR41) + VAR42) / 3),JY2);三日下攻:=MA(VAR50,JY2);多头:STICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,3,0),COLOR000088; STICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,2,0),COLOR0000AA;STICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,1,0),COLOR0000DD;STICKLINE((CLOSE > MA(CLOSE,30)),0,VOL,0.5,0),COLOR0000FF;空头:STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,3,0),COLOR008800; STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,2,0),COLOR00AA00;STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,1,0),COLOR00DD00;STICKLINE((CLOSE < MA(CLOSE,30)),0,VOL,0.5,0),COLOR00FF00; STICKLINE((鬼力 > 0),鬼力,0,4,0),COLORFF3399;加仓:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8))AND (CLOSE > OPEN)),0,VAR6,3,0),COLOR880088;STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8))AND (CLOSE > OPEN)),0,VAR6,2,0),COLORAA00AA;STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8))AND (CLOSE > OPEN)),0,VAR6,1,0),COLORDD00DD;STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8))AND (CLOSE > OPEN)),0,VAR6,0.5,0),COLORFF00FF;减仓:STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8))AND (CLOSE < OPEN)),0,VAR6,3,0),COLOR880000;STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8))AND (CLOSE < OPEN)),0,VAR6,2,0),COLORBB0000;STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8))AND (CLOSE < OPEN)),0,VAR6,1,0),COLORDD0000;STICKLINE((((VAR6 >= VAR7) AND (VAR6 >= VAR8))AND (CLOSE < OPEN)),0,VAR6,0.5,0),COLORFF0000;洗盘:STICKLINE(((VAR8 > VAR6) AND (VAR8 >VAR7)),0,VAR8,3,0),COLOR999999;STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,2,0),COLORAAAAAA; STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,1,0),COLORDDDDDD; STICKLINE(((VAR8 > VAR6) AND (VAR8 > VAR7)),0,VAR8,0.6,0),COLORFFFFFF; 高卖:STICKLINE(((VAR7 > VAR6) AND (VAR7 >VAR8)),0,VAR7,3,0),COLOR008888;STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,2,0),COLOR00AAAA; STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,1,0),COLOR00DDDD; STICKLINE(((VAR7 > VAR6) AND (VAR7 > VAR8)),0,VAR7,0.5,0),COLOR00FFFF; 相对地量:=STICKLINE(((VAR9 > 2) AND (VOL < (MA(VOL,5) / 2))),0,VOL,3,0); 白进:1,LINETHICK0,COLORWHITE;黄警:1,NODRAW,COLOR00FFFF;粉追:2,NODRAW,COLORFF00FF;兰绿卖:3,NODRAW,COLOR00FF00;MAV1:MA(V,M1),LINETHICK1,COLOR00FFFF;MAV2:=MA(V,M2),LINETHICK1,COLORFF00FF;IF(MA(V,5)>=REF(MA(V,5),1),MA(V,5),DRAWNULL),COLORRED,LINETHICK2;【通达信】能量公式(成交、买盘、卖盘)-指标公式效果图(文档来源:若水财经社区)。

通达信多空量能趋势指标公式

通达信多空量能趋势指标公式

通达信多空量能趋势指标公式
N:=20;
P:=30;
K:=10;
正量能:MA(100*(L- LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),3),COLORYELLOW,LINETHICK1;
负量能:MA(-100*(L- LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N)),3),COLORWHITE,LINETHICK1;
正趋势: EMA(100*(L-LLV(LOW,P))/(HHV(HIGH,P)-LLV(LOW,P)),K)/2,COLORRED;
负趋势: EMA(-100*(L-LLV(LOW,P))/(HHV(HIGH,P)-LLV(LOW,P)),K)/2,COLORGREEN;
N赋值:20
P赋值:30
K赋值:10
输出正量能:100*(最低价-N日内最低价的最低值)/(N日内最高价的最高值-N日内最低价的最低值)的3日简单移动平均,画黄色,线宽为1
输出负量能:-100*(最低价-N日内最低价的最低值)/(N日内最高价的最高值-N日内最低价的最低值)的3日简单移动平均,画白色,线宽为1
输出正趋势: 100*(最低价-P日内最低价的最低值)/(P日内最高价的最高值-P日内最低价的最低值)的K日指数移动平均/2,画红色输出负趋势: -100*(最低价-P日内最低价的最低值)/(P日内最高价的最高值-P日内最低价的最低值)的K日指数移动平均/2,画绿色。

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

【通达信】量能分析(量能博弈、筹码分布、资金分布、高抛线)-指标公式源码
量能博弈:=C>REF(C,1) AND
CROSS(VOL,MAX(MA(VOL,5),MAX(MA(VOL,10),MA(VOL,20))));
正向博弈平台:REF((HIGH+LOW+3*CLOSE)/5,BARSLAST(量能博弈)+1),NODRAW; 量能博弈平台上:=REF(HIGH,BARSLAST(量能博弈)+1);
量能博弈平台下:=REF(LOW,BARSLAST(量能博弈)+1);
博弈:=C<REF(C,1) AND
CROSS(VOL,MAX(MA(VOL,5),MAX(MA(VOL,10),MA(VOL,20))));
博弈平台A:=REF((HIGH+LOW+3*CLOSE)/5,BARSLAST(博弈)-1);
博弈平台B:=REF((HIGH+LOW+3*CLOSE)/5,BARSLAST(博弈));
反向博弈平台:MIN(博弈平台A,博弈平台B),NODRAW;
博弈平台上A:=REF(HIGH,BARSLAST(博弈)-1);
博弈平台上B:=REF(HIGH,BARSLAST(博弈));
博弈平台上:=MIN(博弈平台上A,博弈平台上B);
博弈平台下A:=REF(LOW,BARSLAST(博弈)-1);
博弈平台下B:=REF(LOW,BARSLAST(博弈));
博弈平台下:=MIN(博弈平台下A,博弈平台下B);
{----------------------------------------------------------}
筹码分布:=V=HHV(V,100);
异动博弈平台:REF((H+L+3*C)/5,BARSLAST(筹码分布)),NODRAW;
异动成本上限:=REF(H,BARSLAST(筹码分布));
异动成本下限:=REF(L,BARSLAST(筹码分布));
资金分布:=AMOUNT=HHV(AMOUNT,100) AND NOT(筹码分布);
资金博弈平台:REF((H+L+3*C)/5,BARSLAST(资金分布)),NODRAW;
台上:=REF(H,BARSLAST(资金分布));
台下:=REF(L,BARSLAST(资金分布));
VAR1:=(C+H+O+L)/4;
卖出:=XMA(VAR1,20)*(1+80/1000);
买入:=XMA(VAR1,32)*(1-100/1000);
{买:CROSS(买入,LOW),NODRAW;
卖:CROSS(HIGH,卖出),NODRAW;}
{----------------------------------------------------------}
DRAWBAND(量能博弈平台上,RGB(248,242,242),量能博弈平台
下,RGB(248,242,242));
DRAWBAND(博弈平台上,RGB(70,177,63), 博弈平台下,RGB(70,177,63)); DRAWBAND(异动成本上限,RGB(250,249,8),异动成本下限,RGB(250,249,8)); DRAWBAND(台上,RGB(114,2,4),台下,RGB(114,2,4));
{=================================================}
STICKLINE(C>=O,C,O,3,0),COLOR0000AA;
STICKLINE(C>=O,C,O,2.5,0),COLOR0000BB ;
STICKLINE(C>=O,C,O,1.5,0),COLOR0000CC ;
STICKLINE(C>=O,C,O,1,0),COLOR0000EE;
STICKLINE(C>=O,H,L,0,0),COLOR0000FF;
STICKLINE(C<=O,C,O,3,0),COLOR7B7B00;
STICKLINE(C<=O,C,O,2.5,0),COLOR909000;
STICKLINE(C<=O,C,O,1.5,0),COLORA8A800;
STICKLINE(C<=O,C,O,1,0),COLORCECE00;
STICKLINE(C<=O,H,L,0,0),COLORFFFF00;
高抛线:卖出,COLORGREEN,LINETHICK2;
低吸线:买入,COLORMAGENTA,LINETHICK2;
风险:100*(L-买入)/买入,NODRAW;
幅度:100*(卖出-买入)/买入,NODRAW;
MA1:=MA(VAR1,3);
STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖
出,MAX(OPEN,CLOSE)),3,0),COLOR007B00;
STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖
出,MAX(OPEN,CLOSE)),2,0),COLOR009000;
STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,MAX(卖
出,MAX(OPEN,CLOSE)),1,0),COLOR00A800;
STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖
出,MAX(OPEN,CLOSE),3,0),COLOR007B00;
STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖
出,MAX(OPEN,CLOSE),2,0),COLOR090000;
STICKLINE(卖出>MIN(C,O) AND 卖出<MAX(C,O),卖
出,MAX(OPEN,CLOSE),1,0),COLOR00A800;
STICKLINE(卖出>LOW AND 卖出<HIGH,卖出,HIGH,0,0),COLORGREEN; STICKLINE(卖出<LOW,OPEN,CLOSE,3,0),COLOR007B00;
STICKLINE(卖出<LOW,OPEN,CLOSE,2,0),COLOR009000;
STICKLINE(卖出<LOW,OPEN,CLOSE,1,0),COLOR00A800;
STICKLINE(卖出<LOW,HIGH,LOW,0,0),COLORGREEN;
STICKLINE(买入>LOW AND 买入<HIGH,买入,MIN(MIN(OPEN,CLOSE),买
入),1.5,0),COLORCC66FF;
STICKLINE(买入>MIN(C,O) AND 买入<MAX(C,O),买
入,MIN(OPEN,CLOSE),1.5,0),COLORCC66FF;
STICKLINE(买入>LOW AND 买入<HIGH,买入,LOW,0,0),COLORMAGENTA; STICKLINE(买入>HIGH,OPEN,CLOSE,1.5,0),COLORMAGENTA;
STICKLINE(买入>HIGH,HIGH,LOW,0,0),COLORMAGENTA;
DRAWICON(CROSS(买入,LOW),LOW*0.95,11);
DRAWICON(CROSS(HIGH,卖出),HIGH*1.02,12);
【通达信】量能分析(量能博弈、筹码分布、资金分布、高抛线)-指标公式效果图
(文档来源:若水财经社区)。

相关文档
最新文档