实战综合副图指标之{重拳出击,大智慧新一代}附图 有使用说明
-
相关简介:实战综合副图指标之 { 重拳出击,大智慧新一代 } 附图 有使用说明 使用说明 短期资金向上穿越边界为买入信号,下穿止损信号。 当日短期资金可以上穿同时也有下来的可能,应结合当 时基本面、消息面考虑是否入场,投资失败及时止损。 在上升途中,结合成交量、均线、K线形态及KDJ MACD RSI WR 指标提示考虑是否卖出,当日股价跌破昨 日股价最低点视为破位,应及时止损。向下的红箭头表 示趋势拐头向下,特别在高位应引起足够重视。 MMACD缩头、JKDJ弯头、RRSI顶背离 C
-
文章来源:择股网作者:股海网发布时间:2009-10-06浏览次数:
实战综合副图指标之{重拳出击,大智慧新一代}附图
有使用说明
使用说明
短期资金向上穿越边界为买入信号,下穿止损信号。
当日短期资金可以上穿同时也有下来的可能,应结合当
时基本面、消息面考虑是否入场,投资失败及时止损。
在上升途中,结合成交量、均线、K线形态及KDJ
MACD RSI WR 指标提示考虑是否卖出,当日股价跌破昨
日股价最低点视为破位,应及时止损。向下的红箭头表
示趋势拐头向下,特别在高位应引起足够重视。
M↓MACD缩头、J↓KDJ弯头、R↓RSI顶背离
C/C++ Code复制内容到剪贴板
- {参数m 14 2 100 1 }
- RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
- K:=SMA(RSV,3,1);
- D:=SMA(K,3,1);
- J:=3*K-2*D;
- 目前位置:k;
- PARTLINE(目前位置,目前位置>REF(目前位置,1) ,RGB(255,0,0),目前位置<REF(目前位置,1) ,RGB(0,700,0)),LINETHICK2;
- 技术低位:20;
- 技术中位:50,POINTDOT;
- 技术高位:80;
- 短期资金: (CLOSE-MA(CLOSE,5))/MA(CLOSE,5)*100, COLORA6E500;
- 长期资金: (CLOSE-MA(CLOSE,40))/MA(CLOSE,40)*100, COLORff3399;
- 边界: IF(CROSS(长期资金,-24),1,0), COLORFFFFFF;
- DRAWTEXT(IF(CROSS(短期资金,边界),50,0),48,'出击'),COLORWHITE ;
- 出击:STICKLINE(CROSS(短期资金,边界),44,0,4,0) ,color0000ff;
- DRAWTEXT(IF(CROSS(短期资金,边界)and ref(目前位置,1)<20,50,0),48,'出击'),COLORWHITE ;
- 出击2:STICKLINE(CROSS(短期资金,边界)and ref(目前位置,1)<20,44,0,4,0) ,color0000ff;
- DRAWTEXT(IF(CROSS(短期资金,边界)and ref(目前位置,2)>20,50,0),48,'出击2'),COLORWHITE ;
- 出击3:STICKLINE(CROSS(短期资金,边界)and ref(目前位置,2)>20,44,0,4,0) ,color0000ff;
- DRAWTEXT(IF(CROSS(目前位置,技术高位)and ref(k,2)>80,50,0),48,'出击3'),COLORWHITE ;
- 出击4:STICKLINE(CROSS(目前位置,技术高位)and ref(k,2)>80,44,0,4,0) ,color0000ff;
- DRAWTEXT(IF(CROSS(短期资金,边界)and ref(目前位置,1)>20,50,0),48,'出击4'),COLORWHITE ;
- 出击5:STICKLINE(CROSS(短期资金,边界)and ref(目前位置,1)>20,44,0,4,0) ,color0000ff;
- DRAWTEXT(IF(CROSS(c,ref(l,1))and ref(l,1)<ref(l,2)and 短期资金>=0,50,0),48,'出击5'),COLORWHITE ;
- 出击6:STICKLINE(CROSS(c,ref(l,1))and ref(l,1)<ref(l,2)and 短期资金>=0,44,0,4,0) ,color0000ff;
- DRAWTEXT(IF(CROSS(边界,短期资金),50,0){and ref(c,1)>ref(l,2)},40,'止损'),COLORWHITE ;
- 卖2:STICKLINE(CROSS(边界,短期资金){and ref(c,1)>ref(l,2)},36,0,4,0) ,COLORFFFF33;
- {DRAWTEXT(IF(CROSS(80,目前位置)and 短期资金>0 ,50,0),40,'止损'),COLORWHITE ;
- 卖3:STICKLINE(CROSS(80,目前位置)and 短期资金>0 ,36,0,2,0) , COLORFFFF33;}
- DRAWTEXT(IF(CROSS(20,目前位置)and ref(k,2)<20,50,0),40,'止损'),COLORWHITE ;
- 卖4:STICKLINE(CROSS(20,目前位置)and ref(k,2)<20,36,0,2,0) , COLORFFFF33;
- DRAWTEXT(IF(CROSS(ref(l,1),c)and ref(l,1)>ref(l,2)and 短期资金>0 ,50,0),40,'止损'),COLORWHITE ;
- 卖5:STICKLINE(CROSS(ref(l,1),c)and ref(l,1)>ref(l,2)and 短期资金>0,36,0,2,0) , COLORFFFF33;
- DRAWTEXT(IF(CROSS(ref(l,1),c)and ref(c,1)>ref(l,2)and k<20 and ref(k,1)> ref(k,2)and ref(k,1)>=20 and ref(短期资金,2)<=0,50,0),40,'止损'),COLORWHITE ;
- 卖6:STICKLINE(CROSS(ref(l,1),c)and ref(c,1)>ref(l,2)and k<20 and ref(k,1)> ref(k,2)and ref(k,1)>=20 and ref(短期资金,2)<=0,36,0,2,0) , COLORFFFF33;
- DRAWTEXT(IF(CROSS(目前位置,20)and ref(l,1)<ref(l,2)and ref(短期资金,1)<0 ,100,0),58,'抄底'),COLORWHITE ;
- STICKLINE( CROSS(目前位置,20)and ref(l,1)<ref(l,2)and ref(短期资金,1)<0,0,56,4,0), COLOR3366FF;
- DRAWTEXT(IF(CROSS(目前位置,20)and ref(短期资金,1)<0 ,100,0),58,'抄底'),COLORWHITE ;
- STICKLINE( CROSS(目前位置,20)and ref(短期资金,1)<0,0,56,4,0), COLOR3366FF;
- {趋势向下:=cross(ref(k,1),k)and k>20;
- drawtext(趋势向下,k,'↓'),ALIGN0,color0000ff;}
- {kdj指标提示}
- BDGD1:=HHV(k,2)=HHV(k,8) ;
- j向下拐头:=IF(CROSS(REF(j-1,1),j) AND REF(BDGD1,1),1,0);
- DRAWTEXT(j向下拐头 ,73,'J↓'),COLORFFFF33;
- MTM:=C-REF(C,1);
- DX:=100*EMA(EMA(MTM,6),6)/EMA(EMA(ABS(MTM),6),6);
- 卖:=IF(HHV(DX,2)=HHV(DX,7) AND COUNT(DX>50,2) AND CROSS(MA(DX,2),DX),1,0);
- DRAWTEXT(filter(卖=1,5),80,'卖'),COLORFFFF33;
- 买:=IF(LLV(DX,2)=LLV(DX,7) AND COUNT(DX<0,2) AND CROSS(DX,MA(DX,2)),1,0);
- DRAWTEXT(filter(买=1,5),1,'★'),COLORe91adf;
- {评级}
- DRAWTEXTREL(10,970,'仅供参考
- 秦先秋自编 08.8.30 机构评级:'+Extrastring('评级')),colora9a9a9;
- {日周月kdj}
- 周K:="KDJ.K#WEEK"(9,3,3);
- 周D:="KDJ.D#WEEK"(9,3,3);
- 周J:="KDJ.J#WEEK"(9,3,3);
- 月K:="KDJ.K#MONTH"(9,3,3);
- 月D:="KDJ.D#MONTH"(9,3,3);
- 月J:="KDJ.J#MONTH"(9,3,3);
- 月金叉:=cross(月K,月D);
- 周金叉:=cross(周K,周D);
- 日金叉:=FILTER(cross(K,D) and K<20,4);
- drawtext(月金叉,{月D-2}10,'★'),ALIGN0,color0022ee;
- DRAWTEXT(月金叉,{月D-2}10,'月金叉'),coloryellow;
- drawtext(周金叉,{周D}10,'★'),ALIGN2,color0022ee;
- DRAWTEXT(周金叉,{周D}10,' 周金叉'),colorgreen;
- DRAWICON(日金叉,K,1),align2;
- DRAWTEXT(日金叉,{D-6}10,'低位金叉'),color00CCCC;
- DRAWTEXT(CROSS(周D,周K),{周D*1.2}100,'周死叉'),COLOR00DDBB;
- DRAWTEXT(CROSS(月D,月K),{月D}100,'月死叉'),COLORFFFFFF;
- KDB:=BARSLAST(ref(cross(k,d),1));
- KDDB:=ref(close,KDB+1)>close and ref(k,KDB+1)<k and cross(k,d);
- K底背:=if(FILTER(KDDB>0,5),1,0);
- DRAWTEXT(K底背=1,{D*0.98}10,'底背离'),COLORDDDDDD;
- KDD:=BARSLAST(ref(cross(d,k),1));
- K顶背:=ref(close,KDD+1)<close and ref(k,KDD+1)>k and cross(d,k);
- DRAWTEXT(FILTER(K顶背>0,5),{D+8}95,'KDJ顶背离'),COLORFFAA22;
- {rsi顶底背离}
- LC:=REF(CLOSE,1);
- RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
- DRAWTEXT(CROSS(88,RSI),{(HIGH * 0.0001)}85,'R↓'),COLORFFAA22{COLOR1880FF};
- A3:=BARSLAST(ref(cross("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24)),1));
- B3:=ref(c,A3+1)>c and ref("RSI.RSI1"(6,12,24),A3+1)<"RSI.RSI1"(6,12,24) and cross("RSI.RSI1"(6,12,24),"RSI.RSI2"(6,12,24));
- {RSI底背离:STICKLINE(FILTER(B3>0,5),0,0.5,3,0),COLORFFCC66;}
- DRAWTEXT(FILTER(B3>0,5),18,'RSI底背离'),COLORFFCC66;
- C3:=BARSLAST(ref(cross("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24)),1));
- D3:=ref(c,C3+1)<c and ref("RSI.RSI1"(6,12,24),C3+1)>"RSI.RSI1"(6,12,24) and cross("RSI.RSI2"(6,12,24),"RSI.RSI1"(6,12,24));
- DRAWTEXT(FILTER(D3>0,5),85,'R↓'),COLORFFCC66;
- {macd顶底背离}
- A1:=BARSLAST(ref(cross("macd.diff"(12,26,9),"macd.dea"(12,26,9)),1));
- B1:=ref(c,A1+1)>c and ref("macd.diff"(12,26,9),A1+1)<"macd.diff"(12,26,9) and cross("macd.diff"(12,26,9),"macd.dea"(12,26,9));
- {MACD底背离:STICKLINE(FILTER(B1>0,5),0,0.75,3,0),COLORGREEN;}
- DRAWTEXT(FILTER(B1>0,5),18,'MACD底背离'),COLORGREEN;
- C1:=BARSLAST(ref(cross("macd.dea"(12,26,9),"macd.diff"(12,26,9)),1));
- D1:=ref(c,C1+1)<c and ref("macd.diff"(12,26,9),C1+1)>"macd.diff"(12,26,9) and cross("macd.dea"(12,26,9),"macd.diff"(12,26,9));
- DRAWTEXT(FILTER(D1>0,5),90,'M顶背'),COLOR0066FF;
- {macd缩头}
- s:=10;p:=22; m:=9;
- DIFF:= EMA(CLOSE,S) - EMA(CLOSE,P);
- DEA:=EMA(DIFF,M);
- MACD:= 2*(DIFF-DEA);
- 缩头:=macd>0 AND macd<ref(macd,1)and ref(macd,1)>=ref(macd,2);
- DRAWTEXT(缩头 ,65,'M↓'),COLORFFFF33;
- wr:=-100*(HHV(HIGH,M)-CLOSE)/(HHV(HIGH,M)-LLV(LOW,M));
- DRAWTEXT(CROSS(wr,-22) ,-5,'WR超买'),color00CCCC;
- {-VOL*0.00001%,VOLSTICK;}
- SAT:=IF((AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100>100,100,(AMOUNT/C)/(HHV(AMOUNT,20)/HHV(C,20))*100);
- {DRAWTEXTREL(10,900,'量能饱和度:'+NUMTOSTRN(SAT,0)),LINETHICK2,COLORRED;}
- {择股网 www.zegu.cn 整理。};
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|
上一篇:主力跟踪指标公式(附图)
下一篇:仿超赢资金流向指标