KD共振,加了棵线
-
相关简介:C/C++ Code 复制内容到剪贴板 RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100; K1:=SMA(RSV1,5,1); D1:=SMA(K1,5,1); J1:=3*K1-2*D1; AA1:=EMA(J1,5); AA2:=REF(AA1,1); STICKLINE(AA1AA2,AA1,AA2,3,0),COLOR0055AA; STICKLINE(AA1AA2,AA1,AA2,2,0)
-
文章来源:择股网作者:股海网发布时间:2009-11-23浏览次数:
C/C++ Code复制内容到剪贴板
- RSV1:=(CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*100;
- K1:=SMA(RSV1,5,1);
- D1:=SMA(K1,5,1);
- J1:=3*K1-2*D1;
- AA1:=EMA(J1,5);
- AA2:=REF(AA1,1);
- STICKLINE(AA1>AA2,AA1,AA2,3,0),COLOR0055AA;
- STICKLINE(AA1>AA2,AA1,AA2,2,0),COLOR0099DD;
- STICKLINE(AA1>AA2,AA1,AA2,1,0),COLOR01BEE7;
- STICKLINE(AA1<=AA2,AA1,AA2,3,0),COLOR006600;
- STICKLINE(AA1<=AA2,AA1,AA2,2,0),COLOR00BB00;
- STICKLINE(AA1<=AA2,AA1,AA2,1,0),COLOR00CC00;
- STICKLINE(C>0,AA1,AA2,0,0),COLORFFFFFF;
- RSV2:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- K2:=SMA(RSV2,3,1);
- D2:=SMA(K2,3,1);
- J2:=3*K2-2*D2;
- BB1:=EMA(J2,5);
- BB2:=REF(BB1,1);
- STICKLINE(BB1>BB2,BB1,BB2,2.8,0),COLOR000045;
- STICKLINE(BB1>BB2,BB1,BB2,2,0),COLOR0000C5;
- STICKLINE(BB1>BB2,BB1,BB2,1,0),COLOR0000E5;
- STICKLINE(BB1<=BB2,BB1,BB2,2.8,0),COLOR353500;
- STICKLINE(BB1<=BB2,BB1,BB2,2,0),COLOR757500;
- STICKLINE(BB1<=BB2,BB1,BB2,1,0),COLOR858500;
- STICKLINE(C>0,BB1,BB2,0,0),COLORFFFFFF;
- DD:=AA1>AA2 AND BB1>BB2;
- 注意买入:=DD AND NOT(REF(DD,1)) AND (AA1<50 OR BB1<50) ;
- DRAWICON(注意买入,-5,1);
- 注意卖出:=REF(DD,1)=1 AND NOT(DD),LINETHICK0;
- DRAWICON(注意卖出,105,2);
- 值:(EMA(((CLOSE-LLV(LOW,36))/(HHV(HIGH,30)-LLV(LOW,36)))*(4),4))*(25),COLORGREEN,LINETHICK2;
- 顶部:87.5,COLOR00FF00;
- 抄底:IF(FILTER(CROSS(值,5),10) AND C>REF(C,3) ,8,0),COLORYELLOW;
- DRAWTEXT(FILTER(CROSS(值,5),10) AND C>REF(C,3),9,'抄底'), COLORWHITE;
- 买入:IF(FILTER(CROSS(值,9),10)AND COUNT((值<7)=1,5) AND C>REF(C,3),12,0),COLORGREEN;
- DRAWTEXT(FILTER(CROSS(值,9),10)AND COUNT((值<7)=1,5) AND C>REF(C,3),15,'买入'), COLORYELLOW;
- 减仓:IF(FILTER(CROSS(值,86),10),72,87.5),COLORWHITE;
- DRAWTEXT(FILTER(CROSS(值,86),10), 68,'减仓'),COLORYELLOW;
- 轻仓:IF(FILTER(CROSS(值,92),10),67,87.10),COLORWHITE;
- DRAWTEXT(FILTER(CROSS(值,92),10),65,'轻仓'),COLORWHITE;
- 逃顶:IF(FILTER(CROSS(95,值),3),62,87.5),COLORRED;
- DRAWTEXT(FILTER(CROSS(95,值),3),60,'逃顶'),COLORWHITE;
- DRAWICON(CROSS(MA(CLOSE,26) + 2*STD(CLOSE,26),C),值*1.1,2);
- DRAWICON(CROSS(C,MA(CLOSE,26) - 2*STD(CLOSE,26)),值*0.9,1);
- 强:IF(值>(REF(值,1)),值,DRAWNULL),COLORRED,LINETHICK2;
上一篇:短线追涨
下一篇:个简单实用的参考指标!