为自己言语失误之过失,把自己的指标拿出来,供需要有此类投资习惯的朋友们参考,以表谢意!今后如有不足之处,敬请各位谅解!
这是一个综合指标,也可以单独使用,结合了各位高手的心血,里面的画线部分是一个朋友给我的,说是千钧大哥做的,我稍做了些修改。取了三个低点,并把低点取值做了个可以修改的常数,这样趋势线的取点有了更丰富的内容,不足之处望各位高手指正。我个人认为简单还算实用。
融合了各位高手的心血,另算是半个原创哈
C/C++ Code复制内容到剪贴板
- {清晰顾比彩带}
- FILLRGN(EMA(CLOSE,5),EMA(CLOSE,15),1,rgb(65,142,227)),LAYER6;
- FILLRGN(EMA(CLOSE,30),EMA(CLOSE,60),1,rgb(180,0,180)),LAYER7;
- {黑马}
- aa:=cross(ma(c,10),ma(c,60));
- DRAWTEXT(aa,L-0.30,'△'),COLORyellow,ALIGN1;
- {抄底}
- bb:=(CROSS(100*(C-LLV(L,9))/(HHV(C,9)-LLV(L,9)),3)) and ma(c,5)>ma(c,60) and finance2(33)>N;
- DRAWICON(bb,L-0.20,7),ALIGN1;
- {波段王}
- MA5:MA(C,5);
- MA20:MA(C,20);
- MA90:MA(C,90);
- Y1:=BARSLAST(CROSS(MA5,MA20)) AND MA5>MA20;
- Y2:=Y1 AND BARSLAST(CROSS(MA5,MA90));
- dd:=Y2 AND CROSS(MA20,MA90);
- DRAWTEXT(dd,L-0.10,'☆'),COLORyellow,ALIGN1;
- DRAWTEXT(dd,L-0.40,'☆'),COLORyellow,ALIGN1;
- F0:=BARSLAST(CROSS(MA(C,5),MA(C,90)));
- F1:=F0 AND
- BARSLAST(CROSS(MA(C,20),MA(C,90)));
- ee:=F1 AND CROSS(MA(C,5),MA(C,20)) AND
- MA(C,20)>MA(C,90);
- DRAWTEXT(ee,L,'.'),COLORyellow,ALIGN1;
- {K线部分}
- STICKLINE(C>o,h,l,0.5,0),COLOR0000dd;
- STICKLINE(C>o,C,O,8,0),COLOR000099;
- STICKLINE(C>o,C,O,6,0),COLOR0000aa;
- STICKLINE(C>o,C,O,5,0),COLOR0000bb;
- STICKLINE(C>o,C,O,4,0),COLOR0000cc;
- STICKLINE(C>o,C,O,3,0),COLOR0000dd;
- STICKLINE(C>o,C,O,2,0),COLOR0000ee;
- STICKLINE(C>o,C,O,1,0),COLOR0000ff;
-
- STICKLINE(C<=o,H,L,0.1,0),COLORWHITE;
- STICKLINE(C<=o,C,O,8,0),COLOR555555;
- STICKLINE(C<=o,C,O,6,0),COLOR777777;
- STICKLINE(C<=o,C,O,5,0),COLOR999999;
- STICKLINE(C<=o,C,O,4,0),COLORAAAAAA;
- STICKLINE(C<=o,C,O,3,0),COLORBBBBBB;
- STICKLINE(C<=o,C,O,2,0),COLORcccccc;
- STICKLINE(C<=o,C,O,1,0),COLORdddddd;
- STICKLINE(C<=o,C,O,0.1,0),COLOReeeeee;
- {自动画线}
- 高:=h;低:=l;
- a1:=IF(DATATYPE=9,DATE=w1,DATE=w1);
- a2:=IF(DATATYPE=9,DATE=w2,DATE=w2);
- b1:=IF(DATATYPE=9,DATE=w3,DATE=w3);
- b2:=IF(DATATYPE=9,DATE=w4,DATE=w4);
- DRAWLINE(a1,低,a2,低,1),DOTLINE,COLORGREEN;
- DRAWLINE(b1,低,b2,低,1),DOTLINE,COLORyellow
参数需要根据大盘低点调整,效果才会更加贴近市场
参数取值以08年和09大盘三个低点为准,以后还要根据大盘低点再增加画线的取点,效果会更贴近市场!
如w1=1081107
w2=1081231
w3=1081231
w4=1090303