超级趋势组合 副图
2016-2-6 12:00:06点击:
XXX:=1;
VAR1:=HHV(HIGH,3);
VAR2Q:=REF(LOW,1);
VAR3Q:=((SMA(ABS((LOW - VAR2Q)),3,1) / SMA(MAX((LOW - VAR2Q),0),3,1)) * 100);
VAR4Q:=EMA(IF((CLOSE * 1.3),(VAR3Q * 10),(VAR3Q / 10)),3);
VAR5Q:=LLV(LOW,30);
VAR6Q:=HHV(VAR4Q,30);
VAR7Q:=IF(MA(CLOSE,58),1,0);
VAR8Q:=((EMA(IF((LOW <= VAR5Q),((VAR4Q + (VAR6Q * 2)) / 2),0),3) / 618) * VAR7Q);
VAR9Q:=IF((VAR8Q > 100),100,VAR8Q);
STICKLINE((VAR9Q > (0 - 120)),0,VAR9Q,8,1),COLORBROWN;
VAR2:=((IF((WINNER((1.1 * CLOSE)) < 0),0,WINNER((1.1 * CLOSE))) - IF((WINNER((0.9 * CLOSE)) < 0),0,WINNER((0.9 * CLOSE)))) *
100);
VAR3:=IF((VAR1 < 0),0,VAR1);
VAR4:=IF((VAR2 < 0),0,VAR2);
VAR1D:=REF(CLOSE,1);
VAR12D:=SMA(MAX(CLOSE-VAR1D,0),6,1)/SMA(ABS(CLOSE-VAR1D),6,1)*100;
卖出A:=IF( CROSS(80,VAR12D),1.5,0);
VTD1:=((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;
SHD:=VTD1>9 AND FILTER(VTD1<REF(VTD1,1),5);
LDD:=VTD1>20 AND FILTER(VTD1<REF(VTD1,1),5);
VTD2:=HHV(VTD1>20,10);
WEIX:= VTD2 AND CROSS((REF(HIGH,1)+REF(LOW,1))/2,MA(CLOSE,20)+2*STD(CLOSE,20)),LINETHICK0;
红色警报A:STICKLINE(VTD2 AND FILTER(VTD1< REF(VTD1,1),6) AND CROSS(MA(CLOSE,5),MA(CLOSE,2)),VTD1+6,0,2,0);
VTDTJ:=SHD AND LDD AND WEIX;
STICKLINE(卖出A,60,100,2,0),LINETHICK2,COLOR0000FF;
V1:=LLV(LOW,10);
V2:=HHV(HIGH,25);
价位线:=EMA((((CLOSE - V1) / (V2 - V1)) * 4),4);
STICKLINE(CROSS(价位线,0.3),50,5,2,0),COLOR00CCFF;
STICKLINE(CROSS(价位线,0.3),30,5,2,0),COLOR0000FF;
卖出:STICKLINE(VTDTJ,60,100,2,0),COLOR0000FF;
STICKLINE(红色警报A,60,100,2,0),COLOR00FFFF;
STICKLINE(CROSS(3.5,价位线),80,100,2,0),COLORFF9900;
AA3:=((((HHV(HIGH,21) - CLOSE) / (HHV(HIGH,21) - LLV(LOW,21))) * 100) - 10);
AA4:=(((CLOSE - LLV(LOW,21)) / (HHV(HIGH,21) - LLV(LOW,21))) * 100);
AA5:=SMA(AA4,13,8);
走势:=CEILING(SMA(AA5,13,8));
AA6:=SMA(AA3,21,8)*XXX;
STICKLINE(VTDTJ,60,100,5,0),COLORGREEN;
STICKLINE(VTDTJ,60,100,5,0),COLORGREEN;
JY0:=(3*C+H+L)/5;
流通盘:=IF(C<300,CAPITAL*XXX,1200000000);
JZ0:=XXX*V/流通盘*100;
JA1:=HHVBARS(H,55)*XXX;
JA2:=SUM(JY0,JA1);
JA3:=SUM(JY0,2*JA1);
顶A1:=(JA2-JA3)/C;
JA4:=HHVBARS(H,55);
JA5:=SUM(JZ0,JA4);
JA6:=SUM(JZ0,2*JA4);
顶A2:=(JA5-JA6);
顶A3:= (顶A1+顶A2)/2;
顶A4:= MA(顶A3,1)+25;
JB1:=HHVBARS(H,120);
JB2:=SUM(JY0,JB1);
JB3:=SUM(JY0,2*JB1);
顶B1:=(JB2-JB3)/C;
JB4:=HHVBARS(H,120);
JB5:=SUM(JZ0,JB4);
JB6:=SUM(JZ0,2*JB4);
顶B2:=(JB5-JB6);
顶B3:= (顶B1+顶B2)/2;
顶B4:= MA(顶B3,5)+25;
DA1:=LLVBARS(L,65);
DA2:=SUM(JY0,DA1);
DA3:=SUM(JY0,2*DA1);
底A1:=(DA3-DA2)/C;
DA4:=LLVBARS(L,65);
DA5:=SUM(JZ0,DA4);
DA6:=SUM(JZ0,2*DA4);
底A2:=(DA6-DA5);
底A3:= (底A1+底A2)/2;
底A4:= EMA(底A3,1)-3;
DB1:=LLVBARS(L,850);
DB2:=SUM(JY0,DB1);
DB3:=SUM(JY0,2*DB1);
底B1:=(DB3-DB2)/C;
DB4:=LLVBARS(L,850);
DB5:=SUM(JZ0,DB4);
DB6:=SUM(JZ0,2*DB4);
底B2:=(DB6-DB5);
底B3:= (底B1+底B2)/2;
底B4:= MA(底B3,5)-3;
小顶:=IF(顶A4>-3,顶A4,-3);
大顶:= IF(顶B4>22,顶B4,22);
T9H:=IF(顶A4>22,顶A4,22);
小底:= IF(底A4<25,底A4,25);
T9L:=IF(底A4<0,底A4,0)*5;
大底:= IF(底B4<0,底B4,0);
T9H1:=FILTER(顶B4>22 AND 顶A4>22,10)*XXX;
{DRAWTEXT(T9H1*XXX,80,'SELL');
STICKLINE(((走势 - AA6) > 85) OR 5*XXX>110,98,90,15,1),COLOR00AAAA; }
VA1:=HHV(HIGH,9)-LLV(LOW,9);
VA2:=HHV(HIGH,9)-CLOSE;
VA3:=CLOSE-LLV(LOW,9);
VA4:=VA2/VA1*100-70;
VA5:=(CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60))*100;
VA6:=(2*CLOSE+HIGH+LOW)/4;
VA7:=SMA(VA3/VA1*100,3,1);
VA8:=LLV(LOW,34);
VA9:=SMA(VA7,3,1)-SMA(VA4,9,1);
VARA:=IF(VA9>100,VA9-100,0);
VARB:=HHV(HIGH,34);
VARC:=EMA((VA6-VA8)/(VARB-VA8)*100,13);
VARD:=EMA(0.667*REF(VARC,1)+0.333*VARC,2);
VARE:=SMA(MAX(CLOSE-REF(CLOSE,1),0)/CLOSE,8,1)/SMA(ABS(INDEXC-REF(INDEXC,1))/INDEXC,8,1)*100-25;
VARF:=MA(VARE,3);
生命线:EMA(VARD,1),COLORFF82AB,LINETHICK2;
VAR1A:=HHV(HIGH,9)-LLV(LOW,9);
VAR2A:=HHV(HIGH,9)-CLOSE;
VAR3A:=CLOSE-LLV(LOW,9);
VAR4A:=((VAR2A)/(VAR1A))*(100)-70;
VAR5A:=((CLOSE-LLV(LOW,60))/(HHV(HIGH,60)-LLV(LOW,60)))*(100);
VAR6A:=((2)*(CLOSE)+HIGH+LOW)/(4);
VAR7A:=SMA(((VAR3A)/(VAR1A))*(100),3,1);
VAR8A:=LLV(LOW,34);
VAR9A:=SMA(VAR7A,3,1)-SMA(VAR4A,9,1);
VAR10A:=IF((VAR9A>100),VAR9A-100,0);
VAR11A:=HHV(HIGH,34);
B1A:=EMA(((VAR6A-VAR8A)/(VAR11A-VAR8A))*(100),8);
B2A:=EMA(B1A,5);
{白色}
{STICKLINE(B1A-B2A>0,B1A,B2A,2,0),COLORFFFFFF;}
STICKLINE(B1A-B2A>0,B1A,B2A,0.1,0),COLOR0000FF;
STICKLINE(B1A-B2A>0,B1A,B2A,3,1),COLORFFFFFF;
STICKLINE(B1A-B2A>0,B1A,B2A,3,0),COLOR999999;
STICKLINE(B1A-B2A>0,B1A,B2A,1,0),COLORCCCCCC;
STICKLINE(B1A-B2A>0,B1A,B2A,0.3,0),COLORFFFFFF;
{绿色}
{STICKLINE(B1A-B2A<0,B1A,B2A,2,0),COLOR00FF00;}
STICKLINE(B1A-B2A<0,B1A,B2A,3,0),COLOR009900;
STICKLINE(B1A-B2A<0,B1A,B2A,2,0),COLOR00BB00;
STICKLINE(B1A-B2A<0,B1A,B2A,1.5,0),COLOR00DD00;
STICKLINE(B1A-B2A<0,B1A,B2A,0.8,0),COLOR00FF00;
V1A:=MA(C,5)=HHV(MA(C,5),20);
V2A:=MA(C,5)>MA(C,10);
V3A:=MA(V,5)>MA(V,40)*1.01;
V4A:=COUNT(MA(C,1)>REF(C,1),2)=2;
VVA:=V1A AND V2A AND V3A AND V4A;
{STICKLINE(V1A AND V2A AND V3A AND V4A,100,110,2,0),COLOR00FF00;}
STICKLINE(V1A AND V2A AND V3A AND V4A,100,110,3,0),COLOR009900;
STICKLINE(V1A AND V2A AND V3A AND V4A,100,110,2,0),COLOR00BB00;
STICKLINE(V1A AND V2A AND V3A AND V4A,100,110,1.5,0),COLOR00DD00;
STICKLINE(V1A AND V2A AND V3A AND V4A,100,110,0.8,0),COLOR00FF00;
A1A:=EMA(CLOSE,8);
A2A:=EMA(A1A,20);
A3A:=CROSS(A1A,A2A);
A4A:=A1A<EMA(CLOSE,120);
{STICKLINE(A3A AND A4A,100,110,2,0),COLOR00FF00;}
STICKLINE(A3A AND A4A,100,110,3,0),COLOR009900;
STICKLINE(A3A AND A4A,100,110,2,0),COLOR00BB00;
STICKLINE(A3A AND A4A,100,110,1.5,0),COLOR00DD00;
STICKLINE(A3A AND A4A,100,110,0.8,0),COLOR00FF00;
A5A:=3*SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,21,1)-2*
SMA(SMA((CLOSE-LLV(LOW,18))/(HHV(HIGH,18)-LLV(LOW,18))*100,20,1),8,1);
{金叉}
P1:=5;
P2:=4;
VARRA:=LLV(LOW,P1);
VARRB:=HHV(HIGH,P1);
涨停动力线: EMA((CLOSE-VARRA)/(VARRB-VARRA)*100,P2),COLORLIMAGENTA,LINETHICK2;
涨停趋势线: EMA(0.667*REF(涨停动力线,1)+0.333*涨停动力线,2),COLORWHITE,LINETHICK2;
{ZIG}
买:=(ZIG(3,5)>REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)<=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)<=REF(ZIG(3,5),3));
卖:=(ZIG(3,5)<REF(ZIG(3,5),1)) AND (REF(ZIG(3,5),1)>=REF(ZIG(3,5),2)) AND (REF(ZIG
(3,5),2)>=REF(ZIG(3,5),3));
STICKLINE((买=1),(-10),0,1,0),COLOR0000FF;
DRAWTEXT((买=1),(-5),'←买'),COLOR0000FF;
STICKLINE((卖=1),110,100,1,0),COLOR00FF00;
DRAWTEXT((卖=1),105,'←卖'),COLOR00FF00;
{}
VARR2:=TROUGHBARS(3,15,1)<10;
VARR3:=PEAKBARS(3,15,1)<5;
VARR4:=IF(VARR2=1,50,0);
VARR5:=IF(VARR3=1,50,0);
底部:=IF(VARR4=50,10,0);
头部:=IF(VARR5=50,20,60);
未来买入:IF(底部=10 AND REF(底部,1)=10 AND REF(底部,2)=0,30,0),COLORRED,LINETHICK2;
未来卖出:IF(头部=20 AND REF(头部,1)=20 AND REF(头部,2)=60,70,100),COLORGREEN,LINETHICK2;
{}
长期A:=MA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),19),COLORRED;
中期D:=EMA(-100*(HHV(HIGH,34)-CLOSE)/(HHV(HIGH,34)-LLV(LOW,34)),4),LINETHICK2;
RSV:=(CLOSE-LLV(LOW,5))/(HHV(HIGH,5)-LLV(LOW,5))*100;
K:=SMA(RSV,2,1),LINETHICK2;
D:=SMA(K,2,1),LINETHICK2;
{分析家公式网WWW.88GS.COM}
短期线:3*K-2*D,LINETHICK1,COLORFF00FF;
中期线:中期D+100,COLORYELLOW,LINETHICK2;
长期线:=长期A+100;
{超准买入}
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);
买1:=LLV(A8,2)=LLV(A8,7) AND COUNT(A8<0,2) AND CROSS(A8,MA(A8,2));
DRAWTEXT(FILTER(买1=1,5) AND C>O,10,'买'),COLORYELLOW;
- 上一篇:超级抄底逃顶大全 副图(集成后就大成) 2016/2/6
- 下一篇:猴年吉祥!富力柱状均线{通达信、主图加副图、源码、贴图} 3 2016/2/6