´óÅÌ´ó·ùÕðµ´£¬×¬Ç®²»Ò׿÷Ëð¿ì¡£¹ÉÊÐÐÄ̬¸¡³Á£¬×·ÕÇÒ×Ì×£¬ÂòµøÎÞµ×£¬ÄÜ·ñÑ°ÕÒÒ»¸ö°²È«²Ù×÷µÄ¶¨ÐÄÍ裿һƷÉî˼£¬²»¶Ï̽Ë÷£¬¼Ì{һƷ×ÔÑ¡}×·ÕDzÙ×÷Ö®ºó£¬¾¹ýÁ½ÖÜĬĬÉî˼¡¢ÓÅ»¯¡¢ÐÞ¸ÄÖ®ºó£¬³õ²½Íê³É°²È«²Ù×÷¡¢µÍÂòÖ¸±ê{»Ø³éÖ§³Å}Ö÷¸±Í¼Ò»Ìס£ÒòÇ°ÆÚһƷָ±êÔÚδ³ÉÊìÖ®ÏÂÒѾ±»ËæÒâתÌû£¬¹ÊÏȼÓÃÜ·îËÍ£¬²¢¸½Ö¸±ê±àд˼·ÓëʹÓü¼ÇÉ£¬¼Óͼ˵Ã÷£¬ÒÔÃâÎóÓÑÎ󼺡£»¶Ó´ó¼ÒÊÔÓã¬Ìá³öÓÅ»¯²Î¿¼Òâ¼û£¬È·¶¨»ù±¾³ÉÊìÖ®ºó£¬½«ÔÚ±¾ÌûÔÂ빫¿ª£¡
¾«Æ·Ö¸±ê{»Ø³éÖ§³Å----һƷ²èÔµ±àд£¬´óÖÇ»ÛÖ÷¡¢¸±Í¼Ò»Ì×}{·ÉºüͨÓÃ}
Ö¸±ê±àд˼·£º
1¡¢Ç÷ÊÆÏòÉÏ£ºÖ§³Å¾ùÏß±£³ÖÏòÉÏ£¬°²È«²Ù×÷£»
2¡¢¶àÍ·ÅÅÁУº¾ùÏßϵͳ³É¶àÍ··¢É¢ÅÅÁУ¬ÐγÉÉϼ¶±£ÕÏ£»
3¡¢Õ¾ÎȾùÏߣº¹É¼ÛÁ¬ÐøÕ¾ÔÚÖ¸¶¨¾ùÏßÖ®ÉÏ´ïµ½Ò»¶¨ÈÕÆÚ£»
4¡¢»Ø³é¾ùÏߣº¹É¼ÛÔÚÂú×ã1¡¢2¡¢3µÄ»ù´¡ÉÏ£¬×îµÍ¼Û»òÕßÊÕÅ̼ۻؿ¿¡¢Ï´©Ä³¾ùÏߣ¬ÊÓΪ»Ø³é£»
5¡¢ÂòµãÈ·¶¨£ºµ±¹É¼Û»Ø³é¾ùÏß¾àÀëÔÚ2%Ö®ÄÚ£¬È·¶¨Îª»Ø³éÂòµã¡£
Ö¸±êÐźÅÓëʹÓü¼ÇÉ£º
1¡¢Ö¸±êÐźţº»Ø³é¾ùÏߣ¬·Ö±ðÒÔͬÑÕÉ«µÄÊý×֡Ѣڢۢܢݢޣ¬ÔڸþùÏßλÖñíʾ£»
2¡¢¶ÌÆÚÓÅÑ¡£º¶ÌÆÚ¾ùÏߵĻسéÐźÅÔ½ÓмÛÖµ£»
3¡¢Ê×´ÎÓÅÑ¡£ºÍ¬Ò»¾ùÏߵĻسéÂòµãÐźţ¬¶ÌÆÚÄÚÊ״γöÏÖÓÅÑ¡£»ÔٴγöÏÖÑ¡Ôñ·ÅÆú£¬¹Ø×¢ÏÂÒ»¾ùÏßÖ§³ÅÂòµã£»
4¡¢¶àÍ·ÓÅÑ¡£º¾ùÏ߶àÍ·ÅÅÁÐԽ˳³©µÄÓÅÑ¡£»
5¡¢Âòµã°ÑÎÕ£ºÂòµãÉ趨Ϊ»Ø³é¾ùÏߣ¬¹ÊÅÌÖÐÂòµã×îºÃÂòÔÚÅÌÖйɼ۴òµ½¾ùÏß+-2%¸½½üʱ£¬ÅÌÖÐÃ÷ÏÔϵø¶¯ÄÜÓÐËù¼õÈõʱ¼°Ê±¸ú½ø£¬---×¢Ò⾡Á¿ÂòÔÚ¾ùÏ߸½½ü£¬ÅÌÖÐÇмDz»¿É×·ÕÇ£¡
6¡¢»ñÀû°ÑÎÕ£ºÂòµãºóÈýÈÕ£¬Ò»°ãÓ¦Óз´µ¯ÐÐÇé³öÏÖ£»Èç¶ÌÆÚÒѾÓÐÃ÷ÏԻسéÂòµãÓë·´µ¯²¨¶Î³öÏÖ£¬´ËʱµÄ»Ø³éÒ²Ðí»á±ä³ÉÆÆλ×ßÈõ£¬Ó¦¸ÃÊʵ±»Ø±Ü¡£
{»Ø³éÖ§³Å----һƷ²èÔµ±àд£¬ÈõÊÐרÓã¡´óÖǻ۸±Í¼Ö¸±ê}{·ÉºüͨÓÃ}
{ÓÅѡ˼·£º¶ÌÏßÇ÷ÊÆÏòÉÏ+Á¬ÐøËõÁ¿+WRÖ¸±ê³¬µø}
{¶ÌÏß½»Ò×--ÍþÁ¬Ö¸±ê²Î¿¼}
WR1:=100*(HHV(HIGH,10)-CLOSE)/(HHV(HIGH,10)-LLV(LOW,10));
WR2:=100*(HHV(HIGH,6)-CLOSE)/(HHV(HIGH,6)-LLV(LOW,6));
ÕÇ:WR2<10,POINTDOT,COLORRED;
µø:WR2>80,POINTDOT,COLORWHITE;
DRAWTEXT(ÕÇ>0 ,7 , '$'),COLORRED;
DRAWTEXT(µø>0 ,1 , '#'),COLORWHITE;
P1:=5;P2:=10;P3:=20;P4:=30;P5:=60;P6:=120;
MA1:=MA(C,P1),COLORYELLOW;
MA2:=MA(C,P2),COLORFF00FF;
MA3:=MA(C,P3),COLOR00FF00;
MA4:=MA(C,P4),COLORWHITE;
MA5:=MA(C,P5),COLORFF9900;
MA6:=MA(C,P6),COLOR0000FF;
{ENV¹ìµÀÏßÖ§³Å}
UPPER:=(1+6/100)*MA(CLOSE,25);
LOWER:=(1-6/100)*MA(CLOSE,25);
MID:=(UPPER+LOWER)/2,COLORYELLOW,LINETHICK2;
ÉúÃüÏß:=MID,COLORYELLOW,POINTDOT,LINETHICK2;
DTPLENV:=COUNT(MID>REF(MID,1),5)=5;
ȯ:=((CROSS(MID,L) OR CROSS(MID,C)) AND DTPLENV)*1,COLORYELLOW,POINTDOT;
{MA2Ö§³Å}
QSXS2:=MA2>=REF(MA2,1);
DTPL2:=MA1>MA2 AND MA2>MA3 AND MA3>MA4;
ZWP2:=COUNT(C>MA2,P1)=P1 AND DTPL2;
HCP2A:=CROSS(MA2*1.02,L) AND REF(ZWP2,1);
HCP2B:=CROSS(MA2,C) AND REF(ZWP2,1);
ȯ2:=((HCP2A OR HCP2B) AND QSXS2 AND DTPL2)*3,COLOR00FF00,POINTDOT;
{MA3Ö§³Å}
QSXS3:=MA3>=REF(MA3,1);
DTPL3:=MA1>MA2 AND MA2>MA3 AND MA3>MA4;
ZWP3:=COUNT(C>MA3,P1)=P1 AND DTPL3;
HCP3A:=CROSS(MA3*1.03,L) AND REF(ZWP3,1);
HCP3B:=CROSS(MA3,C) AND REF(ZWP3,1);
ȯ3:=((HCP3A OR HCP3B) AND QSXS3)*3,COLOR00FF00,POINTDOT;
{MA4Ö§³Å}
QSXS4:=MA4>=REF(MA4,1);
DTPL4:=MA2>MA3 AND MA3>MA4 AND MA4>MA5;
ZWP4:=COUNT(C>MA4,P2)=P2 AND DTPL4;
HCP4A:=CROSS(MA4*1.04,L) AND REF(ZWP4,1);
HCP4B:=CROSS(MA4*1.02,C) AND REF(ZWP4,1);
ȯ4:=((HCP4A OR HCP4B) AND QSXS4)*4,COLORWHITE,POINTDOT;
{MA5Ö§³Å}
QSXS5:=MA5>=REF(MA5,1);
DTPL5:=MA3>MA4 AND MA4>MA5 AND MA5>MA6;
ZWP5:=COUNT(C>MA5,P3)=P3 AND DTPL5;
HCP5A:=CROSS(MA5*1.05,L) AND REF(ZWP5,1);
HCP5B:=CROSS(MA5*1.02,C) AND REF(ZWP5,1);
ȯ5:=((HCP5A OR HCP5B) AND QSXS5)*5,COLORFF9900,POINTDOT;
{MA6Ö§³Å}
QSXS6:=MA6>=REF(MA6,1);
DTPL6:=MA5>MA6;
ZWP6:=COUNT(C>MA6,P3)=P3 AND DTPL6;
HCP6A:=CROSS(MA6*1.05,L) AND REF(ZWP6,1);
HCP6B:=CROSS(MA6*1.02,C) AND REF(ZWP6,1);
ȯ6:=((HCP6A OR HCP6B) AND QSXS6)*6,COLORRED,POINTDOT;
Âò:COUNT(»Ø>0,2)>=1 AND ABS(L/MID-1)*100<=2,COLORYELLOW,POINTDOT;
Âò2:COUNT(»Ø2>0,2)>=1 AND ABS(L/MA2-1)*100<=2,COLORFF00FF,POINTDOT;
Âò3:COUNT(»Ø3>0,2)>=1 AND ABS(L/MA3-1)*100<=2,COLOR00FF00,POINTDOT;
Âò4:COUNT(»Ø4>0,2)>=1 AND ABS(L/MA4-1)*100<=2,COLORWHITE,POINTDOT;
Âò5:COUNT(»Ø5>0,2)>=1 AND ABS(L/MA5-1)*100<=2,COLORFF9900,POINTDOT;
Âò6:COUNT(»Ø6>0,2)>=1 AND ABS(L/MA6-1)*100<=2,COLORRED,POINTDOT;
MBZ:=Âò OR Âò2 OR Âò3 OR Âò4 OR Âò5 OR Âò6;
QSXS:=DTPL4 AND MA3>REF(MA3,1) AND MA4>REF(MA4,1);
YX:=µø AND MBZ AND QSXS AND COUNT(V<REF(V,1),4)>=2 AND COUNT(C<REF(C,1),3)>=2;
ÓÅÑ¡:(YX OR (REF(YX,1) AND C<REF(C,1)))*5,COLOR00FF00;
{ÒÔÏÂÉèÖø±Í¼ÏÔʾ·½Ê½}
1,POINTDOT,COLORYELLOW;
2,POINTDOT,COLORFF00FF;
3,POINTDOT,COLOR00FF00;
4,POINTDOT,COLORWHITE;
5,POINTDOT,COLORFF9900;
6,POINTDOT,COLORRED;
7,POINTDOT,color00FF00;
STICKLINE(Âò>0,1,2,4,0),COLORYELLOW;
STICKLINE(Âò2>0,2,3,4,0),COLORFF00FF;
STICKLINE(Âò3>0,3,4,4,0),COLOR00FF00;
STICKLINE(Âò4>0,4,5,4,0),COLORWHITE;
STICKLINE(Âò5>0,5,6,4,0),COLORFF9900;
STICKLINE(Âò6>0,6,7,4,0),COLORRED;
DRAWTEXT(»Ø>0 ,1 , '¡Ñ'),COLORYELLOW;
DRAWTEXT(»Ø2>0 ,2 , '¢Ú'),COLORFF00FF;
DRAWTEXT(»Ø3>0 ,3 , '¢Û'),COLOR00FF00;
DRAWTEXT(»Ø4>0 ,4 , '¢Ü'),COLORWHITE;
DRAWTEXT(»Ø5>0 ,5 , '¢Ý'),COLORFF9900;
DRAWTEXT(»Ø6>0 ,6 , '¢Þ'),COLORRED;
{ÒÔÏÂÉèÖÃÖ÷ͼÏÔʾ·½Ê½}
{DRAWTEXT(»Ø>0 ,MID , '¡Ñ'),COLORYELLOW;
DRAWTEXT(»Ø2>0 ,MA2 , '¢Ú'),COLORFF00FF;
DRAWTEXT(»Ø3>0 ,MA3 , '¢Û'),COLOR00FF00;
DRAWTEXT(»Ø4>0 ,MA4 , '¢Ü'),COLORWHITE;
DRAWTEXT(»Ø5>0 ,MA5 , '¢Ý'),COLORFF9900;
DRAWTEXT(»Ø6>0 ,MA6 , '¢Þ'),COLORRED;
DRAWTEXT(Âò>0 ,L*0.99 , '¡ï'),COLORYELLOW;
DRAWTEXT(Âò2>0 ,L*0.98 , '¡õ'),COLORFF00FF;
DRAWTEXT(Âò3>0 ,L*0.99 , '¡ø'),COLOR00FF00;
DRAWTEXT(Âò4>0 ,L*0.98 , '¡ô'),COLORWHITE;
DRAWTEXT(Âò5>0 ,L*0.99 , '¡ö'),COLORFF9900;
DRAWTEXT(Âò6>0 ,L*0.98 , '¡ñ'),COLORRED;
Ö§³Åµã:IF(COUNT(ZC3>0,5),REF(L,HCSJ3),REF(L,HCSJ3)),COLOR00FF00,POINTDOT,linethick1;}