ÍþÁ®Ö¸±ê°´ÕÕÉè¼Æ˼Ïë¿´£¬µ±ÊôÇ¿ÈõÀà¡£´ÓÔ¹«Ê½£º
100*(HHV(HIGH,N)-c)/(HHV(HIGH,N)-LLV(LOW,N));
·ÖÎö£¬¿ÉÀí½âΪNÖÜÆÚÄÚ¼Û¸ñ±ä¶¯ÓëͬÖÜÆÚÄÚµÄ×î´óÕñ·ùÖ®±È¡£ÆäÖзÖĸÏî--NÈÕÄÚ×î¸ß¼ÛHHV(HIGH,N)Óë×îµÍ¼ÛLLV(LOW,N)Ö®²î£¬¼´ÊÇNÈÕÖÜÆÚÄڵļ۸ñ×î´óÕñ·ù£»·Ö×ÓÏî--HHV(HIGH,N)-c£¬ÊÇNÈÕÄÚ×î¸ß¼ÛHHV(HIGH,N)Óëµ±ÈÕÊÕÅ̼۵IJµ±¹É¼ÛÉÏÕÇʱ£¬HHV(HIGH,N)-c²îÖµ»á±äС£¬Ô½Ð¡±íÃ÷¹É¼Û´´Ð¸ߵÄÄÜÁ¦Ô½Ç¿£¡£¨×¢Ò⣺ÊÕÅ̼ÛCÓÀßhСÓÚ»òµÈÓÚNÈÕ×î¸ß¼ÛHHV(HIGH,N)£©£¬¹Ê¹«Ê½±ÈÖµÒ²±äС²¢Öð²½Ç÷ÓÚÁãµÄ¼«ÏÞ£¡¹É¼ÛÔÙÕÇ£¬ÇúÏß²»ÔÙ°lÉú±ä¶¯£¬¼´³öÏÖËùν‘Ö¸±ê¶Û»¯’ÏÖÏ󡣹ɼÛϵøÇé¿ö¸ÕºÃÓëÉÏÊöÏà·´£¬ÓÉÓÚ·Ö×ÓÖµµÄÔö´ó£¬¹«Ê½±ÈÖµÇ÷ÓÚ1£¨¼´·Ö×ÓÏîÓë·ÖĸÏîֵͬ£©ÓÉÓÚÓÐϵÊý100£¬¹ÊÇúÏßÖð²½Ïò100¿¿Â££¬µø·ù½Ï´óʱͬÑù»á³öÏÖ¶Û»¯¡£ÔÚÀí½âºÍ·ÖÎö¹«Ê½ºó£¬ÎÒÃǽ«×¢Òâµ½Á¦·ÅÔÚ·ÖĸÏÒÑÖªHHV(HIGH,N)-LLV(LOW,N)£¬ÊDZíʾNÈÕÖÜÆÚÄڵļ۸ñ×î´óÕñ·ù£¬Èô°ÑÒ»Öм¶²¨¶ÎÐÐÇéµÄ×î¸ßÓë×îµÍ¼ÛÓëÖ®ÁªÏµ£¬ÏÔÈ»²ÎÊýN¾Í³ÉΪ¹Ø¼ü£¬¼´Í¨³£Çé¿öÏ£¬‘Öм¶²¨¶ÎÐÐÇ钵ijÖÐøÖÜÆÚÊǶàÉÙÄØ£¿¾´óÁ¿²â¶¨£¬Ò»°ãÔÚ30-50Èռ䡣ÕâÑù¾Í°ÑÔ¹«Ê½²ÎÊýÓÉ14Ôö´óÐí¶à£¬ÆäʹÓÃÒâͼºÍÊÊÓÃÐÔ×÷Á˽ϴó¸Ä±ä--¸ú×ÙÖм¶²¨¶ÎÐÐÇé¡£¡¾½»Ò×֪ʶmacd.org.cnÊÕ¼¯ÕûÀí¡¿
ÔÙÔÚÔ¹«Ê½Ç°Ôö¼Ó‘100-’ÓÃÒԸıäÖ¸±êÏßÇ÷ÊÆÓë¹É¼ÛÕǵø²»Í¬²½µÄÏÖÏ󣨴ËʱÌìÏßΪ100£¬µØÏßΪ0£©£¬¶ÔÇúÏß½øÐÐƽ»¬£¬²¢ÉèÖÃÒ»Ìõ¾ùÏߣ¬¾Í»ù±¾Íê³ÉÁ˶ÔÍþÁ®Ö¸±êµÄ¸ÄÁ¼¡£¹«Ê½ÔÂëÈçÏ£¨µÚÒ»ÌõÇúÏßΪ±£ÁôµÄ14ÈÕÍþÁ®ÇúÏߣ¬ÉèΪ¿ìËÙÏߣ»²¨¶Î¸ú×ÙΪÂýËÙÏߣ¬Æä»ù±¾¼¼·¨²»±äµ«È´·á¸»Ò»Ð©£¡Çë×ÐϸÌå»á¡£ÔÚ´óÏäÌåºáÅÌÕðµ´¼°´ó¶àÍ·µÄ²¨¶ÎÐÐÇéÖÐЧ¹ûÃ÷ÏÔ,´ó¿ÕÍ·²»²»ÒËʹÓÃ.£©
¿ì:100-100*(HHV(HIGH,N1)-c)/(HHV(HIGH,N1)-LLV(LOW,N1));
w:=100-100*(HHV(HIGH,N2)-c)/(HHV(HIGH,N2)-LLV(LOW,N2));
Âý:ma(w,3),COLORred;
¾ùÏß:ema(Âý,m),COLORgreen;
100,POINTDOT,COLOR555555;
80,POINTDOT,COLOR555555;
20,POINTDOT,COLOR555555;
0,POINTDOT,COLOR555555;
{½¨Òé²ÎÊýÖµ:N1=10-18(ÔÖ¸±ê);N2=35-50;M=10-18}
²¹³ä£º
Èç¹û½«¹«Ê½·Ö×ÓÏîÖеÄÇó×î¸ß¼ÛHHV(HIGH,N1)¸ÄΪÇó×îµÍ¼Û£¬¼´LLV(LOW,N1)£¬Ôò¹«Ê½Îª£º
¿ì:100-100*(LLV(LOW,N1)-c)/(HHV(HIGH,N1)-LLV(LOW,N1));
ÏÔÈ»£¬Õâ±ãÊÇÖøÃûµÄKD£¨ºÍKDJ£©Ö¸±êµÄ¹«Ê½±í´ï(×¢Òâ·Ö×Ó´úÊýʽµÄÐÎʽһÖÂÐÔ!)£¬ÔÙÍêÉƾÍÊÇ£º
¿ì:=100-100*(LLV(LOW,N1)-c)/(HHV(HIGH,N1)-LLV(LOW,N1));
K:SMA(¿ì,N2,1);
D:SMA(K,N3,1);
J:3*K-2*D;{Èç²»Òª¸ÃJÖµ,¾ÍÊÇKDÖ¸±ê
100,POINTDOT,COLOR555555;
80,POINTDOT,COLOR555555;
20,POINTDOT,COLOR555555;
0,POINTDOT,COLOR555555;
{½¨Òé²ÎÊýÖµ:N1=18_20,N2=6,N3=6.(ÔÖ¸±ê²ÎÊý;N1=9,N2=3,N3=3;}
¼¼ÊõÖ¸±êÖ®¼ä¾ßÓеđÀàͨÐÔ’Ò²ÔÙ´ÎÌåÏÖ³öÀ´£¡ÓзÖÎöÈí¼þ×öÉÏÊö¸Ä¶¯ºó£¬³Æ֮ΪL&WR£¬ÏÔ¶øÒ×¼ûÆäÒâÒå²»´ó¡£¡¾½»Ò×֪ʶmacd.org.cnÊÕ¼¯ÕûÀí¡¿