资源描述:
《唐能通十九强公式》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、V5:=MA(VOL,5);V10:=MA(VOL,10);V20:=MA(VOL,20);LDAY1:=BARSLAST(CROSS(V5,V10));LDAY2:=BARSLAST(CROSS(V5,V20));LDAY3:=BARSLAST(CROSS(V10,V20));LTJ1:=(LDAY1>LDAY2ORLDAY1=LDAY2){ANDCOUNT(CROSS(V5,V20),LDAY1)=1}ANDLDAY2=0ANDV10OANDREF(C,1)[REF(O,2)ANDC>REF(C,2));LTJ:=LTJ1]
2、ANDLTJ2;LTJ0:=LTJ1ANDV10>REF(V10,1);MA5:MA(C,5),COLORWHITE;MA10:MA(C,10),COLORCYAN;MA20:MA(C,20),COLORRED;MA40:MA(C,40),LINETHICK2,POINTDOT,COLORBLUE;MA60:MA(C,60),LINETHICK2,POINTDOT,COLORGREEN;PDAY1:=BARSLAST(CROSS(MA5,MA60));{5日均线上穿60日均线}PDAY2:=BARSLAST(CROSS(MA10,MA60));{10日均线上穿60日均线,至此形成鸭颈部}PDA
3、Y3:=BARSLAST(REF(HIGH=HHV(HIGH,PDAY2),1));{形成头部,要下跌}PDAY4:=BARSLAST(CROSS(MA10,MA5){OR(REF(MA10,1)[MA10)});{回落不久,5日均线和10日均线形成金叉,形成部}A1:=PDAY1>PDAY2ANDPDAY2>PDAY3ANDPDAY3>PDAY4ANDPDAY4>PDAY5ANDP]
4、DAY5<5;A2:=COUNT(CROSS(MA10,MA5),PDAY2)=1;A3:=MA5>MA60ANDMA10>MA60;{JT:=CROSS(MA20,MA60)ANDC>OANDREF(C,1)[REF(O,2);CSFR:=CROSS(C,MA20)ANDCROSS(C,MA40)ANDCROSS(C,MA60);STICKLINE(JT,H,L,1,0),COLORYELLOW;STICKLINE(JT,O,C,8,0),COLORYELLOW;STICKLINE(CSFR,H,L,1,0),COLORWHITE;STICKLINE(]
5、CSFR,O,C,8,0),COLORWHITE;DRAWTEXT(CSFR,H,'出水芙蓉'),COLORYELLOW;DRAWTEXT(JT,L,'价托'),COLORRED;}CSFR:=CROSS(C,MA20)ANDCROSS(C,MA40)ANDCROSS(C,MA60);YDAY1:=BARSLAST(CROSS(MA5,MA10));YDAY2:=BARSLAST(CROSS(MA5,MA20));YDAY3:=BARSLAST(CROSS(MA10,MA20));YJZZ:=(YDAY1=YDAY2 ANDYDAY2=YDAY3OR(YDAY1-YDAY2=1ORYDAY2-
6、YDAY3=1))ANDREF(MA5,2)[MA10ANDMA10>MA20;YJZZ1:=YDAY1=YDAY2 ANDYDAY2=YDAY3 ANDMA5>MA10ANDMA10>MA20ANDYDAY1=1;YJT:=YDAY1>=YDAY2ANDYDAY2=0ANDMA10]7、>=DAY2ANDDAY3<5;短顶:MA(REF(HHV(H,40),1),1);头顶:MA(REF(HHV(H,60),1),1);年顶:MA(REF(HHV(H,0),1),1),LINETHICK2,POINTDOT,COLORWHITE;JZZ:=DAY1=DAY2 ANDDAY2=DAY3ANDREF(MA20,1)[ ]