软件名称:[B]135均线战法(另版本、波顶、波底、强势、生命、趋势线、黑马线)[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:9.00 KB
官方主页:Home Page
更新时间:2011-03-22 09:13:53
软件简介:
135均线战法(波顶、波底、强势、生命、趋势线、黑马线)
DA1:=IF(55>TOTALBARSCOUNT,TOTALBARSCOUNT,55);
DA:=IF(CURRBARSCOUNT>DA1,0,DA1);
HI:=REFDATE(HHV(H,DA),DATE);
LO:=REFDATE(LLV(L,DA),DATE);
C1:=IF(CURRBARSCOUNT<=DA,C,DRAWNULL);
GZ:=EXP(LN(HI/LO)/10);
LH1:=SUM(IF(C1>=(HI/GZ),V,0),DA);
LH2:=SUM(IF(C1>=(HI/POW(GZ,2)) AND C1<(HI/GZ),V,0),DA);
LH3:=SUM(IF(C1>=(HI/POW(GZ,3)) AND C1<(HI/POW(GZ,2)),V,0),DA);
LH4:=SUM(IF(C1>=(HI/POW(GZ,4)) AND C1<(HI/POW(GZ,3)),V,0),DA);
LH5:=SUM(IF(C1>=(HI/POW(GZ,5)) AND C1<(HI/POW(GZ,4)),V,0),DA);
LH6:=SUM(IF(C1>=(HI/POW(GZ,6)) AND C1<(HI/POW(GZ,5)),V,0),DA);
LH7:=SUM(IF(C1>=(HI/POW(GZ,7)) AND C1<(HI/POW(GZ,6)),V,0),DA);
LH8:=SUM(IF(C1>=(HI/POW(GZ,8)) AND C1<(HI/POW(GZ,7)),V,0),DA);
LH9:=SUM(IF(C1>=(LO*GZ) AND C1<LO*POW(GZ,2),V,0),DA);
LH10:=SUM(IF(C1>=LO AND C1<LO*GZ,V,0),DA);
L1:=REFDATE(HHV(LH1,DA),DATE),LINETHICK5;
L2:=REFDATE(HHV(LH2,DA),DATE),LINETHICK5;
L3:=REFDATE(HHV(LH3,DA),DATE),LINETHICK5;
L4:=REFDATE(HHV(LH4,DA),DATE);
L5:=REFDATE(HHV(LH5,DA),DATE);
L6:=REFDATE(HHV(LH6,DA),DATE);
L7:=REFDATE(HHV(LH7,DA),DATE);
L8:=REFDATE(HHV(LH8,DA),DATE);
L9:=REFDATE(HHV(LH9,DA),DATE);
L10:=REFDATE(HHV(LH10,DA),DATE);
SS:=(L1+L2+L3+L4+L5+L6+L7+L8+L9+L10);
STICKLINE(CEILING(DA*L1/SS)*3>=CURRBARSCOUNT,HI*99/100,HI/GZ,9,0)COLOR871F78,LINETHICK2;
STICKLINE(CEILING(DA*L2/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,1)*99/100,HI/POW(GZ,2),9,0)COLOR871F78,LINETHICK2;
STICKLINE(CEILING(DA*L3/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,2)*99/100,HI/POW(GZ,3),9,0)COLOR871F78,LINETHICK2;
STICKLINE(CEILING(DA*L4/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,3)*99/100,HI/POW(GZ,4),9,0)COLOR871F78,LINETHICK2;
STICKLINE(CEILING(DA*L5/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,4)*99/100,HI/POW(GZ,5),9,0)COLOR871F78,LINETHICK2;
STICKLINE(CEILING(DA*L6/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,5)*99/100,HI/POW(GZ,6),9,0)COLOR00FF00,LINETHICK2;
STICKLINE(CEILING(DA*L7/SS)*3>=CURRBARSCOUNT,HI/POW(GZ,6)*99/100,HI/POW(GZ,7),9,0)COLOR8E6B23,LINETHICK2;
STICKLINE(CEILING(DA*L8/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,2),LO*POW(GZ,3)*99/100,9,0)COLOR8E6B23,LINETHICK2;
STICKLINE(CEILING(DA*L9/SS)*3>=CURRBARSCOUNT,LO*POW(GZ,1),LO*POW(GZ,2)*99/100,9,0)COLOR8E6B23,LINETHICK2;
STICKLINE(CEILING(DA*L10/SS)*3>=CURRBARSCOUNT,LO,LO*POW(GZ,1)*99/100,9,0)COLOR8E6B23,LINETHICK2;
DRAWKLINE(H,O,L,C);X5:HHV((REF(CLOSE,1)+REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4))/4,5),LINETHICK1,COLOR00FF00;
X10:HHV((REF(CLOSE,2)+REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5))/4,10),LINETHICK1,COLORYELLOW;
X20:HHV((REF(CLOSE,3)+REF(CLOSE,4)+REF(CLOSE,5)+REF(CLOSE,6))/4,20),LINETHICK2,COLORBLUE;
BY:=CROSS(C,X5) AND CROSS(C,X10) AND CROSS(C,X20) AND C/REF(C,1)>1.015;
BH:=CROSS(X5,X10) AND C>O;
{STICKLINE(BY OR BH,L,L-0.03,4,0),COLORYELLOW;}
DRAWTEXT(BY OR BH,L-0.12,'●操作'),COLORYELLOW;
{DDC:=CROSS(X5,C) AND CROSS(X10,C) AND CROSS(X20,C);
DRAWTEXT(DDC,H+0.15,'●'),COLORYELLOW;}
{指标要点:
卷帘操作,垂帘休息.
指标原理:
X5、X10、X20均线依次取前4天平均值的5、10、20天最高值,
通过运算显示出不同于其它均线运行的趋势,
当三条均线由下或由上发散粘合时,股价在不同周期内的最高值趋于一致,
股价变动的几率比较大。
指标用法:
X5、X10、X20线在相对低位粘合成一条线时,向上变盘的可能性最大,
且股价同时上穿合一线可视为买点,三线发散向上持有或加仓,
此时由下向上形成浅色粉帘称为卷帘操作。在高位三线合一应该小心,
既有向上变盘的可能性也有向下变盘的可能性。但向下的可能性最大,
此时由高向下形成绿色帘称为垂帘休息,应该减仓或择机卖出。三线发散向下,
持币观望,等待机会。};
TY:=C;
HD:=FILTER(BACKSET(FILTER(REF(TY,5)=HHV(TY,2*5+1),5),5+1),5);
LD:=FILTER(BACKSET(FILTER(REF(TY,3)=LLV(TY,2*3+1),3),3+1),3);
A:=REF(C,BARSLAST(HD));
B:=REF(C,BARSLAST(LD));
T10:=BARSLAST(HD)<BARSLAST(LD) AND NOT(HD) ;
T20:=BARSLAST(HD)>BARSLAST(LD) AND NOT(LD);
波顶:IF(T10,A,A),COLORYELLOW,LINETHICK3;
STICKLINE(T10,A,A,0,0),COLORFF0000,LINETHICK2;
波底:IF(T20,B,B),COLORWHITE,LINETHICK2;
强势2:MA(C,2),COLORMAGENTA,LINETHICK0;
生命5:MA(C,5),COLORRED,LINETHICK2;
DG1:=(CROSS(强势2,生命5));
DRAWICON(DG1,生命5,9);势10:MA(C,10),COLORBLUE,LINETHICK1;
命18:MA(C,18),COLORYELLOW,LINETHICK0;
DG0:=(CROSS(生命5,命18));
DRAWICON(DG1,命18,1);
IF(生命5>REF(生命5,1),生命5,DRAWNULL),COLORRED,LINETHICK2;
IF(生命5<REF(生命5,1),生命5,DRAWNULL),COLORGREEN,LINETHICK2;
VAR1:=IF((CLOSE>180),91.3,0.91299998);
短支:(INTPART((CLOSE)/(VAR1)))*(VAR1),COLOR0000FF,CIRCLEDOT,LINETHICK1;
短压:短支+VAR1,COLOR008000,CIRCLEDOT,LINETHICK1;
VAR20:=(CLOSE>REF(短压,1)) AND (CLOSE>REF(高,1)) AND ((VOL)/(REF(VOL,1))>2) AND (VOL>MA(VOL,120));
AA1:=AMOUNT/V;BB1:=L<AA1*0.9;
CC1:=(C-REF(C,1))/REF(C,1)*100>1.2;DD1:=L<MA(C,5)*0.921;EE1:=V<MA(V,5)*1.5;
FF1:=BB1 AND CC1 AND DD1 AND EE1;DRAWTEXT(FF1,(LOW* 0.99),'老鼠仓'),COLOR4080FF;
A51:=3*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1);
黑马线:=EMA(A51,5);A54:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
趋势线:=(MA(3*SMA(A54,6,1)-2*SMA(SMA(A54,5,1),5,1),2));
DRAWTEXT(CROSS(趋势线,0)AND 黑马线<40,(HIGH* 0.97),'▲大黑马'),COLORWHITE;
LC:=REF(CLOSE,1);RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
FF:=EMA(CLOSE,3);MA15:=EMA(CLOSE,21);DRAWTEXT(CROSS(FF,MA15),(LOW * 0.99),'底背离'),COLORA6E500;
DRAWTEXT(CROSS(88,RSI),(HIGH * 1.01),'顶背离'),COLOR1880FF;
VAR2:=LLV(LOW,27);VAR3:=HHV(HIGH,34);VAR4:=EMA((CLOSE-VAR2)/(VAR3-VAR2)*4,4)*25;
注意买:=IF((VAR4<10),80,100);RSV:=(C-LLV(L,9))/(HHV(H,9)-LLV(L,9))*100;
K:=SMA(RSV,3,1);D:=SMA(K,3,1);J:=3*K-2*D;超跌:=IF(J<0,10,0);BDDD:=LLV(J,2)=LLV(J,8);
买入:=IF(CROSS(J,REF(J+0.01,1)) AND BDDD AND J<20,30,0);
DRAWTEXT(买入 AND 注意买=100 AND 超跌=0,LOW,'短线'),COLOR8000FF;
MTM:=C-REF(C,1);DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
P:=8;
豆:=REF(HIGH,P)=HHV(HIGH,2*P+1);
豆豆:=FILTER(豆,P);
豆豆1981:=BACKSET(豆豆,P+1);
豆1981:=FILTER(豆豆1981,P);{高点}
压力:REF(HIGH,BARSLAST(豆1981)),COLORFF00FF,CROSSDOT,LINETHICK1;
R11:=BACKSET(ISLASTBAR,BARSLAST(豆1981)+1);
S11:=R11>REF(R11,1);
压力轨:DRAWLINE(豆1981,HIGH,S11,HIGH,1),COLORYELLOW,LINETHICK2;
AA2:=REF(LOW,P)=LLV(LOW,2*P+1);
BB2:=FILTER(AA2,P);
CC2:=BACKSET(BB2,P+1);
DD2:=FILTER(CC2,P);{低点}
支撑:REF(LOW,BARSLAST(DD2)),COLOR00FF00,CROSSDOT,LINETHICK1;
T11:=BACKSET(ISLASTBAR,BARSLAST(DD2)+1);
U11:=T11>REF(T11,1);
支撑轨:DRAWLINE(DD2,LOW,U11,LOW,1),COLORBLUE,LINETHICK2;
中轨:(压力轨+支撑轨)/2,COLOR7FFF00,LINETHICK2;
{135均线战法}
YY10:=C>MA(C,11) AND OPEN<MA(C,11);{一阳三线}
YY30:=C>MA(C,33) AND OPEN<MA(C,33);
YY50:=C>MA(C,55) AND OPEN<MA(C,55);
DRAWTEXT(YY10 AND YY50 AND YY30,LOW-0.1,'一阳三线'),COLORRED;
SJ10:=ABS(MA(CLOSE,11)-MA(CLOSE,33))<C*0.01;{11线33线55线接近}
SJ20:=ABS(MA(CLOSE,33)-MA(CLOSE,55))<C*0.01;
SJ30:=CROSS(MA(CLOSE,11),MA(CLOSE,55));{11线上穿55线}
DRAWTEXT(SJ10 AND SJ20 AND SJ30,HIGH+0.1,'三军集合'),COLORRED;DIFF:=EMA(CLOSE,10) - EMA(CLOSE,20);
DEA:=EMA(DIFF,5);
B4:=CROSS(DIFF,DEA
[url=http://www.70822.com/soft/sort013/sort05/down-31889.html]135均线战法(另版本、波顶、波底、强势、生命、趋势线、黑马线)[/url]