当前位置:分析家公式网 → 股票公式 → 通达信公式 → 一键转帖:只做主升浪,专捕主升浪指标源码
软件名称:[B]只做主升浪,专捕主升浪指标源码[/B]
软件类型:国产软件
运行环境:Win9X/Win2000/WinXP/Win2003/
软件语言:简体中文
授权方式:免费版
软件大小:1.00 KB
官方主页:Home Page
更新时间:2012-07-12 01:59:36
软件简介:
R4:=(2*C+H+L)/4;
R5:=LLV(L,94);
R6:=HHV(H,89);
快:EMA((C-R5)/(R6-R5)*100,8);
慢:EMA(0.667*REF(快,1)+0.333*快,10),colorcyan;
==========专捕主升浪2
{N,1,100,38 N1,1,100,5  N2,1,100,13专捕主升浪}
VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
A: SMA(VAR1,7,1),LINETHICK2;
VAR2:=SMA(A,5,1);
B: IF(CROSS(A,VAR2) AND CROSS(MA(C,N1),MA(C,N2) AND A>50) ,VAR2*2,VAR2),COLORYELLOW;
VAR4:= EMA(CLOSE,8);
VAR5:= EMA(CLOSE,20);
草原:IF(CROSS(MA(CLOSE,1),MA(CLOSE,N)) AND A-B>2 AND VAR4>VAR5 ,VAR2*2,VAR2),COLORGREEN;
买入:=(CROSS(MA(CLOSE,1),MA(CLOSE,N)) AND A-B>2 AND VAR4>VAR5 );
R5:=LLV(L,94);
R6:=HHV(H,89);
快:EMA((C-R5)/(R6-R5)*100,8);
慢:EMA(0.667*REF(快,1)+0.333*快,10),colorcyan;
==========专捕主升浪2
{N,1,100,38 N1,1,100,5  N2,1,100,13专捕主升浪}
VAR1:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*80;
A: SMA(VAR1,7,1),LINETHICK2;
VAR2:=SMA(A,5,1);
B: IF(CROSS(A,VAR2) AND CROSS(MA(C,N1),MA(C,N2) AND A>50) ,VAR2*2,VAR2),COLORYELLOW;
VAR4:= EMA(CLOSE,8);
VAR5:= EMA(CLOSE,20);
草原:IF(CROSS(MA(CLOSE,1),MA(CLOSE,N)) AND A-B>2 AND VAR4>VAR5 ,VAR2*2,VAR2),COLORGREEN;
买入:=(CROSS(MA(CLOSE,1),MA(CLOSE,N)) AND A-B>2 AND VAR4>VAR5 );
STICKLINE(A>VAR2,A,B,0,0);
STICKLINE(A>VAR2,A,VAR2,0,0), ,COLORGREEN ;
==========2,专捕主升浪3,简单明了*
RSV:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*200-100)/2;
K:SMA(SMA( RSV,3,1),3,1),LINETHICK2;
D:MA(EMA(K,3),3),LINETHICK2;
J:=3*K-2*D,COLORSTICK,LINETHICK3;
STICKLINE(CROSS(K,D),K+33,K+2,0.5,0),COLORRED;
==========3,专捕主升浪4
R:=AMOUNT/100000000;
R1:=IF(CLOSE>REF(CLOSE,1),R,0);
R3:=SUM(R1,8);
JJ:=R3*CLOSE;
AA:=MA(JJ,3);
A:SMA(AA,3,1),COLORRED,LINETHICK1;
B:SMA(SMA(AA,3,1),3,1),COLORWHITE;
平衡位:MA(JJ,34),COLORGREEN,LINETHICK1;
==============4专捕主升浪5,带主升浪K线*
X1:=MA(C,1);X2:=SMA(SMA(SMA(X1,2,1),2,1),2,1);X3:=MA(X2,3);X4:=(L+H+C*4)/6;
X5:=EMA(X4,12);X6:=EMA(X4,19);X7:=(X5-REF(X5,1))/REF(X5,1)*100;X9:=(X6-REF
(X6,1))/REF(X6,1)*100;G:=BARSLAST(CROSS(X7,0));X8:=REF(X4,G);A2:=3*EMA((C-LLV
(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV
(L,30))*100,5);A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;A5:=EMA(CLOSE,12)-
EMA(CLOSE,26);A6:=EMA(A5,9);A7:=(A5-A6);STICKLINE(X9>=0
AND MA(CLOSE,20)>REF
(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)>REF
(MA(CLOSE,120),1),HIGH,LOW-0.02,0,0),COLOR0000CD;STICKLINE(X9>=0
AND MA(CLOSE,20)
>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)>
REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,3,0),COLOR070084;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,2,0),COLOR0000A3;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,1,0),COLOR0000B7;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,1,0),COLOR0000CD;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,1,0),COLOR0000E9;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,0.5,0),COLOR0754E9;
STICKLINE(X9>=0
AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(CLOSE,60)>REF(MA(CLOSE,60),1)
AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE,OPEN-0.001,0.2,0),COLOR68B8FF;
Z1:MA(CLOSE,5),COLOR00FFFF;Z2:MA(CLOSE,55),COLOR00FF00,LINETHICK2;
RSV:=((CLOSE-LLV(LOW,21))/(HHV(HIGH,21)-LLV(LOW,21))*200-100)/2;
K:SMA(SMA( RSV,3,1),3,1),LINETHICK2;
D:MA(EMA(K,3),3),LINETHICK2;
J:=3*K-2*D,COLORSTICK,LINETHICK3;
STICKLINE(CROSS(K,D),K+33,K+2,0.5,0),COLORRED;
==========3,专捕主升浪4
R:=AMOUNT/100000000;
R1:=IF(CLOSE>REF(CLOSE,1),R,0);
R3:=SUM(R1,8);
JJ:=R3*CLOSE;
AA:=MA(JJ,3);
A:SMA(AA,3,1),COLORRED,LINETHICK1;
B:SMA(SMA(AA,3,1),3,1),COLORWHITE;
平衡位:MA(JJ,34),COLORGREEN,LINETHICK1;
==============4专捕主升浪5,带主升浪K线*
X1:=MA(C,1);X2:=SMA(SMA(SMA(X1,2,1),2,1),2,1);X3:=MA(X2,3);X4:=(L+H+C*4)/6;
X5:=EMA(X4,12);X6:=EMA(X4,19);X7:=(X5-REF(X5,1))/REF(X5,1)*100;X9:=(X6-REF
(X6,1))/REF(X6,1)*100;G:=BARSLAST(CROSS(X7,0));X8:=REF(X4,G);A2:=3*EMA((C-LLV
(L,30))/(HHV(H,30)-LLV(L,30))*100,5)-2*EMA((C-LLV(L,30))/(HHV(H,30)-LLV
(L,30))*100,5);A4:=(HHV(H,34)-C)/(HHV(H,34)-LLV(L,34))*100;A5:=EMA(CLOSE,12)-
EMA(CLOSE,26);A6:=EMA(A5,9);A7:=(A5-A6);STICKLINE(X9>=0
AND MA(CLOSE,20)>REF
(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)>REF
(MA(CLOSE,120),1),HIGH,LOW-0.02,0,0),COLOR0000CD;STICKLINE(X9>=0
AND MA(CLOSE,20)
>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)>
REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,3,0),COLOR070084;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,2,0),COLOR0000A3;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,1,0),COLOR0000B7;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,1,0),COLOR0000CD;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,1,0),COLOR0000E9;STICKLINE(X9>=0
AND MA(CLOSE,
20)>REF(MA(CLOSE,20),1) AND
MA(CLOSE,60)>REF(MA(CLOSE,60),1) AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE-0.02,OPEN,0.5,0),COLOR0754E9;
STICKLINE(X9>=0
AND MA(CLOSE,20)>REF(MA(CLOSE,20),1) AND MA(CLOSE,60)>REF(MA(CLOSE,60),1)
AND
MA(CLOSE,120)
>REF(MA(CLOSE,120),1),CLOSE,OPEN-0.001,0.2,0),COLOR68B8FF;
Z1:MA(CLOSE,5),COLOR00FFFF;Z2:MA(CLOSE,55),COLOR00FF00,LINETHICK2;
[url=http://www.70822.com/soft/sort013/sort05/down-50616.html]只做主升浪,专捕主升浪指标源码[/url]