S◆KDJ
2016-11-6 18:42:30点击:
使用说明:1.指标>80 时,回档机率大;指标<20 时,反弹机率大;
2.K在20左右向上交叉D时,视为买进信号参考;
3.K在80左右向下交叉D时,视为卖出信号参考;
4.SKDJ波动于50左右的任何讯号,其作用不大。
5.注意方向线变化
LOWV:=LLV(LOW,N);
HIGHV:=HHV(HIGH,N);
RSV:=EMA((CLOSE-LOWV)/(HIGHV-LOWV)*100,M);
K:EMA(RSV,M),LINETHICK2;
D:MA (K,M),LINETHICK2;
DRAWICON(CROSS(K,D),D,"buy");
DRAWICON(CROSS(D,K),D,"sell");
超买区:80,colorlimagenta;
分水岭:50,colorcyan;
超卖区:20,colorgreen;
STICKLINE(K>D,K,D,2.5,0),COLORFF00FF,LINETHICK1;
STICKLINE(D>K,K,D,2.5,0),COLORFFFF00,LINETHICK1;
A1:=BARSLAST(REF(CROSS(K,D),1));
U1:=BARSLAST(REF(CROSS(K,D),2));
U2:=REF(C,U1+2)>C AND REF(K,U1+1)<K AND CROSS(K,D)AND d<50;
底背离:=IF(U2>0,1,0);
DRAWLINE(A1=0,D,底背离,D,0),colorred,LINETHICK5;
A2:=BARSLAST(REF(CROSS(D,K),1));
顶背离:=REF(CLOSE,A2+1)<CLOSE AND REF(D,A2+1)>D AND CROSS(D,K);
DRAWLINE(A2=0,D,顶背离,D,0),colorgreen,LINETHICK5;
DRAWTEXT(底背离>0,D-3,'加仓'),colorred;
DRAWTEXT(顶背离>0,D+5,'减仓'),colorgreen;
DRAWICON(CROSS(K,D) AND K<25,K*0.55,11);
DRAWICON(CROSS(D,K) AND K>75,K*1.15,12);
起动:K<11.50,coloryellow,LINETHICK3;
DRAWTEXT(起动,5.0,' ★-----------------'),COLOR0090FF;
高抛: K>88.50,colorgreen,LINETHICK3;
F1:=ZIG(3,15);
方向:IF((F1> REF(F1,1)),04,96),COLOR336699,LINETHICK2;
VAR1N:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR2N:=EMA(VAR1N,30);
VAR3N:=EMA(VAR2N,30);
VAR4N:=3*VAR2N-2*VAR3N;
趋势线:EMA(VAR4N,5),colorblue,LINETHICK1;
VAR5:=LLV(LOW,8.0);
VAR6:=HHV(HIGH,25);
雷达:100*(C-LLV(L,30))/(HHV(C,30)-LLV(L,30)),colorlired,LINETHICK1;
决策线:EMA((CLOSE-VAR5)/(VAR6-VAR5)*100,3),colorred,LINETHICK1;
多空线: =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);
DRAWTEXT(CROSS(85,决策线),95,'注意~高處`不胜寒'),colorligreen;
DRAWICON(CROSS(85,决策线),99,9);
DRAWICON(CROSS(85,决策线),103,3);
STICKLINE(趋势线>85,趋势线,80,1,0),coloryellow,LINETHICK2;
STICKLINE(趋势线<12,趋势线,12,1,0),COLOR00FFFF;
DRAWTEXT(CROSS(12,趋势线),08,'注意~低處`拾黄金'),COLOR000FFF;
雄起:=决策线<5;
DRAWTEXT(雄起,5.0,' ------------走起-'),colormagenta;
DRAWICON(CROSS(15,趋势线),10.5,15);
DRAWICON(CROSS(85,决策线),93,15);
DRAWICON(CROSS(15,趋势线),03,05);
DRAWICON(CROSS(15,趋势线),07,09);
DRAWICON(CROSS(5,决策线),07,19);
底部: =10;
买入区间: IF(多空线<=07,48,0);
建仓信号: IF(CROSS(多空线,底部),05,0);
买入信号: IF(雷达<=05,05,0),coloryellow;
卖出区间: IF(多空线>=92,52,100)
- 上一篇:主图清晰 2016/11/6
- 下一篇:通达信生命线副图指标源码 2016/11/6