一眼定乾坤的成交量副图指标通达信指标公式源码
成交量副图指标 通达信 源码通达信指标公式源码
成交量副图指标通达信源码使用说明:1、主动买卖区分:当天收市价高过昨日收市价,成交量画红色实体加绿色实体(红色为当天主动买入量,绿色为当天主动卖出量);如果当天收市价低于昨天收市价则画绿色实体加红色实体如果当天收市价低于昨天收市价则画蓝色实体加红色实体(红色为当天主动买入量,蓝色为当天主动卖出量)3、均换手%表示近阶段周期内平均换手率。
2、在成交量柱体中心如果看到暗红色竖线为成交资金异动。
4、MA5是5日的量能值,MA55是55日的量能值,ma5和ma55金叉在成交量柱状提上用图标标示。
均换手率:MA(VOL/CAPITAL*100,5),COLORFFFFFF,NODRAW;虚拟成交量:IF(CURRBARSCOUNT=1 ANDPERIOD=5,VOL*210/FROMOPEN,DRAWNULL),NODRAW;STICKLINE(CURRBARSCOUNT=1 AND PERIOD=5,虚拟成交量,0,2,-1),COLOR00C0C0;总量:VOL,NODRAW;TJ1:=H=L AND C>REF(C,1) OR C>REF(C,5) OR C>REF(C,9) OR C>REF(C,17); TJ2:=H=L AND C<REF(C,1) OR C<REF(C,5) OR C<REF(C,9) OR C<REF(C,17); EE:=IF(TJ1,0.0001,IF(TJ2,-0.0001,0)){对付一字涨停,并求极限};JGL_DTC:=(C-OPEN+EE)/(2*(H-L)+ABS(C-O)+3*0.0001);主买:VOL*(1+JGL_DTC)/2,COLORRED,NODRAW{主动买};主卖:VOL*(1-JGL_DTC)/2,COLORFFFF80,NODRAW{主动卖};MAVOL1:MA(V,5)COLORWHITE;MAVOL2:MA(V,55)COLORYELLOW;MAVOL3:MA(V,135)COLORGREEN;DG1:=(CROSS(MAVOL1,MAVOL2));DG2:=(CROSS(MAVOL1,MAVOL3)); DRAWICON(DG1,VOL*1.05,1);DRAWICON(DG2,VOL*1.1,13);STICKLINE(C>=REF(C,1) AND MAVOL1<MAVOL3 ANDV<MAVOL1,VOL,0,7,0),COLOR333333;STICKLINE(C<REF(C,1) AND MAVOL1<MAVOL3 ANDV<MAVOL1,VOL,0,7,0),COLOR333333;STICKLINE(IF(BARSCOUNT(C)=1,C<O,C<REF(C,1)),0,VOL,2,0),COLOR88000 0;STICKLINE(IF(BARSCOUNT(C)=1,C<O,C<REF(C,1)),0,VOL,1,0),COLORBB000 0;STICKLINE(IF(BARSCOUNT(C)=1,C<O,C<REF(C,1)),0,VOL,0.5,0),COLORDD0 000;STICKLINE(IF(BARSCOUNT(C)=1,C<O,C<REF(C,1)),0,VOL,0.25,0)COLORFF0 000;STICKLINE(IF(BARSCOUNT(C)=1,C>=O,C>=REF(C,1)),0,VOL,2,0),COLOR008800;STICKLINE(IF(BARSCOUNT(C)=1,C>=O,C>=REF(C,1)),0,VOL,1,0),COLOR00A A00;STICKLINE(IF(BARSCOUNT(C)=1,C>=O,C>=REF(C,1)),0,VOL,0.5,0),COLOR0 0DD00;STICKLINE(IF(BARSCOUNT(C)=1,C>=O,C>=REF(C,1)),0,VOL,0.25,0),COLOR 00FF00;STICKLINE(主买>0,0,主买,2,0),COLOR000088;STICKLINE(主买>0,0,主买,1,0),COLOR0000AA;STICKLINE(主买>0,0,主买,0.5,0),COLOR0000DD;STICKLINE(主买>0,0,主买,0.25,0),COLOR0000FF;IF(VOL/MA(VOL,60)*100>100,VOL,VOL/0),STICK,COLORWHITE;量增价平转阳:=VOL>REF(V,1) AND ABS(C-REF(C,1))/REF(C,1)<=0.005;量增价升买入:=VOL>REF(V,1) AND C>REF(C,1);量平价升续买:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05 AND C>REF(C,1); 量减价升持有:=VOL<REF(V,1) AND C>REF(C,1);量减价平警戒:=VOL<REF(V,1) AND ABS(C-REF(C,1))/REF(C,1)<=0.005;量减价跌卖出:=VOL<REF(V,1) AND C<REF(C,1);量平价跌续卖:=ABS(VOL-REF(VOL,1))/REF(VOL,1)<=0.05 AND C<REF(C,1); 量增价跌弃卖:=VOL>REF(V,1) AND C<REF(C,1);量梯级递增上:=VOL>REF(V,1) AND REF(V,1)>REF(VOL,2);量梯级递减下:=VOL<REF(V,1) AND REF(V,1)<REF(VOL,2);ZGD:=HHV(V,80)*1;ZGD2:=CONST(ZGD);情况1:=CONST(IF(量增价平转阳,1,0));情况2:=CONST(IF(量增价升买入,1,0));情况3:=CONST(IF(量平价升续买,1,0));情况4:=CONST(IF(量减价升持有,1,0));情况5:=CONST(IF(量减价平警戒,1,0));情况6:=CONST(IF(量减价跌卖出,1,0));情况7:=CONST(IF(量平价跌续卖,1,0));情况8:=CONST(IF(量增价跌弃卖,1,0));情况9:=CONST(IF(量梯级递增上,1,0));情况10:=CONST(IF(量梯级递减下,1,0));DRAWTEXT(情况1=1 AND CURRBARSCOUNT=60,ZGD2-(ZGD2*0.1),'量增价平'),COLORMAGENTA;DRAWTEXT(情况2=1 AND CURRBARSCOUNT=60,ZGD2-(ZGD2*0.4),'量增价升'),COLORMAGENTA;DRAWTEXT(情况3=1 AND CURRBARSCOUNT=60,ZGD2-(ZGD2*0.2),'量平价升'),COLORMAGENTA;DRAWTEXT(情况4=1 AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.3),'量减价升'),COLORMAGENTA;DRAWTEXT(情况5=1 AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.1),'量减价平'),COLORMAGENTA;DRAWTEXT(情况6=1 AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.3),'量减价跌'),COLORMAGENTA;DRAWTEXT(情况7=1 AND CURRBARSCOUNT=60,ZGD2-(ZGD2*0.2),'量平价跌'),COLORMAGENTA;DRAWTEXT(情况8=1 AND CURRBARSCOUNT=60,ZGD2-(ZGD2*0.4),'量增价跌'),COLORMAGENTA;DRAWTEXT(情况9=1 AND CURRBARSCOUNT=60,ZGD2-(ZGD2*0.5),'量梯递增'),COLORMAGENTA;DRAWTEXT(情况10=1 AND CURRBARSCOUNT=70,ZGD2-(ZGD2*0.5),'量梯递减'),COLORMAGENTA;。
一招一式定乾坤公式
⼀招⼀式定乾坤公式{⼀品定乾坤----创幻论坛⼀品茶缘根据⾼⽵楼思路编写,⼤智慧副图指标}{通⽤}MA5:=MA(CLOSE,5);MA10:=MA(CLOSE,10);MA30:=MA(CLOSE,30);V5:=MA(CLOSE,5);V10:=MA(CLOSE,10);DIFF:=EMA(CLOSE,12) - EMA(CLOSE,26);DEA :=EMA(DIFF,9);RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=(SMA(RSV,3,1));D:=(SMA(K,3,1));MAJC:=CROSS(MA5,MA10);VJC:=CROSS(V5,V10);MACDJC:=CROSS(DIFF,DEA);KDJC:=CROSS(K,D);QSXS:=MA10>MA30 AND MA30>REF(MA30,1);JCTJ:=COUNT(MAJC,2)+COUNT(VJC,2)+COUNT(MACDJC,2)+COUNT(KDJC,2);⾦叉统计:JCTJ,COLOR00FFFF;⽬标:FILTER(JCTJ>=3,3)*5,COLORFF00FF,LINETHICK2;优选:⽬标 AND QSXS,COLORFFFFFF,POINTDOT,LINETHICK0;DRAWICON(优选,5,1);下⾯是⽹上来的,本⼈整理的⼀招⼀式定乾坤公式1、主图指标:{⼤智慧L2}MA5:MA(C,5);MA10:MA(C,10);MA30:MA(C,30);DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);MACD1:=CROSS(DIFF,DEA) AND COUNT(MACD>0,1)=1;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,9,1);D:=SMA(K,9,1);J:=3*K-2*D;KDJ1:=CROSS(K,D) AND CROSS(J,D);均线:=CROSS(MA(C,5),MA(C,10));量线:=CROSS(MA(V,5),MA(V,10));SCC:=MACD1 AND KDJ1 AND 均线 AND 量线;SC1:=MACD1 AND KDJ1;SC2:=均线 AND 量线;SC3:=均线 AND MACD1;SC4:=量线 AND KDJ1;SC5:=均线 AND KDJ1;SC6:=MACD1 AND 量线;DRAWICON(SC1 OR SC2 OR SC3 OR SC4 OR SC5 OR SC6,L-0.20,4),ALIGN1; DRAWICON(SCC,L-0.20,4),ALIGN1;主图指标:{通达信}MA5:MA(C,5);MA10:MA(C,10);MA30:MA(C,30);DIFF:=EMA(CLOSE,12)-EMA(CLOSE,26);DEA:=EMA(DIFF,9);MACD:=2*(DIFF-DEA);MACD1:=CROSS(DIFF,DEA) AND COUNT(MACD>0,1)=1;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,9,1);D:=SMA(K,9,1);J:=3*K-2*D;KDJ1:=CROSS(K,D) AND CROSS(J,D);均线:=CROSS(MA(C,5),MA(C,10));量线:=CROSS(MA(V,5),MA(V,10));SCC:=MACD1 AND KDJ1 AND 均线 AND 量线;SC1:=MACD1 AND KDJ1;SC2:=均线 AND 量线;SC3:=均线 AND MACD1;SC4:=量线 AND KDJ1;SC5:=均线 AND KDJ1;SC6:=MACD1 AND 量线;DRAWICON(SC1 OR SC2 OR SC3 OR SC4 OR SC5 OR SC6,l*0.92,25);DRAWICON(SCC,L*0.92,3);运⽤⽅法:①设为画⾯四图组合,依次为K 线主图、成交量、MACD、KDJ四个指标。
通达信指标公式源码 精准买卖点副图指标
{精准买卖副图}VAR1:=C>REF(C,1) AND C>REF(C,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 OR VAR8 OR VAR9 OR VARA ORVARB OR VARC ,CLOSE,REF(C,1),2,1),COLORLIRED;VARD:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);VARE:=REF(VARD,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VARF:=REF(VARE,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR10:=REF(VARF,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR11:=REF(VAR10,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2); VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2); STICKLINE(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15OR VAR16 OR VAR17 OR VAR18, CLOSE,REF(C,1),2,0),COLORCYAN;VAR19:=REF(VARD OR VARE OR VARF OR VAR10 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16OR VAR17 OR VAR18,1) AND VAR1;STICKLINE(VAR19, REF(C,1), REF(C,2),2,0), COLORCYAN;VAR1A:=REF(VAR1 OR VAR2 OR VAR3 OR VAR4 OR VAR5 OR VAR6 OR VAR7 OR VAR8 OR VAR9 ORVARA OR VARB OR VARC,1) AND VARD;STICKLINE(VAR1A,REF(C,1),REF(C,2),2,1),COLORLIRED;B1:=REF(C,1);B2:=REF(C,2);{好}SS:=IF(C>REF(C,1) AND REF(C,1)>=REF(C,2),1,IF(C<REF(C,1) AND REF(C,1)<=REF(C,2),-1,IF(C>REF(C,2) AND REF(C,2)>REF(C,1),2,IF(C<REF(C,2) AND REF(C,2)<REF(C,1),-2,0))));SM:=IF(REF(SS,1)!=0,REF(SS,1),IF(REF(SS,2)!=0,REF(SS,2),IF(REF(SS,3)!=0,REF(SS,3), IF(REF(SS,5)!=0,REF(SS,5),IF(REF(SS,6)!=0,REF(SS,6),IF(REF(SS,7)!=0,REF(SS,7),0))))) );MC:IF(REF(SS,1)!=0,B2,IF(SM>0,MIN(B1,B2),MAX(B1,B2))),COLORFF00FF;AA1:=STRCAT(CON2STR(YEAR,0),' 年');AA2:=STRCAT(CON2STR(MONTH,0),' 月');AA3:=STRCAT(CON2STR(DAY,0),' 日');AA4:=STRCAT('星期',IF(WEEKDAY=1,'一',IF(WEEKDAY=2,'二',IF(WEEKDAY=3,'三',IF(WEEKDAY=4,'四',IF(WEEKDAY=5,'五',IF(WEEKDAY=6,'六','日')))))));AAF:=STRCAT(STRCAT(STRCAT(AA1,AA2),AA3),AA4);DRAWTEXT_FIX(1,0.5,0.01,0.0,AAF),COLORWHITE;。
分时乾坤决策眼分时主图指标通达信指标公式源码
分时乾坤决策眼使用说明:1.乾坤线,定乾坤,线上买涨,线下买跌;2.出现红色“多线”,买涨做多;3.出现蓝色“空线”,买跌做空;{乾坤决策眼}FSHORT:=30;FLONG:=60;乾坤线:EMA(CLOSE,FLONG),COLORYELLOW,LINETHICK2;操盘线:=EMA(CLOSE,FSHORT),COLORWHITE,LINETHICK2;多线:IFF(操盘线>乾坤线,操盘线,DRAWNULL),COLORRED,LINETHICK2;空线:IFF(操盘线<=乾坤线,操盘线,DRAWNULL),COLORBLUE,LINETHICK2;买信号:=REF(操盘线,1)<=REF(乾坤线,1) AND 操盘线>乾坤线;卖信号:=REF(操盘线,1)>=REF(乾坤线,1) AND 操盘线<乾坤线;分时震荡线:=100*(C-LLV(CLOSE,300))/(HHV(CLOSE,300)-LLV(CLOSE,300)),COLORWHITE; {DRAWICON(买信号,乾坤线,90),ALIGN1;}{DRAWICON(卖信号,操盘线,91),ALIGN2;}信号长度:=BARSLAST(买信号OR 卖信号)+1;前期下跌长度:=BARSLAST(卖信号)+1;前期上涨长度:=BARSLAST(买信号)+1;价格超买:=EXIST(分时震荡线==100,前期上涨长度);价格超卖:=EXIST(分时震荡线==0,前期下跌长度);回涨初期:=COUNT(分时震荡线==100,前期下跌长度)<=2;回跌初期:=COUNT(分时震荡线==0,前期上涨长度)<=2;星级买点:=买信号AND 价格超卖AND 回涨初期;星级卖点:=卖信号AND 价格超买AND 回跌初期;五星B:=星级买点AND 分时震荡线==100;五星S:=星级卖点AND 分时震荡线==0,NODRAW;四星B:=星级买点AND 分时震荡线>=90 AND 分时震荡线<100; 四星S:=星级卖点AND 分时震荡线<=10 AND 分时震荡线>0;三星B:=星级买点AND 分时震荡线>=80 AND 分时震荡线<90; 三星S:=星级卖点AND 分时震荡线<=20 AND 分时震荡线>10; B5:=买信号AND COUNT(五星B,10);S5:=卖信号AND COUNT(五星S,10);B4:=买信号AND COUNT(四星B,10);S4:=卖信号AND COUNT(四星S,10);B3:=买信号AND COUNT(三星B,10);S3:=卖信号AND COUNT(三星S,10);DRAWTEXT(B5,乾坤线,'★'),COLOR0000FF;DRAWTEXT(B4,乾坤线,'★'),COLOR8000FF;DRAWTEXT(B3,乾坤线,'★'),COLORC080FF;DRAWTEXT(S5,操盘线,'☆'), COLOR00FF00;DRAWTEXT(S5,操盘线,'☆'), COLOR80FF80;DRAWTEXT(S5,操盘线,'☆'), COLOR40FF00;。
通达信指标公式源码 经典成交量跟庄抓主升浪副图指标
N1:=3;N2:=5;N3:=9;N4:=13;DIFF:=EMA(CLOSE,N3)-EMA(CLOSE,N4);DEA:=EMA(DIFF,N2);A1:=DIFF>DEA;RSV1:=(CLOSE-LLV(LOW,N3))/(HHV(HIGH,N3)-LLV(LOW,N3))*100;K0:=SMA(RSV1,N1,1);D0:=SMA(K0,N1,1);A2:=K0>D0;LC0:=REF(CLOSE,1);RSI1:=(SMA(MAX(CLOSE-LC0,0),N2,1))/(SMA(ABS(CLOSE-LC0),N2,1))*100; RSI2:=(SMA(MAX(CLOSE-LC0,0),N4,1))/(SMA(ABS(CLOSE-LC0),N4,1))*100; A3:=RSI1>RSI2;RSV0:=-(HHV(HIGH,N4)-CLOSE)/(HHV(HIGH,N4)-LLV(LOW,N4))*100; LWR1:=SMA(RSV0,N1,1);LWR2:=SMA(LWR1,N1,1);A4:=LWR1>LWR2;BBI:=(MA(CLOSE,N1)+MA(CLOSE,N2)+MA(CLOSE,N3)+MA(CLOSE,N4))/4; A5:=CLOSE>BBI;MTM:=CLOSE-REF(CLOSE,1);MMS:=100*EMA(EMA(MTM,N2),N1)/EMA(EMA(ABS(MTM),N2),N1); MMM:=100*EMA(EMA(MTM,N4),N3)/EMA(EMA(ABS(MTM),N4),N3);A6:=MMS>MMM;BIAS:=(C-MA(C,N2))/MA(C,N2);DIF:=(BIAS-REF(BIAS,16));DBCD:=SMA(DIF,76,1);MM1:=MA(DBCD,5);A7:=DBCD>MM1;持股:=3*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1)-2 *SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100,5,1),3,1),LINETHICK0,CO LORRED;下跌:=MA(持股,12),COLOR6B8E23,LINETHICK0;A8:=持股>下跌;MT:=C-REF(C,1);ZLGJ:=100*EMA(EMA(MT,N3),N3)/EMA(EMA(ABS(MT),N3),N3);MAZL:=MA(ZLGJ,5);A9:=ZLGJ>MAZL;QJJ:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));XVL:=IF(CLOSE>OPEN,QJJ*(HIGH-LOW),IF(CLOSE<OPEN,QJJ*(HIGH-OPEN +CLOSE-LOW),VOL/2))+IF(CLOSE>OPEN,0-QJJ*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE<OPEN,0-QJJ*(HI GH-LOW),0-VOL/2));HSL:=(XVL/20)/1.15;攻击流量:=((HSL*0.55+(REF(HSL,1)*0.33))+(REF(HSL,2)*0.22));LLJX:=EMA(攻击流量,3);资金流量:=LLJX,LINETHICK0,COLOR0000FF;A10:=资金流量>0;指导线:=(A1+A2+A3+A4+A5+A6+A7+A8+A9+A10),LINETHICK0,COLORFFFF00; 跟庄操作:IF(指导线>6 ,33.38,0),LINETHICK1,COLOR0000FF;{成交量比%}AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));主买:=IF(CLOSE>OPEN,AA*(HIGH-LOW),IF(CLOSE<OPEN,AA*((HIGH-OPEN)+( CLOSE-LOW)),VOL /2));量比%:主买/VOL*100,COLOR00FFFF,LINETHICK1,NODRAW;量:=V/CONST(HHV(V,90))*30,LINETHICK0,VOLSTICK;STICKLINE(CLOSE>=OPEN,0,量*1,0.5,0 ),COLOR8080FF;STICKLINE(CLOSE>=OPEN,0,量*1,3.6,0 ),COLOR000033;STICKLINE(CLOSE>=OPEN,0,量*1,2.2,0 ),COLOR000099;STICKLINE(CLOSE>=OPEN,0,量*1,1.5,0 ),COLOR0000D2;STICKLINE(CLOSE>=OPEN,0,量*1,0,0 ),COLOR0000FF;STICKLINE(CLOSE<=OPEN,0,量*1,0.5,0 ),COLORFFFF00; STICKLINE(CLOSE<=OPEN,0,量*1,3.6,0 ),COLOR000000; STICKLINE(CLOSE<=OPEN,0,量*1,2.2,0 ),COLOR6A6A00; STICKLINE(CLOSE<=OPEN,0,量*1,1.5,0 ),COLORDDDD00; STICKLINE(CLOSE<=OPEN,0,量*1,0,0),COLORFFFF00;{立体青色}; {地量买点}STICKLINE(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),量<0,-3,1.2,0),COLORGREEN,LINETHICK2;DRAWTEXT(CROSS(0.9,1/VOL*1000>0.01 AND "KDJ.J"<0),量<0,'地量'),COLORFFFFFF,LINETHICK1;{倍量}倍量:(量/REF(量,1)>=1.91 AND COUNT(C>O,1)) OR (L>REF(H,1) AND COUNT(O>C,1) AND 量/REF(量,1)>=1.91),NODRAW,COLORYELLOW; STICKLINE(倍量,0,量,0.0001,0),COLOR00FFFF;DRAWTEXT(倍量,量*0.99,'倍'),COLORFFFFFF,LINETHICK1;VAR3:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;VAR5:=(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100;VAR6:=(VAR3+VAR4+VAR5)/3;VAR7:=EMA(VAR6,5);K:EMA(VAR7,5)*2, , COLORFFFFFF;D:EMA(K,5), , COLOR00FFFF;J:K*3-D*2, ,COLORFFFFFF;DRAWBAND(K,RGB(498,0,0),D,RGB(0,188,198));M2:=EMA(C,5);M18:=EMA(C,18);买点:=IF(CROSS(M18,M2),5,10* 10000),COLORGREEN,LINETHICK1; RSVV:=(CLOSE-LLV(LOW,10))/(HHV(HIGH,10)-LLV(LOW,10))*100; VARB2:=(RSVV/2+22)*1;Q:=EMA(VOL,13);Y:=EMA(AMOUNT,13);S:=((Y /Q) / 100);X:=(((CLOSE -S) / S) * 100);F:=((X < (0)) AND ZXNH);XQ:=F AND RSVV;阴线买:买点AND XQ STICK,COLOR0000FF;DRAWICON(阴线买>0,阴线买,1);。
通达信公式源码指标通达信资金进出天量地量 一目了然的副图指标
通达信资金进出天量地量一目了然的副图指标贴图源码TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60, IF(PERIOD=5,TOTALFZNUM,1)))));MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME<0.5,TOTAL,MTIME);VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1,VVOL,0,-1,-1),COLOR00C0C0;JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);主买:=QJ0*IF(C<O,MIN(CLOSE,OPEN)-LOW,ABS(JJ-MIN(CLOSE,OPEN)));主卖:=QJ0*IF(C<O,(HIGH-JJ),(HIGH-MAX(OPEN,CLOSE)));V0:=VOL;大单差:(主买-主卖),LINETHICK;STICKLINE(大单差>=0,0,V0,3,0),COLOR2222CC;STICKLINE(大单差>=0,0,V0,2.5,0),COLOR3333DD;STICKLINE(大单差>=0,0,V0,2,0),COLOR4444DD;STICKLINE(大单差>=0,0,V0,1.5,0),COLOR5555EE;STICKLINE(大单差>=0,0,V0,1,0),COLOR6666EE;STICKLINE(大单差>=0,0,V0,0.5,0),COLOR9977EE;STICKLINE(大单差<0,0,V0,3,0),COLORFF7700;STICKLINE(大单差<0,0,V0,2.5,0),COLORFF8811;STICKLINE(大单差<0,0,V0,2,0),COLORFFAA22;STICKLINE(大单差<0,0,V0,1.5,0),COLORFFBB33;STICKLINE(大单差<0,0,V0,1,0),COLORFFDD44;STICKLINE(大单差<0,0,V0,0.5,0),COLORFFFF55;MA5:MA(VOL,5)*2;MA60:MA(VOL,60)*2;AA:=SUMBARS(VOL,CAPITAL);地量:IF(CAPITAL=0,AMOUNT=LLV(AMOUNT,34),VOL<MA(VOL,AA)/3) ,LINETHI CK0;STICKLINE(地量,VOL,0,1,0),COLORYELLOW;天量:IF(CAPITAL=0,AMOUNT=HHV(AMOUNT,34),VOL>MA(VOL,AA)*3) ,LINETH ICK0,COLORFF0000;STICKLINE(天量,VOL,0,1,0),COLORFF0000;STICKLINE(大单差>0,0,大单差,2,0),COLOR102088;STICKLINE(大单差>0,0,大单差,1.5,0),COLOR1020BB;STICKLINE(大单差>0,0,大单差,1,0),COLOR1020DD;STICKLINE(大单差>0,0,大单差,0.5,0),COLOR1020EE;STICKLINE(大单差<0,0,大单差,2,0),COLOR007700;STICKLINE(大单差<0,0,大单差,1.5,0),COLOR008800;STICKLINE(大单差<0,0,大单差,1,0),COLOR00AA00;STICKLINE(大单差<0,0,大单差,0.5,0),COLOR00CC00;BB:IF(CROSS(0.9,1/VOL*10000>0.01 AND "KDJ.J"<0),VOL*5,0) AND 大单差>0,LINETHICK0;STICKLINE(BB<0,0,100,1,0),COLORYELLOW,POINTDOT;RSV:=(CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100;K:=SMA(RSV,5,1);D:=SMA(K,3,1);J:=(3*K-2*D);M:=EMA(J,3);E:=EMA(M,3);A1:=BARSLAST(REF(CROSS(M,E),1));底背离:=REF(L,A1+1)>L AND M>REF(M,A1+1) AND CROSS(M,E) AND M<20; B:底背离,LINETHICK0;STICKLINE(B,0,100,1,0),COLOR00CC00;X:=LLV(J,2)=LLV(J,8);VAR1:=LLV(LOW,10);VAR2:=HHV(HIGH,25);VAR3:=100*EMA((CLOSE-VAR1)/(VAR2-VAR1),4);下注:CROSS(J,REF(J+0.01,1)) AND X AND J<0,LINETHICK0;STICKLINE(下注,0,100,1,0),COLORRED,POINTDOT;DRAWTEXT(下注,0,'注'),COLORRED;S:=EMA((CLOSE-LLV(CLOSE,21))/(HHV(CLOSE,21)-LLV(CLOSE,21)),1);Y:=IF(S>0,MA(S,1),0);庄:CROSS(Y,REF(Y+0.001,1)) AND J<0,LINETHICK0,COLORFF22AA; DRAWTEXT(庄,0,'买'),COLORFF22AA;STICKLINE(庄,0,100,1,0),COLORFF22AA;。
通达信指标公式源码 精确买卖 副图源码
VAR3:=(CLOSE-MA(CLOSE,0))/MA(CLOSE,0)*100;VAR4:=(CLOSE-MA(CLOSE,0))/MA(CLOSE,0)*100;VAR5:=(CLOSE-MA(CLOSE,0))/MA(CLOSE,0)*100;VAR6:=(VAR3+VAR4+VAR5)/3;VAR7:=EMA(VAR6,5);ZHIB: EMA(EMA(VAR3,5),5)*3, COLORSTICK;VAR8:=IF(VAR6<=-20,10,0);VAR9:=HHV(VAR8,10);STICKLINE(VAR8=10,20,10,3,0),COLORRED;VARA:=IF(VAR9 && CROSS(MA(CLOSE,3),MA(CLOSE,5)),20,0);K:EMA(VAR7,5)*2,COLORGREEN;D:EMA(K,5), COLORWHITE;J:K*3-D*2, COLORYELLOW;VARB:=BETWEEN(CLOSE,MA(CLOSE,3),MA(CLOSE,5)) && J>10;DRAWTEXT(VARA=20,15,'底部');STICKLINE((VARA=20),0,10,3,0),COLORWHITE;VARC:=(ZIG(3,5)>REF(ZIG(3,5),1)) && (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) && (REF(ZIG(3,5),2)<=REF(ZIG(3,5),3));VARD:=(ZIG(3,5)<REF(ZIG(3,5),1)) && (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) && (REF(ZIG(3,5),2)>=REF(ZIG(3,5),3));STICKLINE((VARC=1),(-14),0,3,0),COLORMAGENTA;DRAWTEXT((VARC=1),(-14),'买');STICKLINE((VARD=1),14,0,3,0),COLORGREEN;DRAWTEXT((VARD=1),18,'卖');VARE:=MA(100*(CLOSE-LLV(CLOSE,34))/(HHV(HIGH,34)-LLV(LOW,34)),5)-20; VARF:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*S MA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR10:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*S MA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR11:=VARF<REF(VAR10,1) && VOL>REF(VOL,1) && CLOSE>REF(CLOSE,1); DRAWTEXT(VAR11 && COUNT(VAR11,30)=1,15,'大资金活动');STICKLINE(VAR11 && COUNT(VAR11,30)=1,1,10,3,0),COLORCYAN;VAR12:=(HIGH+LOW+CLOSE)/3;VAR13:=(VAR12-MA(VAR12,14))/(0.015*AVEDEV(VAR12,14));VAR14:=(VAR12-MA(VAR12,70))/(0.015*AVEDEV(VAR12,70));VAR15:=IF(VAR13>=150 && VAR13<200 && VAR14>=150 && VAR14<200,10,0);VAR16:=IF(VAR13<=-150 && VAR13>-200 && VAR14<=-150 && VAR14>-200,-10,VAR15);VAR17:=(CLOSE-MA(CLOSE,13))/MA(CLOSE,13)*100;VAR18:=100-ABS(VAR17);VAR19:=IF(VAR18<90,VAR18,100);VAR1A:=IF(VARE>0,VARE,0);VAR1B:=IF(VAR14>=200 && VAR13>=150,15,IF(VAR14<=-200 && VAR13<=-150,-15,VAR16))+60;VAR1C:=VAR1A>48 && VAR1B>60 && VAR19<100;DRAWTEXT(VAR1C && COUNT(VAR1C,30)=1,15,'大笔出货');STICKLINE(VAR1C && COUNT(VAR1C,30)=1,0,10,3,0),COLORYELLOW;。
分时乾坤决策眼分时主图指标通达信指标公式源码
分时乾坤决策眼使用说明:1.乾坤线,定乾坤,线上买涨,线下买跌;2.出现红色“多线”,买涨做多;3.出现蓝色“空线”,买跌做空;{乾坤决策眼}FSHORT:=30;FLONG:=60;乾坤线:EMA(CLOSE,FLONG),COLORYELLOW,LINETHICK2;操盘线:=EMA(CLOSE,FSHORT),COLORWHITE,LINETHICK2;多线:IFF(操盘线>乾坤线,操盘线,DRAWNULL),COLORRED,LINETHICK2;空线:IFF(操盘线<=乾坤线,操盘线,DRAWNULL),COLORBLUE,LINETHICK2;买信号:=REF(操盘线,1)<=REF(乾坤线,1) AND 操盘线>乾坤线;卖信号:=REF(操盘线,1)>=REF(乾坤线,1) AND 操盘线<乾坤线;分时震荡线:=100*(C-LLV(CLOSE,300))/(HHV(CLOSE,300)-LLV(CLOSE,300)),COLORWHITE; {DRAWICON(买信号,乾坤线,90),ALIGN1;}{DRAWICON(卖信号,操盘线,91),ALIGN2;}信号长度:=BARSLAST(买信号OR 卖信号)+1;前期下跌长度:=BARSLAST(卖信号)+1;前期上涨长度:=BARSLAST(买信号)+1;价格超买:=EXIST(分时震荡线==100,前期上涨长度);价格超卖:=EXIST(分时震荡线==0,前期下跌长度);回涨初期:=COUNT(分时震荡线==100,前期下跌长度)<=2;回跌初期:=COUNT(分时震荡线==0,前期上涨长度)<=2;星级买点:=买信号AND 价格超卖AND 回涨初期;星级卖点:=卖信号AND 价格超买AND 回跌初期;五星B:=星级买点AND 分时震荡线==100;五星S:=星级卖点AND 分时震荡线==0,NODRAW;四星B:=星级买点AND 分时震荡线>=90 AND 分时震荡线<100; 四星S:=星级卖点AND 分时震荡线<=10 AND 分时震荡线>0;三星B:=星级买点AND 分时震荡线>=80 AND 分时震荡线<90; 三星S:=星级卖点AND 分时震荡线<=20 AND 分时震荡线>10; B5:=买信号AND COUNT(五星B,10);S5:=卖信号AND COUNT(五星S,10);B4:=买信号AND COUNT(四星B,10);S4:=卖信号AND COUNT(四星S,10);B3:=买信号AND COUNT(三星B,10);S3:=卖信号AND COUNT(三星S,10);DRAWTEXT(B5,乾坤线,'★'),COLOR0000FF;DRAWTEXT(B4,乾坤线,'★'),COLOR8000FF;DRAWTEXT(B3,乾坤线,'★'),COLORC080FF;DRAWTEXT(S5,操盘线,'☆'), COLOR00FF00;DRAWTEXT(S5,操盘线,'☆'), COLOR80FF80;DRAWTEXT(S5,操盘线,'☆'), COLOR40FF00;。
一目了然资金流向 副图指标 源码 通达信
一目了然资金流向副图指标源码通达信使用说明:1、出现黄色表示底部快到了,是相对的底部,不是真的底部,这要看你自己的分析了。
2、红色表示资金进的多,中间的一根黄色线表示穿透力,线越长越好。
3、蓝色表示资金流出的多少,流出越多越不好, 中间的一根线表示穿透力,线越长越不好.4,流量基线是资金趋势,也可以看作股价波动趋势,全凭你自己的分析了。
ZC_1:=IF(L<DYNAINFO(7),0,IF(H>DYNAINFO(7),DYNAINFO(7)-(DYNAINFO( 7)-H+0.02)/(H-L+0.02),0));ZC_2:=DMA(ZC_1,V/CAPITAL)*100;出货:=IF(ZC_2>0 AND ZC_2>REF(ZC_2,1),ZC_2/20,0);轴:0,COLOR00FF00;PJJ:=DMA((H + L + C * 2) / 4,0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=VOL / ((H - L) * 2 - ABS(C - O));XVL:=IF(C > O,QJJ * (H - L),IF(C < O,QJJ * (H - O + (C - L)),VOL / 2)) +IF(C > O,0 - QJJ * (H - C + (O - L)),IF(C < O,0 - QJJ * (H - L),0 - VOL / 2)); ZLL:=VOL / CAPITAL;HSL1:=IF(ZLL > 10,10,ZLL);HSL:=XVL / 20 / 1.15;攻击流量:=HSL * 0.55 + REF(HSL,1) * 0.33 + REF(HSL,2) * 0.22;GJJ:=EMA(攻击流量,8);LLJX:=EMA(攻击流量,3);流量:LLJX,COLORC875B7,COLORRED,NODRAW;STICKLINE(流量> 0,流量,0,2.3,0)COLOR0000FF;STICKLINE(流量< 0,流量,0,2.3,0),COLORFF4242;流量基线:GJJ,COLOR00BBBB,COLORGREEN;STICKLINE(HSL * 0.4 >= 0,HSL * 0.4 * 1.5,0,0,1)COLORYELLOW; STICKLINE(HSL * 0.4 < 0,HSL * 0.4 * 1.5,0,0,1)COLORGREEN;ZJLL:=REF(LLJX,1);QZJJ:=(((LLJX - ZJLL) / ZJLL) * 100);流量幅%:IF(((LLJX > 0) AND (ZJLL < 0)),ABS(QZJJ),IF((((LLJX < 0) AND (ZJLL < 0)) AND (LLJX < ZJLL)),(0 - QZJJ),QZJJ))COLORMAGENTA,NODRAW;力度:HSL / 1000,COLOR9B37FF,COLORRED,NODRAW;周流量:SUM(LLJX,5),COLORFFBFDF,COLORMAGENTA,NODRAW;BB:=REF(周流量,1);ZQZJJ:=(周流量-BB)/BB*100;周幅%:IF(周流量>0 AND BB<0,ABS(ZQZJJ),IF(周流量<0 AND BB<0 AND 周流量<BB,-ZQZJJ,ZQZJJ))COLORMAGENTA,NODRAW;VARQ1:=REF((LOW+OPEN+CLOSE+HIGH)/4,1);VARQ2:=SMA(ABS(LOW-VARQ1),13,1)/SMA(MAX(LOW-VARQ1,0),10,1);VARQ3:=EMA(VARQ2,10);VARQ4:=LLV(LOW,33);VARQ5:=EMA(IF(LOW<=VARQ4,VARQ3,0),3)*100;主力进场:STICKLINE(VARQ5>REF(VARQ5,1) AND 出货<=0,0,VARQ5,7,0 ),COLOR00FFFF;。
通达信一目了然副图指标公式源码
通达信一目了然副图指标指标用法:(不会在图片上写字)这指标很直观很简单,所以取个名叫“一目了然”,红线从绿线上穿出来,就意味着赚大钱的机会来了,简单说变双线买入赚线,变单绿线就无条件走人(股市忌犹豫和贪),大家可以看到,没有未来(截图为证),极为准确,你不想赚钱这公式都不答应。
A:EMA((CLOSE-REF(C,1))/REF(C,1)*10-(INDEXC-REF(INDEXC,1))/REF(INDEXC,1)*10,5),LINETHICK1,COLORRED;STICKLINE(A>0,0,A,1,2),COLORRED;STICKLINE(A<0,0,A,1,2),COLORGREEN;HSNP1:=CLOSE-REF(CLOSE,1);HSNP2:=IF(CLOSE-REF(CLOSE,1)>=0,HSNP1,0);HSNP3:=REF(CLOSE,1)-CLOSE;HSNP4:=IF(CLOSE-REF(CLOSE,1)<=0,HSNP3,0);HSNP5:=SUM(HSNP2,90)/SUM(HSNP4,90);HSNP6:=100-100/(1+HSNP5);HSNP7:=EMA(HSNP6,21);HSNP8:=EMA(HSNP7,5);HSNP:=EMA(HSNP7,3);NP:=(HSNP7-HSNP);NL:=(HSNP-HSNP7);STICKLINE(NL<0,0,NL,1,2),COLOR0B0B77;STICKLINE(NP<0,0,NP,1,2),COLOR666666;JJ :=(C*2+H+L)/4;SK := EMA(JJ,13) - EMA(JJ,21);SD := EMA(SK,3);SP := EMA(SK,10);长线1:IF(SD>=SP,SD,SP),LINETHICK1,COLORFFFFAA;长线2:IF(SP-SD,SP,SD),LINETHICK1,COLORWHITE;A1:=EMA(CLOSE,7)-EMA(CLOSE,21);B1:=EMA((0.668*REF(A1,1)+0.333*A1),1);做多:IF(A1>=B1,A1,B1),LINETHICK1,COLORRED;做空:IF(B1-A1,B1,A1),LINETHICK1,COLORGREEN;。
一眼定乾坤的成交量副图指标通达信指标公式源码
一眼定乾坤的成交量副图:M1:=5;M2:=10;ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算}SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{//小筹码估算} ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//小股民套牢筹码比率}ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率}ZCMZL:=MA(ZLCM+SHCM,13);{//市场筹码总量}ZZNTS:=BARSLAST(ZSHTL<90 AND REF(ZSHTL,1)>90);{//走牛天数} ZSHJJ:=EMA(ZSHTL,89);{//小股民警戒}ZZLJJ:=EMA(ZZLKP,89);{//主力警戒}ZJLRQD:=INTPART(ZZLKP-ZZLJJ);{//资金流入强度}SH8:=EMA(ZSHTL,8);DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0);{//------【数值显示】}散户套牢系数:INTPART(ZSHTL),NODRAW;主力控盘系数:INTPART(ZZLKP),COLOR4080FF,NODRAW;资金流入强度:ZJLRQD,NODRAW,COLOR00FFFF;{☆精确风险}{【参数定义】}RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;K1:=SMA(RSV,10,1);D1:=SMA(K1,5,1);KK:=INTPART(K1);DD0:=INTPART(D1);TFXXS:=KK+DD0;{//变异KD风险系数}TGLD:=MOD(TFXXS,10);{//踏浪涨停概率点}TGLXS:=(TFXXS-REF(TFXXS,1))*10;{//变异KD乖离系数}TYCFX:=TFXXS+TGLXS;{//变异KD预测风险}乖离系数:TGLXS,LINETHICK0,COLORGREEN,NODRAW;{【图解模板】}{级别拐点}{乖离系数}STICKLINE(TGLXS>0,100,100+TGLXS,3,0),COLOR000088;STICKLINE(TGLXS>0,100,100+TGLXS,2.5,0),COLOR000099;STICKLINE(TGLXS>0,100,100+TGLXS,2,0),COLOR0000AA;STICKLINE(TGLXS>0,100,100+TGLXS,1.5,0),COLOR0000BB;{STICKLINE(TGLXS>0,100,100+TGLXS,1.2,0),COLOR0000CC;}STICKLINE(TGLXS>0,100,100+TGLXS,1.0,0),COLOR0000DD;{STICKLINE(TGLXS>0,100,100+TGLXS,0.8,0),COLOR0000EE;}STICKLINE(TGLXS>0,100,100+TGLXS,0.5,0),COLOR0000FF;{//红柱}STICKLINE(TGLXS<0,100,100+TGLXS,3,0),COLOR008800;{STICKLINE(TGLXS<0,100,100+TGLXS,2.8,0),COLOR009900;}STICKLINE(TGLXS<0,100,100+TGLXS,2.5,0),COLOR00AA00;STICKLINE(TGLXS<0,100,100+TGLXS,2,0),COLOR00BB00;{STICKLINE(TGLXS<0,100,100+TGLXS,1.8,0),COLOR00CC00;}STICKLINE(TGLXS<0,100,100+TGLXS,1.5,0),COLOR00DD00;{STICKLINE(TGLXS<0,100,100+TGLXS,1.2,0),COLOR00EE00;}STICKLINE(TGLXS<0,100,100+TGLXS,1,0),COLOR00FF00;{//绿柱}STICKLINE(TGLXS=0 AND REF(TGLXS,1)>=0,100,100+TGLXS,8,0),COLORRED; STICKLINE(TGLXS=0 AND REF(TGLXS,1)<0,100,100+TGLXS,8,0),COLORFFFFFF; {【数值显示】}风险系数:TFXXS,LINETHICK2,COLORYELLOW,NODRAW;预测风险:TYCFX,LINETHICK1,COLORFFFFFF,NODRAW;T1:=CONST( ZCMZL>REF(ZCMZL,1) AND DKB=1);T2:=CONST( ZCMZL>REF(ZCMZL,1) AND DKB=0);T3:=CONST( ZCMZL=REF(ZCMZL,1));T4:=CONST( ZCMZL<REF(ZCMZL,1) AND DKB=1);T5:=CONST( ZCMZL<REF(ZCMZL,1) AND DKB=0);T6:=CONST(TFXXS<=50 );T7:=CONST(TFXXS>=160 );T8:=CONST(TFXXS>50 AND TFXXS<160 AND TFXXS>=REF(TFXXS,1) AND TFXXS<=100 );T9:=CONST( TFXXS>50 AND TFXXS<160 AND TFXXS>=REF(TFXXS,1) AND TFXXS>100); T10:=CONST(TFXXS>50 AND TFXXS<160 AND TFXXS<REF(TFXXS,1) AND TFXXS>100 ); T11:=CONST(TFXXS>50 AND TFXXS<160 AND TFXXS<REF(TFXXS,1) AND TFXXS<=100 );T12:=CONST( ZSHTL>90 );T13:=CONST( ZZLKP>75 );T14:=CONST(CROSS(ZCMZL,ZZLJJ) AND ZZLKP>ZZLJJ AND ZZLKP>10 AND ZZLJJ>REF(ZZLJJ,1) AND ZCMZL>REF(ZCMZL,1) );T15:=CONST(CROSS(ZCMZL,ZZLKP) AND ZZLKP>ZZLJJ AND ZZLKP<ZSHTL AND ZZLKP>10 AND ZZLJJ>REF(ZZLJJ,1) AND ZCMZL>REF(ZCMZL,1) );T16:=CONST( CROSS(ZCMZL,ZSHTL) AND ZSHTL>ZZLKP AND ZCMZL>REF(ZCMZL,1)); T17:=CONST( CROSS(ZCMZL,100) AND ZCMZL>REF(ZCMZL,1));T18:=CONST(REF(ZSHTL,1)>90 AND ZSHTL<90 );TS1:=IF(T1=1,0+0.03,0);TS2:=IF(T2=1,TS1+0.03,TS1);TS3:=IF(T3=1,TS2+0.03,TS2);TS4:=IF(T4=1,TS3+0.03,TS3);TS5:=IF(T5=1,TS4+0.03,TS4);TS6:=IF(T6=1,0+0.73,0);TS7:=IF(T7=1,TS6+0.03,TS6);TS8:=IF(T8=1,TS7+0.03,TS7);TS9:=IF(T9=1,TS8+0.03,TS8);TS10:=IF(T10=1,TS9+0.03,TS9);TS11:=IF(T11=1,TS10+0.03,TS10);TS12:=IF(T12,0+0.03,0);TS13:=IF(T13=1,TS12+0.03,TS12);TS14:=IF(T14=1,TS13+0.03,TS13);TS15:=IF(T15=1,TS14+0.03,TS14);TS16:=IF(T16=1,TS15+0.03,TS15);TS17:=IF(T17=1,TS16+0.03,TS16);TS18:=IF(T8=1,TS17+0.03,TS17);DRAWTEXT_FIX(T1,0.66,TS1,0,'★监控:主力增仓'),COLOR8080FF;DRAWTEXT_FIX(T2,0.66,TS2,0,'★监控:主力减仓'),COLORFFFF00;DRAWTEXT_FIX(T3,0.66,TS3,0,'★监控:多空平衡'),COLORGRAY;DRAWTEXT_FIX(T4,0.66,TS4,0,'★监控:主力回补'),COLORFF9933;DRAWTEXT_FIX(T5,0.66,TS5,0,'★监控:主力出逃'),COLORFFFF00;DRAWTEXT_FIX(T6,0.86,TS6,0,'★操作:买入风险'),COLORYELLOW;DRAWTEXT_FIX(T7,0.86,TS7,0,'★操作:卖出风险'),COLORFFFF00;DRAWTEXT_FIX(T8,0.86,TS8,0,'★操作:追涨博弈'),COLOR8080FF;DRAWTEXT_FIX(T9,0.86,TS9,0,'★操作:稳健持股'),COLOR8080FF;DRAWTEXT_FIX(T10,0.86,TS10,0,'★操作:盘跌减仓'),COLORFFFF00;DRAWTEXT_FIX(T11,0.86,TS11,0,'★操作:杀跌空仓'),COLORFFFF00;DRAWTEXT_FIX(T12,0.36,TS12,0,'☆特别提示:筑底散兵坑'),COLOR66FFCC; DRAWTEXT_FIX(T13,0.36,TS13,0,'☆特别提示:铸顶风险区'),COLORFFFF00; DRAWTEXT_FIX(T14,0.36,TS14,0,'☆特别提示:穿越主力'),COLOR8080FF; DRAWTEXT_FIX(T15,0.36,TS15,0,'☆特别提示:穿越主力'),COLORYELLOW; DRAWTEXT_FIX(T16,0.36,TS16,0,'☆特别提示:穿越散户'),COLORGREEN; DRAWTEXT_FIX(T17,0.36,TS17,0,'☆特别提示:全盘穿越'),COLOR3399FF;DRAWTEXT_FIX(T18,0.36,TS18,0,'☆特别提示:神秘黑洞'),COLOR9966FF;{AAA:=REFDATE(HHV(H,30),DATE);T1A:=CONST(IF(ZZNTS,1,0));TS1A:=IF(T1A=1,0+0.03,0);}{DRAWTEXT(T1A=1 AND CURRBARSCOUNT=45 AND PERIOD=5,AAA-(AAA*TS1A),'【走牛天数判断】'),COLORRED,LINETHICK6;}{DRAWNUMBER(T1A=1 AND CURRBARSCOUNT=45-12 AND PERIOD=5,AAA-(AAA*TS1A),CONST(ZZNTS)),COLORRED,LINETHICK6;};三日最低:=EMA((REF(L,4)+REF(L,3)+REF(L,2))/3,3);三日最高:=EMA((REF(H,4)+REF(H,3)+REF(H,2))/3,3),COLORWHITE;高:=CROSS(CROSS(三日最高,C),0.6),STICK,COLORWHITE;DRAWICON(高>0,高,2);F:=100*(C-REF(C,1))/REF(C,1);博尔:=IF(C<REF(O,1) AND F<0,1,0);P1:=博尔;量化:=IF(C<REF(O,2) AND F<0,1,0);P2:=量化;P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,STICK,COLORFF00FF,LINETHICK1; DRAWICON(P1=0>0,P1=0,1);量:V,VOLSTICK;PJJ:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN)))); XVL:=(IF((CLOSE > OPEN),(QJJ * (HIGH - LOW)),IF((CLOSE < OPEN),(QJJ * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))) + IF((CLOSE > OPEN),(0 - (QJJ * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (QJJ * (HIGH - LOW))),(0 - (VOL / 2)))));ZLL:=(VOL / CAPITAL);HSL1:=IF((ZLL > 10),10,ZLL);HSL:=((XVL / 20) / 1.15);进攻流量:=(((HSL * 0.55) + (REF(HSL,1) * 0.33)) + (REF(HSL,2) * 0.22));GJJ:=EMA(进攻流量,8); LLJX:=EMA(进攻流量,3);动态天量:=CONST(IF(V=HHV(V,20),V,REF(V,BARSLAST(V=HHV(V,20))))),COLOR00FF00,POINT DOT;STICKLINE(((HSL * 0.4) >= 0),动态天量+((HSL * 0.4) +LLJX)*20,动态天量,3,0),COLORYELLOW;STICKLINE(((HSL * 0.4) < 0),动态天量+((HSL * 0.4) +LLJX)*20,动态天量,3,0),COLOR00FF00;资金流入:=IF((HSL*0.4+LLJX)>0,(HSL*0.4+LLJX),DRAWNULL),COLORRED;资金流出:=IF((HSL*0.4+LLJX)<0,(HSL*0.4+LLJX),DRAWNULL),COLOR00FF00;资金收支:=(HSL*0.4+LLJX),LINETHICK0;万元:=AMOUNT/10000{0000},VOLSTICK,COLORFF00FF;资金净收支:IF((HSL*0.4+LLJX)>0,资金流入,资金流出),COLORWHITE,POINTDOT;收支比例%:IF((HSL*0.4+LLJX)>0,资金流入/万元*100,资金流出/万元*100),COLORYELLOW;连红天1:=BARSLASTCOUNT(资金净收支>0),,COLORA20FFD,NODRAW;连红天2:=IF(连红天1=0,REF(连红天1,1),连红天1),,COLORA20FFD,NODRAW;连红天3:=IF(连红天2=0,REF(连红天1,2),连红天2),,COLORA20FFD,NODRAW;连红天4:=IF(连红天3=0,REF(连红天1,3),连红天3),,COLORA20FFD,NODRAW;近期连红天:IF(连红天4=0,REF(连红天1,4),连红天4),COLORYELLOW,NODRAW;三日资金:SUM(资金收支,3),COLORWHITE,NODRAW;五日资金:SUM(资金收支,5),COLORFF00FF,NODRAW;十日资金:SUM(资金收支,10),COLOR0000FF,NODRAW;资金流量:=LLJX,LINETHICK0,COLOR0000FF;STICKLINE((资金流量> 0),动态天量+资金流量*20,动态天量,3,0),COLOR0000FF; STICKLINE((资金流量< 0),动态天量+资金流量*20,动态天量,3,0),COLOR008000;万手:VOL/10000,LINETHICK0;BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD =5,TOTALFZNUM,1)))));MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME<0.5,TOTAL,MTIME);VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1,VVOL,0,-1,-1),COLOR00C0C0;VOLUME:VOL,VOLSTICK;MAVOL1:MA(VOLUME,M1),COLOR80FFFF,LINETHICK1;MAVOL2:MA(VOLUME,M2),COLORFF00FF,LINETHICK1;{变色彩带}VAR1:=(2*CLOSE+HIGH+LOW)/4;操盘线: (EMA(VAR1,2)+EMA(VAR1,3)+EMA(VAR1,5)+EMA(VAR1,8)+EMA(VAR1,11)+EMA(VAR1,1 3))/6.4,COLORFFFF00,LINETHICK1,CIRCLEDOT;IF(操盘线>REF(操盘线,1),操盘线,DRAWNULL),COLOR0000FF,LINETHICK1,CIRCLEDOT;。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
一眼定乾坤的成交量副图:M1:=5;M2:=10;ZLCM:=EMA(WINNER(CLOSE)*70,3);{//主力筹码估算}SHCM:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,3);{//小筹码估算} ZSHTL:=SHCM/(ZLCM+SHCM)*100;{//小股民套牢筹码比率}ZZLKP:=ZLCM/(ZLCM+SHCM)*100;{//主力控盘筹码比率}ZCMZL:=MA(ZLCM+SHCM,13);{//市场筹码总量}ZZNTS:=BARSLAST(ZSHTL<90 AND REF(ZSHTL,1)>90);{//走牛天数} ZSHJJ:=EMA(ZSHTL,89);{//小股民警戒}ZZLJJ:=EMA(ZZLKP,89);{//主力警戒}ZJLRQD:=INTPART(ZZLKP-ZZLJJ);{//资金流入强度}SH8:=EMA(ZSHTL,8);DKB:=IF(ZZLKP-REF(ZZLKP,1)>ZSHTL-REF(ZSHTL,1),1,0);{//------【数值显示】}散户套牢系数:INTPART(ZSHTL),NODRAW;主力控盘系数:INTPART(ZZLKP),COLOR4080FF,NODRAW;资金流入强度:ZJLRQD,NODRAW,COLOR00FFFF;{☆精确风险}{【参数定义】}RSV:=(CLOSE-LLV(LOW,15))/(HHV(HIGH,15)-LLV(LOW,15))*100;K1:=SMA(RSV,10,1);D1:=SMA(K1,5,1);KK:=INTPART(K1);DD0:=INTPART(D1);TFXXS:=KK+DD0;{//变异KD风险系数}TGLD:=MOD(TFXXS,10);{//踏浪涨停概率点}TGLXS:=(TFXXS-REF(TFXXS,1))*10;{//变异KD乖离系数}TYCFX:=TFXXS+TGLXS;{//变异KD预测风险}乖离系数:TGLXS,LINETHICK0,COLORGREEN,NODRAW;{【图解模板】}{级别拐点}{乖离系数}STICKLINE(TGLXS>0,100,100+TGLXS,3,0),COLOR000088;STICKLINE(TGLXS>0,100,100+TGLXS,2.5,0),COLOR000099;STICKLINE(TGLXS>0,100,100+TGLXS,2,0),COLOR0000AA;STICKLINE(TGLXS>0,100,100+TGLXS,1.5,0),COLOR0000BB;{STICKLINE(TGLXS>0,100,100+TGLXS,1.2,0),COLOR0000CC;}STICKLINE(TGLXS>0,100,100+TGLXS,1.0,0),COLOR0000DD;{STICKLINE(TGLXS>0,100,100+TGLXS,0.8,0),COLOR0000EE;}STICKLINE(TGLXS>0,100,100+TGLXS,0.5,0),COLOR0000FF;{//红柱}STICKLINE(TGLXS<0,100,100+TGLXS,3,0),COLOR008800;{STICKLINE(TGLXS<0,100,100+TGLXS,2.8,0),COLOR009900;}STICKLINE(TGLXS<0,100,100+TGLXS,2.5,0),COLOR00AA00;STICKLINE(TGLXS<0,100,100+TGLXS,2,0),COLOR00BB00;{STICKLINE(TGLXS<0,100,100+TGLXS,1.8,0),COLOR00CC00;}STICKLINE(TGLXS<0,100,100+TGLXS,1.5,0),COLOR00DD00;{STICKLINE(TGLXS<0,100,100+TGLXS,1.2,0),COLOR00EE00;}STICKLINE(TGLXS<0,100,100+TGLXS,1,0),COLOR00FF00;{//绿柱}STICKLINE(TGLXS=0 AND REF(TGLXS,1)>=0,100,100+TGLXS,8,0),COLORRED; STICKLINE(TGLXS=0 AND REF(TGLXS,1)<0,100,100+TGLXS,8,0),COLORFFFFFF; {【数值显示】}风险系数:TFXXS,LINETHICK2,COLORYELLOW,NODRAW;预测风险:TYCFX,LINETHICK1,COLORFFFFFF,NODRAW;T1:=CONST( ZCMZL>REF(ZCMZL,1) AND DKB=1);T2:=CONST( ZCMZL>REF(ZCMZL,1) AND DKB=0);T3:=CONST( ZCMZL=REF(ZCMZL,1));T4:=CONST( ZCMZL<REF(ZCMZL,1) AND DKB=1);T5:=CONST( ZCMZL<REF(ZCMZL,1) AND DKB=0);T6:=CONST(TFXXS<=50 );T7:=CONST(TFXXS>=160 );T8:=CONST(TFXXS>50 AND TFXXS<160 AND TFXXS>=REF(TFXXS,1) AND TFXXS<=100 );T9:=CONST( TFXXS>50 AND TFXXS<160 AND TFXXS>=REF(TFXXS,1) AND TFXXS>100); T10:=CONST(TFXXS>50 AND TFXXS<160 AND TFXXS<REF(TFXXS,1) AND TFXXS>100 ); T11:=CONST(TFXXS>50 AND TFXXS<160 AND TFXXS<REF(TFXXS,1) AND TFXXS<=100 );T12:=CONST( ZSHTL>90 );T13:=CONST( ZZLKP>75 );T14:=CONST(CROSS(ZCMZL,ZZLJJ) AND ZZLKP>ZZLJJ AND ZZLKP>10 AND ZZLJJ>REF(ZZLJJ,1) AND ZCMZL>REF(ZCMZL,1) );T15:=CONST(CROSS(ZCMZL,ZZLKP) AND ZZLKP>ZZLJJ AND ZZLKP<ZSHTL AND ZZLKP>10 AND ZZLJJ>REF(ZZLJJ,1) AND ZCMZL>REF(ZCMZL,1) );T16:=CONST( CROSS(ZCMZL,ZSHTL) AND ZSHTL>ZZLKP AND ZCMZL>REF(ZCMZL,1)); T17:=CONST( CROSS(ZCMZL,100) AND ZCMZL>REF(ZCMZL,1));T18:=CONST(REF(ZSHTL,1)>90 AND ZSHTL<90 );TS1:=IF(T1=1,0+0.03,0);TS2:=IF(T2=1,TS1+0.03,TS1);TS3:=IF(T3=1,TS2+0.03,TS2);TS4:=IF(T4=1,TS3+0.03,TS3);TS5:=IF(T5=1,TS4+0.03,TS4);TS6:=IF(T6=1,0+0.73,0);TS7:=IF(T7=1,TS6+0.03,TS6);TS8:=IF(T8=1,TS7+0.03,TS7);TS9:=IF(T9=1,TS8+0.03,TS8);TS10:=IF(T10=1,TS9+0.03,TS9);TS11:=IF(T11=1,TS10+0.03,TS10);TS12:=IF(T12,0+0.03,0);TS13:=IF(T13=1,TS12+0.03,TS12);TS14:=IF(T14=1,TS13+0.03,TS13);TS15:=IF(T15=1,TS14+0.03,TS14);TS16:=IF(T16=1,TS15+0.03,TS15);TS17:=IF(T17=1,TS16+0.03,TS16);TS18:=IF(T8=1,TS17+0.03,TS17);DRAWTEXT_FIX(T1,0.66,TS1,0,'★监控:主力增仓'),COLOR8080FF;DRAWTEXT_FIX(T2,0.66,TS2,0,'★监控:主力减仓'),COLORFFFF00;DRAWTEXT_FIX(T3,0.66,TS3,0,'★监控:多空平衡'),COLORGRAY;DRAWTEXT_FIX(T4,0.66,TS4,0,'★监控:主力回补'),COLORFF9933;DRAWTEXT_FIX(T5,0.66,TS5,0,'★监控:主力出逃'),COLORFFFF00;DRAWTEXT_FIX(T6,0.86,TS6,0,'★操作:买入风险'),COLORYELLOW;DRAWTEXT_FIX(T7,0.86,TS7,0,'★操作:卖出风险'),COLORFFFF00;DRAWTEXT_FIX(T8,0.86,TS8,0,'★操作:追涨博弈'),COLOR8080FF;DRAWTEXT_FIX(T9,0.86,TS9,0,'★操作:稳健持股'),COLOR8080FF;DRAWTEXT_FIX(T10,0.86,TS10,0,'★操作:盘跌减仓'),COLORFFFF00;DRAWTEXT_FIX(T11,0.86,TS11,0,'★操作:杀跌空仓'),COLORFFFF00;DRAWTEXT_FIX(T12,0.36,TS12,0,'☆特别提示:筑底散兵坑'),COLOR66FFCC; DRAWTEXT_FIX(T13,0.36,TS13,0,'☆特别提示:铸顶风险区'),COLORFFFF00; DRAWTEXT_FIX(T14,0.36,TS14,0,'☆特别提示:穿越主力'),COLOR8080FF; DRAWTEXT_FIX(T15,0.36,TS15,0,'☆特别提示:穿越主力'),COLORYELLOW; DRAWTEXT_FIX(T16,0.36,TS16,0,'☆特别提示:穿越散户'),COLORGREEN; DRAWTEXT_FIX(T17,0.36,TS17,0,'☆特别提示:全盘穿越'),COLOR3399FF;DRAWTEXT_FIX(T18,0.36,TS18,0,'☆特别提示:神秘黑洞'),COLOR9966FF;{AAA:=REFDATE(HHV(H,30),DATE);T1A:=CONST(IF(ZZNTS,1,0));TS1A:=IF(T1A=1,0+0.03,0);}{DRAWTEXT(T1A=1 AND CURRBARSCOUNT=45 AND PERIOD=5,AAA-(AAA*TS1A),'【走牛天数判断】'),COLORRED,LINETHICK6;}{DRAWNUMBER(T1A=1 AND CURRBARSCOUNT=45-12 AND PERIOD=5,AAA-(AAA*TS1A),CONST(ZZNTS)),COLORRED,LINETHICK6;};三日最低:=EMA((REF(L,4)+REF(L,3)+REF(L,2))/3,3);三日最高:=EMA((REF(H,4)+REF(H,3)+REF(H,2))/3,3),COLORWHITE;高:=CROSS(CROSS(三日最高,C),0.6),STICK,COLORWHITE;DRAWICON(高>0,高,2);F:=100*(C-REF(C,1))/REF(C,1);博尔:=IF(C<REF(O,1) AND F<0,1,0);P1:=博尔;量化:=IF(C<REF(O,2) AND F<0,1,0);P2:=量化;P1=0 AND REF(P1,1)=1 AND P2=0 AND REF(P2,1)=1,STICK,COLORFF00FF,LINETHICK1; DRAWICON(P1=0>0,P1=0,1);量:V,VOLSTICK;PJJ:=DMA((((HIGH + LOW) + (CLOSE * 2)) / 4),0.9);JJ:=REF(EMA(PJJ,3),1);QJJ:=(VOL / (((HIGH - LOW) * 2) - ABS((CLOSE - OPEN)))); XVL:=(IF((CLOSE > OPEN),(QJJ * (HIGH - LOW)),IF((CLOSE < OPEN),(QJJ * ((HIGH - OPEN) + (CLOSE - LOW))),(VOL / 2))) + IF((CLOSE > OPEN),(0 - (QJJ * ((HIGH - CLOSE) + (OPEN - LOW)))),IF((CLOSE < OPEN),(0 - (QJJ * (HIGH - LOW))),(0 - (VOL / 2)))));ZLL:=(VOL / CAPITAL);HSL1:=IF((ZLL > 10),10,ZLL);HSL:=((XVL / 20) / 1.15);进攻流量:=(((HSL * 0.55) + (REF(HSL,1) * 0.33)) + (REF(HSL,2) * 0.22));GJJ:=EMA(进攻流量,8); LLJX:=EMA(进攻流量,3);动态天量:=CONST(IF(V=HHV(V,20),V,REF(V,BARSLAST(V=HHV(V,20))))),COLOR00FF00,POINT DOT;STICKLINE(((HSL * 0.4) >= 0),动态天量+((HSL * 0.4) +LLJX)*20,动态天量,3,0),COLORYELLOW;STICKLINE(((HSL * 0.4) < 0),动态天量+((HSL * 0.4) +LLJX)*20,动态天量,3,0),COLOR00FF00;资金流入:=IF((HSL*0.4+LLJX)>0,(HSL*0.4+LLJX),DRAWNULL),COLORRED;资金流出:=IF((HSL*0.4+LLJX)<0,(HSL*0.4+LLJX),DRAWNULL),COLOR00FF00;资金收支:=(HSL*0.4+LLJX),LINETHICK0;万元:=AMOUNT/10000{0000},VOLSTICK,COLORFF00FF;资金净收支:IF((HSL*0.4+LLJX)>0,资金流入,资金流出),COLORWHITE,POINTDOT;收支比例%:IF((HSL*0.4+LLJX)>0,资金流入/万元*100,资金流出/万元*100),COLORYELLOW;连红天1:=BARSLASTCOUNT(资金净收支>0),,COLORA20FFD,NODRAW;连红天2:=IF(连红天1=0,REF(连红天1,1),连红天1),,COLORA20FFD,NODRAW;连红天3:=IF(连红天2=0,REF(连红天1,2),连红天2),,COLORA20FFD,NODRAW;连红天4:=IF(连红天3=0,REF(连红天1,3),连红天3),,COLORA20FFD,NODRAW;近期连红天:IF(连红天4=0,REF(连红天1,4),连红天4),COLORYELLOW,NODRAW;三日资金:SUM(资金收支,3),COLORWHITE,NODRAW;五日资金:SUM(资金收支,5),COLORFF00FF,NODRAW;十日资金:SUM(资金收支,10),COLOR0000FF,NODRAW;资金流量:=LLJX,LINETHICK0,COLOR0000FF;STICKLINE((资金流量> 0),动态天量+资金流量*20,动态天量,3,0),COLOR0000FF; STICKLINE((资金流量< 0),动态天量+资金流量*20,动态天量,3,0),COLOR008000;万手:VOL/10000,LINETHICK0;BB:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));TOTAL:=IF(PERIOD=1,5,IF(PERIOD=2,15,IF(PERIOD=3,30,IF(PERIOD=4,60,IF(PERIOD =5,TOTALFZNUM,1)))));MTIME:=MOD(FROMOPEN,TOTAL);CTIME:=IF(MTIME<0.5,TOTAL,MTIME);VVOL:IF(CURRBARSCOUNT=1,VOL*TOTAL/CTIME,DRAWNULL),NODRAW; STICKLINE(CURRBARSCOUNT=1,VVOL,0,-1,-1),COLOR00C0C0;VOLUME:VOL,VOLSTICK;MAVOL1:MA(VOLUME,M1),COLOR80FFFF,LINETHICK1;MAVOL2:MA(VOLUME,M2),COLORFF00FF,LINETHICK1;{变色彩带}VAR1:=(2*CLOSE+HIGH+LOW)/4;操盘线: (EMA(VAR1,2)+EMA(VAR1,3)+EMA(VAR1,5)+EMA(VAR1,8)+EMA(VAR1,11)+EMA(VAR1,1 3))/6.4,COLORFFFF00,LINETHICK1,CIRCLEDOT;IF(操盘线>REF(操盘线,1),操盘线,DRAWNULL),COLOR0000FF,LINETHICK1,CIRCLEDOT;。