黄金分割+MA+数浪+买卖点
-
相关简介:黄金分割+MA+数浪+买卖点[大智慧L2] 好东西应该与好朋友共同分享!在此奉献给论坛的朋友们。希望对朋友们有所帮助,愿理想的朋友们喜欢 !不妥之处恳请各位老师和朋友多多指正!!! C/C++ Code 复制内容到剪贴板 P1:03005 P2:030010 P3:030020 P4:030035 P
-
文章来源:择股网作者:股海网发布时间:2009-08-10浏览次数:
黄金分割+MA+数浪+买卖点[大智慧L2]
好东西应该与好朋友共同分享!在此奉献给论坛的朋友们。希望对朋友们有所帮助,愿理想的朋友们喜欢 !不妥之处恳请各位老师和朋友多多指正!!!
C/C++ Code复制内容到剪贴板
- P1: 0 300 5
- P2: 0 300 10
- P3: 0 300 20
- P4: 0 300 35
- P5: 0 300 60}
- MA1:MA(CLOSE,P1);
- MA2:MA(CLOSE,P2);
- MA3:MA(CLOSE,P3),COLORRED;
- MA4:MA(CLOSE,P4);
- MA5:MA(CLOSE,P5);
- DRAWTEXT(CROSS(MA1,MA3),MA3,'●买'),COLORYELLOW;
- DRAWTEXT(CROSS(MA3, MA1), MA1,'●卖'),COLORGREEN;
- DRAWTEXT(CROSS(MA1,MA4),MA4,'★买'),COLORMAGENTA;
- DRAWTEXT(CROSS(MA4, MA1), MA1,'★卖'),COLORBLUE;
- x:=BARPOS-hhv(if(DISPSTATUS=1,BARPOS,0),0)+1;
- hh:=hhv(h,x); ll:=llv(l,x); hl:=hh-ll;
- a80:=.809*hl+ll;a61:=.618*hl+ll;a38:=.382*hl+ll;
- a19:=.191*hl+ll; a5:=.5*hl+ll;
- DRAWTEXTREL(0,0,'最高 ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄' ),COLORYELLOW;
- DRAWTEXTREL(0,900+76,'最低.................................................................................................................................'),color00ff00;
- DRAWTEXTREL(0,0.50*(900+76),'0.5..................................................................................................................................'),color0099ff;
- DRAWTEXTREL(0,0.191*(900+76),'0.809................................................................................................................................'),colorred;
- DRAWTEXTREL(0,0.382*(900+76),'0.618................................................................................................................................'),colorred;
- DRAWTEXTREL(0,0.618*(900+76),'0.382................................................................................................................................'),colorred;
- DRAWTEXTREL(0,0.809*(900+76),'0.191................................................................................................................................'),colorred;
- DRAWTEXTREL(999,0.809*(900+76),'19.1%:'+NUMTOSTR(a19)),VALIGN2,ALIGN2,colorwhite;
- DRAWTEXTREL(999,0.618*(900+76),'38.2%:'+NUMTOSTR(a38)),VALIGN2,ALIGN2,colorwhite;
- DRAWTEXTREL(999,0.5*(900+76),'50%:'+NUMTOSTR(a5)),VALIGN2,ALIGN2,color0099ff;
- DRAWTEXTREL(999,0.382*(900+76),'61.8%:'+NUMTOSTR(a61)),VALIGN2,ALIGN2,colorwhite;
- DRAWTEXTREL(999,0.191*(900+76),'80.9%:'+NUMTOSTR(a80)),VALIGN2,ALIGN2,colorwhite;
- GET:ZIG(3,5),LINETHICK1,COLORMAGENTA;
- PL5:=ZIG(3,5);
- EN1:=pl5>REF(pl5,1) AND REF(pl5,1)<=REF(pl5,2) AND REF(pl5,2)<=REF(pl5,3);
- EX1:=pl5<REF(pl5,1) AND REF(pl5,1)>=REF(pl5,2) AND REF(pl5,2)>=REF(pl5,3);
- PL10:=ZIG(3,10);
- EN2:=pl10>REF(pl10,1) AND REF(pl10,1)<=REF(pl10,2) AND REF(pl10,2)<=REF(pl10,3);
- EX2:=pl10<REF(pl10,1) AND REF(pl10,1)>=REF(pl10,2) AND REF(pl10,2)>=REF(pl10,3);
- PL20:=ZIG(3,20);
- EN3:=pl20>REF(pl20,1) AND REF(pl20,1)<=REF(pl20,2) AND REF(pl20,2)<=REF(pl20,3);
- EX3:=pl20<REF(pl20,1) AND REF(pl20,1)>=REF(pl20,2) AND REF(pl20,2)>=REF(pl20,3);
- 走强1:=BARSLAST(PL5<REF(PL5,1));
- 走弱1:=BARSLAST(PL5>REF(PL5,1));
- 走强2:=BARSLAST(PL10<REF(PL10,1));
- 走弱2:=BARSLAST(PL10>REF(PL10,1));
- 走强3:=BARSLAST(PL20<REF(PL20,1));
- 走弱3:=BARSLAST(PL20>REF(PL20,1));
- ZTJZ5:=IF(PL10>REF(PL10,1),COUNT(EN1,走强2),0);
- ZTJD5:=IF(PL10>REF(PL10,1),COUNT(EX1,走强2),0);
- DTJZ5:=IF(PL10<REF(PL10,1),COUNT(EN1,走弱2),0);
- DTJD5:=IF(PL10<REF(PL10,1),COUNT(EX1,走弱2),0);
- ZTJZ10:=IF(PL20>REF(PL20,1),COUNT(EN2,走强3),0);
- ZTJD10:=IF(PL20>REF(PL20,1),COUNT(EX2,走强3),0);
- DTJZ10:=IF(PL20<REF(PL20,1),COUNT(EN2,走弱3),0);
- DTJD10:=IF(PL20<REF(PL20,1),COUNT(EX2,走弱3),0);
- DRAWTEXT(EN1 AND DTJZ5=1,L*0.98,'㈠'),COLORFFFF00;
- DRAWTEXT(EX1 AND DTJD5=2,H*1.02,'㈡'),COLORFFFF00;
- DRAWTEXT(EN2 AND ZTJZ5=1,L*0.98,'㈢'),COLORFFFF00;
- DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJD5=1,H*1.02,'⑴'),COLOR0000FF;
- DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=2,L*0.98,'⑵'),COLOR0000FF;
- DRAWTEXT(EX1 AND PL10>REF(PL10,1) AND ZTJZ5=2,H*1.02,'⑶'),COLOR0000FF;
- DRAWTEXT(EN1 AND PL10>REF(PL10,1) AND ZTJZ5=3,L*0.98,'⑷'),COLOR0000FF;
- DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.02,'⑸'),COLOR0000FF;
- DRAWTEXT(EN2 AND DTJZ10=1,L*0.9,'Ⅰ'),colorred;
- DRAWTEXT(EX2 AND DTJD10=2,H*0.9,'Ⅱ'),colorred;
- DRAWTEXT(EN3 AND ZTJZ10=1,L*0.9,'Ⅲ'),colorred;
- DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=1,H*1.06,'①'),LINETHICK3,COLOR00FFFF;
- DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=2,L*0.94,'②'),LINETHICK3,COLOR00FFFF;
- DRAWTEXT(EX2 AND PL20>REF(PL20,1) AND ZTJD10=2 OR (ZTJD10=0 OR ZTJD10=2) AND EX2,H*1.06,'③'),LINETHICK3,COLOR00FFFF;
- DRAWTEXT(EN2 AND PL20>REF(PL20,1) AND ZTJZ10=3,L*0.94,'④'),LINETHICK3,COLOR00FFFF;
下载链接:( 说明:股海资源如需解压密码的请输入本站域名:www.guhai.com.cn请仔细输入!)
|
上一篇:有庄无庄(大智慧L2)
下一篇:如果你够幸运你就会拥有惊喜《主力动向》