波段王副图
文华波段王指标源码
文华波段王指标源码文华波段王指标源码解析引言:股市中的技术分析一直扮演着非常重要的角色。
技术分析帮助交易员在买卖投资市场时作出决策。
其中一个广泛应用的技术指标是文华波段王指标(VWAP)。
文华波段王指标是一种基于成交量和价格的技术指标,用于判断股价的走势和价格的支撑与阻力位。
本文将深入分析文华波段王指标的源码实现。
一、文华波段王指标历史及背景文华波段王指标(Volume Weighted Average Price)是由美国交易员Tomah Verchota于1984年提出的。
它是一种从价格和成交量两个维度来衡量证券市场供需关系的技术指标。
通过观察证券的平均价格和成交量的变化,交易员可以更好地判断价格的走势。
文华波段王指标是一个动态的指标,它在每个交易日结束时根据当日的成交量和价格计算出一个平均值。
文华波段王指标的计算方式主要包括以下几个步骤:1. 计算每个交易日的价格加权平均值。
2. 根据每个交易日的成交量加权平均值计算出每个交易日的加权平均价与加权平均量。
3. 根据加权平均价和加权平均量计算出每个交易日的文华波段王指标。
二、文华波段王指标源码实现下面是一种用Python编写的计算文华波段王指标的示例代码:```pythonimport numpy as npdef vwap(high, low, close, volume):tp = (high + low + close) / 3tpv = tp * volumevwap = np.cumsum(tpv) / np.cumsum(volume)return vwap```上述代码包含了一个名为vwap的函数,它接受四个参数:high、low、close和volume。
这些参数分别表示每个交易日的最高价格、最低价格、收盘价格和成交量。
在函数内部,我们首先计算了每个交易日的价格加权平均值(tp)。
然后,我们计算出了每个交易日的成交量加权平均价(tpv)。
三板斧经典指标波段神器通达信主图副图指标
三板斧经典指标波段神器通达信主图副图指标主图指标MA5:MA(C,5),COLORFF00FF,LINETHICK1;MA10:MA(C,10),COLOR00FFFF,LINETHICK1;MA21:MA(C,21),COLORC0FF7F,LINETHICK1;MA55:MA(C,55),COLORFFFFFF,LINETHICK1;黄金线:MA(C,10),COLOR00FFFF,LINETHICK2;VAR11:=1;VAR12:=((((2*CLOSE)+HIGH)+LOW) / 4);VAR14:=LLV(LOW,5);VAR15:=HHV(HIGH,4);C1:=(EMA((((VAR12-VAR14)/(VAR15-VAR14))*100),4)*VAR11),COLORRED,LINETHICK2;C2:=(EMA(((0.667*REF(C1,1))+(0.333*C1)),2)*VAR11),COLOR FFFFFF,LINETHICK2;AA:=C1>=C2 ;BB:=C2>C1 ;DRAWICON(CROSS(C1,C2),L-0.1,1); DRAWICON(CROSS(C2,C1),H+0.1,2); STICKLINE(AA,C,O,3,0),COLORRED; STICKLINE(AA,H,L,0.5,0),COLORRED; STICKLINE(BB,C,O,3,0),COLOR00FF00; STICKLINE(BB,H,L,0.5,0),COLOR00FF00;{红}STICKLINE(AA,CLOSE,OPEN,3,0),COLOR000099; STICKLINE(AA,CLOSE,OPEN,2.2,0),COLOR0000CC; STICKLINE(AA,CLOSE,OPEN,1.5,0),COLOR0000FF; STICKLINE(AA,CLOSE,OPEN,0.5,0),COLORCC66FF; {蓝}STICKLINE(BB,CLOSE,OPEN,3,0),COLORFF7700; STICKLINE(BB,CLOSE,OPEN,2.2,0),COLORFF9900; STICKLINE(BB,CLOSE,OPEN,1.5,0),COLORFFBB00; STICKLINE(BB,CLOSE,OPEN,0.5,0),COLORCYAN; AAF:LLV(LOW,34),LINETHICK1,COLORFFFFCC; BBF:MA(AAF,4),LINETHICK1,COLORYELLOW; TYP := (HIGH + LOW + CLOSE)/3;CCI1:=(TYP-MA(TYP,6))/(0.015*AVEDEV(TYP,5)); 差值1:=ABS(REF(CCI1,1)-CCI1),LINETHICK0;CCI2:=(TYP-MA(TYP,10))/(0.015*AVEDEV(TYP,10)); 差值2:=ABS(REF(CCI2,1)-CCI2),LINETHICK0;CCI3:=(TYP-MA(TYP,20))/(0.015*AVEDEV(TYP,20)); 差值3:=ABS(REF(CCI3,1)-CCI3),LINETHICK0;CCI4:=(TYP-MA(TYP,30))/(0.015*AVEDEV(TYP,30)); 差值4:=ABS(REF(CCI4,1)-CCI4),LINETHICK0;CCI5:=(TYP-MA(TYP,60))/(0.015*AVEDEV(TYP,60));差值5:=ABS(REF(CCI5,1)-CCI5),LINETHICK0;CCI:=CCI1+CCI2+CCI3+CCI4+CCI5;AAA:=(3*C+H+L+O)/6;VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3) +4*REF(AAA,4)+3*REF(AAA,5)+2*REF(AAA,6)+REF(AAA,8))/ 36;VAR2:=(HHV(VAR1,5)+HHV(VAR1,10)+HHV(VAR1,20))/3;VAR3:=(LLV(VAR1,5)+LLV(VAR1,10)+LLV(VAR1,20))/3;VAR4:=(HHV(VAR2,5)+HHV(VAR2,10)+HHV(VAR2,20))/3;VAR5:=(LLV(VAR3,5)+LLV(VAR3,10)+LLV(VAR3,20))/3;VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,6))/3;短线:VAR1,COLORWHITE;中线:VAR6,COLORRED;下跌:IF(VAR1=VAR6,VAR6, DRAWNULL),COLORGREEN;TJ1:= CCI1>差值4;立桩量:=FILTER(TJ1,0),NODRAW;TJ2:=IF(BARSLAST(立桩量)=1 ,1,0);STICKLINE(立桩量 !=1,REF(HIGH,BARSLAST(立桩量)),REF(HIGH,BARSLAST(立桩量)),1,1),COLORCYAN;{STICKLINE(立桩量 !=1,REF(LOW,BARSLAST(立桩量)),REF(LOW,BARSLAST(立桩量)),1,1),COLORCYAN;}成立1:=TJ2=1;条件成立1:=FILTER(成立1,5);DRAWTEXT(条件成立1, REF(HIGH,BARSLAST(立桩量)),'看跌'),COLORLIBLUE;TJ11:= CCI1<-差值4 ;立桩量2:=FILTER(TJ11,0),NODRAW;TJ22:=IF(BARSLAST(立桩量2)=1 AND CLOSE>REF(HIGH,1),1,0);突破2:=TJ22=1;{STICKLINE(CLOSE AND 下跌!= VAR6,REF(HIGH,BARSLAST(立桩量2)),REF(HIGH,BARSLAST(立桩量2)),1,1),COLORYELLOW;}STICKLINE(CLOSE AND 下跌!= VAR6,REF(LOW,BARSLAST(立桩量2)),REF(LOW,BARSLAST(立桩量2)),1,1),COLORYELLOW;TJ:=IF(BARSLAST(立桩量2)=1 AND CLOSE>REF(LOW,1),1,0);成立2:=TJ=1;条件成立2:=FILTER(成立2,5);DRAWTEXT(条件成立2,REF(LOW,BARSLAST(立桩量2)),'看涨'),COLORLIMAGENTA;TJ111:=ABS(CCI1)>CCI AND ABS( 差值1)> ABS(差值5);立桩量3:=FILTER(TJ111,3);TJ3:=IF(BARSLAST(立桩量3)=1 AND CLOSE>REF(LOW,1),1,IF(BARSLAST(立桩量3)=2 AND CLOSE>REF(LOW,2),1,IF(BARSLAST(立桩量3)=3 AND CLOSE>REF(LOW,3),1,0)));成立:=TJ3=1;条件成立:=FILTER(成立,5);DRAWTEXT(条件成立 AND 下跌!= VAR6,L*0.97,'☆成立');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),BBF,'底背离'),COLORA6E500;DRAWTEXT(CROSS(88,RSI),(HIGH * 1.02),'顶背离'),COLOR1880FF;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;STICKLINE(1,C,O,2.8,0),COLOR666600;STICKLINE(立桩量,C,O,2.8,0),COLOR0000FF;STICKLINE(1,C,O,0,0),COLORCCCCCC;副图X_1:=EMA(CLOSE,2);X_2:=EMA(CLOSE,5);X_3:=EMA(CLOSE,13);X_4:=EMA(CLOSE,30);X_5:=X_2>=REF(X_2,1);X_6:=MAX(MAX(X_2,X_3),X_4);X_7:=MIN(MIN(X_2,X_3),X_4);X_8:=X_6<CLOSE AND OPEN<X_7 AND X_5 AND X_1>REF(X_1,1);X_9:=IF(X_8,1,0);X_10:=MA(CLOSE,5);X_11:=ATAN((X_10/REF(X_10,1)-1)*100)*180/3.1416;X_12:=SMA(EMA((X_10-REF(X_10,1))/REF(X_10,1),3)*100,3,1);X_13:=EMA(X_12-REF(X_12,1),3);X_14:=MA(CLOSE,10);X_15:=MA(CLOSE,30);X_16:=(CLOSE-X_15)/X_15*100;X_17:=FILTER(COUNT(CROSS(X_11,30),5)>=1 AND X_10>REF(X_10,1) AND X_16>REF(X_16,1) AND X_14>REF(X_14,1) AND X_13>REF(X_13,1) AND X_12>REF(X_12,1),10);强风口:X_9 OR X_17;预测风口:X_9=1;超强风口:X_17=1;。
波段王指标详解通达信波段
波段王指标详解通达信波段波段王指标详解通达信波段详细说明第⼀股票公式⽹()告诉您:当前正要下载:波段王指标详解通达信波段原创副图指标--波段王(呵呵。
最有钱赚的就是波段)呵呵。
介绍⼀下⽤法:红⾊持股,绿⾊持币,上⾯的信号出现代表短期顶部,下⾯的信号出现代表短期底部,同⼀天信号出现越多,可靠性越强,顶背离和底背离信号就不解释,按字⾯意思理解,(注意:资⾦进场和资⾦增仓两个信号有未来函数,其它信号都不含有未来函数)好不好⽤⾃⼰下了去分析,呵呵。
喜欢就下吧,⾛过路过留下回帖源码如下:LMG1:=HHV(MA(H,13),13);LMG2:=LLV(MA(H,13),1);LMG3:=LMG1=LMG2 AND REF(LMG2,1)LMG4:=LMG1>LMG2 AND REF(LMG2,1)=REF(LMG1,1);LMG5:=IF(LMG1=LMG2,20,-20);LMG6:=LMG1=LMG2 AND REF(CLOSE,1)>LMG1 AND CLOSEVAR1:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100+(CLOSE-MA(CLOSE, 32))/MA(CLOSE,32)*100)/3;LMG7:=VAR1<-9 AND VAR1> REF(VAR1,1);⼤顶:=VAR1>20 AND FILTER(VAR1< REF(VAR1,1),5);短顶:=VAR1>9 AND FILTER(VAR1< REF(VAR1,1),5),COLORGREEN;VAR2:=HHV(VAR1>20,10);危险:=VAR2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20));注意⽌损:=VAR2 AND FILTER(VAR1< REF(VAR1,1),6) AND CROSS(MA(CLOSE,5),MA(CLOSE,2));⼤底:=VAR1<-20 AND FILTER(VAR1> REF(VAR1,1),7);短底:=VAR1<-9 AND VAR1> REF(VAR1,1);持币区域:=VAR1,COLORFEDCBA;持股区域:=IF(VAR1>0,VAR1,0);STICKLINE(短顶,30,27,1,0),COLORWHITE;STICKLINE(⼤顶,30,33,2,0),COLORBLUE;STICKLINE(危险,33,36,3,0),COLORGREEN;STICKLINE(短底,-27,-30,1,0),COLORWHITE;STICKLINE(⼤底,-30,-33,2,0),COLORRED;STICKLINE(LMG7,-33,-36,3,0),COLORYELLOW;多空线:=(MA(LOW,6)+MA(LOW,13)+MA(LOW,26))/3;STICKLINE(CLOSE>多空线,0,20,1,1),COLORRED;STICKLINE(CLOSE<多空线,0,-20,1,1),COLORGREEN;RSV:=(((CLOSE - LLV(LOW,13)) / (HHV(HIGH,13) - LLV(LOW,13))) * 100);K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=((3 * K) - (2 * D));RSV12:=(((CLOSE - LLV(LOW,34)) / (HHV(HIGH,34) - LLV(LOW,34))) * 100);K12:=SMA(RSV12,3,1);D12:=SMA(K12,3,1);J12:=((3 * K12) - (2 * D12));RSV24:=(((CLOSE - LLV(LOW,55)) / (HHV(HIGH,55) - LLV(LOW,55))) * 100);K24:=SMA(RSV24,3,1);D24:=SMA(K24,3,1);J24:=((3 * K24) - (2 * D24));压⼒位:=IF(CROSS(J24,J),HIGH,REF(HIGH,BARSLAST(CROSS(J24,J))));LMGXHW0:=(OPEN<压⼒位 AND CLOSE>压⼒位) OR (REF(CLOSE,1)压⼒位 AND CLOSE>压⼒位);VAR101:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));ZDMP1:=IF(CLOSE>OPEN,VAR101*(HIGH-LOW),IF(CLOSEZDMP2:=IF(CLOSE>OPEN,0-VAR101*((HIGH-CLOSE)+(OPEN-LOW)),IF(CLOSEA01:=SUM((ZDMP1+ZDMP2),10);A02:=SUM((ZDMP1+ZDMP2),20);A03:=SUM((ZDMP1+ZDMP2),30);A04:=ZDMP1+ZDMP2;A05:=SUM(A04,5);V1:=(MA(VOL,6)+MA(VOL,13)+MA(VOL,26))/3;多空量:=V1;上限:=V1*1.382;下限:=V1*0.618;LMGXHW1:=IF(CROSS(J24,J),HIGH,REF(HIGH,BARSLAST(CROSS(J24,J))));DRAWICON(CROSS(LMGXHW1,多空线) AND LMG5=20,32,2);DRAWICON(CROSS(多空线,LMGXHW1) AND LMG5=20,32,2);LC:=REF(CLOSE,1);RSI11:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);底背离:IF(CROSS(FF,MA15),-20,-40),COLORRED;顶背离:IF(CROSS(88,RSI),20,40),COLORGREEN;V11:=(C*2+H+L)/4*10;V12:=EMA(V11,13)-EMA(V11,34);V13:=EMA(V12,5);V14:=2*(V12-V13)*5.5;庄秘撤:=IF(V14<=0,V14,0);庄秘进:=IF(V14>=0,V14,0);V15:=(HHV(INDEXH,8)-INDEXC)/(HHV(INDEXH,8)-LLV(INDEXL,8))*8;V16:=EMA(3*V15-2*SMA(V15,18,1),5);V17:=(INDEXC-LLV(INDEXL,8))/(HHV(INDEXH,8)-LLV(INDEXL,8))*10;V18:=(INDEXC*2+INDEXH+INDEXL)/4;V19:=EMA(V18,13)-EMA(V18,34);V1A:=EMA(V19,3);V1B:=(V19-V1A)/2;⼤筹⾦进场:=IF(V1B>=0,V1B,0),COLORYELLOW,LINETHICK2;⼤筹⾦撤⾛:=IF(V1B<=0,V1B,0),COLORBLUE,LINETHICK2;AA:=WINNER(CLOSE+CLOSE*15/100)*100;BB:=WINNER(CLOSE+CLOSE*0/100)*100;CC:=AA-BB;DD:=(WINNER(CLOSE-CLOSE*0.1/100)-WINNER(CLOSE-CLOSE*15/100))*100;EE:=CC<3 AND DD<0.5 AND (OPENLOW);A1:=DYNAINFO(6);A2:=IF(LOW>A1,0,IF(HIGHA3:=VOL/WINNER(LOW);A4:=REF(HHV(CLOSE,120),1);A5:=REF(LLV(CLOSE,120),1);A6:=100*(CLOSE-A5)/(A4-A5);A7:=A2>0 OR A2=1;A8:=A7 AND A3/REF(A3,3)>=3 AND A6<80;A9:=REF(A8,1) OR REF(A8,2) OR REF(A8,3) OR REF(A8,4);A10:=A8 AND A9;A11:=IF(FILTER(A8,3),5,0);A12:=IF(FILTER(A10,3) OR EE,10,0);DRAWTEXT(A11=5,-2,'资⾦进场'),COLORRED;DRAWTEXT(A12=10,-15,'资⾦增仓'),COLORMAGENTA;VAR11:=REF(LOW,1);VAR12:=SMA(ABS(LOW-VAR11),13,1)/SMA(MAX(LOW-VAR11,0),13,1)*4;VAR13:=EMA(VAR12,13);VAR14:=LLV(LOW,34);VAR15:=EMA(IF(LOW<=VAR14,VAR13,0),3);主⼒进场:=STICKLINE(VAR15>REF(VAR15,1),0,VAR15,7,0 );洗盘:=IF(VAR15VAR6:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75)) /(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR7:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(H HV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR8:=VAR6REF(VOL,1) AND CLOSE>REF(CLOSE,1);DRAWTEXT(VAR8 AND COUNT(VAR8,30)=1,-10,'资⾦增筹'),COLORYELLOW; >>>请使⽤本站搜索功能将找到更多相关“波段王指标详解通达信波段”。
波段王指标(幅图)
波段王指标(幅图)指标源码:R1:=(CLOSE+HIGH+LOW+OPEN)/(4);R2:=SUMBARS(VOL,CAPITAL);R3:=HHV(R1,R2);R4:=LLV(R1,R2);R5:=((2)*(R1)-R4-REF(R4,1))/(R3-R4);R6:=(R1-R4)/(R3-R4);R7:=IF((R1<=R4),(R5)*(60),(R6)*(60));R8:=((600)*(EMA(CLOSE,3)-EMA(LOW,30)))/(EMA(LOW,30));R9:=EMA(R8,7);RC:=HHV(HIGH,9)-LLV(LOW,9);RD:=HHV(HIGH,9)-CLOSE;RE:=CLOSE-LLV(LOW,9);RF:=((RD)/(RC))*(100)-70;R10:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);R11:=((2)*(CLOSE)+HIGH+LOW)/(4);R12:=SMA(((RE)/(RC))*(100),3,1);R13:=LLV(LOW,34);R14:=SMA(R12,3,1)-SMA(RF,9,1);R15:=IF((R14>100),R14-100,0);R16:=HHV(HIGH,34);R17:=EMA(((R11-R13)/(R16-R13))*(100),8);R18:=EMA(R17,5);R22:=REF(LOW,1);R23:=((SMA(ABS(LOW-R22),3,1))/(SMA(MAX(LOW-R22,0),3,1)))*(100);R24:=EMA(IF((CLOSE)*(1.3),(R23)*(10),(R23)/(10)),3);R25:=LLV(LOW,30);R26:=HHV(R24,30);R27:=IF(MA(CLOSE,58),1,0);R28:=((EMA(IF((LOW<=R25),(R24+(R26)*(2))/(2),0),3))/(618)) *(R27);R29:=IF((R28>100),100,R28);STICKLINE((R29>(-150)),0,R29,1,0),COLORFF00FF;RK1:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);RK2:=REVERSE(RK1);RK3:=SMA(RK1,3,1);波段王:=SMA(RK3,3,1);波段鬼:=SMA(波段王,2.5,1);趋势线:(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)),LINETHICK1,COLORFFCCCC;RSV9:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1);买点准备:IF((趋势线<=10),0,10),LINETHICK1,COLORFF9933;DRAWTEXT(IF(CROSS(趋势线,10),100,0),68,'抄底'),COLORFFFFFF;DRAWTEXT(IF(CROSS(10,趋势线),1,0),10,'$备钱'),COLOR33FFCC;选股指标(用准备买入):R1:=(CLOSE+HIGH+LOW+OPEN)/(4);R2:=SUMBARS(VOL,CAPITAL);R3:=HHV(R1,R2);R4:=LLV(R1,R2);R5:=((2)*(R1)-R4-REF(R4,1))/(R3-R4);R6:=(R1-R4)/(R3-R4);R7:=IF((R1<=R4),(R5)*(60),(R6)*(60));R8:=((600)*(EMA(CLOSE,3)-EMA(LOW,30)))/(EMA(LOW,30));R9:=EMA(R8,7);RC:=HHV(HIGH,9)-LLV(LOW,9);RD:=HHV(HIGH,9)-CLOSE;RE:=CLOSE-LLV(LOW,9);RF:=((RD)/(RC))*(100)-70;R10:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);R11:=((2)*(CLOSE)+HIGH+LOW)/(4);R12:=SMA(((RE)/(RC))*(100),3,1);R13:=LLV(LOW,34);R14:=SMA(R12,3,1)-SMA(RF,9,1);R15:=IF((R14>100),R14-100,0);R16:=HHV(HIGH,34);R17:=EMA(((R11-R13)/(R16-R13))*(100),8);R18:=EMA(R17,5);R22:=REF(LOW,1);R23:=((SMA(ABS(LOW-R22),3,1))/(SMA(MAX(LOW-R22,0),3,1)))*(100);R24:=EMA(IF((CLOSE)*(1.3),(R23)*(10),(R23)/(10)),3);R25:=LLV(LOW,30);R26:=HHV(R24,30);R27:=IF(MA(CLOSE,58),1,0);R28:=((EMA(IF((LOW<=R25),(R24+(R26)*(2))/(2),0),3))/(618)) *(R27);R29:=IF((R28>100),100,R28);RK1:=((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27)))*(100);RK2:=REVERSE(RK1);RK3:=SMA(RK1,3,1);波段王:=SMA(RK3,3,1);波段鬼:=SMA(波段王,2.5,1);趋势线:=(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)),LINETHICK1,COLORFFCCCC;RSV9:=((CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9)))*(100);K1:=SMA(RSV9,3,1);DK1:=K1-REF(K1,1);买点准备:IF((趋势线<=10),0,10),LINETHICK1,COLORFF9933;。
通达信指标公式源码精准波段买卖副图指标
通达信指标公式源码精准波段买卖副图指标Z1:=STRCAT('【',STRCAT(CODE,STKNAME));Z2:=STRCAT(' ⾏业:',HYBLOCK);Z3:=STRCAT(' 地域:',DYBLOCK);Z4:=STRCAT(STRCAT(' 概念:',GNBLOCK),'】');Z5:=STRCAT(Z1,Z2);Z6:=STRCAT(Z3,Z4);Z7:=STRCAT(Z5,Z6);DRAWTEXT_FIX(1,0,0.0,0,Z7),COLOR00EEEE;DRAWTEXT_FIX(1,0,0.06,0,STRCAT('【风格:',STRCAT(FGBLOCK,'】'))),COLOREEEE00;EMA13:=EMA(C,13),COLORWHITE;EMA21:=EMA(C,21),COLORYELLOW;EMA34:=EMA(C,34),COLORFF00FF;EMA60:=MA(C,60),COLORFFCC66;VAR2:=(2*CLOSE+HIGH+LOW)/4;VAR3:=IF(YEAR>=2099 AND MONTH>2,0,1);VAR4:=LLV(LOW,5); VAR5:=HHV(HIGH,4);散户:=EMA((VAR2-VAR4)/(VAR5-VAR4)*100,4)*VAR3;庄家:=EMA(0.667*REF(散户,1)+0.333*散户,2)*VAR3;DRAWTEXT(CROSS(散户,庄家) AND 散户<30,L-0.05,'←观望'),COLORLIRED; DRAWTEXT(CROSS(庄家,散户) AND 散户>70,H+0.05,'←吃饱离场'),COLORGREEN; DRAWICON(CROSS(散户,庄家) AND 散户<30,L-0.05,1);DRAWICON(CROSS(庄家,散户) AND 散户>70,H+0.05,2);VAR9:=CLOSE-REF(CLOSE,5);VARA:=EMA(EMA(VAR9,5),5)/EMA(EMA(ABS(VAR9),5),5);VARC:=EMA(EMA(VAR9,20),20)/EMA(EMA(ABS(VAR9),20),20);卖出:=IF(VARA>0 AND CROSS(VARC,VARA),90,100);DRAWICON(卖出<0,H+0.05,2); 买线:=EMA(CLOSE,2);卖线:=EMA(SLOPE(CLOSE,21)*20+CLOSE,42);B1:IF(CROSS(买线,卖线),L-0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORMAGENTA;S1:IF(CROSS(80,RSI)*30,H+0.02,DRAWNULL),CROSSDOT,LINETHICK3,COLORYELLOW; VC:=((CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100+(CLOSE-MA(CLOSE,24))/MA(CLOSE,24) *100+(CLOSE-MA(CLOSE,32))/MA(CLOSE,32)*100)/3;S2:=IF(VC>20 AND FILTER(VC< REF(VC,1),5),H+0.02,DRAWNULL),CIRCLEDOT,LINETHICK3,COLORGREEN; A0:=(L+H+C*2)/4;A1:EMA(A0,14)COLORBLUE,LINETHICK2;A2:=EMA(A0,25)COLORLIBLUE,LINETHICK2;A1X:=(A1-REF(A1,1))/REF(A1,1)*100,NODRAW;A2X:=(A2-REF(A2,1))/REF(A2,1)*100,NODRAW;STICKLINE(CROSS(A1X,0),H,L,0,0 ),COLOR9933FF;STICKLINE(CROSS(A1X,0),C,O,3,0 ),COLOR0000CC;STICKLINE(CROSS(A1X,0),C,O,1,0 ),COLOR0033FF;STICKLINE(CROSS(0,A1X),L,H,0,0 ),COLOR66CC33;DRAWTEXT(CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),(LOW*0.99),'加点仓准备吃⾁'),LINETHICK3,COLORF00FF0;DRAWTEXT(CROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2)),(HIGH* 1.01),'↓猪⼋戒背媳妇跑'),LINETHICK3,COLORFFFFFF;STICKLINE((EMA(CLOSE,2) >=EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),LOW,HIGH,0.1,0),COLOR0000FF; STICKLINE((EMA(CLOSE,2)>=EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,3,0),COLOR0000AA; STICKLINE((EMA(CLOSE,2) >=EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,2,0),COLOR0000CC; STICKLINE((EMA(CLOSE,2) <EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,2,0),COLORCCCC00; STICKLINE((EMA(CLOSE,2) <EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),CLOSE,OPEN,3,0),COLORAAAA00; STICKLINE((EMA(CLOSE,2) <EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42)),LOW,HIGH,0.1,0),COLORFFFF00;STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42))ORCROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),LOW,HIGH,0.1,0),COLOR00FFFF;STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42))ORCROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),OPEN,CLOSE,3,0),CO LOR00AAAA; STICKLINE((CROSS(EMA(CLOSE,2),EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42))ORCROSS(EMA(((SLOPE(CLOSE,21)*20)+CLOSE),42),EMA(CLOSE,2))),OPEN,CLOSE,2,0),CO LOR00CCCC;MAA5:MA(C,5),COLORFF00FF,LINETHICK5;MAA10:=MA(C,10);MAA30:MA(C,30),COLORRED;KS:IF(MAA10>MAA30,MAA10,MAA30),COLORBLUE;A3:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;A4:=SMA(A3,3,1);A5:=SMA(A4,3,1);A6:=3*A4-2*A5;A7:=C-REF(C,1);A8:=100*EMA(EMA(A7,6),6)/EMA(EMA(ABS(A7),6),6);买:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2)); DRAWTEXT(FILTER(买=1,5),LOW-0.05,'猪⼋戒买⼊'),COLORYELLOW;。
波段王副图
波段王副图V AR1:=(CLOSE+HIGH+LOW+OPEN)/4;V AR2:=SUMBARS(VOL,CAPITAL);V AR3:=HHV(V AR1,V AR2);V AR4:=LLV(V AR1,V AR2);V AR5:=(2*VAR1-V AR4-REF(V AR4,1))/(V AR3-V AR4);V AR6:=(V AR1-VAR4)/(V AR3-V AR4);V AR7:=IF(VAR1<=V AR4,V AR5*60,V AR6*60);V AR8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);V AR9:=EMA(VAR8,7);V ARA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;V ARB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5; V ARC:=HHV(HIGH,9)-LLV(LOW,9);V ARD:=HHV(HIGH,9)-CLOSE;V ARE:=CLOSE-LLV(LOW,9);V ARF:=VARD/V ARC*100-70;V AR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;V AR11:=(2*CLOSE+HIGH+LOW)/4;V AR12:=SMA(VARE/V ARC*100,3,1);V AR13:=LLV(LOW,34);V AR14:=SMA(VAR12,3,1)-SMA(V ARF,9,1);V AR15:=IF(VAR14>100,V AR14-100,0);V AR16:=HHV(HIGH,34);V AR17:=EMA((V AR11-V AR13)/(V AR16-V AR13)*100,8);V AR18:=EMA(V AR17,5);STICKLINE(V AR17-V AR18>0,V AR17,V AR18,8,1), ,COLORRED ; STICKLINE(V AR17-V AR18<0,V AR17,V AR18,8,1), ,COLORGREEN ;波浪线V AR1:=(HIGH+LOW)/2;AO:MA(V AR1,5)-MA(V AR1,34),LINETHICK0;STICKLINE(AO>=REF(AO,1),0,AO,0.1,1),COLORRED;STICKLINE(AO<REF(AO,1),0,AO,0.1,1),COLORGREEN;AO5:=MA(AO,5),COLORYELLOW;S1:=CROSS(0,AO);S2:=AO<0 AND REF(AO,1)>REF(AO,2) AND AO<REF(AO,1); SCOUNT:=BARSLAST(AO<0);SD:=HHV(AO,SCOUNT);SCOUNTD:=HHVBARS(AO,SCOUNT);S3:=AO>0 AND REF(AO,1)>REF(AO,2) AND AO<REF(AO,1);S31:=COUNT(S3,SCOUNTD);B1:=CROSS(AO,0);B2:=AO>0 AND REF(AO,1)<REF(AO,2) AND AO>REF(AO,1) ;BCOUNT:=BARSLAST(AO>0);BD:=LLV(AO,BCOUNT);BCOUNTD:=LLVBARS(AO,BCOUNT);B3:=AO<0 AND REF(AO,1)<REF(AO,2) AND AO>REF(AO,1);B31:=COUNT(B3,BCOUNTD);大单动向N:=20;JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOS E)-LOW)));QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOS E,OPEN))));QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX( OPEN,CLOSE))));QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,O PEN)-JJ)));DDX:((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,1000000,10000),COLOR00AAAA,LINETHICK; DX:=MA(DDX,5)*N;STICKLINE(DDX>0,0,DDX,3,0),COLOR000088;STICKLINE(DDX>0,0,DDX,2.5,0),COLOR0000AA;STICKLINE(DDX>0,0,DDX,1.5,0),COLOR0000CC;STICKLINE(DDX>0,0,DDX,1,0),COLOR0000EE;STICKLINE(DDX<0,0,DDX,3,0),COLOR008800;STICKLINE(DDX<0,0,DDX,2.5,0),COLOR00AA00;STICKLINE(DDX<0,0,DDX,1.5,0),COLOR00CC00;STICKLINE(DDX<0,0,DDX,1,0),COLOR00EE00;DDX1:SMA(DX,3,1),COLORFFFFFF;DDX2:SMA(DDX1,3,1),COLOR00FFFF;DDX3:EMA(DDX2,5),COLORFF00FF;预警:DDX>0 AND MA(V,5)>MA(MA(V,5),5) AND CROSS(DDX1,DDX2),LINETHICK;天:=COUNT(DDX>0,5),COLORRED;DRAWTEXT(预警,DDX*1.06,'★'),LINETHICK3,COLOR00FFFF;龙飞九天M3:= EMA(CLOSE,3);M8: EMA(CLOSE,8), , COLORGREEN;M13: EMA(M8,13), , COLORRED;V AR1:=EMA(M13,62);V AR2:=(CLOSE+HIGH+LOW)/3;V AR3:=EMA(VAR2,10);V AR4:=REF(VAR3,1);STICKLINE(V AR3>V AR4,V AR3,V AR4,4,0), , COLORYELLOW;STICKLINE(V AR3<V AR4,V AR3,V AR4,4,0), , COLORLIGREEN;V AR5:=(REF(HIGH,1)+REF(LOW,1))/2;V AR6:=MA(CLOSE,N)+2*STD(CLOSE,N);DRAWTEXT(CROSS(V AR3,V AR4),V AR3*0.98,''),COLORYELLOW;DRAWTEXT(CROSS(V AR5,V AR6),HIGH*1.04,'↓高位'), , COLORGREEN;V AR7:=REF(CLOSE,1);V AR8:=SMA(MAX(CLOSE-V AR7,0),N1,1)/SMA(ABS(CLOSE-V AR7),N1,1)*100;V AR9:=CROSS(N2,V AR8);V ARA:=FILTER(V AR9,4);DRAWTEXT(V ARA,HIGH*1.04,''), , COLORWHITE;V ARB:=(2*CLOSE+HIGH+LOW)/4;V ARC:=LLV(LOW,34);V ARD:=HHV(HIGH,34);V ARE:=EMA((V ARB-V AR1)/(V AR5-V AR1)*100,7);V ARF:=EMA(0.667*REF(V ARE,1)+0.333*VARE,5);DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.6 AND VOL>=1.5*MA(VOL,5) AND COUNT(V ARE>=V ARF,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'●买进'), , {00010001};DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>0.6 AND COUNT(VARE>V ARF,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND OPEN>REF(CLOSE,1),1,0),LOW,'●买进'), , COLORYELLOW;V AR10:=MA(CLOSE,80)-MA(CLOSE,10)/3;DRAWTEXT(IF(CLOSE<V AR10 AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'●抄底'), , COLORRED;BB:=HHV(HHV(LOW,14),60);X:=HHV(MA((L+H+C)/3,8),60),COLORFF6600;{N 1 999 20 n1 1 999 7 n2 1 999 69 }龙游四海QW1:=(HIGH+LOW+CLOSE*2)/4;QW3:=EMA(QW1,10);QW4:=STD(QW1,10);QW5:=(QW1-QW3)*100/QW4;QW6:=EMA(QW5,5);RK7:=EMA(QW6,10);涨:EMA(QW6,10)+100/2-5,LINETHICK1,COLORRED;跌:EMA(涨,4),LINETHICK1,COLORFFFF34;多线:IF(CROSS(涨,跌) AND 跌<-10,30,0),LINETHICK1,COLORFF00FF;空线:IF(CROSS(跌,80),70,100),COLOR0099FF,LINETHICK1;买1:EMA(跌,4),COLORWHITE;买2:EMA(买1,4),COLORGREEN;买M3:=EMA(买2,4);买M4:=EMA(买M3,4);-10,POINTDOT,COLOR888888,LINETHICK2;80,POINTDOT,COLOR888888,LINETHICK2;STICKLINE(涨<REF(涨,1),涨,MA(涨,3),2,0 ),COLOR00EE00;STICKLINE(涨<REF(涨,1),涨,MA(涨,3),1,0 ),COLOR00FF00;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),3,0) ,COLOR0099FF;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),2,0) ,COLOR00AAFF;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),1,0) ,COLOR00BBFF;DRAWICON(多线,30,1),COLORFF00FF;DRAWICON(CROSS(跌,80),70,2),COLORGREEN;DRAWTEXT(CROSS(涨,跌) AND 跌<20 AND 跌>-10,40,'买入'),COLORCCFF99; DRAWTEXT(多线>0,-20,'看涨'),COLOR0000FF;V AR2:=MA(CLOSE,194);V AR3:=V AR2+2*STD(CLOSE,170);顶:(CLOSE>VAR3)*13*10,COLORBLUE,LINETHICK2;V AR18:=HHV(HIGH,30);V AR19:=LLV(LOW,30);NL:=EMA((CLOSE-V AR19)/(V AR18-V AR19)*100,5)/8*10;DRAWTEXT(CROSS(5,NL),30,'★做底'),COLORWHITE;V AR44:=REF(CLOSE,1);V AR45:=SMA(MAX(CLOSE-V AR44,0),6,1)/SMA(ABS(CLOSE-V AR44),6,1)*100; STICKLINE(CROSS(84,V AR45),0,V AR2*15+3,3,1),COLORGREEN; DRAWTEXT(CROSS(84,V AR45),80,'防空警报'),COLORGREEN;V AR55:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);V AR56:=INDEXC;V AR57:=MA(V AR56,5);V AR58:=MA(V AR56,20);V AR5B:=V AR57>V AR56*1.03 AND V AR58>V AR56*1.13;V AR5D:=IF(FILTER(V AR55<6,5)=1,1,0);V AR5F:=VAR55<6 AND V AR5B;V AR61:=V AR5F AND V AR5D*80;V AR7C:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);V AR7D:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;V AR7E:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;V AR7F:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;V AR80:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;V AR81:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;V AR82:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;V AR83:=(V AR7D+V AR7E+V AR7F+V AR80+V AR81+V AR82)/6;V AR84:=EMA(V AR83,3);V AR85:=ABS(V AR80-V AR82);V AR86:=(V AR83+V AR85)/2;V AR87:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;V AR88:=V AR87+V AR86;V AR89:=IF(VAR7C>0 AND V AR88<0,200,0);V AR8A:=IF(VAR86<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);V AR8B:=IF(VAR88<0 AND V AR8A=-50,100,0);V AR8D:=REF(CLOSE,2)*0.865;V AR8E:=REF(CLOSE,13)*0.772;V AR8F:=MIN(V AR8D,V AR8E);V AR90:=100*VOL/CAPITAL;V AR92:=IF((CLOSE-V AR8F)/CLOSE<0.03 AND SUM(V AR90,5)/5<1.8,1,0);V AR96:=(V AR89>0 AND V AR8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR V AR92>0) AND (V AR8A<0 OR V AR7C>0);V AR97:=V AR89>0 AND V AR8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR V AR92>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;V AR98:=V AR96 OR V AR97;V ARA4:=AMOUNT/VOL/100;V ARA5:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;V ARA7:=SUM(AMOUNT,13)/V ARA4/100;V ARAE:=DMA(V ARA5,VOL/V ARA7);V ARB1:=MA(HHV(HIGH,488),18);V ARB2:=MA(HHV(HIGH,220),18);V ARB3:=MA(HHV(HIGH,98),18);V ARB4:=MA(LLV(LOW,488),18);V ARB5:=MA(LLV(LOW,220),18);V ARB6:=MA(LLV(LOW,98),18);V ARB7:=MA((VARB4*0.96+V ARB5*0.96+V ARB6*0.96+V ARB1*0.558+V ARB2*0.558+V AR B3*0.558)/6,18);V ARB8:=MA((VARB4*1.25+V ARB5*1.23+V ARB6*1.2+V ARB1*0.55+V ARB2*0.55+V ARB3*0.65)/6,18);V ARB9:=MA((VARB4*1.3+V ARB5*1.3+V ARB6*1.3+V ARB1*0.68+V ARB2*0.68+V ARB3*0.6 8)/6,18);V ARBA:=MA((V ARB7*3+V ARB8*2+V ARB9)/6*1.738,18);V ARBC:=LOW;V ARBD:=REF(LOW,1);V ARBE:=SMA(ABS(V ARBC-V ARBD),3,1)/SMA(MAX(V ARBC-VARBD,0),3,1)*100;V ARBF:=MA(IF(CLOSE*1.35<=V ARBA,V ARBE*10,V ARBE/10),3);V ARC0:=LLV(LOW,30);V ARC1:=HHV(V ARBF,30);V ARC2:=IF(LOW<=V ARC0,(V ARBF+V ARC1*2)/2,0);WXBM:(MA(VARC2 AND CLOSE<COST(1),3) AND (CLOSE-VARAE)/V ARAE*100<-11)*118,COLORRED,LINETHICK2;DRAWTEXT(V AR61 OR V AR98,70,'★大黑马'),COLORYELLOW;DRAWTEXT(WXBM,100,'BM'),COLORRED;STICKLINE(V AR61,0,120,3,0),COLORWHITE;STICKLINE(V AR98,0,90,3,0),COLORYELLOW;X:=C-REF(MA(C,20),11);LGL:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 AND C/REF(C,1)>0.905 AND C/REF(C,1)<1.05 AND VOL/CAPITAL*100<5,50,0);WR1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*X;WR2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;WR3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*X;BIAS1:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;BIAS2:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;BIAS3:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;S1:=(WR1+WR2+WR3+BIAS1+BIAS2+BIAS3)/6*X;S2:=EMA(S1,3);S3:=ABS(BIAS1-BIAS3);SX:=(S1+S3)/2;XC1:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;CCC:=XC1+SX;ZJZ:=IF( LGL>0 AND CCC<0,200,0)*X;LXL:=IF(SX<0 AND C=LLV(C,5) AND C/REF(C,1)>0.905 AND C/REF(C,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);JBJ:=IF(CCC<0 AND LXL=-50,100,0)*X;MA3:= MA(C,3);C0:=REF(C,2)*0.865;C1:=REF(C,13)*0.772;BOT:=MIN(C0,C1);HSL:=100*VOL/CAPITAL*X;MA13:=MA(C,13)*X;CXC:=IF((C-BOT)/C<3/100 AND SUM(HSL,5)/5<1.8,1,0);VMC:=IF(CXC>0 AND (LXL<0 OR LGL>0),10,0);满仓:IF((VMC>0),120,0),COLORRED,LINETHICK3;DRAWTEXT(满仓>0 AND REF(满仓,1)=0,100,'满仓'),COLORRED;半仓:IF(((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR (CXC>0 AND REF(C,1)/REF(C,2)>0.902)) OR (((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR CXC>0) AND (LXL<0 OR LGL>0)) AND VMC<10 ,100,0),COLORMAGENTA,LINETHICK2;V93:=(((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR CXC>0) AND (LXL<0 OR LGL>0)) ;V90:=((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR (CXC>0 AND REF(C,1)/REF(C,2)>0.902));买11:IF((V93 OR V90),80,0),COLORYELLOW,LINETHICK2;V AR2Q:=(MA(CLOSE,80)-MA(CLOSE,13)/3);神奇线:= MA((CLOSE-V AR2Q)/V AR2Q,2);买12:IF(CROSS(神奇线,0) AND LOW/REF(HIGH,1)<1.012 AND ((C-REF(C,2))/C)>0.06,100,0),COLORMAGENTA,LINETHICK2;YY:=SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,18,1),12,1); YT:=SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,12,1);ST:=IF(CROSS(YT,YY),30,0);V AR5PT:=(HIGH+LOW+CLOSE)/3;V AR6PT:=(V AR5PT-MA(V AR5PT,14))/(0.015*AVEDEV(V AR5PT,14));V AR7PT:=(V AR5PT-MA(V AR5PT,85))/(0.015*A VEDEV(V AR5PT,85));SA:=IF(V AR7PT>=200 AND V AR6PT>=150,10,0);V AR3AA:=REF(CLOSE,1);V AR4AA:=SMA(MAX(CLOSE-V AR3AA,0),6,1)/SMA(ABS(CLOSE-V AR3AA),6,1)*100; SM:=IF(CROSS(80,V AR4AA),100,0);卖11:IF((SM AND (SA OR ST)),120,0),COLORCCCC33,LINETHICK2;DRAWTEXT( 卖11>0,110,''),COLORCCCC33;XX2:=(MA(CLOSE,80)-MA(CLOSE,13)/3);SQX:=MA((CLOSE-XX2)/XX2,10)*0.01;买3:IF(CROSS(SQX,0) AND LOW/REF(HIGH,1)<1.012,60,0), STICK,COLORWHITE,LINETHICK2;稳赚:IF(COUNT(SQX>REF(SQX,1),3)=3 AND COUNT(SQX<0,10)=10 AND REF(SQX,3)=LLV(SQX,10),60,0),COLOR9999FF;买4: IF(REF(SQX,2)=LLV(SQX,20) AND REF(SQX,2)<0.071 AND REF(SQX,2)<REF(SQX,1) AND NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),60,0),COLORFF00FF,LINETHICK2;DRAWTEXT( 买3>0,40 ,' 买3'),COLORWHITE;DRAWTEXT( 稳赚>0,40 ,'稳赚'),COLOR9999FF;DRAWTEXT( 买4>0,40 , '买4'),COLORFF00FF;MACD顶底DIFF:EMA(CLOSE,12) - EMA(CLOSE,26);DEA:EMA(DIFF,9);MACD:2*(DIFF-DEA),COLORSTICK;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));D2:=REF(C,C2+1)<C AND REF("KDJ.K"(9,3,3),C2+1)>"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));D3:=REF(C,C3+1)<C AND REF("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));MACD底背:IF(B1>0,-0.1,0),COLORRED,POINTDOT;KDJ底背:IF(B2>0,-0.1,0),COLORFF00FF,POINTDOT;RSI底背:IF(B3>0,-0.1,0),COLORYELLOW,POINTDOT;MACD顶背:IF(D1>0,0.1,0),COLOR00FF00,POINTDOT;KDJ顶背:IF(D2>0,0.1,0),COLORFFCC66,POINTDOT;RSI顶背:IF(D3>0,0.1,0),COLORWHITE,POINTDOT;STICKLINE(B1>0,-0.1,0,2,0),COLORRED;STICKLINE(B2>0,-0.1,0,2,0),COLORFF00FF;STICKLINE(B3>0,-0.1,0,2,0),COLORYELLOW;STICKLINE(D1>0,0.1,0,2,0),COLOR00FF00;STICKLINE(D2>0,0.1,0,2,0),COLORFFCC66;STICKLINE(D3>0,0.1,0,2,0),COLORWHITE;操盘密码{公称名称: 操盘密码}CP1:HHV(HIGH,60),COLOR00FFFF;CP2:HHV(CLOSE,1),COLORFFFFFF;底部支撑:LLV(LOW,60),COLOR6666FF;(EMA(CLOSE,240) * 0.75),COLOR0000FF,LINETHICK3;铁底:(EMA(CLOSE,240) * 0.75),COLOR00FFFF;V AR1:=MA(CLOSE,5);V AR2:=MA(CLOSE,30);『强势』:DRAWTEXT((V AR1 > V AR2),V AR2,'↑'),COLOR0000FF;『弱势』:DRAWTEXT((V AR1 <= V AR2),V AR2,'↓'),COLOR00FF00;V AR3:=MA(CLOSE,20);V AR4:=MA(CLOSE,60);V AR5:=CROSS(V AR3,VAR4);DRAWICON(V AR5,(HIGH * 1.04),2);DRAWTEXT(V AR5,(HIGH * 1.06),'卖出'),COLORFFFFFF;V AR6:=CROSS(V AR1,VAR2);DRAWICON((VAR6 AND (CLOSE < 铁底)),(LOW - (LOW * 0.04)),1);DRAWTEXT((V AR6 AND (CLOSE < 铁底)),(LOW - (LOW * 0.05)),'←中底买'),COLOR0000FF;V AR7:=(((CLOSE - OPEN) / REF(CLOSE,1)) > 0.08);DRAWTEXT(FILTER(V AR7,1),(LOW * 0.99),'追'),COLOR00FFFF;DRAWTEXT(CROSS(底部支撑,铁底),(LOW - (LOW * 0.02)),'小底'),COLOR00FFCC; DRAWTEXT(((MONTH = 7) AND (DAY = 28)),(底部支撑- (底部支撑* 0.02)),'仿《操盘密码3.0》'),COLORFFFFFF;百战百胜{P1 1 300 7 p2 1 300 21 p3 1 300 250}MA1:EMA(CLOSE,P1),COLORWHITE,LINETHICK3;MA2:EMA(CLOSE,P2),COLORRED,LINETHICK2;MA3:EMA(CLOSE,P3),COLORYELLOW;工作线: EMA(CLOSE,P1),COLORWHITE,LINETHICK3;神秘线: EMA(CLOSE,P2),COLORRED,LINETHICK3;生命线: EMA(CLOSE,P3),COLORYELLOW;DRAWTEXT(CROSS(工作线,神秘线),工作线,'★建仓') ,COLORYELLOW;DRAWTEXT(CROSS(神秘线,工作线),神秘线,'★空仓') ,COLORGREEN;LC:=REF(CLOSE,3);JH:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT(FILTER(CROSS(JH,30),55),LOW*0.98,'↑关注'),COLORYELLOW,LINETHICK1;DRAWTEXT(FILTER(CROSS(84,JH),22),HIGH*1.02,'↓小心'),COLOR00FF00;。
波段王(主图和选股 源码 通达信)
波段王(主图和选股源码通达信)波段王主图:AAA:=(3*C+H+L+O)/6;VAR1:(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(AAA ,5)+2*REF(AAA,6)+REF(AAA,8))/36,LINETHICK2,COLORRED;VAR2:=(HHV(VAR1,2)+HHV(VAR1,4)+HHV(VAR1,8))/3;VAR3:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3;VAR4:(HHV(VAR2,2)+HHV(VAR2,4)+HHV(VAR2,8))/3;VAR5:(LLV(VAR3,2)+LLV(VAR3,4)+LLV(VAR3,8))/3,COLORRED;VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3;{DRAWBAND(VAR1,RGB(155,50,50),VAR6,RGB(250,250,0));}IF((VAR1 <= REF(VAR1,1)),VAR1,DRAWNULL),COLORGREEN,LINETHICK3;IF((VAR1 >= REF(VAR1,1)),VAR1,DRAWNULL),COLORRED,LINETHICK3; STICKLINE(VAR4>VAR1,VAR4,VAR1,0,0),COLORBLUE;DRAWKLINE(H,O,L,C);DRAWTEXT(REF(VAR5,1)=REF(VAR1,1) AND VAR5<VAR1,L*0.99,'买入'),COLORRED; DRAWTEXT(REF(VAR6,1)=REF(VAR1,1) AND VAR6<VAR1,L*0.98,'↖加仓'),COLORYELLOW;DRAWTEXT(REF(VAR4,1)=REF(VAR1,1) AND VAR4>VAR1,H,'卖点'),COLORGREEN; ZT:=REF(C,1)*1.1-C<0.01 AND H=C;{涨停};突破:=CROSS(C,VAR4) AND ZT;DRAWTEXT(突破,L,'爆点');STICKLINE(突破,CLOSE,OPEN,3.2,0),COLOR0077FF;STICKLINE(突破,CLOSE,OPEN,2.5,0),COLOR0099FF;STICKLINE(突破,CLOSE,OPEN,1.9,0),COLOR00BBFF;STICKLINE(突破,CLOSE,OPEN,1.2,0),COLOR00DDFF;STICKLINE(突破,CLOSE,OPEN,0.3,0),COLOR00FFFF;条件选股公式:波段买入:AAA:=(3*C+H+L+O)/6;VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(A AA,5)+2*REF(AAA,6)+REF(AAA,8))/36;VAR2:=(HHV(VAR1,2)+HHV(VAR1,4)+HHV(VAR1,8))/3;VAR3:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3;VAR4:=(HHV(VAR2,2)+HHV(VAR2,4)+HHV(VAR2,8))/3;VAR5:=(LLV(VAR3,2)+LLV(VAR3,4)+LLV(VAR3,8))/3;VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3;买入:REF(VAR5,1)=REF(VAR1,1) AND VAR5<VAR1;波段加仓:AAA:=(3*C+H+L+O)/6;VAR1:=(8*AAA+7*REF(AAA,1)+6*REF(AAA,2)+5*REF(AAA,3)+4*REF(AAA,4)+3*REF(A AA,5)+2*REF(AAA,6)+REF(AAA,8))/36;VAR2:=(HHV(VAR1,2)+HHV(VAR1,4)+HHV(VAR1,8))/3;VAR3:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3;VAR4:=(HHV(VAR2,2)+HHV(VAR2,4)+HHV(VAR2,8))/3; VAR5:=(LLV(VAR3,2)+LLV(VAR3,4)+LLV(VAR3,8))/3; VAR6:=(LLV(VAR1,2)+LLV(VAR1,4)+LLV(VAR1,8))/3; 加仓:REF(VAR6,1)=REF(VAR1,1) AND VAR6<VAR1;。
超准波段王组合副图指标通达信指标公式源码
超准波段王组合副图指标RSV:=(CLOSE-LLV(LOW,35))/(HHV(HIGH,35)-LLV(LOW,35))*100;K:=SMA(RSV,5,1);D:=MA(K,7);E:=MA(K,3);J:=3*K-2*D;STICKLINE((K-D>0),K,E,8,1),COLORRED;STICKLINE((K-D<0),K,E,8,1),COLORGREEN;VAR1:=(2*CLOSE+HIGH+LOW)/4;VAR2:=LLV(LOW,34);VAR3:=HHV(HIGH,34);运钞专列: EMA((VAR1-VAR2)/(VAR3-VAR2)*100,13);和谐一号:= EMA(0.667*REF(运钞专列,1)+0.333*运钞专列,2);众赢一号:和谐一号;X1:STICKLINE(CROSS(运钞专列,20) AND 和谐一号<运钞专列,运钞专列+19,运钞专列-10,4,1),COLORRED;X2:DRAWTEXT(CROSS(运钞专列,20) AND 和谐一号<运钞专列,运钞专列-5,'建仓'), LINETHICK3, COLORMAGENTA ;金砖:STICKLINE(和谐一号<运钞专列,运钞专列,和谐一号,2.5,1),COLORRED;瓦砾:STICKLINE(和谐一号>运钞专列,运钞专列,和谐一号,2.5,1),COLORBLUE;选股:=CROSS(运钞专列,30) AND 和谐一号<运钞专列;一叉:DRAWICON(CROSS(运钞专列,和谐一号),和谐一号,5);二叉:DRAWICON(CROSS(和谐一号,运钞专列),和谐一号,15);。
波段王使用方法
股市之盾解套神器波段王使用方法波段王遵循机构中的左侧交易理念,以退为进的招式,简单明了的指标信号,适用于震荡市和熊市以及牛市中的调整,在解套、反弹、预示波段行情方面有较大的作用,帮助有需要的人在股市中防御以及如何反击,被誉为“股市之盾”波段王特点:①进入紫色的超跌线下方意味着股价很快止跌,即将反弹②如果第一次紫色超跌没有反弹,第二次超跌不久必然反弹③个股出现紫色的三角信号,意味着一个中级的波段行情即将展开,波段王由此得名波段王作用:1、用于解套2、用于吃反弹3、用于预示波段级行情波段王使用方法及实战案例:1、用于解套002075沙钢股份,这是一只15年表现很出彩的票,大家知道14年到15年是一个二线蓝筹年,国家造的人造牛市,沙钢具有贴近热点(二线蓝筹),盘子较小,新能源汽车重组题材,符合政策导向等(国企改革)等利好让其在15年上半年拉起一波主升浪,从底仓3块钱附近拉升到最高24,涨幅达到8倍。
当它公布终止重组并且出现股灾跌下来之后,又起了一波连续5个涨停板的行情,让大家认为这是强者恒强,于是在12块钱就非常开心的介入了(其实这只是一次自救以及大量出货的行为),但这不是关键,关键是我们被套了!被套了怎么办?假设在12块钱的时候买了12万块钱,那么就是10000股,成本12块钱,股价从12块钱跌到9块钱,套了25%左右,根据波段王超跌提示,方块进入紫色线下方即是补仓的机会,那就在9块钱这里补12万块钱,约13000股,那么成本就会降低到10.43块(12万+12万除以1万+1.3万),3天时间完成了25%的解套,并且最高冲到10.98还可以赚一点离场2、用于吃反弹对于一些强势股而言第一次打进超跌就会有猛烈反弹,比如科恒股份,买点就是在跌进超跌线后重新上穿紫色超跌线的时候对于大盘比较弱势的行情下,很多个股,第一次打进超跌仅仅是止跌了,而第二次打进超跌就会有猛烈的反弹,如九安医疗做个短线反弹也有10来个点的利润3、用于预示波段级行情波段王有个特别的功能,就是有时候会在底部位置出一个紫色的三角,这种情况不多,但是一旦出了,后市上涨的概率非常高神奇的紫三角紫三角一出,即是波段抄底的信号,预示着不久将会起一波波段行情,选择一个自己认为合适的价格介入即可,这里只是预示,并不做明确的买点波段王注意事项:① 在用波段王抓反弹时,最好选那些主力还没有出局的票,反弹力度就强,获利快② 在用波段王解套时,有些票主力他是已经离场的,处于无主力状态,反弹可能就会比较弱,耐心等待一段时间,弱反弹也会有,至少能减少损失③ 在使用波段王解套和吃反弹时,跌入紫色超跌线就要开始关注,而再次上穿紫色超跌线的时候就是买入机会④主力运作较好的个股,波段王的走势应该是非常工整的,一些控盘很差的个股,波段王的走势会比较凌乱,如果碰到这样的个股还是尽早离场为妙⑤波段王紫三角的测试是在前复权条件下,非前复权出现的紫三角的成功率不做保证⑥在某些次新股上市还没到120天,紫色线是看不到的,不过没关系,只要方块低于10依然有效⑦在牛市或行情比较好的时候,波段王日线级别打不到紫色超跌线就会反弹,这时候可以参考60分钟级别是否打到紫色超跌线上天是公平的,给你关上一道门就会给你打开一扇窗户,如果被套了,在其下跌过程中会有多次解套的机会,不管以前你是不知道还是看不清这些机会,那么现在波段王会把这些机会都给暴露出来,最后祝大家学习了波段王以后,都能解套手中的个股;波段王导入之前先安装“通达信”看盘软件波段王的电脑导入方法:通达信—功能—公式系统—公式管理器—技术指标公式—其他类型—新建(输入公式名称,黏贴波段王代码)确定好以后回到行情盘面,任意选择一只个股打开,在键盘上输入波段王的手写字母“BDW”,然后按回车键就可以了波段王的手机导入方法:先打开波段王代码全选复制好,然后进入通达信选择任意一个个股用手点下上方圈出的位置,出来的画面选择指标编辑,然后新建指标,如下图:出来的画面在公式名称右边的方框输入“波段王”,然后点右上角的“公式编辑”,如下图:然后在出现的画面上方的空白方框内常按选择粘贴,就粘贴好了刚之前复制好的波段王代码,然后选择下方的测试公式,然后在中间部分会提示编译成功,如下图:然后点右下角的保存,然后点返回,看到出现了波段王,选择指标入常,如下图:再接下来的画面上,点下波段王,如下图:就会出现下图的结果:然后返回个股的日K线图,手指一次点到波段王出现为止,如下图:关注个股:台海核电002366,超跌+波段王紫三角,三线合一,买入位置:11.5附近。
波段王指标问题回答
波段王指标介绍波段王指标是股市技术分析中的一个重要指标。
它主要测量股票价格在特定时间内的波动程度,从而为投资者提供有关股票价格未来行动的提示。
波段王指标由几条移动平均线组成,可用于识别买入和卖出时机。
波段王指标的使用波段王指标可以帮助投资者了解市场趋势的方向和力度。
使用波段王指标时,投资者应该关注以下几个方面:1.移动平均线的交叉:当短期移动平均线向上穿过长期移动平均线时,这可能是买入信号。
否则,这可能是卖出信号。
2.顶部和底部形态:当股票走势形成顶部或底部形态时,这可能表明价格即将反转。
3.波段王线的方向:当波段王线向上或向下移动时,可以得出市场趋势的方向。
4.波段王线的距离:当波段王线相距较远时,市场趋势可能很强烈。
当波段王线相对靠近时,市场可能处于盘整阶段。
5.其他指标的配合:波段王指标应与其他技术分析工具如相对强弱指数、随机指标等配合使用,以提高交易准确性。
注意事项波段王指标并非万能的工具。
在使用时应注意以下几个方面:1.市场风险:在投资股票时,市场风险是难以避免的。
投资者应该学会控制自己的情绪,不断学习技术分析技能,以有效降低投资风险。
2.市场趋势:波段王指标只能判断市场趋势,但不能决定市场方向。
投资者应时刻关注市场走势,以根据市场变化调整自己的投资策略。
3.不同股票的情况:不同股票的行情及特点各异,投资者应该根据具体情况选取不同的技术分析工具,以提高投资准确率。
结论波段王指标是股市技术分析中必不可少的工具。
虽然它并非万能的,但只要投资者掌握了有效使用技巧,依据市场走势和行情选取正确的股票,就可以有效避免风险,实现收益最大化。
第十五期:通达信“大波段操作”副图指标公式(详解)
第十五期:通达信“大波段操作”副图指标公式(详解)大波段操作指标是个副图指标,适用于通达信、益盟操盘手和同花顺软件。
大波段操作提供一整套股票交易操作方法,一个完整的波段一般包括五个阶段,即波谷、初波段、中波段、高波段和波峰阶段。
只要看看自己股票的大波段操作副图,就可以知道自己的股票走到哪一个阶段,做到心中有数。
开盘从跌幅榜上看,有些个股有点恐慌,大家千万不要去追涨杀跌,盘面氛围不好的时候千万不要开新仓,严格控制好仓位,近期要回避那些前一段炒作很高的票,都炒作很久了后面很难有大的爆发力,不要去乱yy,其实现在市场大部分题材也都是炒炒,炒到后面还是会一地鸡毛。
指数一开盘就出现急跌,这种急跌等下肯定会有反抽,后面就看反抽力度如何,如果反抽力度很弱,说明今天还是偏向空方,大家先控制好仓位,看盘面情况,不急的开新仓,现在的市场还是稳点,要有所为有所不为的心态。
创业板目前杀到半年线后有点冷静了下来,接下来就要看反抽的力度如何,如果反抽力度不行,不能扭转日内分时图颓势的话,半年线附近还是有点危险,这条均线再次失守的话,k线就跌破所有均线了。
早上世界杯概念股有点小强,但是现在整体盘面氛围不好,不管什么题材高度和持续性都会被打折扣,所以没提前潜伏打先手的话,不要去乱追了,有些注定不是操作的菜,要有舍有得,操作上还是要以整体氛围为基础,整体氛围不行就要谨慎一点。
指数开始反抽了,刚才在九点四十多分直播说过,指数这种急跌等下肯定会有反抽,目前看反抽力度还可以,看看多方能不能把握住,等盘面氛围确定没问题再开新仓也不迟,大家仓位一定要控制好,灵活分配好,不要一直把仓位给卡死,这样非常拖节奏。
用法:1、DIF线上穿DRA线(金叉),指标中显示“买入=1”、红三角形和“波谷”,买入;2、买入次日股价下破MA5日均线,止损;3、股价回踩MA5日均线不破,加仓;4、DIF线下破DRA线(死叉),指标中显示“波峰”,卖出。
目前两大指数都拉到了红盘附近,目前反抽力度还可以,接下来要继续上的话多方需要使点力,需要放点量能出来,然后个股需要配合。
超级波段王指标公式
超级波段王指标公式
超级波段王指标是一种用于股票交易的技术指标,通过对股票价格走势进行分析,判断股票的买入和卖出时机。
该指标以其准确性和实用性而被广泛应用于股票市场。
超级波段王指标的计算方法相对复杂,但其核心思想是通过对股票价格的短期波动进行分析,找出价格的高点和低点,从而确定买入和卖出的时机。
该指标的计算结果会以曲线的形式呈现,通过观察曲线的走势,可以判断股票的短期走势和趋势的转变。
超级波段王指标的计算过程包括以下几个步骤:首先,根据股票的历史价格数据,计算出股票价格的一段时间内的波动幅度。
然后,将波动幅度进行加权平均,得出一个平均波动幅度。
接下来,根据平均波动幅度和股票的当前价格,计算出一个参考价格。
最后,通过比较参考价格和股票的当前价格,确定买入和卖出的时机。
超级波段王指标的特点是可以及时反应股票价格的短期波动,并给出买入和卖出的建议。
该指标的准确性较高,但也存在一定的风险。
因此,在使用该指标进行股票交易时,投资者需要结合其他指标和分析方法进行综合判断,并制定科学合理的交易策略。
超级波段王指标的应用范围较广,可以用于不同的股票市场和交易品种。
投资者可以根据自己的交易需求和风险承受能力,选择合适的参数和时间周期,进行指标的计算和分析。
同时,投资者还可以
结合其他技术指标和基本面分析,提高交易的准确性和收益率。
超级波段王指标是一种有效的股票交易技术指标,可以帮助投资者判断股票的买入和卖出时机。
该指标的准确性和实用性受到广大投资者的认可和应用。
然而,投资者在使用该指标进行交易时,也需要注意风险控制和交易策略的制定,以确保投资的安全和盈利的最大化。
通达信【波段出击】副图指标
通达信【波段出击】副图指标通达信【波段出击】副图指标ZEROS:0,NODRAW;RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;VARV:=(2*C+H+L)/4;VARU:=LLV(LOW,30);VARA1:=HHV(HIGH,30);B:=EMA((VARV-VARU)/(VARA1-VARU)*100,8);B1:=EMA(B,5);STICKLINE(B-B1>0,B,B1,8,1),COLORRED;STICKLINE(B-B1<0,B,B1,8,1),COLOR00FF00;多:=B-B1>0;空:=B-B1<0;转空:=空 AND REF(多,1);转多:多 AND REF(空,1),NODRAW;转多期:=COUNT(转多,5);PASTDAYS:=5;DRAWICON(转空,MAX(B,B1),'SELL');DRAWTEXT(转空,MAX(B,B1)+25,'卖');LC:=REF(CLOSE,1);RSI:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;低吸:IF(CROSS(RSI,11),70,0),COLORWHITE,POINTDOT;STICKLINE(低吸,MIN(B,B1),0,4,0),COLORWHITE;VAR7:=EMA(AMOUNT/VOL/100,3);VAR8:=EMA(VAR7,88);VAR9:=EMA(VAR7,88)*0.85;VARA:=VAR9*0.87;VARB:=LOW<VARA AND CLOSE>REF(CLOSE,1)*1.02;STICKLINE(FILTER(VARB,6),MIN(B,B1),0,4,0),COLORFF00FF;坚决买进:IF(FILTER(VARB,6),65,0),COLORFF00FF,POINTDOT;VARF:=(2*CLOSE+HIGH+LOW)/4;VA4:=LLV(LOW,34);VA5:=HHV(HIGH,34);VA6:=EMA((VARF-VA4)/(VA5-VA4)*100,6);VA7:=EMA(0.667*REF(VA6,1)+0.333*VA6,4);出击:IF(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),60,0),COLORYELLOW,POINTDOT;STICKLINE(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.3 AND COUNT(VA6>VA7,3) ANDREF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0),MIN(B,B1),0,4,0),COLORFF00FF;A:=(3*CLOSE+LOW+OPEN+HIGH)/6;D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF( A,4)+15*REF(A,5)+14*REF(A,6)+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*R EF(A,11)+8*REF(A,12)+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*RE F(A,17)+2*REF(A,18)+REF(A,20))/211;D2:=EMA(D1,2);D3:=EMA(D2,2);K1:=EMA(D3,2);波段买入:IF(CROSS(D1,K1) AND 多>0,MIN(B,B1),0),COLOR0099FF,POINTDOT;STICKLINE(波段买入,MIN(B,B1),0,4,0),COLOR0099FF;多方趋势:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1);天线:=78.89;STICKLINE(CROSS(天线,多方趋势),90,95,6,0),COLOR00FF00;STICKLINE(B>0 AND B-B1>=0,79,80,6,0),COLORRED;STICKLINE(B>0 AND B-B1<0,79,80,6,0),COLOR00FF00;STICKLINE(B>0 AND B-B1>=0,49,50,6,0),COLORRED;STICKLINE(B>0 AND B-B1<0,49,50,6,0),COLORFF8899;STICKLINE(B>0 AND B-B1>=0,19,20,6,0),COLORRED;STICKLINE(B>0 AND B-B1<0,19,20,6,0),COLOR00FF00;STICKLINE(B-B1>0,B,B1,8,1),COLORRED;STICKLINE(B-B1<0,B,B1,8,1),COLOR00FF00;地量:DRAWTEXT(CROSS(0.9,1/VOL*1000>0.01 AND J<0),L*1,'地量'),COLOR00FFFF;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;VARR1:=SMA(MAX(CLOSE-REF(C,1),0),6,1)/SMA(ABS(CLOSE-REF(C,1)),6,1)*100;DRAWICON(CROSS(82,VARR1),10,15);VAR10:=100-3*SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((CLOSE-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR11:=100-3*SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1)+2*SMA(SMA((OPEN-LLV(LOW,75))/(HHV(HIGH,75)-LLV(LOW,75))*100,20,1),15,1);VAR12:=VAR10<REF(VAR11,1) AND VOL>REF(VOL,1) AND CLOSE>REF(CLOSE,1);主力进场:VAR12 AND COUNT(VAR12,30)=1,NODRAW;DRAWTEXT(主力进场,MAX(B,B1)+30,'主力进场!');主力进场期:COUNT(主力进场,PASTDAYS),NODRAW;DIFF:=EMA(C,12)-EMA(C,26),COLORWHITE;DEA:=EMA(DIFF,8),COLORFFAA00;MACD:=2*(DIFF-DEA);DIFF上穿0轴:=CROSS(DIFF,0),NODRAW;MACD金叉:=CROSS(DIFF,DEA),NODRAW;MACD金叉期:=COUNT(MACD金叉,PASTDAYS),NODRAW;MACD势增:=MACD>REF(MACD,1);N:=9;M1:=3;M2:=3;KDJ势增:J>REF(J,1),NODRAW;高安全区:=0,COLORRED;安全区:=20,COLORCYAN;风险区:=100,COLORGREEN;KDJ金叉:=CROSS(J,K),NODRAW;KDJ死叉:=CROSS(K,J),NODRAW;KDJ买点:=KDJ金叉 ;KDJ卖点:=KDJ死叉;KDJ买点期:=COUNT(KDJ买点,PASTDAYS),NODRAW;通:=MA(C,21);低吸期:=COUNT(低吸,PASTDAYS);出击期:COUNT(出击,PASTDAYS);坚决买进期:COUNT(坚决买进,PASTDAYS);波段买入期:COUNT(波段买入,PASTDAYS);转多买点:(转多期) AND (KDJ金叉 OR MACD金叉),NODRAW;最佳买点:(多>0) AND (主力进场期OR 出击期 OR 坚决买进期 OR 波段买入期) AND (KDJ金叉 OR MACD金叉),NODRAW;波段买点:((主力进场 OR 出击 OR 坚决买进 OR 波段买入 OR 转多) AND (KDJ势增OR MACD势增)) OR 最佳买点,NODRAW;DRAWTEXT_FIX(C>O,0.02,0.01,0,'公'),COLOR666666;精选公式源码:DRAWNULL,COLORCCCCCC;DRAWTEXT_FIX(C>O,0.03,0.01,0,'众'),COLOR666666;DRAWTEXT_FIX(C>O,0.04,0.01,0,'号'),COLOR666666;DRAWTEXT_FIX(C>O,0.01,0.16,0,'指标公式合集'),COLORMAGENTA;。
波段王加强版指标
波段王加强版指标波段王加强版指标是一种技术分析工具,用于辅助投资者判断股票等金融产品的短期走势。
它是在传统波段王指标的基础上进行改进和优化,具有更高的准确性和可靠性。
波段王加强版指标主要包括以下几个方面的内容:1. 趋势判断:波段王加强版指标通过分析股票价格的波动情况,判断当前的趋势是上涨、下跌还是盘整。
它采用了一种特殊的算法,能够有效地过滤掉市场的噪音,提取出真正的趋势信号。
2. 买卖信号:波段王加强版指标能够给出明确的买卖信号,帮助投资者把握好入场和出场的时机。
当指标向上突破某一特定的阈值时,说明股票价格可能要上涨,投资者可以考虑买入;当指标向下突破某一特定的阈值时,说明股票价格可能要下跌,投资者可以考虑卖出。
3. 量能分析:波段王加强版指标还可以通过分析成交量的变化情况,判断市场的活跃程度和投资者的情绪。
当指标和成交量呈现出一致的趋势时,说明市场的走势比较可靠;当指标和成交量出现背离时,说明市场的走势可能出现变化,投资者需要警惕。
4. 风险控制:波段王加强版指标还可以帮助投资者控制风险,避免在市场波动较大的时候盲目交易。
当指标显示市场处于震荡或盘整状态时,投资者可以选择观望或适当减仓;当指标显示市场处于趋势明朗的状态时,投资者可以适当增仓。
波段王加强版指标的使用方法相对简单,投资者只需要将其应用到相应的交易软件或平台上,就可以获得相应的分析结果。
然而,虽然波段王加强版指标具有一定的准确性和可靠性,但并不能保证百分之百的盈利。
投资者在使用该指标时,还需要结合其他的技术分析工具和基本面分析,做出综合判断。
波段王加强版指标是一种辅助投资者进行短期交易决策的技术工具,它能够帮助投资者判断趋势、给出买卖信号、分析量能和控制风险。
然而,投资者在使用该指标时,还需要根据自身的情况和实际的交易环境,做出合理的决策。
只有在不断学习和实践的基础上,才能够提高自己的交易技巧和盈利能力。
选股公式操作指标同花顺指标——波段量(副图)
选股公式操作指标同花顺指标——波段量(副图)同花顺指标——波段量(副图)标签:同花顺指标副图源码股票杂谈波段量副图源码:DRAWGBK(V>1,STRIP(RGB(100,333,444),RGB(100,180,255),2));量:=(EMA(IF(C>=REF(C,2),V,(-V)),34)/MA(V,34))*100;量1:= EMA(量,3);量2:= EMA(量,5);量3:= EMA(量,8);强:STICKLINE(量2>=量3,量1,量3,1,0),COLOR0044FF; STICKLINE(量2>=量3,量1,量3,0,0),COLOR00CCFF; STICKLINE(量2>=量3,量2,量3,8,0),COLOR0044FF; STICKLINE(量2>=量3,量2,量3,7,0),COLOR0066FF; STICKLINE(量2>=量3,量2,量3,6,0),COLOR0077FF;STICKLINE(量2>=量3,量2,量3,5,0),COLOR0088FF; STICKLINE(量2>=量3,量2,量3,4,0),COLOR0099FF; STICKLINE(量2>=量3,量2,量3,3,0),COLOR00AAFF; STICKLINE(量2>=量3,量2,量3,2,0),COLOR00BBFF; STICKLINE(量2>=量3,量2,量3,1,0),COLOR00CCFF; 弱:STICKLINE(量2<=量3,量1,量3,1,0),COLORFF4400; STICKLINE(量2<=量3,量1,量3,0,0),COLORFFCC00; STICKLINE(量2<=量3,量2,量3,8,0),COLORFF4400; STICKLINE(量2<=量3,量2,量3,7,0),COLORFF6600; STICKLINE(量2<=量3,量2,量3,6,0),COLORFF7700; STICKLINE(量2<=量3,量2,量3,5,0),COLORFF8800; STICKLINE(量2<=量3,量2,量3,4,0),COLORFF9900; STICKLINE(量2<=量3,量2,量3,3,0),COLORFFAA00; STICKLINE(量2<=量3,量2,量3,2,0),COLORFFBB00; STICKLINE(量2<=量3,量2,量3,1,0),COLORFFCC00;T1:=量2>=量3 AND 量<REF(量,1); T2:=量2<量3 AND 量>REF(量,1); 强转弱:STICKLINE(T1,量1,量3,1,0),COLORA0A0C0; STICKLINE(T1,量1,量3,0,0),COLORDDDDFD;STICKLINE(T1,量2,量3,8,0),COLORA0A0C0;STICKLINE(T1,量2,量3,7,0),COLORAAAACA;STICKLINE(T1,量2,量3,6,0),COLORB0B0D0;STICKLINE(T1,量2,量3,5,0),COLORBBBBDB;STICKLINE(T1,量2,量3,4,0),COLORC0C0E0;STICKLINE(T1,量2,量3,3,0),COLORCCCCEC;STICKLINE(T1,量2,量3,2,0),COLORD0D0F0;STICKLINE(T1,量2,量3,1,0),COLORDDDDFD;弱转强:STICKLINE(T2,量1,量3,1,0),COLOR338FDD; STICKLINE(T2,量1,量3,0,0),COLOR33FFDD;STICKLINE(T2,量2,量3,8,0),COLOR338FDD;STICKLINE(T2,量2,量3,7,0),COLOR339FDD;STICKLINE(T2,量2,量3,6,0),COLOR33AFDD;STICKLINE(T2,量2,量3,5,0),COLOR33BFDD;STICKLINE(T2,量2,量3,4,0),COLOR33CFDD;STICKLINE(T2,量2,量3,3,0),COLOR33DFDD;STICKLINE(T2,量2,量3,2,0),COLOR33EFDD;STICKLINE(T2,量2,量3,1,0),COLOR33FFDD;量,colorwhite;STICKLINE(量>EMA(量,9),量,EMA(量,9),6,1),colorred;EMA(量,9),coloryellow;波:EMA(量,18),COLORf00ff0;STICKLINE(波>=REF(波,1),波,波,8,0),colorred,LINETHICK2; STICKLINE(波<REF(波,1),波,波,8,0),colorwhite,LINETHICK2;。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
波段王副图V AR1:=(CLOSE+HIGH+LOW+OPEN)/4;V AR2:=SUMBARS(VOL,CAPITAL);V AR3:=HHV(V AR1,V AR2);V AR4:=LLV(V AR1,V AR2);V AR5:=(2*VAR1-V AR4-REF(V AR4,1))/(V AR3-V AR4);V AR6:=(V AR1-VAR4)/(V AR3-V AR4);V AR7:=IF(VAR1<=V AR4,V AR5*60,V AR6*60);V AR8:=600*(EMA(CLOSE,3)-EMA(LOW,30))/EMA(LOW,30);V AR9:=EMA(VAR8,7);V ARA:=(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))*100;V ARB:=(-100)*(WINNER(120*CLOSE/100)-WINNER(100*CLOSE/100))+5; V ARC:=HHV(HIGH,9)-LLV(LOW,9);V ARD:=HHV(HIGH,9)-CLOSE;V ARE:=CLOSE-LLV(LOW,9);V ARF:=VARD/V ARC*100-70;V AR10:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;V AR11:=(2*CLOSE+HIGH+LOW)/4;V AR12:=SMA(VARE/V ARC*100,3,1);V AR13:=LLV(LOW,34);V AR14:=SMA(VAR12,3,1)-SMA(V ARF,9,1);V AR15:=IF(VAR14>100,V AR14-100,0);V AR16:=HHV(HIGH,34);V AR17:=EMA((V AR11-V AR13)/(V AR16-V AR13)*100,8);V AR18:=EMA(V AR17,5);STICKLINE(V AR17-V AR18>0,V AR17,V AR18,8,1), ,COLORRED ; STICKLINE(V AR17-V AR18<0,V AR17,V AR18,8,1), ,COLORGREEN ;波浪线V AR1:=(HIGH+LOW)/2;AO:MA(V AR1,5)-MA(V AR1,34),LINETHICK0;STICKLINE(AO>=REF(AO,1),0,AO,0.1,1),COLORRED;STICKLINE(AO<REF(AO,1),0,AO,0.1,1),COLORGREEN;AO5:=MA(AO,5),COLORYELLOW;S1:=CROSS(0,AO);S2:=AO<0 AND REF(AO,1)>REF(AO,2) AND AO<REF(AO,1); SCOUNT:=BARSLAST(AO<0);SD:=HHV(AO,SCOUNT);SCOUNTD:=HHVBARS(AO,SCOUNT);S3:=AO>0 AND REF(AO,1)>REF(AO,2) AND AO<REF(AO,1);S31:=COUNT(S3,SCOUNTD);B1:=CROSS(AO,0);B2:=AO>0 AND REF(AO,1)<REF(AO,2) AND AO>REF(AO,1) ;BCOUNT:=BARSLAST(AO>0);BD:=LLV(AO,BCOUNT);BCOUNTD:=LLVBARS(AO,BCOUNT);B3:=AO<0 AND REF(AO,1)<REF(AO,2) AND AO>REF(AO,1);B31:=COUNT(B3,BCOUNTD);大单动向N:=20;JJ:=(HIGH+LOW+CLOSE)/3;QJ0:=VOL/IF(HIGH=LOW,4,HIGH-LOW);QJ1:=IF(CAPITAL=0,QJ0*(JJ-MIN(CLOSE,OPEN)),QJ0*IF(HIGH=LOW,1,(MIN(OPEN,CLOS E)-LOW)));QJ2:=IF(CAPITAL=0,QJ0*(MIN(OPEN,CLOSE)-LOW),QJ0*IF(HIGH=LOW,1,(JJ-MIN(CLOS E,OPEN))));QJ3:=IF(CAPITAL=0,QJ0*(HIGH-MAX(OPEN,CLOSE)),QJ0*IF(HIGH=LOW,1,(HIGH-MAX( OPEN,CLOSE))));QJ4:=IF(CAPITAL=0,QJ0*(MAX(CLOSE,OPEN)-JJ),QJ0*IF(HIGH=LOW,1,(MAX(CLOSE,O PEN)-JJ)));DDX:((QJ1+QJ2)-(QJ3+QJ4))/IF(CAPITAL=0,1000000,10000),COLOR00AAAA,LINETHICK; DX:=MA(DDX,5)*N;STICKLINE(DDX>0,0,DDX,3,0),COLOR000088;STICKLINE(DDX>0,0,DDX,2.5,0),COLOR0000AA;STICKLINE(DDX>0,0,DDX,1.5,0),COLOR0000CC;STICKLINE(DDX>0,0,DDX,1,0),COLOR0000EE;STICKLINE(DDX<0,0,DDX,3,0),COLOR008800;STICKLINE(DDX<0,0,DDX,2.5,0),COLOR00AA00;STICKLINE(DDX<0,0,DDX,1.5,0),COLOR00CC00;STICKLINE(DDX<0,0,DDX,1,0),COLOR00EE00;DDX1:SMA(DX,3,1),COLORFFFFFF;DDX2:SMA(DDX1,3,1),COLOR00FFFF;DDX3:EMA(DDX2,5),COLORFF00FF;预警:DDX>0 AND MA(V,5)>MA(MA(V,5),5) AND CROSS(DDX1,DDX2),LINETHICK;天:=COUNT(DDX>0,5),COLORRED;DRAWTEXT(预警,DDX*1.06,'★'),LINETHICK3,COLOR00FFFF;龙飞九天M3:= EMA(CLOSE,3);M8: EMA(CLOSE,8), , COLORGREEN;M13: EMA(M8,13), , COLORRED;V AR1:=EMA(M13,62);V AR2:=(CLOSE+HIGH+LOW)/3;V AR3:=EMA(VAR2,10);V AR4:=REF(VAR3,1);STICKLINE(V AR3>V AR4,V AR3,V AR4,4,0), , COLORYELLOW;STICKLINE(V AR3<V AR4,V AR3,V AR4,4,0), , COLORLIGREEN;V AR5:=(REF(HIGH,1)+REF(LOW,1))/2;V AR6:=MA(CLOSE,N)+2*STD(CLOSE,N);DRAWTEXT(CROSS(V AR3,V AR4),V AR3*0.98,''),COLORYELLOW;DRAWTEXT(CROSS(V AR5,V AR6),HIGH*1.04,'↓高位'), , COLORGREEN;V AR7:=REF(CLOSE,1);V AR8:=SMA(MAX(CLOSE-V AR7,0),N1,1)/SMA(ABS(CLOSE-V AR7),N1,1)*100;V AR9:=CROSS(N2,V AR8);V ARA:=FILTER(V AR9,4);DRAWTEXT(V ARA,HIGH*1.04,''), , COLORWHITE;V ARB:=(2*CLOSE+HIGH+LOW)/4;V ARC:=LLV(LOW,34);V ARD:=HHV(HIGH,34);V ARE:=EMA((V ARB-V AR1)/(V AR5-V AR1)*100,7);V ARF:=EMA(0.667*REF(V ARE,1)+0.333*VARE,5);DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),8)/8>0.6 AND VOL>=1.5*MA(VOL,5) AND COUNT(V ARE>=V ARF,3) AND REF(LOW,1)=LLV(LOW,120),1,0),LOW,'●买进'), , {00010001};DRAWTEXT(IF(COUNT(CLOSE<REF(CLOSE,1),13)/13>0.6 AND COUNT(VARE>V ARF,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND OPEN>REF(CLOSE,1),1,0),LOW,'●买进'), , COLORYELLOW;V AR10:=MA(CLOSE,80)-MA(CLOSE,10)/3;DRAWTEXT(IF(CLOSE<V AR10 AND VOL/240>MA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE<MA(CLOSE,13)*1.3,1,0),LOW,'●抄底'), , COLORRED;BB:=HHV(HHV(LOW,14),60);X:=HHV(MA((L+H+C)/3,8),60),COLORFF6600;{N 1 999 20 n1 1 999 7 n2 1 999 69 }龙游四海QW1:=(HIGH+LOW+CLOSE*2)/4;QW3:=EMA(QW1,10);QW4:=STD(QW1,10);QW5:=(QW1-QW3)*100/QW4;QW6:=EMA(QW5,5);RK7:=EMA(QW6,10);涨:EMA(QW6,10)+100/2-5,LINETHICK1,COLORRED;跌:EMA(涨,4),LINETHICK1,COLORFFFF34;多线:IF(CROSS(涨,跌) AND 跌<-10,30,0),LINETHICK1,COLORFF00FF;空线:IF(CROSS(跌,80),70,100),COLOR0099FF,LINETHICK1;买1:EMA(跌,4),COLORWHITE;买2:EMA(买1,4),COLORGREEN;买M3:=EMA(买2,4);买M4:=EMA(买M3,4);-10,POINTDOT,COLOR888888,LINETHICK2;80,POINTDOT,COLOR888888,LINETHICK2;STICKLINE(涨<REF(涨,1),涨,MA(涨,3),2,0 ),COLOR00EE00;STICKLINE(涨<REF(涨,1),涨,MA(涨,3),1,0 ),COLOR00FF00;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),3,0) ,COLOR0099FF;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),2,0) ,COLOR00AAFF;STICKLINE(涨> REF(涨,1),涨,EMA(涨,3),1,0) ,COLOR00BBFF;DRAWICON(多线,30,1),COLORFF00FF;DRAWICON(CROSS(跌,80),70,2),COLORGREEN;DRAWTEXT(CROSS(涨,跌) AND 跌<20 AND 跌>-10,40,'买入'),COLORCCFF99; DRAWTEXT(多线>0,-20,'看涨'),COLOR0000FF;V AR2:=MA(CLOSE,194);V AR3:=V AR2+2*STD(CLOSE,170);顶:(CLOSE>VAR3)*13*10,COLORBLUE,LINETHICK2;V AR18:=HHV(HIGH,30);V AR19:=LLV(LOW,30);NL:=EMA((CLOSE-V AR19)/(V AR18-V AR19)*100,5)/8*10;DRAWTEXT(CROSS(5,NL),30,'★做底'),COLORWHITE;V AR44:=REF(CLOSE,1);V AR45:=SMA(MAX(CLOSE-V AR44,0),6,1)/SMA(ABS(CLOSE-V AR44),6,1)*100; STICKLINE(CROSS(84,V AR45),0,V AR2*15+3,3,1),COLORGREEN; DRAWTEXT(CROSS(84,V AR45),80,'防空警报'),COLORGREEN;V AR55:=EMA((WINNER(CLOSE*1.1)-WINNER(CLOSE*0.9))*80,5);V AR56:=INDEXC;V AR57:=MA(V AR56,5);V AR58:=MA(V AR56,20);V AR5B:=V AR57>V AR56*1.03 AND V AR58>V AR56*1.13;V AR5D:=IF(FILTER(V AR55<6,5)=1,1,0);V AR5F:=VAR55<6 AND V AR5B;V AR61:=V AR5F AND V AR5D*80;V AR7C:=IF(EMA(CLOSE,5)/EMA(EMA(CLOSE,9),16)<=0.85 AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,50,0);V AR7D:=(-100)*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100;V AR7E:=(-100)*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;V AR7F:=(-100)*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100;V AR80:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;V AR81:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;V AR82:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;V AR83:=(V AR7D+V AR7E+V AR7F+V AR80+V AR81+V AR82)/6;V AR84:=EMA(V AR83,3);V AR85:=ABS(V AR80-V AR82);V AR86:=(V AR83+V AR85)/2;V AR87:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;V AR88:=V AR87+V AR86;V AR89:=IF(VAR7C>0 AND V AR88<0,200,0);V AR8A:=IF(VAR86<0 AND CLOSE=LLV(CLOSE,5) AND CLOSE/REF(CLOSE,1)>0.905 AND CLOSE/REF(CLOSE,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);V AR8B:=IF(VAR88<0 AND V AR8A=-50,100,0);V AR8D:=REF(CLOSE,2)*0.865;V AR8E:=REF(CLOSE,13)*0.772;V AR8F:=MIN(V AR8D,V AR8E);V AR90:=100*VOL/CAPITAL;V AR92:=IF((CLOSE-V AR8F)/CLOSE<0.03 AND SUM(V AR90,5)/5<1.8,1,0);V AR96:=(V AR89>0 AND V AR8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR V AR92>0) AND (V AR8A<0 OR V AR7C>0);V AR97:=V AR89>0 AND V AR8B>0 AND SUM(VOL/CAPITAL*100,5)/5<1 OR V AR92>0 AND REF(CLOSE,1)/REF(CLOSE,2)>0.902;V AR98:=V AR96 OR V AR97;V ARA4:=AMOUNT/VOL/100;V ARA5:=(3*HIGH+LOW+OPEN+2*CLOSE)/7;V ARA7:=SUM(AMOUNT,13)/V ARA4/100;V ARAE:=DMA(V ARA5,VOL/V ARA7);V ARB1:=MA(HHV(HIGH,488),18);V ARB2:=MA(HHV(HIGH,220),18);V ARB3:=MA(HHV(HIGH,98),18);V ARB4:=MA(LLV(LOW,488),18);V ARB5:=MA(LLV(LOW,220),18);V ARB6:=MA(LLV(LOW,98),18);V ARB7:=MA((VARB4*0.96+V ARB5*0.96+V ARB6*0.96+V ARB1*0.558+V ARB2*0.558+V AR B3*0.558)/6,18);V ARB8:=MA((VARB4*1.25+V ARB5*1.23+V ARB6*1.2+V ARB1*0.55+V ARB2*0.55+V ARB3*0.65)/6,18);V ARB9:=MA((VARB4*1.3+V ARB5*1.3+V ARB6*1.3+V ARB1*0.68+V ARB2*0.68+V ARB3*0.6 8)/6,18);V ARBA:=MA((V ARB7*3+V ARB8*2+V ARB9)/6*1.738,18);V ARBC:=LOW;V ARBD:=REF(LOW,1);V ARBE:=SMA(ABS(V ARBC-V ARBD),3,1)/SMA(MAX(V ARBC-VARBD,0),3,1)*100;V ARBF:=MA(IF(CLOSE*1.35<=V ARBA,V ARBE*10,V ARBE/10),3);V ARC0:=LLV(LOW,30);V ARC1:=HHV(V ARBF,30);V ARC2:=IF(LOW<=V ARC0,(V ARBF+V ARC1*2)/2,0);WXBM:(MA(VARC2 AND CLOSE<COST(1),3) AND (CLOSE-VARAE)/V ARAE*100<-11)*118,COLORRED,LINETHICK2;DRAWTEXT(V AR61 OR V AR98,70,'★大黑马'),COLORYELLOW;DRAWTEXT(WXBM,100,'BM'),COLORRED;STICKLINE(V AR61,0,120,3,0),COLORWHITE;STICKLINE(V AR98,0,90,3,0),COLORYELLOW;X:=C-REF(MA(C,20),11);LGL:=IF(EMA(C,5)/EMA(EMA(C,9),16)<=0.85 AND C/REF(C,1)>0.905 AND C/REF(C,1)<1.05 AND VOL/CAPITAL*100<5,50,0);WR1:=-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34))+100*X;WR2:=-100*(HHV(HIGH,50)-CLOSE)/(HHV(HIGH,50)-LLV(LOW,50))+100;WR3:=-100*(HHV(HIGH,70)-CLOSE)/(HHV(HIGH,70)-LLV(LOW,70))+100*X;BIAS1:=((CLOSE-MA(CLOSE,34))/MA(CLOSE,34)*100+10)*5;BIAS2:=((CLOSE-MA(CLOSE,50))/MA(CLOSE,50)*100+10)*5;BIAS3:=((CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+10)*5;S1:=(WR1+WR2+WR3+BIAS1+BIAS2+BIAS3)/6*X;S2:=EMA(S1,3);S3:=ABS(BIAS1-BIAS3);SX:=(S1+S3)/2;XC1:=(-1)*(EMA(100*(1-WINNER(CLOSE)),1)-50)+50;CCC:=XC1+SX;ZJZ:=IF( LGL>0 AND CCC<0,200,0)*X;LXL:=IF(SX<0 AND C=LLV(C,5) AND C/REF(C,1)>0.905 AND C/REF(C,1)<1.05 AND VOL/CAPITAL*100<5,-50,0);JBJ:=IF(CCC<0 AND LXL=-50,100,0)*X;MA3:= MA(C,3);C0:=REF(C,2)*0.865;C1:=REF(C,13)*0.772;BOT:=MIN(C0,C1);HSL:=100*VOL/CAPITAL*X;MA13:=MA(C,13)*X;CXC:=IF((C-BOT)/C<3/100 AND SUM(HSL,5)/5<1.8,1,0);VMC:=IF(CXC>0 AND (LXL<0 OR LGL>0),10,0);满仓:IF((VMC>0),120,0),COLORRED,LINETHICK3;DRAWTEXT(满仓>0 AND REF(满仓,1)=0,100,'满仓'),COLORRED;半仓:IF(((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR (CXC>0 AND REF(C,1)/REF(C,2)>0.902)) OR (((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR CXC>0) AND (LXL<0 OR LGL>0)) AND VMC<10 ,100,0),COLORMAGENTA,LINETHICK2;V93:=(((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR CXC>0) AND (LXL<0 OR LGL>0)) ;V90:=((ZJZ>0 AND JBJ>0 AND SUM(VOL/CAPITAL*100,5)/5<1) OR (CXC>0 AND REF(C,1)/REF(C,2)>0.902));买11:IF((V93 OR V90),80,0),COLORYELLOW,LINETHICK2;V AR2Q:=(MA(CLOSE,80)-MA(CLOSE,13)/3);神奇线:= MA((CLOSE-V AR2Q)/V AR2Q,2);买12:IF(CROSS(神奇线,0) AND LOW/REF(HIGH,1)<1.012 AND ((C-REF(C,2))/C)>0.06,100,0),COLORMAGENTA,LINETHICK2;YY:=SMA(SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,18,1),12,1); YT:=SMA((CLOSE-LLV(LOW,55))/(HHV(HIGH,55)-LLV(LOW,55))*100,12,1);ST:=IF(CROSS(YT,YY),30,0);V AR5PT:=(HIGH+LOW+CLOSE)/3;V AR6PT:=(V AR5PT-MA(V AR5PT,14))/(0.015*AVEDEV(V AR5PT,14));V AR7PT:=(V AR5PT-MA(V AR5PT,85))/(0.015*A VEDEV(V AR5PT,85));SA:=IF(V AR7PT>=200 AND V AR6PT>=150,10,0);V AR3AA:=REF(CLOSE,1);V AR4AA:=SMA(MAX(CLOSE-V AR3AA,0),6,1)/SMA(ABS(CLOSE-V AR3AA),6,1)*100; SM:=IF(CROSS(80,V AR4AA),100,0);卖11:IF((SM AND (SA OR ST)),120,0),COLORCCCC33,LINETHICK2;DRAWTEXT( 卖11>0,110,''),COLORCCCC33;XX2:=(MA(CLOSE,80)-MA(CLOSE,13)/3);SQX:=MA((CLOSE-XX2)/XX2,10)*0.01;买3:IF(CROSS(SQX,0) AND LOW/REF(HIGH,1)<1.012,60,0), STICK,COLORWHITE,LINETHICK2;稳赚:IF(COUNT(SQX>REF(SQX,1),3)=3 AND COUNT(SQX<0,10)=10 AND REF(SQX,3)=LLV(SQX,10),60,0),COLOR9999FF;买4: IF(REF(SQX,2)=LLV(SQX,20) AND REF(SQX,2)<0.071 AND REF(SQX,2)<REF(SQX,1) AND NOT(REF(LOW,1)>REF(HIGH,2) AND LOW>REF(HIGH,1)) AND CLOSE>REF(CLOSE,1),60,0),COLORFF00FF,LINETHICK2;DRAWTEXT( 买3>0,40 ,' 买3'),COLORWHITE;DRAWTEXT( 稳赚>0,40 ,'稳赚'),COLOR9999FF;DRAWTEXT( 买4>0,40 , '买4'),COLORFF00FF;MACD顶底DIFF:EMA(CLOSE,12) - EMA(CLOSE,26);DEA:EMA(DIFF,9);MACD:2*(DIFF-DEA),COLORSTICK;A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));B1:=REF(C,A1+1)>C AND REF(DIFF,A1+1)<DIFF AND CROSS(DIFF,DEA);A2:=BARSLAST(REF(CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3)),1));B2:=REF(C,A2+1)>C AND REF("KDJ.K"(9,3,3),A2+1)<"KDJ.K"(9,3,3) AND CROSS("KDJ.K"(9,3,3),"KDJ.D"(9,3,3));A3:=BARSLAST(REF(CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));B3:=REF(C,A3+1)>C AND REF("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));D1:=REF(C,C1+1)<C AND REF(DIFF,C1+1)>DIFF AND CROSS(DEA,DIFF);C2:=BARSLAST(REF(CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3)),1));D2:=REF(C,C2+1)<C AND REF("KDJ.K"(9,3,3),C2+1)>"KDJ.K"(9,3,3) AND CROSS("KDJ.D"(9,3,3),"KDJ.K"(9,3,3));C3:=BARSLAST(REF(CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));D3:=REF(C,C3+1)<C AND REF("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) AND CROSS("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));MACD底背:IF(B1>0,-0.1,0),COLORRED,POINTDOT;KDJ底背:IF(B2>0,-0.1,0),COLORFF00FF,POINTDOT;RSI底背:IF(B3>0,-0.1,0),COLORYELLOW,POINTDOT;MACD顶背:IF(D1>0,0.1,0),COLOR00FF00,POINTDOT;KDJ顶背:IF(D2>0,0.1,0),COLORFFCC66,POINTDOT;RSI顶背:IF(D3>0,0.1,0),COLORWHITE,POINTDOT;STICKLINE(B1>0,-0.1,0,2,0),COLORRED;STICKLINE(B2>0,-0.1,0,2,0),COLORFF00FF;STICKLINE(B3>0,-0.1,0,2,0),COLORYELLOW;STICKLINE(D1>0,0.1,0,2,0),COLOR00FF00;STICKLINE(D2>0,0.1,0,2,0),COLORFFCC66;STICKLINE(D3>0,0.1,0,2,0),COLORWHITE;操盘密码{公称名称: 操盘密码}CP1:HHV(HIGH,60),COLOR00FFFF;CP2:HHV(CLOSE,1),COLORFFFFFF;底部支撑:LLV(LOW,60),COLOR6666FF;(EMA(CLOSE,240) * 0.75),COLOR0000FF,LINETHICK3;铁底:(EMA(CLOSE,240) * 0.75),COLOR00FFFF;V AR1:=MA(CLOSE,5);V AR2:=MA(CLOSE,30);『强势』:DRAWTEXT((V AR1 > V AR2),V AR2,'↑'),COLOR0000FF;『弱势』:DRAWTEXT((V AR1 <= V AR2),V AR2,'↓'),COLOR00FF00;V AR3:=MA(CLOSE,20);V AR4:=MA(CLOSE,60);V AR5:=CROSS(V AR3,VAR4);DRAWICON(V AR5,(HIGH * 1.04),2);DRAWTEXT(V AR5,(HIGH * 1.06),'卖出'),COLORFFFFFF;V AR6:=CROSS(V AR1,VAR2);DRAWICON((VAR6 AND (CLOSE < 铁底)),(LOW - (LOW * 0.04)),1);DRAWTEXT((V AR6 AND (CLOSE < 铁底)),(LOW - (LOW * 0.05)),'←中底买'),COLOR0000FF;V AR7:=(((CLOSE - OPEN) / REF(CLOSE,1)) > 0.08);DRAWTEXT(FILTER(V AR7,1),(LOW * 0.99),'追'),COLOR00FFFF;DRAWTEXT(CROSS(底部支撑,铁底),(LOW - (LOW * 0.02)),'小底'),COLOR00FFCC; DRAWTEXT(((MONTH = 7) AND (DAY = 28)),(底部支撑- (底部支撑* 0.02)),'仿《操盘密码3.0》'),COLORFFFFFF;百战百胜{P1 1 300 7 p2 1 300 21 p3 1 300 250}MA1:EMA(CLOSE,P1),COLORWHITE,LINETHICK3;MA2:EMA(CLOSE,P2),COLORRED,LINETHICK2;MA3:EMA(CLOSE,P3),COLORYELLOW;工作线: EMA(CLOSE,P1),COLORWHITE,LINETHICK3;神秘线: EMA(CLOSE,P2),COLORRED,LINETHICK3;生命线: EMA(CLOSE,P3),COLORYELLOW;DRAWTEXT(CROSS(工作线,神秘线),工作线,'★建仓') ,COLORYELLOW;DRAWTEXT(CROSS(神秘线,工作线),神秘线,'★空仓') ,COLORGREEN;LC:=REF(CLOSE,3);JH:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(ABS(CLOSE-LC),6,1)*100;DRAWTEXT(FILTER(CROSS(JH,30),55),LOW*0.98,'↑关注'),COLORYELLOW,LINETHICK1;DRAWTEXT(FILTER(CROSS(84,JH),22),HIGH*1.02,'↓小心'),COLOR00FF00;。